try to get data google ads campaigns

69 views
Skip to first unread message

Test dev OLYN

unread,
Nov 20, 2020, 2:58:42 AM11/20/20
to AdWords API and Google Ads API Forum
Hello Team,


I'm just try to get data campaigns, but i have an exception : PERMISSION_DENIED, I found nothing to fix the problem

Screenshot_21.png

thanks

Google Ads API Forum Advisor Prod

unread,
Nov 20, 2020, 3:17:24 PM11/20/20
to develo...@gmail.com, adwor...@googlegroups.com

Hi,

Thank you for reaching out. The error USER_PERMISSION_DENIED usually occurs when there is no link between the manager account authenticated in the request and the client account specified in the headers. As you are using the Google Ads API you need to include the login-customer_id in the header as mentioned in this blog post. Please use the email that has Standard or Admin Access to the manager account to generate the OAuth2 credentials and make the API call again. 

Thanks and regards,
Xiaoming, Google Ads API Team
 

Google Logo
Xiaoming
Google Ads API Team
 


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