I'm working on a similar issue where listAccesbleCustomers does not show 
the same customer IDs that are available when I log into to Ads and review 
the linked accounts.
The only rational explanation I can think of is that the account I got the 
token for is NOT the manager account (and thus the token does not give 
access to the same list of accounts).

On Friday, November 27, 2020 at 12:20:48 PM UTC-7 p.karp...@gmail.com wrote:

> Hello Team,
>
> I'm trying to retrive list of accounts (hierarhy of customers) from google 
> ads but receive error on request:
>     "message": "The caller does not have permission",
>     "code": 7,
>     "status": "PERMISSION_DENIED",
>     "details": [
>         {
>             "@type": "google.ads.googleads.v6.errors.googleadsfailure-bin",
>             "data": "<Unknown Binary Data>"
>         },
>         {
>             "@type": "grpc-status-details-bin",
>             "data": "<Unknown Binary Data>"
>         },
>         {
>             "@type": "request-id",
>             "data": "s8s0RCFzVEtXONYgQQd8Cw"
>         }
>     ]
>
> I went through auth process under Manager account and receive access token.
> This account has many accounts.
> When I call listAccessibleCustomers 
> <https://developers.google.com/google-ads/api/docs/account-management/listing-accounts>
>  it 
> returns ID of current manager account for what I received access token.
> When I call getCustomer 
> <https://developers.google.com/google-ads/api/reference/rpc/v6/CustomerService#google.ads.googleads.v6.services.CustomerService.GetCustomer-table>
>  
> to receive info about customer with ID that received from 
> listAccessibleCustomers 
> <https://developers.google.com/google-ads/api/docs/account-management/listing-accounts>
>  it 
> returns error above.
>
> Please advice
>
> Thank you
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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 on the web visit 
https://groups.google.com/d/msgid/adwords-api/89010609-a99a-48d0-a0e2-e6146acbd2c4n%40googlegroups.com.

Reply via email to