[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-21。"],[[["\u003cp\u003eConversion goals streamline conversion action organization for efficient optimization towards advertising objectives, grouping them by category and origin.\u003c/p\u003e\n"],["\u003cp\u003eCustomer goals establish default account-wide goals, while campaign goals allow for campaign-specific bidding and optimization by overriding customer goals.\u003c/p\u003e\n"],["\u003cp\u003eConversion actions with \u003ccode\u003eprimary_for_goal\u003c/code\u003e set to \u003ccode\u003etrue\u003c/code\u003e are included in bidding and reporting metrics like 'Conversions' and 'All conversions'.\u003c/p\u003e\n"],["\u003cp\u003eGoogle Ads automatically creates and manages CustomerConversionGoal, CampaignConversionGoal, and ConversionGoalCampaignConfig objects, allowing only updates through the API.\u003c/p\u003e\n"],["\u003cp\u003eWhen managing conversion actions, utilize the \u003ccode\u003eprimary_for_goal\u003c/code\u003e attribute instead of the deprecated \u003ccode\u003einclude_in_conversions_metric\u003c/code\u003e for bidding and reporting purposes.\u003c/p\u003e\n"]]],[],null,["[Conversion goals](//support.google.com/google-ads/answer/10995103) help you\norganize your conversion actions so that you can more easily optimize toward\nyour advertising objectives.\n\nConversion goals are grouped by the unique combinations of\n[`category`](/google-ads/api/reference/rpc/v20/ConversionAction#category)\n(for example, `PAGE_VIEW`), and [`origin`](/google-ads/api/reference/rpc/v20/ConversionAction#origin)\n(for example, `WEBSITE`) in the set of\n[`ConversionActions`](/google-ads/api/reference/rpc/v20/ConversionAction) in your account's\n[Google Ads conversion customer](/google-ads/api/docs/conversions/getting-started#enable_conversion_tracking).\n| **Important:** In the Google Ads UI goal management tabs, the `origin` attribute is labeled **Conversion source** . The Google Ads API uses the term `origin` to differentiate between this attribute and the **Source** field in the UI **Conversion actions** tab.\n| **Important:** You can only set the [`selective_optimization`](/google-ads/api/reference/rpc/v20/Campaign#selective_optimization) field of `Campaign` on an [App campaign](/google-ads/api/docs/app-campaigns/overview). For all other campaign types, use [campaign goals](/google-ads/api/docs/conversions/goals/campaign-goals) to optimize a campaign for specific conversion actions.\n\nGoal management overview\n\nConversion goals are organized in a hierarchy. Customer goals define the\n[default goals](//support.google.com/google-ads/answer/10995103#account_default)\nfor your entire account, while campaign goals override the customer goals for\ncampaigns with specific bidding and optimization requirements.\n\nThe goal management workflow is as follows:\n\n1. Create a `ConversionAction`.\n\n When you create the conversion action, Google Ads automatically performs the\n following steps:\n - Creates a [`CustomerConversionGoal`](/google-ads/api/reference/rpc/v20/CustomerConversionGoal) for the conversion action's `category` and `origin` if one doesn't already exist.\n - Creates a [`CampaignConversionGoal`](/google-ads/api/reference/rpc/v20/CampaignConversionGoal) for each campaign and the conversion action's `category` and `origin` if one doesn't already exist.\n - Configures the `biddable` attribute of the `CustomerConversionGoal` and `CampaignConversionGoal` objects according to various rules covered later in this guide series.\n\n | **Note:** Your account already has `CustomerConversionGoal` and `CampaignConversionGoal` objects for your existing conversion actions.\n2. Update the `CustomerConversionGoal` objects that Google Ads created automatically\n to align with your objectives. Set `biddable` to `true` to bid and optimize\n towards `ConversionActions` with the goal's `category` and `origin`, and\n `false` otherwise. Google Ads automatically applies these updates to every\n campaign where you hadn't explicitly updated campaign goals or applied\n custom goals.\n\n3. If you have a campaign with unique goals that differ from your customer-level\n goals, configure its `CampaignConversionGoal` using one or both of the\n following steps.\n\n - Use `update` operations to modify the `biddable` attribute of any\n `CampaignConversionGoal` objects where the goal should differ from the\n customer-level goals.\n\n - If configuring the campaign's goals by `category` and `origin` doesn't\n suffice, use specific conversion actions for bidding and optimization by\n creating a [`CustomConversionGoal`](/google-ads/api/reference/rpc/v20/CustomConversionGoal)\n and updating the campaign's [`ConversionGoalCampaignConfig`](/google-ads/api/reference/rpc/v20/ConversionGoalCampaignConfig).\n\n As a result of the `update` operations, Google Ads ensures that the\n [`goal_config_level`](/google-ads/api/reference/rpc/v20/ConversionGoalCampaignConfig#goal_config_level)\n of the campaign's `ConversionGoalCampaignConfig` is set\n to [`CAMPAIGN`](/google-ads/api/reference/rpc/v20/GoalConfigLevelEnum.GoalConfigLevel#campaign)\n and stops applying `CustomerConversionGoal` updates to the campaign's\n `CampaignConversionGoal` objects.\n\n If you want to transition the campaign back to using customer-level goals,\n set `goal_config_level` to\n [`CUSTOMER`](/google-ads/api/reference/rpc/v20/GoalConfigLevelEnum.GoalConfigLevel#customer).\n Google Ads modifies its `CampaignConversionGoal` to match\n `CustomerConversionGoal` and as long as `goal_config_level` remains set to\n `CUSTOMER`, applies any changes to `CustomerConversionGoal` to the campaign's\n `CampaignConversionGoal`. The campaign in turn stops using any\n `CustomConversionGoals`.\n | **Key Point:** Since Google Ads automatically creates [`CustomerConversionGoal`](/google-ads/api/reference/rpc/v20/CustomerConversionGoal), [`CampaignConversionGoal`](/google-ads/api/reference/rpc/v20/CampaignConversionGoal), and [`ConversionGoalCampaignConfig`](/google-ads/api/reference/rpc/v20/ConversionGoalCampaignConfig) objects in your account, you can only *update* those objects. The Google Ads API doesn't support creating or removing those objects.\n\nMutate requirements\n\nWhen mutating a `CustomerConversionGoal` or `CustomConversionGoal` object,\nthe `customer_id` of the request must match the ID of your account's\n[Google Ads conversion customer account](/google-ads/api/docs/conversions/getting-started#enable_conversion_tracking).\n\nIn contrast, when mutating a `CampaignConversionGoal` or\n`ConversionGoalCampaignConfig` object, the `customer_id` of the request must\nmatch the `customer_id` of your Google Ads account's `Customer` resource.\n\nConversion action settings\n\nAlthough goals are organized by `category` and `origin`, you can set the\n[`primary_for_goal`](/google-ads/api/reference/rpc/v20/ConversionAction#primary_for_goal) attribute\nof each `ConversionAction` to indicate the role it should play in bidding and\nhow the action's conversions will [appear in reports](//support.google.com/google-ads/answer/11461796).\n\nIf `primary_for_goal` is `true`:\n\n- Google Ads includes the conversion action in bidding based on the `biddable` attribute of customer and campaign goals for the conversion action's `category` and `origin`.\n- Google Ads includes the conversion action's conversions and conversion values in [**Conversions**](/google-ads/api/fields/v20/campaign#metrics.conversions) and [**All\n conversions**](/google-ads/api/fields/v20/campaign#metrics.all_conversions).\n\nIf `primary_for_goal` is `false`:\n\n- Google Ads doesn't include the conversion action in bidding or **Conversions**\n unless you use the conversion action in a `CustomConversionGoal`. You can\n still find the conversion action's conversions and conversion values in\n [**All conv.**](/google-ads/api/fields/v20/campaign#metrics.all_conversions) and its related\n fields in reports.\n\n See the\n [campaign goals guide](/google-ads/api/docs/conversions/goals/campaign-goals#custom_goals)\n for more information about custom conversion goals.\n\nConversion actions with `primary_for_goal` set to `true` appear in the Google Ads UI\nas **Primary action used for bidding optimization** , otherwise they appear as\n**Secondary action not used for bidding optimization**.\n| **Important:** The [`include_in_conversions_metric`](/google-ads/api/reference/rpc/v20/ConversionAction#include_in_conversions_metric) attribute of `ConversionAction` is deprecated. When managing your conversion actions, set the `primary_for_goal` attribute instead, and transition any of your reporting or application logic that relies on `include_in_conversions_metric` to use `primary_for_goal`."]]