This API exposes operations to allow management of User Segment Targeting features on Campaigns and Ads within the Cxense Advertising platform.
Please note: To be able to create and update User Segment Targeting features, you need to have configured Cxense Analytics integration within Cxense Advertising.
Values inside the <cx:userSegment> tags need to be valid user segment ids provided by Cxense Analytics.
This API can be accessed by Advertisers and supports the following combination of operations on User Segment Targeting feature domain objects:
|
Object |
Supported operations |
|---|---|
|
User Segment Targeting feature list |
GET |
|
User Segment Targeting feature |
POST, GET, PUT and DELETE |
Retrieving list of User Segment Targeting features for a Campaign or Ad
The GET operation is supported for listing existing User Segment Targeting features.
GET
Retrieve all of the User Segment Targeting features saved at or below the Campaign or Ad with the given parentId. One call using the id of a Campaign will return all User Segment Targeting features stored against the Campaign and its 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 User Segment Targeting features are to be retrieved
Example command:
|
This XML example shows the contents returned from a GET call:
|
Individual User Segment Targeting features
The POST, GET, PUT and DELETE operations are supported for management of individual User Segment Targeting features.
POST
Create a new User Segment Targeting 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 User Segment Targeting feature is to be created
This XML example shows the contents required to be supplied for a POST call:
|
Example command:
|
GET
Retrieve the User Segment Targeting feature with the given featureId
|
Parameters:
-
cxadbaseurl the base URL of the Cxense Advertising system
-
featureId the id of the User Segment Targeting feature to be retrieved
Example command:
|
This XML example shows the contents returned from a GET call:
|
PUT
Update the User Segment Targeting feature with the given featureId
|
Parameters:
-
cxadbaseurl the base URL of the Cxense Advertising system
-
featureId the id of the User Segment Targeting feature to be updated
Example command:
|
This XML example shows the contents required to be supplied for a PUT call:
|
DELETE
Delete the User Segment Targeting feature with the given featureId
|
Parameters:
-
cxadbaseurl the base URL of the Cxense Advertising system
-
featureId the id of the User Segment Targeting feature to be deleted
Example command:
|