Hi there,
We've been having trouble for months now getting a resolution on our API
integration with the keywords planner api.
This is our request:
{
"path": "
https://googleads.googleapis.com/v13/customers/8674944107/keywordPlans:mutate",
"args": {
"method": "POST",
"body":
"{\"operations\":[{\"create\":{\"forecastPeriod\":{\"dateInterval\":\"NEXT_MONTH\"},\"name\":\"eddlwx3vflycujbpjbemo4t6\"}}]}",
"headers": {
"Content-Type": "application/json",
"Accept": "application/json",
"developer-token": "REDACTED",
"login-customer-id": "REDACTED",
"Authorization": "REDACTED"
}
}
}
You’ll see login-customer-id is set to REDACTED.
But there’s another parameter that is set, called customerId, which is set
to 8674944107.
*https://googleads.googleapis.com/v13/customers/{customerId}/keywordPlans:mutate*
<https://googleads.googleapis.com/v13/customers/%7BcustomerId%7D/keywordPlans:mutate>
This is the error I'm getting:
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
I'm unsure where we get the customerId from?? (This is not the
login-customer-id)
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/df2ac427-5b51-42a8-b2b7-bf8c5a55ff8dn%40googlegroups.com.