Is there a way to get list of accounts that are not enabled or deactivated 
by performing REST API request ?

Sending request to Google Ads: method: POST; url: 
https://googleads.googleapis.com/v19/customers/xxxx/googleAds:search 
<https://googleads.googleapis.com/v19/customers/7021986261/googleAds:search>; 
params: {'query': 'SELECT customer.status, customer_client.status, 
customer_client.descriptive_name, customer.resource_name, customer.id, 
customer_client.level, customer_client.manager, 
customer_client.resource_name, customer_client.test_account, 
customer_client.hidden, customer_client.client_customer, 
customer.test_account, customer.manager FROM customer_client'}; headers : 
{'Authorization': 'xxxxxx', 'Content-Type': 'application/json', 
'developer-token': 'xxxxxx'}

This request is returning me this error mesasge;

 Error message: The customer account can't be accessed because it is not 
yet enabled or has been deactivated.. Error code: 403. Error status: 
PERMISSION_DENIED


Thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/adwords-api/bf4879ae-dcb5-419f-9ce5-6d67019f6dccn%40googlegroups.com.
  • Ho... 'Melissa Termin' via Google Ads API and AdWords API Forum
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... 'Melissa Termin' via Google Ads API and AdWords API Forum

Reply via email to