Ad-Library-API-Script-Repository
Ad-Library-API-Script-Repository copied to clipboard
Is verification by passport or ID absolutely required for this API?
curl -G \
-d "search_terms='california'" \
-d "ad_type=ALL" \
-d "ad_reached_countries=['US']" \
-d "access_token=EAA<.........>" \
"https://graph.facebook.com/v17.0/ads_archive"
===>
{"error":{
"message":"Application does not have permission for this action",
"type":"OAuthException",
"code":10,
"error_subcode":2332002,
"is_transient":false,
"error_user_title":"Authorization and login needed",
"error_user_msg":"To access the API, you'll need to follow the steps at facebook.com\/ads\/library\/api.",
"fbtrace_id":"<...>"}
}
I don't understand - will I have to verify my personal account by passport or ID to then be permitted to use this API?
Or what's this error about?
Yes in order to use the Ad Library API you will need to verify your ID
@chdone is it specific to Ad Library API only?
@naddika yes this only pertains to the API. You can access the information through the Ad Library UI without needing to go through ID verification process.
@chdone I see. Other APIs of Facebook don't require ID verification?