The adwords API (version: v201809) API's Customer service (namespace: mcm) 
returns two customers: 
4687386508 and 8183462864. 

The ads API's (v7)  /customers:listAccessibleCustomers endpoint also 
returns two resourceNames 'customers/4687386508', 'customers/1102285442'.

According to the documentation ( 
https://developers.google.com/google-ads/api/rest/design/resource-names) 
the customer ids of the accounts are: 4687386508, 1102285442.

As you can see the first id matches in the two responses, but the second id 
is different in the two responses. 

When we try to use the `1102285442` customer id in the 
`/customers/{customerId}/googleAds:searchStream` request we get the 
following error as the response: 

StatusCodeError: 403 - [{"error":{"code":403,"message":"The caller does not 
have 
permission","status":"PERMISSION_DENIED","details":[{"@type":"type.googleapis.com/google.ads.googleads.v7.errors.GoogleAdsFailure","errors":[{"errorCode":{"authorizationError":"CUSTOMER_NOT_ENABLED"},"message":"The
 
customer can't be used because it isn't enabled."}]}]}}]
 
The same request works as it is expected with the  id: `4687386508`.
I also tried the same request with the id: `8183462864`
Response of the API was 
`"errorCode\\\":{"authorizationError":"ACCESS_DENIED_FOR_ACCOUNT_TYPE"},"message":"The
 
customer (or login customer) isn't in Google Ads. It belongs to another ads 
system.`

All of the request were made for the same authenticated user with the same 
credentials.

Could you please help me with requesting the customer id and details. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/cd4c153c-4e95-49b1-aec4-6c35937d577fn%40googlegroups.com.

Reply via email to