Endpointget /v2/zones/{zone_id}
Response
channel_id int |
The ID of the channel this zone was added to. |
event_counts object |
Real-time data about event counts for this zone. |
is_active boolean |
Whether the zone is active or not. |
name string |
The name of the channel. |
timestamp string |
The timestamp when the zone was created. |
zone_id int |
The ID of this zone. |
|
cURL
curl "https://{yourname}.api.adflight.io/v2/zones/{zone_id}"
-H "X-ApiKey: TCm2Hd_rT4pRNvSZ2cGYCJ6... (example)"
Example Response
{
"channel_id": 488223173,
"event_counts": {
"ad_requests": 170192,
"clicks": 2190,
"impressions": 170129 },
"is_active": true,
"name": "Examplezone",
"timestamp": "2022-09-23 14:19:53",
"zone_id": 537477984 }
|
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