Creating a New Advertiser

Post a new advertiser with the minimum required properties. In this case we are only passing in the name of the advertiser and its state.

curl -X POST -H ‘auth: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzZWF0SWQiOjI3MDIsInVzZXJJZCI6MzU1LCJleHBpcmVzIjoiMjAyMC0wOC0SDsawMjo1NToyNyJ9.d6gUDLA_Yx_Em5REoathACFMPcfv1TgL8B87P19q7yA’  ‘https://api.pontiac.media/pontiac/advertiser’ -d ‘{

   “name”:”newAdvertiser”,

   “status”:0

}’

 

Response:

{

   “timestamp”:”Mon Aug 17 20:56:19 UTC 2020″,

   “response”:{

   “Advertisers”:[

      {

         “pontiacAdvertiserId”:1713,

         “name”:”newAdvertiser”,

         “status”:0,

         “seatId”:1000,

         “insertionOrdersEnabled”:1,

         “gdprEnabled”:0,

         “politicalContentEnabled”:0,

         “hasProfile”:0,

         “gamblingEnabled”:0

      }

   ]

   },

   “accountStatus”:1,

   “seatId”:1000

}

 

From this you will need the pontiacAdvertiserId, in this case 1713. It will be used when creating the Line and the Creatives.