Banners

?cuid=<customer ID> query string parameter is needed for all Banners endpoints below.

POST /campaign/:cid/persona/:pid/banner

1
2
3
4
5
6
7
{
name: STRING,
height: INT (Pixels),
width: INT (Pixels),
clickUrl: STRING,
creativeUrl: STRING
}

Create and attach a banner under a given persona

Banners must conform to allowed ad sizes, and content guidlines

creativeURL is the path to an image banner

Response will include {bid: [BANNER ID]} to be used in future API calls

GET /campaign/:cid/persona/:pid/banner

Get the list of banners for a given persona.

PUT /campaign/:cid/persona/:pid/banner

1
2
3
4
5
6
7
{
name: STRING,
height: INT (Pixels),
width: INT (Pixels),
clickUrl: STRING,
creativeUrl: STRING
}

Edit a specific banner for a given persona

Banners must conform to allowed ad sizes, and content guidlines

creativeURL is the path to an image banner

DELETE /campaign/:cid/persona/:pid/banner/:bid

Detach and hide the given banner.