Hi,
My apologies as I am not an expert in C#. However, you can just set the
dateRange
<https://developers.google.com/adwords/api/docs/reference/v201710/CampaignService.Selector#daterange>
of
your selector
<https://github.com/googleads/googleads-dotnet-lib/blob/master/examples/AdWords/CSharp/v201705/Reporting/DownloadCriteriaReportWithSelector.cs#L70>
and
set the min
<https://developers.google.com/adwords/api/docs/reference/v201710/CampaignService.DateRange#min>
and max
<https://developers.google.com/adwords/api/docs/reference/v201710/CampaignService.DateRange#max>
of
your date range. Kindly refer to the sample report definition below with a
custom date range:
<reportDefinition
xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201710">
<ns2:selector>
<ns2:fields>CampaignName</ns2:fields>
<ns2:fields>Impressions</ns2:fields>
*<ns2:dateRange> <ns2:min>20171010</ns2:min>
<ns2:max>20171010</ns2:max> </ns2:dateRange>*
</ns2:selector>
<ns2:reportName>Placement performance report #1509617387588
</ns2:reportName>
<ns2:reportType>CAMPAIGN_PERFORMANCE_REPORT</ns2:reportType>
*<ns2:dateRangeType>CUSTOM_DATE</ns2:dateRangeType>*
<ns2:downloadFormat>CSV</ns2:downloadFormat>
</reportDefinition>
For generating reports using AWQL, you can set the DURING
<https://github.com/googleads/googleads-dotnet-lib/blob/master/examples/AdWords/CSharp/v201705/Reporting/DownloadCriteriaReportWithAwql.cs#L68>
clause
this way:
DURING 20170317,20170317
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 [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/05c3a361-c7bd-43be-bf1a-d4fa65d25be5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.