Hi everyone,

I've been trying to get a Search Query Performance Report via the Adwords 
API using AWQL and Python lately. However, for any reason, I only seem to 
get items that have 0 clicks. Here's my code:


def run_sqr_report(client):

report_service = client.GetReportDownloader(version="v201702")

 

report_query = ("SELECT Query, Impressions, Clicks  "
"FROM SEARCH_QUERY_PERFORMANCE_REPORT "
"WHERE Conversions > 0 "
"AND CostPerConversion < 4 "
" DURING LAST_30_DAYS")

 

with open("sqr.csv", "w") as myfile:

 

report_service.DownloadReportWithAwql(report_query, "CSV", myfile, 
skip_report_header=True, skip_column_header=False, 
skip_report_summary=True, include_zero_impressions=False)




I compared the report output against the same report run in the Adwords 
interface, with the above mentioned observation. The same seems to happen 
if I run that query via Adwords Scripts. Any ideas?


Thanks! 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5affefa3-2f59-467d-9a46-5b04785d806d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to