Hello, thank you very much for your help.

I'm trying to create new customer using client id 7608615007 (it's my 
account manager id) and  but below error occurs. Could you tell me why?

Uncaught Google\ApiCore\ApiException: {
    "message": "The caller does not have permission",
    "code": 7,
    "status": "PERMISSION_DENIED",
    "details": [
        {
            "@type": 0,
            "data": 
"type.googleapis.com\/google.ads.googleads.v3.errors.GoogleAdsFailure"
        },
        {
            "@type": 0,
            "data": [
                {
                    "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 ApiException.php on line 139


piątek, 26 czerwca 2020 o 17:12:02 UTC+2 adsapiforumadvisor napisał(a):

> Hi Radek,
>
> Thank you for reaching out. If your client already has a Google Ads 
> account, then you should follow these instructions 
> <https://developers.google.com/google-ads/api/docs/account-management/linking-manager-accounts>
>  
> to link that account to yours. If they don't have an existing account, then 
> you should create one on their behalf using the example you shared.
>
> The login-customer-id 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid>
>  
> field should be set to the client customer ID of the manager account (your 
> existing account in this case).
>
> Regards,
> Mitchell
> Google Ads API Team
>
> ref:_00D1U1174p._5004Q219d4e: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 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/900e9176-648d-4573-a154-7e75cff322dan%40googlegroups.com.

Reply via email to