Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid queries generated #92

Open
ldm314 opened this issue Jun 20, 2024 · 0 comments
Open

Invalid queries generated #92

ldm314 opened this issue Jun 20, 2024 · 0 comments

Comments

@ldm314
Copy link

ldm314 commented Jun 20, 2024

Currently this tap doesn't appear to work properly. Run discover, then sync, the first stream returns an error:

WARNING Failed query: SELECT metrics.conversions,metrics.search_budget_lost_impression_share,metrics.clicks,metrics.interaction_rate,metrics.average_cpe,metrics.all_conversions_value,[segments.ad](http://segments.ad/)_network_type,metrics.cost_per_conversion,metrics.value_per_all_conversions,segments.conversion_action_category,segments.year,metrics.average_cpm,metrics.invalid_click_rate,metrics.cost_micros,metrics.average_cost,metrics.engagements,segments.day_of_week,metrics.active_view_viewability,segments.date,segments.conversion_action,metrics.interactions,metrics.invalid_clicks,segments.external_conversion_source,metrics.conversions_value,metrics.active_view_measurable_cost_micros,metrics.value_per_conversion,segments.month,metrics.video_views,metrics.active_view_impressions,segments.quarter,segments.slot,customer.manager,segments.conversion_action_name,metrics.active_view_ctr,customer.auto_tagging_enabled,metrics.all_conversions_from_interactions_rate,metrics.search_impression_share,segments.conversion_adjustment,metrics.ctr,segments.month_of_year,metrics.active_view_measurable_impressions,metrics.average_cpc,segments.device,metrics.impressions,metrics.active_view_cpm,metrics.all_conversions,segments.conversion_lag_bucket,customer.id,customer.currency_code,metrics.cost_per_all_conversions,customer.time_zone,metrics.view_through_conversions,metrics.conversions_from_interactions_rate,metrics.content_rank_lost_impression_share,segments.week,metrics.active_view_measurability,customer.descriptive_name,metrics.content_budget_lost_impression_share,metrics.search_exact_match_impression_share,metrics.search_rank_lost_impression_share,segments.conversion_or_adjustment_lag_bucket,metrics.video_view_rate,metrics.interaction_event_types,customer.test_account,metrics.content_impression_share,segments.click_type,metrics.engagement_rate,metrics.average_cpv,segments.hour,metrics.cross_device_conversions FROM customer WHERE segments.date = '2024-06-17' PARAMETERS omit_unselected_resource_names=true

CRITICAL The following pairs of fields may not be selected together: 'segments.click_type' and 'segments.conversion_adjustment', 'segments.click_type' and 'segments.conversion_lag_bucket', 'segments.click_type' and 'segments.conversion_or_adjustment_lag_bucket', 'segments.conversion_adjustment' and 'segments.device', 'segments.conversion_adjustment' and 'segments.month_of_year', 'segments.conversion_lag_bucket' and 'segments.device', 'segments.conversion_lag_bucket' and 'segments.month_of_year', 'segments.conversion_or_adjustment_lag_bucket' and 'segments.device', 'segments.conversion_or_adjustment_lag_bucket' and 'segments.month_of_year', 'segments.hour' and 'segments.slot', 'segments.month' and 'segments.month_of_year'

Removing this stream from the catalog and running again immediately gets an error in the next one the tap runs.

CRITICAL Cannot select or filter on the following metrics: 'active_view_cpm'(could not support requested resources: 'BIDDING_STRATEGY'), 'active_view_ctr'(could not support requested resources: 'BIDDING_STRATEGY'), 'active_view_impressions'(could not support requested resources: 'BIDDING_STRATEGY'), 'active_view_measurability'(could not support requested resources: 'BIDDING_STRATEGY'), 'active_view_measurable_cost_micros'(could not support requested resources: 'BIDDING_STRATEGY'), 'active_view_measurable_impressions'(could not support requested resources: 'BIDDING_STRATEGY'), 'active_view_viewability'(could not support requested resources: 'BIDDING_STRATEGY'), 'average_cpe'(could not support requested resources: 'BIDDING_STRATEGY'), 'engagement_rate'(could not support requested resources: 'BIDDING_STRATEGY'), 'engagements'(could not support requested resources: 'BIDDING_STRATEGY'), 'video_quartile_p100_rate'(could not support requested resources: 'BIDDING_STRATEGY'), 'video_quartile_p25_rate'(could not support requested resources: 'BIDDING_STRATEGY'), 'video_quartile_p50_rate'(could not support requested resources: 'BIDDING_STRATEGY'), 'video_quartile_p75_rate'(could not support requested resources: 'BIDDING_STRATEGY'), since metric is incompatible with the resource in the FROM clause or other selected segmenting resources.

The expected behavior is that running discover and then sync completes without errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant