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
login
Getting Started
API Base URL
Authentication
Error Handling
Management
Campaigns
Zones
Analytics
Reports

Zones

Endpoint

get
/v2/zones

POST Parameters

zID
int
Zone ID to filter for.
status
string
Filter zone status. Either active, onhold, completed, archived.
cURL
curl "https://{yourname}.adglare.net/api/v2/zones"
  -H "Authorization: Basic {api_key}"
Example Response
{
     "success": "1",
     "data": [{
         "zID": "646374028",
         "name": "My Zone",
         "type": "Inline Media Ad",
         "created": "2024-01-16 09:40:51",
         "status": "active",
         "ad_requests": 129571,
         "impressions": 129568,
         "clicks": 5643,
         "assigned_campaigns": "123456789#234567890",
         "impression_pixels": ["https://www.tracker.com"],
        
    },
     {
         "zID": "185738534",
         "name": "Another Zone",
         "type": "VAST Video Tag",
         "created": "2024-01-16 11:03:32",
         "status": "onhold",
         "ad_requests": 7224,
         "impressions": 7221,
         "clicks": 840,
         "assigned_campaigns": "123456789",
         "impression_pixels": ["https://www.tracker.com"],
        
    }],
     "errormsg": "",
     "uri": "/api/v2/zones"
}