Starting August 22, 2022 , the include_in_conversions_metric
field of the ConversionAction
resource will become read-only. Requests that attempt to set this value will result in a FieldError.IMMUTABLE_FIELD
error.
Why is this change happening?
As part of the addition of conversion goals in Google Ads, the new primary_for_goal
field replaced the include_in_conversions_metric
field. To ease the transition to the new field while we enabled goals on all accounts, the Google Ads API allowed you to continue to set the deprecated include_in_conversions_metric
field, and the API would automatically update primary_for_goal
accordingly. However, now that conversion goals are enabled in all Google Ads accounts, we're preventing setting include_in_conversions_metric
to avoid conflicts with primary_for_goal.
What should you do?
Modify any code that sets include_in_conversions_metrics
to instead set primary_for_goal
. In addition, review and modify any of your application logic that uses the conversion_action.include_in_conversions_metric
field in reports. Check out the conversion goals guide for more information on how the primary_for_goal
setting impacts bidding and reporting.
If you have any questions or need help, please contact us via the forum .
- Josh Radcliff, Google Ads API Team