Title
Page icon
Create new category
Edit page index title
Edit category
Edit link
Carousel API
Overview
Davinci Commerce Programmable Personalization API supports carousel dynamic ad creation. Our omni channel capability ensures ad formats across multiple channels are supported: Video, Banners, Mobile, Social, Native.
Method Type | Description |
|---|---|
GET | To get all the carousel cards for a particular campaign. |
If the requested card is n, then there should be n default rows in the asset source. For example, if you are requesting four cards, then you should have minimum four default rows present in your asset source.
GET Carousel
Parameters
Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
callback | string | Mandatory | -- | pass the call back function name as value |
ccards | number | Mandatory | path | cards is the number of carousel cards |
Sample Implementation
The function call jvxAd.getCarousel(ccards, callback); will invoke the Get Carousel wrapper API function.
Sample Request
Sample Response