For an ad to be eligible for this context, it must:
Have the catalog selected with the displayed catalogId
Target the search term Wine
Each context is made of various relevant parts, each of the above can be viewed in the page reference at the end of the page.
A Filtered Search Context
When a user filters their browsing deeper, you are able to serve ads relevant to their filters using productFilters in the context.
In this example, the user has navigated to the Red Wine category within their search, and filtered their browsing to to "Shiraz" Red Wines. This is a new request and considered by Project Agora Commerce as a new page, and new set of ads. Even in the rare event the ads served are identical to the unfiltered results.
For an ad to be eligible for this context, it must:
Have the catalog selected with the displayed catalogId
Target the search term Wine
Be a product with the productFilters of category:RedWine and category:Shiraz
For more information on product filters, see the "Syncing Catalog & Products" page:
A Simple Category Context
A simple context can be used as an example. Category pages use productFilters to match product properties to each page. Below is a simple context for a category page:
For an ad to be eligible for this context, it must:
Have the catalog selected with the displayed catalogId
Be a product with the productFilters of the category Redwine
Each context is made of various relevant parts, each of the above can be viewed in the page reference at the end of the page.
A Further Filtered Category Context
When a user filters their browsing deeper, you are able to serve ads relevant to their filters using productFilters in the context.
In this example, the user has entered the Red Wine category, filtered their browsing to to "Shiraz" Red Wines and selected the "Australian" type. This is a new request and considered by Project Agora Commerce as a new page, and new set of ads. Even in the rare event the ads served are identical to the unfiltered results.
For an ad to be eligible for this context, it must:
Have the catalog selected with the displayed catalogId
Be a product with the productFilters of categories Redwine and subcategory Shiraz and type:Australian
For more information on product filters, see the "Syncing Catalog & Products" page
sessionId is needed to be included in the ad request as it will be used later in order reporting. For more information please check the "Syncing Order Data" page