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 URLsand the click tracker URLssent in the Decision API response. 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.

🚧

Ad performance reporting is based on ad impressions and clicks, calling the the tracking URLs accurately is essential for optimizing campaigns, assessing performance, and maximizing return on ad spend.

  • For CPM campaigns the ad spend charge is based on impression events.
  • For CPC campaigns ad budget charge is based on the click events.

Tracker Information

DecideAdItemsThe API response contains an impression tracker and click tracker URLs for each item.
DecideAdBrands The API response contains the assets and corresponding items with an impression and click tracker URLs for each asset and item.
DecideAdDisplayThe API response contains the assets with an impression and click tracker URLs for each asset.

❗️

Warning

The click_tracker and imp_tracker URLs are pre-generated by Moloco in the API response.

  • Do not generate the URLs manually.
  • Do not call the same impression or click tracker URL more than once.

Calling the tracker URLs

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

Impression trackers

  • 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 trackers

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

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.

DecideAdDisplay 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 asset.
  • Assets in a DecideAdDisplay response are the property of the campaign. The impressions, clicks, and assets, for advertising are tracked independently and contain unique impression and click tracker URLs.