This API exposes operations to allow management of Ads within the Cxense Advertising platform.
This API can be accessed by users with the appropriate permissions to manage Ads and supports the following combination of operations on Ad domain objects:
|
Object |
Supported operations |
|---|---|
|
Ad list |
GET |
|
Ad |
POST, GET, PUT and DELETE |
Retrieving the list of Ads under a Campaign
The GET operation is supported for listing existing Ads.
GET
Retrieve all of the Ads saved under the Campaign with the given campaignId.
|
Parameters:
-
cxadbaseurl the base URL of the Cxense Advertising system
-
campaignId the id of the Campaign for which the Ads are to be retrieved
Example command:
|
Individual Ads
The POST, GET, PUT and DELETE operations are supported for management of individual Ads.
POST
Create a new Ad under the Campaign with the given campaignId.
|
Parameters:
-
cxadbaseurl the base URL of the Cxense Advertising system
-
campaignId the id of the Campaign under which the new Ad is to be created
This XML example shows the contents required to be supplied for a POST call:
|
Example command:
|
GET
Retrieve the Ad with the given adId
|
Parameters:
-
cxadbaseurl the base URL of the Cxense Advertising system
-
adId the id of the Ad to be retrieved
Example command:
|
PUT
Update the Ad with the given adId
|
Parameters:
-
cxadbaseurl the base URL of the Cxense Advertising system
-
adId the id of the Ad to be updated
Example command:
|
DELETE
Delete the Ad with the given adId
|
Parameters:
-
cxadbaseurl the base URL of the Cxense Advertising system
-
adId the id of the Ad to be deleted
Example command:
|