diff --git a/templates/activation_query/audience_segmentation_query_template.sqlx b/templates/activation_query/audience_segmentation_query_template.sqlx index badf7605..89eec5e0 100644 --- a/templates/activation_query/audience_segmentation_query_template.sqlx +++ b/templates/activation_query/audience_segmentation_query_template.sqlx @@ -3,6 +3,7 @@ SELECT b.user_pseudo_id AS client_id, b.user_id AS user_id, b.ga_session_id AS event_param_session_id, + '100' AS event_param_engagement_time_msec, CASE WHEN EXTRACT(MICROSECOND FROM b.event_timestamp) = 1 THEN b.event_timestamp ELSE TIMESTAMP_SUB(b.event_timestamp, INTERVAL 1 MICROSECOND) END AS inference_date FROM `${mds_project_id}.marketing_ga4_v1_${mds_dataset_suffix}.latest_event_per_user_last_72_hours` b,