Never mind, I just accepted an invitation to a client account (under the
same e-mail address that the Manager Account is under) and everything
(or basic get/add campaign operations) started working.
Not that this is super clear behaviour, but OK. Is there a clearer, more
straightforward way?
Is there anything else I should be aware about?
Matěj Humpál
Developer Lead
Follow Bubble s.r.o.
Dne 12. 8. 2021 v 9.09 Google Ads API Forum Advisor napsal(a):
Hi MH,
Thanks for reaching out to us.
Kindly note that you may receive error ‘USER_PERMISSION_DENIED’ if
you’re incorrectly setting the 'login-customer-id’ in the request or
when a user doesn't have permission to access a customer and you’re
accessing a client customer using 'login-customer-id’ in the request.
That being said, you may refer to this
<https://developers.google.com/google-ads/api/docs/concepts/call-structure?hl=en>
documentation on how to specify the login-customer-id property in the
request properly.
With regards to the issue found in the logs you’ve shared, the error
OPERATION_NOT_PERMITTED_FOR_CONTEXT
<https://developers.google.com/google-ads/api/reference/rpc/v8/ContextErrorEnum.ContextError?hl=en#operation_not_permitted_for_context>
means that sometimes the operation may work for some configurations,
but for your particular configuration, it will not work.
That being said, the target customer ID from your request, 7868560570,
is a test manager account, which is why you are receiving the error,
OPERATION_NOT_PERMITTED_FOR_CONTEXT. The CampaignBudgetService
<https://developers.google.com/google-ads/api/reference/rpc/v8/CampaignBudgetService>
may only be used on a client customer account (i.e. an account that
has campaigns in it). Please retry using a client customer.
Let us know if you have any further questions.
Regards,
Google Logo
Yasar Ramjan Makandar
Google Ads API Team
ref:_00D1U1174p._5004Q2LmM8U:ref --
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
<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
<http://groups.google.com/group/adwords-api?hl=en>
---
You received this message because you are subscribed to a topic in the
Google Groups "AdWords API and Google Ads API Forum" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/adwords-api/If1zxD7UBmk/unsubscribe
<https://groups.google.com/d/topic/adwords-api/If1zxD7UBmk/unsubscribe>.
To unsubscribe from this group and all its topics, send an email to
adwords-api+unsubscr...@googlegroups.com
<mailto:adwords-api+unsubscr...@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/rOizA000000000000000000000000000000000000000000000QXPT7600ohHvqFjuRluJRp6A-xStVg%40sfdc.net
<https://groups.google.com/d/msgid/adwords-api/rOizA000000000000000000000000000000000000000000000QXPT7600ohHvqFjuRluJRp6A-xStVg%40sfdc.net?utm_medium=email&utm_source=footer>.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e6946c5d-f733-8f45-1a52-79d8710d39d8%40followbubble.com.