Ad InsertionExport Ad Insertion Logs

Export Ad Insertion Logs

Custom Plan Downloads ad insertion log lines for an explicit, bounded time range as a CSV file.

curl -X GET "https://api.5centscdn.com/v2/zones/vod/push/42/adinsertion/logs/export?source=live&from=42&to=42" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY"
{}
GET
/zones/vod/push/{zoneid}/adinsertion/logs/export
GET
Base URLstring

Target server for requests. Edit to use your own host.

API Key (header: X-API-Key)
X-API-Keystring
Required

API key (sent in header)

query
sourcestring
Required
Options: live, ad-server, slate, service
query
frominteger

Start of the export range, Unix epoch milliseconds.

Format: int64
query
tointeger
Required

End of the export range, Unix epoch milliseconds.

Format: int64
Request Preview
Response

Response will appear here after sending the request

Authentication

header
X-API-Keystring
Required

API Key for authentication. Provide your API key in the header.

Path Parameters

zoneidinteger
Required

Zone ID

Example:
42

Query Parameters

sourcestring
Required
Allowed values:livead-serverslateservice
frominteger

Start of the export range, Unix epoch milliseconds.

tointeger
Required

End of the export range, Unix epoch milliseconds.

Responses

CSV file of matching log lines.