Hey,

I'm trying to post the following report request, and getting an error. Any 
insight would be appreciated.

        report = {
            'reportName': 'Keywords Custom Date',
            'dateRangeType': 'CUSTOM_DATE',
            'dateRange': { 'min': '20131101', 'max': '20131107' },
            'reportType': 'KEYWORDS_PERFORMANCE_REPORT', 
            'downloadFormat': 'CSV',
            'selector': {
                'fields': ['CampaignId', 'AdGroupId', 'Id', 'CriteriaType',
                           'Criteria', 'Impressions', 'Clicks', 'Cost']
            }

*ValidationError: Field 'dateRange' is not in type 'reportDefinition'.*

It appears that with other dateRangeTypes (e.g., LAST_7_DAYS) it works ok, 
but using 'CUSTOM_DATE' it is not clear how to specify the date range for 
the report request.

Many thanks,

Rani

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to