API for Getting and searching ads of all platforms.
API for Getting and searching ads of all platforms.
curl -i -X GET \
'https://adflex.redocly.app/_mock/openapi/filters/youtube/search?api_key=YOUR_API_KEY_HERE'
{ "status": "ok", "meta": { "code": 1000, "message": null }, "data": { "filters": [ … ], "relations": [ … ] } }
curl -i -X POST \
'https://adflex.redocly.app/_mock/openapi/youtube/ads/search?api_key=YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"page": 1,
"orderby": "updated_at"
}'
{ "status": "ok", "meta": { "code": 1000, "message": null }, "data": { "ads": [ … ], "current_page": 1, "has_next_page": true, "last_hit": 12321321 } }
curl -i -X GET \
'https://adflex.redocly.app/_mock/openapi/youtube/ads/{ad}?api_key=YOUR_API_KEY_HERE'
{ "status": "ok", "meta": { "code": 1000, "message": null }, "data": { "data": { … } } }