Greetings,
I'm attempting to query the API about whether an account is suspended or 
not(V13 and using PHP, btw).
So far, attempting to query the API with the id of a suspended account 
returns a *Fault* and more specifically a *Status code:7* *Details: The 
caller does not have permission* and my script exits without any chance of 
processing the request*.*
Is there a way for someone to retrieve that piece of information? Whether 
an account is suspended or not, I mean.

If it helps, the Fault happens in this line:  $customer = 
$googleAdsServiceClient->search($customerId, 
$query)->getIterator()->current()->getCustomer();

Thank you in advance 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3a4c990d-fd62-40e4-920c-4a2ab232256cn%40googlegroups.com.

Reply via email to