Hi Team,

We are trying to fetch a list of Ad accounts using the Google Adwords API. 
The developer token has "basic access".

$selector = new Selector();
$selector->setFields(['Name', 'CustomerId']);
$page = $managedCustomerService->get($selector);

However, we are getting the following error for a certain account and works 
for another. 
*Fatal error*: Uncaught Google\AdsApi\AdWords\v201809\cm\ApiException: 
[AuthorizationError.NO_CUSTOMER_FOUND

The strange thing is both accounts belong to the same organization and have 
the same Google Adwords Access level.

I would like to know if anybody else has faced a similar situation. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/e8d32655-1beb-413c-a1cc-0ca1c61816a7%40googlegroups.com.

Reply via email to