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 URL
and 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
andimp_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
).
Both the
imp_tracker
andclick_tracker
URLs can be called using either anHTTP GET
method or anHTTP POST
method with no body. The impression tracker and click tracker URLs may be called asynchronously.
Impression tracker
After implementing the Decision API, the next step you should take is to call the impression tracker URL
defined by the shopper's actions on the client (app/web) side.
- 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, doing so may impact the number of registered impressions or clicks.
Calling DecideAdBrands trackers
- When an impression or click occurs you must call the
impression tracking URLs
or theclick 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.
Updated 3 days ago