Banner ads require a simple bannerSlotId
array sent to CitrusAd in addition to the context of the page. By receiving the context of the page, CitrusAd ensures relevant banners are shown to your customers.
If you are successfully syncing data, you are ready to request banner ads.
Supported placement types
Through CitrusAd's placement capability, we're able to support more placements than outlined in this documentation. The below can be used as thought starters.
Search
Use search placements to show ads where your customers have entered a keyword search on your site. A simple example of this is asking CitrusAd for ads on "chocolate".
Category
Use category placements for your category aisles. Send CitrusAd a simple context of productFilters
of your taxonomy such as "Category:Cupboard/Snacks"
Broad match (home page, specials, checkout, etc)
Broad match placements can be used for any other placement such as home pages, specials, checkout, etc.
Home page
Your home page can be a simple request of only the placement identifier and any relevant productFilters
in your request.
Specials/sale
If you are synchronising in the product catalog which products are on sale via a consistent filter value, you are able to send any relevant productFilters
in your request to filter ads accordingly to the placement's business rule such as "type:On-Special","type:New", etc.
Checkout
Your home page can be a simple request of only the placement identifier and any relevant productFilters
in your request.