The account quality page of a user account shows account restricted and I am unable use the account for advertising.
Is it possible to check if a user account is restricted using any Facebook API endpoints?
The account quality page of a user account shows account restricted and I am unable use the account for advertising.
Is it possible to check if a user account is restricted using any Facebook API endpoints?
2
Answers
If you’re looking to determine if your Facebook ad account is restricted, you can make a request to the following endpoint:
${version}/${ad-account-id}?fields=id,name,account_status
.Once you’ve made the request, you’ll want to check the
account_status
field.If the value is
2
,101
, or202
, then your ad account is indeed restricted.Here’s the request that you need:
Just replace the TOKEN and USERID params to the ones that you need and you’ll get a result like this:
You need the
advertising_restriction_info
field.Another way to do the same check is to query an ad account for the field
is_user_allowed_to_advertise
: