RelayAPI

Get ad details

GET
/v1/ads/{id}
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

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/ads/string"
{  "data": {    "ad_account_id": "string",    "body": "string",    "boost_external_post_id": "string",    "boost_post_target_id": "string",    "call_to_action": "string",    "campaign_id": "string",    "created_at": "2019-08-24T14:15:22Z",    "daily_budget_cents": 0,    "duration_days": 0,    "end_date": "2019-08-24T14:15:22Z",    "headline": "string",    "id": "string",    "image_url": "string",    "is_external": true,    "lifetime_budget_cents": 0,    "link_url": "string",    "name": "string",    "platform": "meta",    "platform_ad_id": "string",    "start_date": "2019-08-24T14:15:22Z",    "status": "draft",    "targeting": null,    "updated_at": "2019-08-24T14:15:22Z",    "video_url": "string"  }}

Found something wrong? Help us improve this page.