Thanks, it works!
Added configData.Add("LoginCustomerId", "<MCC ID>"); // manager customer id
must be without dashes (-)
to code and it processed
On Tuesday, November 23, 2021 at 7:26:14 AM UTC+2 adsapi wrote:
> Hi Sergey,
>
> Thank you for reaching out to us.
>
> With regard to your concern, please do note that the API request to create
> campaign budget is for client account only. Since you're submitted a n API
> request using MCC account, then this is the reason why the
> OPERATION_NOT_PERMITTED_FOR_CONTEXT error occurred..
>
> For USER_PERMISSION_DENIED, this error occurs when the authorized customer
> does not have access to the operating customer. You may check this guide
> <https://developers.google.com/google-ads/api/docs/best-practices/common-errors#user_permission_denied>
>
> for further details to the said error.
>
> Regards,
>
> Reminder: Share your feedback about the Google Ads (AdWords) API! Take the
> 2021
> Google Ads API and AdWords API Annual Survey
> <https://google.qualtrics.com/jfe/form/SV_eQbOpf4VxRyyqqO?source=so>
>
> [image: Google Logo]
> Teejay Wennie Pimentel
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q2RvRNp: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 [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
"AdWords API and Google Ads 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/c5b5931b-3501-4a1d-8310-dd2377c721b3n%40googlegroups.com.