Calling trackers

When you call the Decision API, you will retrieve a list of the ad items and/or asset images according to the API you used. The next step you should take is to call the impression tracker URLand the click tracker URL.

A clients web browser, iOS app, or Android app can easily send impressions and click information to the Moloco Commerce Media system using the imp_tracker and click_tracker URLs. To achieve this, MCM provides the tracker URLs within the response of Decision API.

Ad performance reporting is based on ad impressions and clicks, tracking the impressions and clicks of each ad item or asset image using the provided URLs is required.

  • Ad budget spending is charged on an impression event for CPM campaigns.
  • The ad budget charge for CPC campaigns is based on a click event.

❗️

Warning

The click_tracker and imp_tracker URLs are pre-generated by Moloco inside the the Decision API response. Do not generate these URLs manually.

  • Each item in the DecideAdItems API response contains an impression tracker URL(imp_tracker), a click tracker URL(click_tracker), and a tracking ID.
  • The DecideAdBrands API response contains the assets and corresponding items with an impression tracker URL(imp_tracker) and a click tracker URL (click_tracker).
  • The DecideAdCreatives API response contains a banner image and corresponding items with an impression tracker URL(imp_tracker) and a click tracker URL(click_tracker) for the banner and each item.

✏️

Both the imp_tracker and click_tracker URLs can be called using either an HTTP GET method or an HTTP POST method with no body. The impression tracker and click tracker URLs may be called asynchronously.

Impression tracker

  • We recommend calling the impression tracker URL when 50% of the item image’s pixels are visible or when the top two vertices(corners) of the item’s image are visible.
  • Call the impression tracking URLs a single time when the image is displayed.

Click tracker

  • Call the click tracker URL from the Decision response when the user clicks the ad.

❗️

Warning

Do not call the same impression tracker or click tracker URL more than once.

Calling DecideAdBrands trackers

  • When an impression or click occurs you must call the impression tracking URLs or the click tracking URLs provided within the response for each item and asset.
  • Assets in a DecideAdBrands response are the property of the campaign. When a Sponsored Brands campaign is selected by auction, the impressions, clicks, assets, and the items for advertising are tracked independently and contain unique impression and click tracker URLs.

Calling DecideAdCreatives trackers

  • When an impression or click occurs you must call the impression tracking URLs or the click tracking URLs provided within the response for the banner and each item.
  • When a Sponsored Banner campaign is selected by auction, the impressions, clicks, and items for advertising are tracked independently and contain unique impression and click tracker URLs.