Hi there!
I had tried for to connect to Google ADS Api for around 12 hours now slowly
navigating through bunch of incomplete guides, tutorials and even youtube
videos.
When calling GenerateKeywordHistoricalMetricsRequest I get an error:
{ "message": "The caller does not have permission", "code": 7, "status":
"PERMISSION_DENIED", "details": [ { "@type":
"type.googleapis.com\/google.ads.googleads.v16.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": "qxUmRzRshohfvIG0ugU7MA" } ] }
I have raised this issue on Google Ads API library
here: https://github.com/googleads/google-ads-php/issues/1016 and got
redirected to this forum so I guess my code is correct.
In this thread you will see that I mentioned that my testing account had
multiple weird indications:
1. Manager account had a [Closed] status
2. Test client has Cancelled status
3. seemed that the Test manager account was suspended as it threw an error
when I tried to create new test client
Now I have created a new testing Ads Manager account and successfully
created more than one client and successfully created a campaign for one of
them. yet I still have those first two indications - Managers account
[Closed] and both test Clients - cancelled.
Are those statuses the reason for the error or is there some other issue?
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/00c47604-ce56-4af3-a873-6df3e094fcdan%40googlegroups.com.