oauth over e-mail with redirect to create report

19 views
Skip to first unread message

Dennis Hoinkis

unread,
Nov 12, 2018, 6:42:02 AM11/12/18
to AdWords API and Google Ads API Forum
Hello,

i try to make a report for everybody - for that the client should go over a link to oauth then he will redirect back to me and there i take the refresh token to get his data for the report.

I install the laravel example from google and i could accoess to the test account but i need to give the refreshtoken inside of the .ini

1. How i get the redirect
2. How i got the refreshtoken and the clientCustomerId

I pay for help! Skype:dennishoinkis

ThX
Dennis

Teja Makani

unread,
Nov 12, 2018, 12:43:13 PM11/12/18
to AdWords API and Google Ads API Forum
Hello Dennis,

Please find my response below inline:
  1. How i get the redirect
  1. You could use the redirect as "https://developers.google.com/oauthplayground" while Authorizing the credentials form API console page.

  1. How i got the refreshtoken and the clientCustomerId
  1. To get the refresh token you could follow the step-8 of this guide and Exchange authorization code for tokens. The ClientCutomerId belongs to the targeting account, they could find it above to their email address mentioned as "Customer ID" on old UI and on new UI Click the help icon in the top right corner, they could find it under the bottom of the menu. They could also refer this guide to know how to locate customer ID on UI.
If your question is different please elaborate.

Regards,
Sai Teja, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages