Skip to content

Get ad details

Request

Security
ApiKeyAuth
Path
adintegerrequired

Ad id

GET
/v2/ads/pinterest/{ad}
curl -i -X GET \
  'https://api.adflex.io/api/v2/ads/pinterest/{ad}' \
  -H 'x-api-key: YOUR_API_KEY_HERE'

Responses

OK

Bodyapplication/json
statusstringrequired
Enum:"ok""failed"
metaobjectrequired
dataobjectrequired
Response
{ "status": "ok", "meta": { "code": 1000, "message": null }, "data": { "id": 100, "post_url": "https://pinterest.com/10000", "card": {}, "impression": {}, "targeting_detail": {}, "engagement_data": {}, "url_chain": [], "domain": {} } }