Title
Page icon
Create new category
Edit page index title
Edit category
Edit link
Ad Build
Overview
Davinci Commerce Programmable Personalization API supports dynamic ad creation. Our omni channel capability ensures ad formats across multiple channels are supported: Video, Rich Media, Native, Social, and Mobile.
Method Name | Method Type |
|---|---|
List Creative Masters | GET |
Upload Creative Masters | POST |
Create Ad Container | POST |
Delete Ad Container | DELETE |
Update Ad Container | PUT |
Create Ad | POST |
Get Ad Preview Links | GET |
List Ads | GET |
Delete Ad | DELETE |
Get Ad Details | GET |
List Creative Masters
Parameters
Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
accountId | string | Mandatory | path | ID of the advertiser account created on the platform |
adIdx | integer | Mandatory | path | Index of the ad unit |
Sample Request
Sample Response
Upload Creative Masters
Parameters
Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
accountId | string | Mandatory | path | ID of the advertiser account created on the platform |
adIdx | integer | Mandatory | path | Index of the ad unit |
Sample Request
Request Body
The Request passed should be:
file (Multipart File)
mapping (optional)
Sample Response
Create Ad Container
Parameters
Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
accountId | string | Mandatory | path | ID of the advertiser account created on the platform |
adIdx | integer | Mandatory | path | Index of the ad unit |
Sample Request
Request Body
The Request passed should be:
file (Multipart File)
mapping (optional)
Sample Response
Delete Ad Container
Parameters
Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
accountId | string | Mandatory | path | ID of the advertiser account created on the platform |
adIdx | integer | Mandatory | path | Ad index |
adUnitIdx | integer | Mandatory | path | Ad unit index |
Sample Request
Request Body
NA
Sample Response
Response Code: 204
Update Ad Container
Parameters
Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
accountId | string | Mandatory | path | ID of the advertiser account created on the platform |
adIdx | integer | Mandatory | path | Ad index |
adUnitIdx | integer | Mandatory | path | Ad unit index |
Sample Request
Request Body
The Request passed should be:
file (Multipart File - optional)
mapping (optional)
Sample Response
Refresh Feed-based Source
Parameters
Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
accountId | string | Mandatory | path | ID of the advertiser account created on the platform. |
assetSourceId | string | Mandatory | path | ID of the asset source under a given user account on the platform. |
Sample Request
Request Body
Sample Response
Create Ad
Parameters
Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
accountId | string | Mandatory | path | ID of the advertiser account created on the platform |
Sample Request
Request Body
Sample Response
Get Ad Preview Links
Parameters
Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
accountId | string | Mandatory | path | ID of the advertiser account created on the platform. |
adId | string | Mandatory | path | ID of the ad. |
Sample Request
Sample Response
List Ads
Parameters
Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
accountId | string | Mandatory | path | ID of the advertiser account created on the platform. |
search | string | Optional | query | Search by any string |
offset | integer | Optional | query | For Pagination |
limit | integer | Optional | query | For Pagination |
sortBy | ENUM | Optional | query | Sort by TITLE, CREATION_DATE, LAST_UPDATED_ AT |
orderBy | ENUM | Optional | query | Order by ASC, DESC |
Sample Request
Sample Response
Delete Ad
Parameters
Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
accountId | string | Mandatory | path | ID of the advertiser account created on the platform. |
adIdx | integer | Mandatory | path | ID of the ad |
Sample Request
Sample Response
HTTP status code as 200 OK is returned with no response body.
Get Ad Details
Parameters
Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
accountId | string | Mandatory | Path | ID of the advertiser account created on the platform. |
adId | string | Mandatory | Path | ID of the ad Sample Request. |
Sample Request
Sample Response