客户目标
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
每个 CustomerConversionGoal
元素用于确定您是否希望 Google Ads 针对具有指定 category
和 origin
的转化操作进行优化。在您向账号的 Google Ads 转化客户添加 ConversionActions
时,Google Ads 会自动创建 CustomerConversionGoals
,以确保每个正在使用的 category
和 origin
组合都有对应的 CustomerConversionGoal
。
由于 Google Ads 会自动处理 CustomerConversionGoal
对象的创建,因此您需要设置每个目标的 biddable
属性,以指定转化目标是否为账号默认目标。如果 Google Ads 应针对目标为 category
和 origin
的转化操作进行优化,请将 biddable
设置为 true
;否则,请将 biddable
设置为 false
。值 true
和 false
分别等同于转化操作设置中的用作账号默认目标和不用作账号默认目标选项。
新的类别和来源组合
如果在 Google Ads 转化客户账号中创建了 ConversionAction
,并且新操作的 category
和 origin
组合不存在于任何其他操作中,Google Ads 会自动为 category
和 origin
创建新的 CustomerConversionGoal
,并将 biddable
属性默认设置为 true
。
不过,对于以下 category
和 origin
组合,Google Ads 会默认将 biddable
设置为 false
:
category |
来源 |
BEGIN_CHECKOUT |
GOOGLE_HOSTED |
考虑 |
GOOGLE_HOSTED |
联系人 |
GOOGLE_HOSTED |
CONVERTED_LEAD |
GOOGLE_HOSTED |
互动度 |
GOOGLE_HOSTED |
GET_DIRECTIONS |
GOOGLE_HOSTED |
PAGE_VIEW |
GOOGLE_HOSTED |
QUALIFIED_LEAD |
GOOGLE_HOSTED |
SIGNUP |
GOOGLE_HOSTED |
购买 |
GOOGLE_HOSTED |
STORE_SALE |
商店 |
STORE_VISIT |
商店 |
检索客户目标
使用以下查询可检索您账号的 CustomerConversionGoals
列表。
SELECT
customer_conversion_goal.resource_name,
customer_conversion_goal.category,
customer_conversion_goal.origin,
customer_conversion_goal.biddable
FROM customer_conversion_goal
一个常见示例是网页浏览转化目标,它由 PAGE_VIEW
的 category
和 WEBSITE
的 origin
组合而成。
如需检索属于相应转化目标的转化操作(与您在 Google Ads 界面中的目标摘要页面上看到的相符),请使用以下查询:
SELECT
conversion_action.category,
conversion_action.origin,
conversion_action.name
FROM conversion_action
WHERE conversion_action.category = 'PAGE_VIEW'
AND conversion_action.origin = 'WEBSITE'
AND conversion_action.status = 'ENABLED'
另一个常见示例是,Google Ads 界面中显示的组为“其他”。为此,请将 category
设置为 DEFAULT
。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-26。
[null,null,["最后更新时间 (UTC):2025-08-26。"],[[["\u003cp\u003eGoogle Ads automatically creates and manages \u003ccode\u003eCustomerConversionGoals\u003c/code\u003e based on the \u003ccode\u003ecategory\u003c/code\u003e and \u003ccode\u003eorigin\u003c/code\u003e of your conversion actions to streamline optimization.\u003c/p\u003e\n"],["\u003cp\u003eYou can control whether Google Ads optimizes for a specific conversion goal by setting the \u003ccode\u003ebiddable\u003c/code\u003e attribute to \u003ccode\u003etrue\u003c/code\u003e (optimize) or \u003ccode\u003efalse\u003c/code\u003e (don't optimize).\u003c/p\u003e\n"],["\u003cp\u003eNew conversion actions with unique category and origin combinations will automatically have a corresponding \u003ccode\u003eCustomerConversionGoal\u003c/code\u003e created, typically set to \u003ccode\u003ebiddable\u003c/code\u003e by default, unless they fall within specific combinations listed in the documentation.\u003c/p\u003e\n"],["\u003cp\u003eYou can retrieve and analyze your \u003ccode\u003eCustomerConversionGoals\u003c/code\u003e and associated conversion actions using provided sample queries to gain insights into your conversion setup.\u003c/p\u003e\n"],["\u003cp\u003eCommon use cases like analyzing page view goals or the "Other" group in the Google Ads UI are easily achievable with the provided query examples and category/origin understanding.\u003c/p\u003e\n"]]],[],null,["# Customer goals\n\nEach [`CustomerConversionGoal`](/google-ads/api/reference/rpc/v21/CustomerConversionGoal)\ndetermines whether you want Google Ads to optimize for conversion actions with the\nspecified [`category`](/google-ads/api/reference/rpc/v21/ConversionAction#category) and\n[`origin`](/google-ads/api/reference/rpc/v21/ConversionAction#origin). Google Ads automatically creates\n`CustomerConversionGoals` as you add\n[`ConversionActions`](/google-ads/api/reference/rpc/v21/ConversionAction) to your account's\n[Google Ads conversion\ncustomer](/google-ads/api/docs/conversions/getting-started#enable_conversion_tracking) to\nensure that there's a `CustomerConversionGoal` for every combination of\n`category` and `origin` that's in use.\n\nSince Google Ads automatically handles the creation of `CustomerConversionGoal`\nobjects, you set the `biddable` attribute of each goal to specify whether a\nconversion goal is an [account-default\ngoal](//support.google.com/google-ads/answer/10995103#account_default). Set\n`biddable` to `true` if Google Ads should optimize for conversion actions with the\ngoal's `category` and `origin`, and set `biddable` to `false` otherwise. The\nvalues `true` and `false` are equivalent to the **Use as an account-default\ngoal** and **Do not use as an account-default goal** options, respectively, in\nthe [conversion action\nsettings](//support.google.com/google-ads/answer/10993988#edit_account_default).\n\nNew category and origin combinations\n------------------------------------\n\nIf a `ConversionAction` is created in your Google Ads conversion customer and\nthe `category` and `origin` combination of the new action doesn't exist on any\nother actions, Google Ads automatically creates a new `CustomerConversionGoal` for\nthe `category` and `origin` and sets the `biddable` attribute to `true` by\ndefault.\n\nHowever, Google Ads sets `biddable` to `false` by default for the following\n`category` and `origin` combinations:\n\n| [category](/google-ads/api/reference/rpc/v21/ConversionActionCategoryEnum.ConversionActionCategory) | [origin](/google-ads/api/reference/rpc/v21/ConversionOriginEnum.ConversionOrigin) |\n|-----------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------|\n| BEGIN_CHECKOUT | GOOGLE_HOSTED |\n| CONSIDERATION | GOOGLE_HOSTED |\n| CONTACT | GOOGLE_HOSTED |\n| CONVERTED_LEAD | GOOGLE_HOSTED |\n| ENGAGEMENT | GOOGLE_HOSTED |\n| GET_DIRECTIONS | GOOGLE_HOSTED |\n| PAGE_VIEW | GOOGLE_HOSTED |\n| QUALIFIED_LEAD | GOOGLE_HOSTED |\n| SIGNUP | GOOGLE_HOSTED |\n| PURCHASE | GOOGLE_HOSTED |\n| STORE_SALE | STORE |\n| STORE_VISIT | STORE |\n\nRetrieve customer goals\n-----------------------\n\nUse the following query to retrieve the list of `CustomerConversionGoals`\nfor your account. \n\n SELECT\n customer_conversion_goal.resource_name,\n customer_conversion_goal.category,\n customer_conversion_goal.origin,\n customer_conversion_goal.biddable\n FROM customer_conversion_goal\n\nA common example is the page view conversion goal, which is represented by a\ncombination of a [`category`](/google-ads/api/reference/rpc/v21/ConversionAction#category) of\n[`PAGE_VIEW`](/google-ads/api/reference/rpc/v21/ConversionActionCategoryEnum.ConversionActionCategory#page_view)\nand an [`origin`](/google-ads/api/reference/rpc/v21/ConversionAction#origin) of\n[`WEBSITE`](/google-ads/api/reference/rpc/v21/ConversionOriginEnum.ConversionOrigin#website).\n\nIn order to retrieve the conversion actions that belong to this conversion\ngoal---matching what you see in the Google Ads UI in the goals summary\npage---use the following query: \n\n SELECT\n conversion_action.category,\n conversion_action.origin,\n conversion_action.name\n FROM conversion_action\n WHERE conversion_action.category = 'PAGE_VIEW'\n AND conversion_action.origin = 'WEBSITE'\n AND conversion_action.status = 'ENABLED'\n\nAnother common example is getting the group shown in the Google Ads UI as **Other** .\nThis is done by setting the\n[`category`](/google-ads/api/reference/rpc/v21/ConversionAction#category) to [`DEFAULT`](/google-ads/api/reference/rpc/v21/ConversionActionCategoryEnum.ConversionActionCategory#default)."]]