landscape
Display Ad Server
Serve ads in standard fixed-size ad units
api
Native Ad Server
Serve native ads on your web page or app
ondemand_video
Video Ad Server
Serve MP4 video ads as pre/mid/post-rolls
laptop_chromebook
For Publishers
Maximize revenue for direct deals.
campaign
For Advertisers
Optimize campaigns, real-time insights.
roofingProductsarrow_drop_downSolutionsarrow_drop_downPricing
User GuideAPISupport
topic Getting Started
API Base URL
Authentication
Error Handling
api Management
Campaigns
Zones
api Analytics
Reports


Error Handling

If an API request failed, the success variable will be set to 0, and errormsg will contain a description why the request failed.

If a request was successful, success is set to 1.

Example of an error
{
     "success": "0",
     "errormsg": "There was an error.",
     "uri": "/api/v2/reports"
}