Thanks, works perfectly! On Tuesday, August 28, 2018 at 8:38:12 AM UTC+3, Luis Xander Talag (AdWords API Team) wrote: > > Hi Sergei, > > Since you are using the Python client library, the implementation here is > quite different for setting up the date range. Could you try using the > below code snippet instead? > > .During(start_date='20180801', end_date='20180802') > > > Let me know if it works. > > Thanks and regards, > Luis > AdWords API Team > > On Tuesday, August 28, 2018 at 4:53:51 AM UTC+8, Sergei S wrote: >> >> Hi, >> >> I'm trying to get a report for custom dates with the following query: >> report_query = (adwords.ReportQueryBuilder() >> .Select( >> 'CampaignName', >> 'AdGroupName', >> 'Url', >> 'Impressions', >> 'Clicks', >> 'Cost' >> ) >> .From('URL_PERFORMANCE_REPORT') >> .Where('Status').In('ENABLED', 'PAUSED') >> .During('20180801','20180802') >> .Build()) >> >> I can't figure out how do i set a custom date, tried all possible >> variations from what i could find online. >> >> What am i doing wrong? >> >> Thanks! >> >
-- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads 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 and Google Ads 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/d8659525-d7fe-431f-acd7-e16d00c11161%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.