Get ad analytics with daily breakdown
Authorization
Bearer AuthorizationBearer <token>
API key (rlay_live_* or rlay_test_). Invite redemption also accepts a server-derived rlay_session_ bearer for a current user session.
In: header
Path Parameters
id*string
Resource ID
Query Parameters
from?string
Start date YYYY-MM-DD
to?string
End date YYYY-MM-DD
breakdowns?string
Comma-separated breakdown dimensions
Response Body
application/json
application/json
curl -X GET "https://example.com/v1/ads/string/analytics"{ "data": { "daily": [ { "clicks": 0, "conversions": 0, "cpc_cents": 0, "cpm_cents": 0, "ctr": 0, "date": "string", "engagement": 0, "impressions": 0, "reach": 0, "spend_cents": 0, "video_views": 0 } ], "demographics": { "age_gender": [ { "property1": null, "property2": null } ], "locations": [ { "property1": null, "property2": null } ] }, "summary": { "clicks": 0, "conversions": 0, "cpc_cents": 0, "cpm_cents": 0, "ctr": 0, "impressions": 0, "reach": 0, "spend_cents": 0 } }}Found something wrong? Help us improve this page.