Help needed for AdWords API integration

27 views
Skip to first unread message

Yuvraj Chauhan

unread,
May 22, 2019, 5:17:53 PM5/22/19
to AdWords API and Google Ads API Forum
Hello,

I am creating one automation application using AdWords API with PHP(Client Library). This application is about to manage the account of others.

For that,

1). I have created one manager account(GA1). I am using a developer token of the same account.
2). I have created one test account of Google AdWords(GA2). I am using the customer id of the same account.
3). I have created one Google Developer Console account(GA3). I am using clientId and clientSecret from project using this account and generating the refresh token using the same.

But when I hit my API to find campaigns, I am getting an unauthorized error. Am I missing anything here? Or am I doing something wrong? I am attaching my error screenshot along with this.

GA: Google Account. I am using 3 different Google Accounts.

Screenshot 2019-05-22 at 11.15.51 PM.png

Any help will be appreciated. Let me know if you need more info.

Thanx,

Yuvraj Chauhan.

Google Ads API Forum Advisor Prod

unread,
May 23, 2019, 3:38:39 AM5/23/19
to adwor...@googlegroups.com
Hi Yuvraj,

With regard to the unauthorized error that you are encountering, so I can further investigate, could you provide the information below.
  • clientCustomerId of each account
  • complete SOAP request and response logs when you encounter the error
Regards,
Hiroyuki
Google Ads API Team

ref:_00D1U1174p._5001UAqNRM:ref

Yuvraj Chauhan

unread,
May 26, 2019, 10:14:40 PM5/26/19
to AdWords API and Google Ads API Forum
Thanx for reply but it's resolved. There is some configuration related issue.
Reply all
Reply to author
Forward
0 new messages