Hello Peter

Yes we used the customerID without '-'. I will share the request and 
response privately.
We tried to implement the same with REST API but it fails when we are using 
the flow to ACCEPT the request as customer using this 
<https://developers.google.com/google-ads/api/rest/reference/rest/v11/customers.customerManagerLinks/mutate>
 
api. But it returns the following error:

{"error":{"code":403,"message":"The caller does not have 
permission","status":"PERMISSION_DENIED","details":[{"@type":"
type.googleapis.com/google.ads.googleads.v10.errors.GoogleAdsFailure","errors":[{"errorCode":{"authorizationError":"USER_PERMISSION_DENIED"},"message":"User
 
doesn't have permission to access customer. Note: If you're accessing a 
client customer, the manager's customer id must be set in the 
'login-customer-id' header. See 
https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid
"}],"requestId":"IxxxxxxxxxxxxxCGA"}]}}

Just to add the client test account is created using another email id than 
of the manager. So the email of manager and customer are different. Not 
sure if this is causing the issue.

On Wednesday, June 22, 2022 at 8:18:36 PM UTC+5:30 adsapi wrote:

> Hi Bratin,
>
> Thank you for reaching out to our API support team.
>
> The error indicates that there is an issue with the customer ID : *"Invalid 
> customer ID 'xxxxxxxxxxx'."*. That said, could you confirm whether the 
> customer IDs you provided are without the "-"? For example the customer ID 
> should be specified as 1234567890 and you may check out this guide 
> <https://developers.google.com/google-ads/api/docs/migration/format-specs?hl=en#customer_id_format>
>  
> as well.
>
> Should the issue persist and so our team can take a closer look, could you 
> provide our team with the complete request 
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#request>
>  
> and response 
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#response>
>  
> logs and the request-id 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>?
>  
> If you haven't yet, you can enable logging in Python by referring to this 
> guide 
> <https://developers.google.com/google-ads/api/docs/client-libs/python/logging?hl=en>,
>  
> and use the DEBUG level or option.
>
> You may then send the requested information via the *Reply privately to 
> author* option. If this option is not available, you may send the details 
> directly to our [email protected] alias instead.
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2bz1M5:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/cbcb2108-4c0e-4afa-8f4e-07a2fc76cec0n%40googlegroups.com.
  • Issue in linking t... 'Bratin Kundu' via Google Ads API and AdWords API Forum
    • Re: Issue in ... 'Bratin Kundu' via Google Ads API and AdWords API Forum

Reply via email to