Vincent, I use the client library. I would be gratefull, if someone will 
make clear the problem of dateRange in client library. I've tried to add 
dateRange in reportDefinition class of client library, but my knowledge of 
c# appeared to be poor. At least, may I ask Google fix it in further 
versions of client library. Or maybe library supports dateRange, but I 
missed it? Is there any possibility to make it clear? Thank you for your 
time.

четверг, 2 ноября 2017 г., 13:23:30 UTC+3 пользователь Vincent Racaza 
(AdWords API Team) написал:
>
> 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 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/2b080eda-f460-4edd-bd53-cb01355267b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • dateRange of rep... deadKenny2
    • Re: dateRan... 'Vincent Racaza (AdWords API Team)' via AdWords API Forum
      • Re: dat... deadKenny2
        • Re:... 'Vincent Racaza (AdWords API Team)' via AdWords API Forum
          • ... deadKenny2
          • ... deadKenny2
            • ... 'Vincent Racaza (AdWords API Team)' via AdWords API Forum
              • ... deadKenny2

Reply via email to