Skip to end of metadata
Go to start of metadata

Default Ad Server Category Mapping

The Default Ad Server Category Mapping Service returns all or a specific default adserver category mapping. The service also enables the creation, updating and deletion of existing default adserver category mapping

REST API

Get all default ad server category mappings. 

Create a new adserver category mapping. 

Update an existing adserver category mapping. 

Delete an existing adserver category mapping. 

GET

Returns all default adserver category mappings. To return a specific default adserver category mapping append the default adserver category mapping's id as the last path component of the URL. 

Example call using curl.

Example call using curl to return a specific adserver category mapping.

Response

A successful response will return a JSON object containing an array of default adserver category mapping objects. 

NEED A RESPONSE

POST

Enables the creation of a new default adserver category mapping object. 

Example call using curl: 


Parameters:

NameTypeScopeDescription
adserver_idintegerRequiredThe id of the adserver that the default adserver category mapping is associated with.
adserver_category_code
stringRequiredWhich adserver category that will be associated with the default adserver category mapping.
iab_subcategory_codestringRequiredThe IAB subcategory code for the default adserver category mapping.

Example JSON file: 

Response

On success, the created default adserver category mapping object will be returned.

PUT

Enables the updating of an existing default adserver category mapping object. Append the default adserver category mapping id as the last path component of the URL. 

Example call using curl: 

Parameters:

NameTypeScopeDescription
name
stringRequiredThe name of the default adserver category mapping.

Example JSON file: 

Response

On success, the updated default adserver category mapping object will be returned. Append the default adserver category mapping id as the last path component of the URL. 

DELETE

Enables the deletion of an existing default adserver category mapping object. 

Example call using curl: 

Response:

A successful deletion notification object.

  • No labels