The main issue is happening with me, as things are working normal to get
spent per account with V13 and V14 but after upgrading API to V15 via,
composer
require googleads/google-ads-php:21.1 then I started getting this issue.
get ApiException was thrown with message '{ "message": "The caller does not
have permission", "code": 7, "status": "PERMISSION_DENIED", "details": [ {
"@type":
"type.googleapis.com\/google.ads.googleads.v15.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": "UAo0n2LRjzMd8HJjKdc4rw" } ] }'.
Wondering , how it can get fix, or what changes I need to make,
I have gone through the documents
https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid
But it is unclear how to pass it in which file or API.
any Idea what to do next?
I am using https://github.com/googleads/google-ads-php and upgraded it on
21.1
from 19.2
Thanks
Manish J
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/eb3fd374-7583-4bcd-b108-8ab0fa9a3d1bn%40googlegroups.com.