Skip to end of metadata
Go to start of metadata

Primary Ad Server

The Primary Adserver Service returns all the primary adservers for the caller's member as well as enabling the creation, updating and deleting of primary adservers. 

REST API

Get all the primary adservers. 

Create a new primary adserver.

Update an existing primary adserver. 

Delete an existing primary adserver. 

GET

Returns the primary adservers. 

Example call using cURL.

Response

A successful response will returns a JSON array of adserver objects. 

PropertyTypeDescription
idintegerA unique identifier for the adserver object.
namestringThe name of the adserver.

Example response:

POST

Enables the creation of a new adserver. 

Example call using cURL: 

Parameters:

NameTypeScopeDescription
name
stringRequiredThe name of the configuration.

Example JSON file: 

Response

On success, the created adserver object will be returned. 

PUT

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

Example call using cURL: 

Parameters:

NameTypeScopeDescription
name
stringRequiredThe name of the adserver.

Example JSON file: 

Response

On success, the updated adserver object will be returned.

DELETE

Enables the deletion of all or an existing adserver object. Append the adserver id as the last path component of the URL. 

Example call using curl to delete all adserver objects: 

Example call using curl to delete an existing adserver object: 

Response:

A successful deletion notification object.

  • No labels