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