SPAPlacementResponse
The ads and pagination cursor FCC returns for a single requested placement.
The request placement id this response corresponds to.
SEARCHads object[]required
The list of ads for this placement. FCC returns an empty array if no matching ads could be found.
The relative position of the ad in the response. This position begins with the offset of the ad request. Earlier positions indicate more relevant ads.
The sku id (listing id) of the sponsored product ad.
7109947_123The product id of the sponsored product ad.
7109947The product group id corresponding to the product ad.
98745421tracking objectrequired
The FCC Ad Manager tracking URLs for this ad. Contains the impression, view, and click URLs with placeholders for event-time substitution.
URL to fire on an impression. Replace [EVENTTIME] with epoch milliseconds before firing. see the Engagement Events API.
https://<tracker-domain>/v3/tr/impression?pl=...&iet=[EVENTTIME]URL to fire when the ad is viewable per publisher defined criteria. Replace [STARTTIME] with the view start epoch milliseconds and [ENDTIME] with the view end epoch milliseconds. see the Engagement Events API.
https://<tracker-domain>/v3/tr/view?pl=...&vst=[STARTTIME]&vet=[ENDTIME]URL to fire on a click. Replace [EVENTTIME] with epoch milliseconds before firing. see the Engagement Events API.
https://<tracker-domain>/v3/tr/click?pl=...&cet=[EVENTTIME]Pagination cursor for the next request. To request the next page, increment the returned last_offset by 1 in the subsequent request.
FCC returns -1 only when the request for the first page does not serve any ads. For all subsequent pages, if no new ads are found, last_offset remains at its previous value to indicate the end of the data stream.
{
"placement": "SEARCH",
"ads": [
{
"position": 0,
"sku": "7109947_123",
"product_id": "7109947",
"product_group_id": "98745421",
"tracking": {
"impressionUrl": "https://<tracker-domain>/v3/tr/impression?pl=...&iet=[EVENTTIME]",
"viewUrl": "https://<tracker-domain>/v3/tr/view?pl=...&vst=[STARTTIME]&vet=[ENDTIME]",
"clickUrl": "https://<tracker-domain>/v3/tr/click?pl=...&cet=[EVENTTIME]"
}
}
],
"last_offset": 0
}