客戶目標
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
每個 CustomerConversionGoal
會決定您是否要讓 Google Ads 針對具有指定 category
和
origin
的轉換動作進行最佳化。當您將ConversionActions
新增至帳戶的Google Ads 轉換客戶時,Google Ads 會自動建立CustomerConversionGoals
,確保每個使用的category
和origin
組合都有CustomerConversionGoal
。
由於 Google Ads 會自動處理物件的建立作業,因此您要為每個目標設定 biddable
屬性,指定轉換目標是否為帳戶預設目標。CustomerConversionGoal
如果 Google Ads 應根據目標的 category
和 origin
最佳化轉換動作,請將 biddable
設為 true
,否則請設為 false
。biddable
值 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
常見的例子是網頁瀏覽轉換目標,這類目標由 category
PAGE_VIEW
和 origin
WEBSITE
組合而成。
如要擷取屬於這個轉換目標的轉換動作 (與目標摘要頁面中 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
。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-26 (世界標準時間)。
[null,null,["上次更新時間: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)."]]