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 [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 and Google Ads 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/c1d6d538-a017-42e4-a347-dc22d1d21242%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.