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 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 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 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,
|
||||||
Thanks for a quick response!
Also thanks for the clarification, I expected something along
these lines.
I still don't understand why I wouldn't have permissions to access customers I created myself 5 minutes ago. The USER_PERMISSION_DENIED i get is when I use --customerId parameter 7930612705.
Do I assume correctly that I should be able to query customers I am able to see/change in the administration?
Or is it necessary to additionally set up permissions somewhere?
Matěj Humpál
Developer Lead
Follow Bubble s.r.o.
ref:_00D1U1174p._5004Q2LmM8U: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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api...@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 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.
To unsubscribe from this group and all its topics, send an email to adwords-api...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/rOizA000000000000000000000000000000000000000000000QXPT7600ohHvqFjuRluJRp6A-xStVg%40sfdc.net.
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.
Hi MH,
|
||||||
Hi Ernie,
yes, I have followed all the steps you mention before and as I mention in the previous message, I was able to make the API work after I accepted the invitation to the client account I myself created a few moments before.
My concern is: Do I have to be explicitly invited to all client accounts I need to work with via the API, even though my Manager Account can already work with their data in the ads administration? Or will I have access through the manager account?
Thanks for clarification.
Sincerely,
Matěj Humpál
Developer Lead
Follow Bubble s.r.o.
ref:_00D1U1174p._5004Q2LmM8U: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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api...@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 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.
To unsubscribe from this group and all its topics, send an email to adwords-api...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/_LXhL000000000000000000000000000000000000000000000QXRJ9900itJkoMvlSDe3IA_Yx4F_zQ%40sfdc.net.