Same issue here.

This is my query:

SELECT metrics.cost_micros, campaign.name, segments.week FROM campaign 
WHERE segments.date >= '2018-07-01' AND segments.date <= '2018-08-07'


and I get the following error message: Expects filters on the following 
field to limit a finite date range: 'segments.week' 

Is this a bug?


On Friday, May 10, 2019 at 12:20:08 PM UTC+2, Alexander wrote:
>
> SELECT  metrics.conversions, metrics.interactions, metrics.average_cpm, 
> metrics.engagements, metrics.interaction_event_types, metrics.average_cpv, 
> metrics.engagement_rate, segments.device, metrics.all_conversions, 
> segments.week, metrics.video_quartile_25_rate, metrics.gmail_forwards, 
> metrics.active_view_impressions, metrics.video_view_rate, metrics.clicks, 
> metrics.all_conversions_from_interactions_rate, 
> metrics.active_view_measurable_impressions, metrics.cost_per_conversion, 
> metrics.average_cpc, metrics.video_quartile_50_rate, 
> metrics.active_view_measurability, metrics.ctr, 
> metrics.all_conversions_value_per_cost, metrics.average_cpe, 
> metrics.all_conversions_from_interactions_value_per_interaction, 
> metrics.video_quartile_100_rate, segments.ad_network_type, 
> metrics.interaction_rate, metrics.impressions, 
> metrics.video_quartile_75_rate, metrics.active_view_viewability, 
> metrics.gmail_saves, metrics.all_conversions_value, metrics.video_views, 
> metrics.gmail_secondary_clicks, metrics.value_per_conversion, 
> metrics.active_view_cpm, metrics.active_view_ctr, 
> metrics.active_view_measurable_cost_micros, metrics.cost_micros, 
> segments.date  FROM ad_group_audience_view WHERE segments.date BETWEEN 
> "2019-05-09" AND "2019-05-09" LIMIT 100
>
>
> Failure message: errors {
>   error_code {
>     query_error: EXPECTED_FILTERS_ON_DATE_RANGE
>   }
>   message: "Expects filters on the following field to limit a finite date 
> range: \'segments.week\'"
> }
>
>
> I have a filter on segments.date. Why do I need additional filters on 
> segments.week? Is this a bug, or expected behaviour?
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0ae1e1a9-7ea4-496f-8246-c5d6ce79fbe1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to