Display Ad Server
Serve ads in standard fixed-size ad units
Native Ad Server
Serve native ads on your web page or app
VAST Video Ad Server
Serve MP4 video ads as pre/mid/post-rolls
CTV Video Ad Server
Monetize your CTV channel
White Label Ad Server
Build your own ad server in hours
API Quickstart
Test the API in just minutes
Full API Docs
Automate your complete ad operations
Migration Assistance
Need help switching to AdGlare?
Management APIs
Automate your complete ad ops workflow
Realtime Reporting
Never miss an imporant KPI
Enterprise-grade Infrastructure
Engineered for speed, built for trust
Video Optimization
Built-in quality checks before going live
Feature Overview
See if we're a fit in minutes
Talk to Sales
Reach out to get started
Talk to Support
Get help with your ad server
Request a Demo
Get a free demo to see if we're a fit
Security / Compliance
GDPR / CCPA, cookie laws, ISO 27001
Terms of Service
AdGlare's terms and privacy policy
Network Status
Keep track of network uptime
Getting Started
API Overview

Campaign API
Campaigns
Creatives

Inventory API
Zones

Reporting API
API Overview
Real Time Reports
Data Shipping

Additional APIs
Advertisers
Workspaces
Folders
GETList Folders
POSTCreate Folders
PUTUpdate Folders
DELETEDelete Folders
Audit Trails

Folders

Get a list of Folders

get
/folders

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/folders"
  -H "Authorization: Bearer {api_key}"
Example Response
{
    "items": [{
        "folder_id": 643068557,
        "parent_id": 0,
        "created": 764685530,
        "name": "My Folder",
        "level": "campaigns",
        "count": 27
    },
    {
        "folder_id": 847284728,
        "parent_id": 0,
        "created": 764685530,
        "name": "Another Folder",
        "level": "campaigns",
        "count": 45
    }]
}

Get a single Folder

get
/folders/{id}

Path Parameters

id
int, required
The ID of the folder.
Example Request
curl "https://{yourname}.api.adglare.app/v2/folders/{id}"
  -H "Authorization: Bearer {api_key}"
Example Response
{
    "folder_id": 643068557,
    "parent_id": 0,
    "created": 764685530,
    "name": "My Folder",
    "level": "campaigns",
    "count": 27
}

Create a Folder

post
/folders

Request Body (JSON)

name
string, required
The name of the folder.
workspace_id
int
The workspace ID of the folder. Defaults to 0.
Example Request
curl "https://{yourname}.api.adglare.app/v2/folders"
  -X POST
  -H "Content-Type: application/json"
  -H "Authorization: Bearer {api_key}"
  -d '{
    "name": "My Folder",
    "workspace_id": 123456789
  }'
Example Response
{
    "folder_id": 643068557
}

Update a Folder

put
/folders/{id}

Path Parameters

id
int, required
The ID of the folder.

Request Body (JSON)

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

Delete a Folder

delete
/folders/{id}

Path Parameters

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