api
Native Ad Server API
Build native ads into your web page or app
dvr
Sponsored Listings API
Let sellers promote their product at the top of the list
grid_view
Promoted Content API
Add promoted content based on search queries or keywords
desktop_windows
Digital-Out-Of-Home (DOOH) API
Reach out of home audiences on screens or billboards
campaign
Internal Promotions API
Offer users vouchers or promo codes at the right time
api
Decision API
Returns a JSON response with ads
api
Management API
Manage campaigns and inventory
api
Reports API
Custom reports and data shipping
monitor_heart
API Status
Live network infrastructure status
AdFlight.io Logo
AdFlight.io
Ad Server APIs for Developers
topic Getting Started
Authentication
Error Handling
api Decision API
Ad Request
Ad Response
Logging Events
api Management API
Channels
Zones
Advertisers
Campaigns
Creatives
api Reporting API
Reports

Advertisers

Endpoint

get
/v2/advertisers/{advertiser_id}

Response

advertiser_id
int
The ID of the advertiser.
campaign_count
object
The number of campaigns assigned to this advertiser.
event_counts
object
Real-time data about event counts for this advertiser.
name
string
The name of the advertiser.
cURL
curl "https://{yourname}.api.adflight.io/v2/advertisers/{advertiser_id}"
  -H "X-ApiKey: TCm2Hd_rT4pRNvSZ2cGYCJ6... (example)"
Example Response
{
     "advertiser_id": 645091658,
     "campaign_count": 1,
     "event_counts": {
         "clicks": 2190,
         "impressions": 170129
    },
     "name": "My Advertiser"
}
format_quoteThese plug & play ad serving APIs have cut down developement cost tremendously. Absolutely a huge time saver for anyone who wants to build a custom ad server in a short time.
Hayden Elson
starstarstarstarstar
Developer at Galactic Media