Ad-Library-API-Script-Repository icon indicating copy to clipboard operation
Ad-Library-API-Script-Repository copied to clipboard

Is verification by passport or ID absolutely required for this API?

Open naddika opened this issue 2 years ago • 4 comments

 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?

naddika avatar Sep 04 '23 13:09 naddika

Yes in order to use the Ad Library API you will need to verify your ID

chdone avatar Sep 05 '23 20:09 chdone

@chdone is it specific to Ad Library API only?

naddika avatar Sep 06 '23 01:09 naddika

@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 avatar Sep 06 '23 05:09 chdone

@chdone I see. Other APIs of Facebook don't require ID verification?

naddika avatar Sep 06 '23 22:09 naddika