How to getCampaigns and getAdGroups from Google API.

32 views
Skip to first unread message

Mạnh Thu

unread,
Feb 3, 2020, 11:24:59 PM2/3/20
to AdWords API and Google Ads API Forum

Capture.PNG

I cannot get the information of campaigns and adgroup. When running the class above, there is no data returned. Thanks for your answers and support/

Google Ads API Forum Advisor Prod

unread,
Feb 4, 2020, 12:10:02 PM2/4/20
to thuha....@gmail.com, adwor...@googlegroups.com
Hi Manh,

Thank you for reaching out. Make sure the client customer ID you are using is the ID of a client account and not a manager account. You will get a blank response if it is the ID of a manager account. If this is not the issue, please share the complete detailed request and response logs via Reply privately to author so that I can further investigate the issue. You can find information on enabling logging here.

Regards,
Mitchell
Google Ads API Team

ref:_00D1U1174p._5001UUzylE:ref

Shanmukha Surya Teja

unread,
Mar 3, 2020, 8:12:03 AM3/3/20
to AdWords API and Google Ads API Forum
This was very helpful. 
I used the Client account ID and i could see the data flowing. 

Thanks.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages