Hi Zhen,

If you are including a Date segment in your report, you also need to 
include a DURING clause in your report query. Please see sample code 
snippet below:

report_query = ('SELECT Year, Date, DayOfWeek, MonthOfYear, CampaignId, 
CountryCriteriaId, CampaignName,' 
        'CustomerDescriptiveName, CampaignStatus, AdGroupId ,'
        'AverageCost, Clicks, Cost, MostSpecificCriteriaId '
        'FROM GEO_PERFORMANCE_REPORT '
        'WHERE Year in [2016, 2017] *DURING LAST_MONTH'*)

Also, you may refer to this guide 
<https://developers.google.com/adwords/api/docs/guides/reporting#date_ranges> 
for 
the possible date ranges that you can set in the DURING clause.

I also recommend you to enable your SOAP logs so you can check for your 
detailed SOAP request and response. You can enable it by following the "How 
do I log SOAP interactions?" section of this document 
<https://github.com/googleads/googleads-python-lib#how-do-i-log-soap-interactions>
.

Thanks,
Vincent
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
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/fed14248-020b-445a-8f98-f1f9a92b5946%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to