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
VAST Video Ad Server
Serve MP4 video ads as pre/mid/post-rolls
connected_tv
CTV Video Ad Server
Monetize your CTV channel
colors
White Label Ad Server
Build your own ad server in hours
laptop_chromebook
For Publishers
Maximize revenue for direct deals
campaign
For Advertisers
Optimize campaigns with real-time insights
menu_book
User Guide
Simple UI — no steep learning curve
api
API Documentation
Full API Docs for Developers
email
Talk to Sales
Reach out to discuss your requirements
animated_images
Request a Demo
Get a free demo to see if we're a fit
shield_lock
Security / Compliance
GDPR / CCPA, cookie laws, ISO 27001
contract
Terms of Service
AdGlare's terms and privacy policy
network_ping
Network Status
Keep track of network uptime

Advertisers

Get a list of Advertisers

get
/advertisers

Query Parameters

limit
int
The number of items returned in the response. Defaults to 100.
offset
int
The number of items to skip before starting to return results. Defaults to 0.
Example Request
curl "https://{yourname}.api.adglare.app/v2/advertisers"
  -H "Authorization: Bearer {api_key}"
Example Response
{
    "items": [{
        "advertiser_id": 643068557,
        "name": "My Advertiser"
    },
    {
        "advertiser_id": 847284728,
        "name": "Another Advertiser"
    }]
}

Get a single advertiser

get
/advertiser/{id}

Query Parameters

id
int, required
The ID of the advertiser.
Example Request
curl "https://{yourname}.api.adglare.app/v2/advertiser/{id}"
  -H "Authorization: Bearer {api_key}"
Example Response
{
    "advertiser_id": 643068557,
    "name": "My Advertiser"
}

Create an advertiser

post
/advertisers

Request Body (JSON)

name
string, required
The name of the advertiser.
Example Request
curl "https://{yourname}.api.adglare.app/v2/advertisers"
  -X POST
  -H "Content-Type: application/json"
  -H "Authorization: Bearer {api_key}"
  -d '{
    "name": "My Advertiser"
  }'
Example Response
{
    "advertiser_id": 643068557
}

Update an advertiser

put
/advertisers/{id}

Path Parameters

id
int, required
The ID of the advertiser.

Request Body (JSON)

name
string, required
The name of the advertiser.
Example Request
curl "https://{yourname}.api.adglare.app/v2/advertisers/{id}"
  -X PUT
  -H "Content-Type: application/json"
  -H "Authorization: Bearer {api_key}"
  -d '{
    "name": "My Advertiser"
  }'
Example Response
{
    "advertiser_id": 643068557
}

Delete an advertiser

delete
/advertisers/{id}

Path Parameters

id
int, required
The ID of the advertiser.
Example Request
curl "https://{yourname}.api.adglare.app/v2/advertisers/{id}"
  -X DELETE
  -H "Authorization: Bearer {api_key}"
Example Response
{}