Skip to content

Commit

Permalink
Update ad_group_criterion query
Browse files Browse the repository at this point in the history
* Switch to `ad_group.optimized_targeting_enabled` instead of deprecated
  `ad_group.explorer_auto_optimizer_setting.opt_in`

Change-Id: I9475b78fc13021113fa09fa4673a20728e188c15
  • Loading branch information
AVMarkin committed Jul 25, 2023
1 parent d32b1d1 commit 80d3f30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google_ads_queries/settings/ad_group_criterion.sql
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ SELECT
customer.id AS customer_id,
campaign.id AS campaign_id,
ad_group.id AS ad_group_id,
ad_group.explorer_auto_optimizer_setting.opt_in AS is_auto_targeting,
ad_group.optimized_targeting_enabled AS is_auto_targeting,
ad_group_criterion.criterion_id AS criterion_id,
ad_group_criterion.negative AS is_negative,
ad_group_criterion.custom_audience.custom_audience AS custom_audience,
Expand Down

0 comments on commit 80d3f30

Please sign in to comment.