Title
Page icon
Create new category
Edit page index title
Edit category
Edit link
Campaign Setup
How to do a Campaign Setup
Davinci Commerce Programmable Personalization API supports dynamic campaigns that would make use of the ads created using the Ad APIs and would allow users to define different rules (using Decision Map, Decision Graphs) to define audience segments as per marketing strategy. Creative variations for every audience set can then be defined to be dynamically generated, based on the assets uploaded into the platform’s Content Management System.
Methods
Method Name | Method Type | Description |
|---|---|---|
Create Campaign | POST | Creates a campaign with provided asset map, decision map and decision graph details for a particular account |
List Campaigns | GET | Returns a list of campaigns under a particular account |
List Data Signals | GET | Returns a list of data signals for a particular account. |
Delete Campaign | DELETE | Deletes a campaign under a particular account |
List Asset Sources | GET | Returns a list of asset sources under a particular account |
Get Asset Sources Detail | GET | Returns details of asset sources under a particular account |
Get Asset Sources Data | GET | Returns data for a given asset source under a particular account |
Get Campaign Data | GET | Returns data for a given campaign under a particular account |
Get Asset Source Label | GET | Returns labels for a given asset source. |
Create Asset Source Labels | POST | Creates a label for a given asset source |
Delete Asset Source Labels | DELETE | Deletes a label for a given asset source |
Create Feed Asset Source- /feed/process Create Feed Asset Source- /feed | POST | Creates an asset source from feed for the given user account |
Create Asset Source from Adobe After Effects Assets | POST | Creates an asset source from Adobe After Effects assets for the given user account. |
Create Inline Asset Source | POST | Creates an inline asset source for the given user account |
Create Recommendation Asset Source | POST | Creates a recommendation asset source for the given user account |
Create Remote Asset Source | POST | Creates a remote asset source for the given user account |
Update Feed Asset Source | PUT | Updates an asset source from feed for the given user account. |
Update Asset Source from Adobe After Effects Assets | PUT | Updates an asset source from Adobe After Effects assets for the given user account. |
Update Inline Asset Source | PUT | Updates an inline asset source for the given user account. |
Update Recommendation Asset Source | PUT | Updates a recommendation asset source for the given user account. |
Update Remote Asset Source | PUT | Updates a remote asset source for the given user account. |
Create Campaign
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
List Campaigns
Parameters
Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
accountId | string | Mandatory | path | ID of the advertiser account created on the platform. |
Sample Request
Sample Response
List Data Signals
Parameters
Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
accountId | string | Mandatory | path | ID of the advertiser account created on the platform. |
Sample Request
Sample Response
Delete Campaign
Parameters
Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
accountId | string | Mandatory | path | ID of the advertiser account created on the platform. |
campaignId | string | Mandatory | path | ID of the campaign created under a given user account on the platform. |
Sample Request
Sample Response
HTTP status code as 200 OK with no response body is returned.
List Asset Sources
Parameters
Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
accountId | string | Mandatory | path | ID of the advertiser account created on the platform. |
Sample Request
Sample Response
Get Asset Sources Detail
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
Sample Response
Get Asset Sources Data
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
Sample Response
Get Campaign Data
Parameters
Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
accountId | string | Mandatory | path | ID of the advertiser account created on the platform. |
campaignId | string | Mandatory | path | ID of the campaign created under a given user account on the platform. |
Sample Request
Sample Response
Get Asset Source Label
Parameters
Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
accountId | string | Mandatory | path | ID of the advertiser account created on the platform. |
objId | string | Mandatory | path | ID of the asset source under a given user account on the platform. |
Sample Request
Sample Response
Create Asset Source Labels
Parameters
Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
accountId | string | Mandatory | path | ID of the advertiser account created on the platform. |
objId | string | Mandatory | path | ID of the asset source under a given user account on the platform. |
Sample Request
Request Body
Sample Response
Delete Asset Source Labels
Parameters
Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
accountId | string | Mandatory | path | ID of the advertiser account created on the platform. |
objId | string | Mandatory | path | ID of the asset source under a given user account on the platform. |
Sample Request
Request Body
Sample Response
HTTP status code as 200 OK with no response body is returned.
Feed Asset Source
Feed asset sources are created in two steps.
Step1 - /feed/process has to be called first. It generates and returns the metadata which is required for creating the feed asset source.
Step 2 -/feed will expect metadata generated by the first endpoint to create the actual asset source.
Create Feed Asset Source - /feed/process
To create a feed-based asset source
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
Create Feed Asset Source - /feed
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
AssetSource Creation API
Feed creation API
Feed Asset Source
Create Feed Asset Source
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
Create Asset Source from Adobe After Effects Assets
Parameters
Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
accountId | string | Mandatory | path | ID of the advertiser account created on the platform. |
destAssetSourceId | string | Mandatory | path | ID of the destination asset source. It updates details for the asset-source referenced by destAssetSourceId |
Sample Request
Request Body
Sample Response
Create Inline Asset Source
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
Create Recommendation Asset Source
Parameters
Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
accountId | string | Mandatory | path | ID of the advertiser account created on the platform. |
sourceAssetSourceId | string | Mandatory | path | ID of the source asset source. It updates details for the asset-source referenced by sourceAssetSourceId |
Sample Request
Request Body
Sample Response
Create Remote Asset Source
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
Update Feed Asset 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
Update Inline Asset 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
Update Recommendation Asset Source
Parameters
Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
accountId | string | Mandatory | path | ID of the advertiser account created on the platform. |
sourceAssetSourceId | string | Mandatory | ID of the source asset source. It updates details for the asset-source referenced by *sourceAssetSourceId * | |
assetSourceId | string | Mandatory | path | ID of the asset source under a given user account on the platform. |
Sample Request
Request Body
Sample Response
Update Remote Asset 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
Update Asset Source from Adobe After Effects Assets
Update Asset Source from Adobe After Effects Assets