Calling Trackers
When you call the Decision API, you will retrieve a list of the ad items and/or creative assets such as images and videos 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.
Performance ReportingAd performance reporting is based on impressions and clicks, tracking the impressions and clicks of each ad item and creative asset in the decision response is essential for proper reporting.
- For CPC campaigns the ad budget charge is based on a click event.
- For CPM campaigns the ad budget spending is charged on an impression event.
WarningThe
click_tracker
andimp_tracker
URLs are pre-generated by Moloco inside the the Decision API response. Do NOT generate these URLs manually.
The DecideAdProducts API response contains an impression tracker and click tracker URLs (imp_tracker
, click_tracker
) for each item_id
based on its corresponding inventory_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 DecideAdDisplay API response contains the assets 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
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.
- For example, call the impression tracker URL when the shopper lands on a page with an ad image or video. Call impression tracker URL when the shopper scrolls down the page and a new ad image for video is displayed or when a shopper scrolls through a carousel and a new ad image is displayed.
- Call the impression tracking URLs a single time when the image or video is displayed.
Click tracker
Call the click tracker URL
from the Decision response when the user clicks the ad.
CautionDo not call the same impression tracker or click tracker URL more than once from the same decision response.
Calling DecideAdBrands trackers
- When an impression occurs you must call the
impression tracking URLs
When a click occurs you muyst call theclick tracking URLs
. These URLs are provided within the decision response for eachitem
andasset
. - 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 DecideAdDisplay trackers
- When an impression or click occurs you must call the
impression tracking URLs
or theclick tracking URLs
provided within the response for eachitem
andasset
. - Assets in a DecideAdDisplay response are the property of the campaign. When a Sponsored Display 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 7 days ago