API Overview
The
What You Can Do With the API
| Area | What you can do |
|---|---|
| Campaigns | Create and update banner, native and video campaigns; start, stop and delete them; read their status; change budget pacing (Even or None) without touching any other setting. |
| Optimisation | Read campaign optimisation data, and start or stop delivery by exchange, creative, operating system, browser, operator, site or app, placement or package — the same actions as the Optimisation table in the DSP. Each option must be enabled for the advertiser. |
| Packages | Create, list, rename and delete apps/sites or placement packages, and add or replace their domains (up to 50,000 per request). |
| Creatives | Create, update, list and delete creative sets and creatives; upload banner and native assets. |
| Audiences | Create, update and delete behavioural and DMP audiences; list audience interests. |
| Brand safety | Create and list brand safety keyword sets. |
| Reports | Campaign reports and their splits (sites, exchanges, creatives, operating systems, operators, browsers, placements, age, gender and more), video reports, device ID reports, and period totals including deduplicated reach. |
| Reference data | The IDs that campaign settings use: countries and states, operators, devices, exchanges, sites, ad placements, age groups, genders and private marketplaces. |
| Invoices | Invoice details and the invoice PDF. |
The full list of dspendpoints, dashboard related solutions to dsp clients of the online sphere. This allowes dsp clients to avail dashboard services through API without needing to use DSP dashboard platform.
Available services
CampaignCampaign creationparameters and relatedexamples servicesis needed to create campaign.
AudienceAudience creation and related services needed to create audience
CreativeCreative creation and related services needed to create campaign.
ReportDifferent report fetching for corresponding campaign.
Auth access token management overview
How Access Tokens Work
Every API call needs an access token. The token tells the bearerAPI ofwho is calling and what that account may do.

Get an access token: generate it in the DSP, or request it with an HTTP call. Both ways are described in How to Use the API.
Send the token
has been permitted to access the API and perform different actions according to the allowed scope.
Auth access token management flow
Auth access Token Management Steps
Before accessing any DSP APIs, call theGet Access Token APIto get authorization token.Use this token valuein the"Authorization"Authorizationheaderforofaccessingeveryfuturecall:APIAuthorization:calls.Bearer {ACCESS_TOKEN}BeforeA token is valid for one year. When you request it with an HTTP call, the
endresponseofstatesthe current tokenits lifetimeGetinAccesssecondsToken(expires_in).APIBeforeagainittoexpires,getrequest a new tokenagainsttheyoursameexistingwaytoken. You will have toand use the new one from then on.
From a parent account, the same token foralso subsequentgives otheraccess to the data of its child accounts.
Summary
The API calls.covers