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.

Campaigns

Endpoint

get
/campaigns
cURL
curl "https://{yourname}.api.adglare.app/v2/campaigns"
  -H "Content-Type: application/json"
  -H "x-api-key: your_api_key_here"
Example Response
{
    "items": [{
        "account_id_created": 685576430,
        "account_id_modified": 764685530,
        "ad_format": "display",
        "advertiser_id": 0,
        "campaign_id": 279481212,
        "conversion_tracker_id": 0,
        "created": 1687144690,
        "creative_ids": [],
        "creative_optimization": [],
        "delivery": {
            "end": 0,
            "start": 1687144690
        },
        "event_counts": {
            "ad_requests": 6374726,
            "clicks": 5247,
            "filled_impressions": 6374726,
            "impressions": 6825202,
            "measurable_impressions": 6825202,
            "viewable_impressions": 4124992
        },
        "folder_id": 672728731,
        "is_active": true,
        "is_archived": false,
        "metadata": [],
        "modified": 1727764402,
        "name": "Test campaign",
        "notes": "",
        "pacing": [],
        "pricing": [],
        "targeting": [],
        "tier": 1,
        "watchlist": [],
        "weight": 5,
        "zone_ids": [433441350]
    },
    {
        "account_id_created": 857566430,
        "account_id_modified": 685576430,
        "ad_format": "display",
        "advertiser_id": 0,
        "campaign_id": 042527393,
        "...": "..."
    }
}