How to get Search Query Performance Report from Google Ads API in python

23 views
Skip to first unread message

Pere Munar

unread,
Jan 17, 2020, 6:26:42 AM1/17/20
to AdWords API and Google Ads API Forum
Hi! 

I am new in the world of the GA API and I feel a bit lost.

I want to, at least, download the Search Query Performance Report. I am using python to try to do that, but I do not know how exactly I should proceed. I have looked into the examples of the python library, but there is none specific to my problem. For downloading all keywords in an adgroup, there is an example and there they use:

ad_group_criterion_service = client.GetService('AdGroupCriterionService', version='v201809')

to iniciate the search (then define the fields, etc.).

But for the Search Query Performance Report I do not know how to proceed. I guess I have to use adwords_client.GetReportDownloader() instance ...

Can you point me to some example? I could not find anything

Thank you very much.

Cheers,

Pere

Google Ads API Forum Advisor Prod

unread,
Jan 17, 2020, 3:30:12 PM1/17/20
to pmu...@cyberclick.net, adwor...@googlegroups.com

Hi Pere,

Thanks for reaching out. This is a code example you could use to download the Search Query Performance Report. You could modify the file with the Search Query Performance Report query. Please let me know if you have any other questions.

Thanks and regards,
Xiaoming, Google Ads API Team



 

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