CampaignGoalConfig

A link between a campaign and a goal enabling campaign-specific optimization.

Proto definition

Fields

campaign

string

Immutable. The resource name of the campaign for this link.

campaign_goal_config_settings

Union field. The settings specific to this campaign goal config.

campaign_goal_config_settings can be only one of the following:

campaign_retention_settings

CampaignRetentionGoalSettings

Retention goal campaign settings.

goal

string

Immutable. The resource name of the goal this link is attached to.

goal_type

GoalType

Output only. The goal type this link is attached to.

resource_name

string

Immutable. The resource name of the campaign goal config. campaign goal config resource names have the form:customers/{customer_id}/campaignGoalConfigs/{campaign_id}~{goal_id}

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-01-22 UTC.