RE: The error of Login Customer Id when creating the campaign budget

12 views
Skip to first unread message

Google Ads API Forum Advisor

unread,
Feb 21, 2023, 11:20:46 AM2/21/23
to ujas...@gmail.com, adwor...@googlegroups.com

Hi, 

Thanks for reaching out to the Google Ads API Forum. I hope you are doing well today.

Thank you for providing logs. It appears that you have recently raised a concern that might be the same issue here, would you be able to confirm if this thread "The error of Login Customer Id when creating the campaign budget" is the same as the concern that you are posting here? If so, we would recommend continuing our communication on the mentioned thread for better tracking of issues. But let me reiterate below what my colleague recommended about the error.

With regard to your concern, I’ve seen the error message which is the USER_PERMISSION_DENIED. This error occurs when the OAuth2 credentials you are using were generated by a user or email address that does not have access to the account (customer_id) specified in your request. To resolve this kind of issue, you can manage user access by referring to this article

But it may result from another reason and example of this is if you the said user or email address that was used is associated to the MCC (manager account of the customer_id) in your request, you will need to specify that MCC (manager account's ID) as the 
login-customer-id without hyphens (-) as the value in the request header.

In line with this matter, I had to delete your initial post in our forum thread due to the sensitive information contained. 

In addition, If you have further clarifications or assistance on this matter, feel free to contact us again. But please note that, if you encounter different issues or have another concern in Google Ads API, I recommend you to create a new thread for better tracking and updates.

Have a great day.

Regards,

Google Logo
Marjorie
Google Ads API Team
 


ref:_00D1U1174p._5004Q2jEypv:ref
Reply all
Reply to author
Forward
0 new messages