This API exposes operations to allow management of Image Creative features within the Cxense Advertising platform.
This API can be accessed by users with the appropriate permissions to manage Image Creative features and supports the following combination of operations on Image Creative feature domain objects:
|
Object |
Supported operations |
|---|---|
|
Image Creative feature list |
GET |
|
Image Creative feature |
POST, GET, PUT and DELETE |
Retrieving the list of Image Creative features saved against a Campaign or Ad
The GET operation is supported for listing existing Image Creative features.
GET
Retrieve all of the Image Creative features saved at or below the Campaign or Ad with the given parentId. One call using the id of a Campaign will return all of the Image Creative features stored against the Campaign and all of Ads in a single response.
|
Parameters:
-
cxadbaseurl the base URL of the Cxense Advertising system
-
parentId the id of either a Campaign or Ad for which the Image Creative features are to be retrieved
Example command:
|
This XML example shows the contents returned from a typical GET call:
|
Individual Image Creative features
The POST, GET, PUT and DELETE operations are supported for management of individual Image Creative features.
POST
Create a new Image Creative feature under the Campaign or Ad with the given parentId.
|
Parameters:
-
cxadbaseurl the base URL of the Cxense Advertising system
-
parentId the id of either a Campaign or Ad under which the new Image Creative feature is to be created
This XML example shows the contents required to be supplied for a POST call:
|
Please refer to the example-image-creative-post.xml file below for an XML example containing Base64 encoded image file contents.
example-image-creative-post.xml
Example command:
|
This XML example shows the contents returned from a typical POST call:
|
In the event that creation of this creative will cause the Campaign or Ad to become valid this will not occur until after the sync task to propagate the uploaded binary data to the CDN has successfully run. The sysc task currently executes on the taskserver every second and can take anywhere in the order of seconds up to a couple of minutes to complete. Until such time as it has completed the Campaign/Ad will potentially continue to be considered invalid.
GET
Retrieve the Image Creative feature with the given featureId
|
Parameters:
-
cxadbaseurl the base URL of the Cxense Advertising system
-
featureId the id of the Image Creative feature to be retrieved
Example command:
|
This XML example shows the contents returned from a typical GET call:
|
PUT
Update the Image Creative feature with the given featureId
|
Parameters:
-
cxadbaseurl the base URL of the Cxense Advertising system
-
featureId the id of the Image Creative feature to be updated
Example command:
|
This XML example shows the contents required to be supplied for a PUT call:
|
DELETE
Delete the Image Creative feature with the given featureId
|
Parameters:
-
cxadbaseurl the base URL of the Cxense Advertising system
-
featureId the id of the Image Creative feature to be deleted
Example command:
|