Goal

  • Each goal is represented by a resource name in the format customers/{customer_id}/goals/{goal_id}.

  • Goals have a type, optimization eligibility, an ID, and an owner customer, all output only except for the resource name.

  • Goal settings, which are specific to each goal, are defined within a union field and can include retention goal settings.

Representation of goals.

Fields

resource_name

string

Immutable. The resource name of the goal. Goal resource names have the form: customers/{customer_id}/goals/{goal_id}

goal_type

GoalType

Output only. The type of this goal.

optimization_eligibility

GoalOptimizationEligibility

Output only. Indicates if this goal is eligible for campaign optimization.

goal_id

int64

Output only. The ID of this goal.

owner_customer

string

Output only. The resource name of the goal owner customer.

Union field

goal_settings

goal_settings. The settings specific to this goal. goal_settings can be only one of the following:

retention_goal_settings

RetentionGoal

Retention goal settings.