fetching data for server-side

39 views
Skip to first unread message

Ngô Minh Tùng

unread,
Feb 9, 2021, 2:41:54 AM2/9/21
to adsapifor...@gmail.com, adwor...@googlegroups.com
Hi all, I'm trying to get data from gg adwords, so i created an application web server to access user's resources. I used link: "https://accounts.google.com/o/oauth2/auth?scope=email+https://www.googleapis.com/auth/adwords&redirect_uri=http://localhost:8080/login-google&response_type=code&client_id=" to grain permissions access data. Then gg returns a response token. I'm stuck on this step. How i can get all account, campaign, ads performance with provided token after user sign-on and allow my app to manage adwords.
Thanks all

--
Ngô Minh Tùng | Student of FPT University
Phone:  0168 372 4638 | Email: minhtu...@gmail.com
Address: Phú Cát, Quốc Oai, Hà Nội

Google Ads API Forum Advisor Prod

unread,
Feb 9, 2021, 3:51:47 PM2/9/21
to minhtu...@gmail.com, adwor...@googlegroups.com

Hi Ngô,

Thank you for reaching out. After you obtain the refresh token due to the authorization of the user, you would be able to make an API call to CustomerService.getCustomers() to fetch the user’s client customer id and then fetch attributes and metrics from different reports for this client customer.

Thanks and regards,
Xiaoming, Google Ads API Team
 

Google Logo
Xiaoming
Google Ads API Team
 


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