SPAAdRequest
Top-level ad request for sponsored product ads. Denotes the page for which FCC serves ads and carries the user, device, publisher, and placement context needed to rank product ads.
Unique id of the request for each advertisement request from the external publisher.
adb853c0-6df3-40e2-b243-efb1b56beb41The request type. Denotes the page for which FCC serves ads.
Possible values: [SEARCH, BROWSE]
user objectrequired
User details of the device or audience for advertising. Contains information known or derived about the human user of the device.
The user id is an exchange artifact and may be subject to rotation or other privacy policies. Keep the user id stable long enough to serve as the basis for attribution or personalization use cases.
User identifier for which FCC serves the ad impression.
C785902B8150944Bdevice objectrequired
Device object containing the details of the user's device to which FCC delivers the impression. Includes hardware, platform, location, and carrier data.
FCC uses this context to target and deliver the ad correctly to the requesting device.
User agent of the device. Send the original user agent without any modifications.
Dalvik/2.1.0 (Linux; U; Android 7.0; SM-J701F Build/NRD90M)IP address of the device in IPv4 format. Required if you omit the ipv6 field.
Name of the operating system currently installed on the device.
Version of the operating system currently installed on the device.
Unique AdId for the device: Identifier for Advertising (IDFA) for iOS, Google Advertising ID (AAID) for Android. Use visitorId as a proxy for msite and website, or when ifa is unavailable.
app object
Details of the application calling for the impression. Include this object if the ad supported content is a non-browser application (typically mobile).
Required if you omit site. A bid request must not contain both an App and a Site object.
Unique publisherId FCC registers for the client.
BR7NWI24B41Z6LApp name. FCC may alias this at the publisher's request.
Domain of the app (e.g., mygame.foo.com).
site object
Details of the website calling for the impression. Include this object if the ad supported content is a website as opposed to a non-browser application.
Required if you omit app. A bid request must not contain both a Site and an App object.
Unique publisherName FCC registers.
Site name. FCC may alias this at the publisher's request.
Domain of the site (e.g., mygame.foo.com).
The user searched query on the SEARCH page. Required when type is SEARCH.
The language of the search query in ISO 639 two-letter codes (e.g., en, ar, es). This is an optional field, language is detected if not present.
filters object[]
The set of product filters to apply to this search. A single filter can specify one or more matching criteria. If you provide a single filter, FCC returns products that match at least one of these criteria. If you provide more than one filter, FCC returns only products that match at least one criteria in each filter.
Values within a single filter have an OR relationship. Multiple filters have an AND relationship. Filterable fields are product-level attributes ingested in the catalog (e.g., brand_id, category_id_path).
Required when type is BROWSE. Must include a filter on category_id_path or category_id.
The name of the field to which this filter applies. Filterable fields are product-level attributes ingested in the catalog (e.g., brand_id, category_id_path).
brand_idThe set of values on which to apply the matching operation. Values within a single filter have an OR relationship.
["260332020","260332021"]The type of matching to perform.
Possible values: [EQ, RANGE, GE, LE]
The search result ordering.
Possible values: [RELEVANCE]
RELEVANCEplacement_requests object[]required
The ad counts requested for each placement of the page.
FCC currently supports only one placement object per request.
Possible values: >= 1
The placement id. FCC supports onboarded placements for each publisher (e.g., TOP_OF_SEARCH, REST_OF_SEARCH, BROWSE).
The number of ads requested. Request more than the desired count to account for publisher-side filtering.
When requesting more ads for a query by a user, set this to the offset of the last ad shown to the user.
Use this when the user pages through search results and has seen all search ads in the previous response. Also use this when search ads in the previous response are ineligible for display (e.g., duplicates in the organic search).
0{
"id": "adb853c0-6df3-40e2-b243-efb1b56beb41",
"type": "SEARCH",
"user": {
"id": "C785902B8150944B"
},
"device": {
"ua": "Dalvik/2.1.0 (Linux; U; Android 7.0; SM-J701F Build/NRD90M)",
"ip": "string",
"os": "string",
"osv": "string",
"ifa": "string"
},
"app": {
"id": "BR7NWI24B41Z6L",
"name": "string",
"domain": "string"
},
"site": {
"id": "string",
"name": "string",
"domain": "string"
},
"query": "string",
"query_lang": "string",
"filters": [
{
"field": "brand_id",
"value": [
"260332020",
"260332021"
],
"type": "EQ"
}
],
"ordering": "RELEVANCE",
"placement_requests": [
{
"placement": "string",
"count": 0,
"offset": 0
}
]
}