Hi, 

I'm trying to download Click Performance Report using a custom date. I know 
we must use a single date range and no more of 90 days from execution. But, 
if I want to download the report for July 5th (for example), how can I do 
it? I tried this (I'm using PHP):

  $reportDefinition->dateRangeType = 'CUSTOM_DATE';
  $reportDefinition->dateRange = new DateRange('20160705', '20160705');

But I get this error:
An error has occurred: Report download failed. Underlying errors are Type = 
'ReportDownloadError.INVALID_REPORT_DEFINITION_XML', Trigger = 'Invalid 
ReportDefinition Xml: cvc-complex-type.2.4.d: Invalid content was found 
starting with element 'dateRange'. No child element is expected at this 
point.', FieldPath = ''.

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 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/a042e784-1daf-4473-ae8e-62d07d448d6d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to