Skip to content

Advertiser API

Advertiser Report instructions

Endpoint

https://api.myadoptimizer.com/api/AdRptAPI?AdToken= {{ Advertiser Token }}
// without brackets ({})

*You have to request your advertiser token to your PE Admin.

🤖Try it out with swagger

Method: POST

Params NamesData TypeAllowed Values
Query String Params
AdTokenStringXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
Post JSON Params
StartDateDateyyyy-MM-dd
EndDateDateyyyy-MM-dd

Example result

[
{
"campaignID": 623,
"campaignName": "Camapign Name",
"date": "2021-07-01T00:00:00",
"availableImpressions": 4468,
"impressions": 1,
"clicks": 1,
"cpc": 9.2800,
"ctr": 9.2800,
"spend": 9.800
},
]

Data center instructions

Endpoint

https://api.myadoptimizer.com/api/AdRptAPI?UserToken= {{ User token provided }} dcReport=true&VerticalID= {{ Vertical ID consulted }} &StartDate= {{ yyyy-MM-dd }} &EndDate= {{ yyyy-MM-dd }}
// without brackets ({})

*You can find your user token in Account info

Method: GET

Params NamesData TypeAllowed Values
UserToken*StringXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
dcReport*Booleantrue
VerticalID*Integer- 1 / Refinace - 2 / Purchase - 8 / Auto Insurance - 9 / Life Insurance - 11 / Education - 13 / Medicare - 14 / Home Insurance - 15 / Solar - 16 / Personal Loans - 17 / Home Services
StartDate*Dateyyyy-MM-dd
EndDate*Dateyyyy-MM-dd
ClicksINT1 (Clicks Only) 0 (Clicks & Impressions)

*Case sensitive & required values

Example result

Refinance | Purchase | Auto Insurance | Medicate | Home Insurance

[
{
"verticalName": "Refinance",
"landingPage": "Name of landing page",
"adNetowrk": "Ad Network",
"campaignID": 685,
"campaignName": "Campaign Name",
"advertiserID": 537,
"advertiserName": "Advertiser Name",
"eventID": "00000000-0000-0000-0000-000000000000",
"timeStamp": "2021-07-01T23:59:10.89",
"cpc": 9.2000,
"sourceID": "Source ID",
"landingPageID": 00,
"adConstraints": [
{
"adConstraintName": "CashOut",
"value": "Yes"
},
],
"campaignBid": 10.0,
"baseCPC": 9.2000,
"baseCampaignBid": 10.0000
},
]