One Meta Ad Library ad with its full creative: every carousel card or version, image and video URL, headline, body and CTA.
curl -X POST "https://api.primaryapi.com/v1/run/facebook.ad_details_full" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"id":"1016451784037642"}'{
"output": {
"found": true,
"data": {
"title": "<string | null>",
"pageLikes": "<integer | null>",
"adCount": "<integer | null>",
"active": "<boolean | null>", …
}
},
"credits": 2
}Input and output
1 field
1016451784037642.40 fields
Good to know
Media URLs expire. Save the file if you need to keep it.
The creative is the advertiser's copyrighted material. URLs only.
Unknown ID? It comes back as not found, not as an error.
The same key and credits work for every API.