Goal Stay organized with collections Save and categorize content based on your preferences.
Page Summary
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 | |
|---|---|
|
Output only. The ID of this goal. |
| |
| Retention goal settings. |
| Output only. The type of this goal. |
| Output only. Indicates if this goal is eligible for campaign optimization. |
|
Output only. The resource name of the goal owner customer. |
|
Immutable. The resource name of the goal. Goal resource names have the form: |
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 2025-12-12 UTC.