開始使用目標對象區隔
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
目標對象區隔 (又稱使用者名單) 是指 Google 推測興趣、意圖或受眾特徵皆符合特定條件的群眾。多媒體、搜尋、影片、飯店和標準購物廣告活動都支援指定目標對象區隔。您可以在廣告群組和廣告活動層級,指定或排除目標對象區隔。
如要為最高成效或需求開發廣告活動指定目標對象區隔,請參閱目標對象指南。
進一步瞭解目標對象區隔。
基本概念
您可以建立並指定UserList
,直接指定目標對象區隔。您需要在 UserList
中提供的資訊,部分取決於您想建立的使用者名單類型。可用的類型如下:
crm_based_user_list
:您提供的 CRM 使用者名單。
rule_based_user_list
:由規則或規則組合產生的使用者名單,通常是根據使用者採取 (或未採取) 的動作而定。
logical_user_list
:使用者名單,是使用者名單和使用者興趣的自訂組合。
basic_user_list
:以一組轉換或再行銷動作為目標指定使用者名單。
similar_user_list
:僅供輸出的使用者清單,列出與其他清單使用者相似的使用者。
lookalike_user_list
:使用者名單,由與可設定的一組種子使用者名單類似的使用者組成。
您可以使用這些使用者名單類型,建立可達成不同業務目標的目標對象區隔。舉例來說,如要建立網站訪客名單,請建立rule_based_user_list
。
您可以在使用者名單中設定兩個重要屬性:membership_life_span
和 membership_status
。前者可讓您以天為單位定義時間範圍,使用者在該範圍內會被視為名單成員。後者則定義清單是否接受新使用者。請注意,系統會忽略 logical_user_list
和 rule_based_user_list
的 membership_life_span
,因為這類名單的成員資格取決於名單定義的規則。
使用流程
以下是在 Google Ads API 中使用目標對象區隔的整體流程。
實作先決條件 (如適用)。
建立 UserList
,然後使用 UserListService
建立及設定目標對象區隔。
將廣告活動或廣告指定到目標對象區隔。
查看目標對象區隔成效。
實作必要條件
如要建立及指定目標對象區隔,請先完成下列步驟:
請參閱按照興趣和地區顯示廣告的相關政策。不得使用使用者敏感資訊建立目標對象。
設定 Google 代碼。如要根據網站造訪或動作指定目標對象區隔,就必須進行這項操作。目標顧客比對或自訂目標對象則不需提供。
廣告主如要根據行動應用程式行為建立使用者名單,應導入 Firebase SDK 或使用第三方 SDK,追蹤應用程式內行為。
擷取 Google 代碼
所有 Google Ads 帳戶都只有一個帳戶層級的 Google 代碼,會在帳戶開啟時自動建立。
如要透過 Google Ads 使用者介面擷取 Google 代碼,請按照說明中心的操作說明進行;如要透過 Google Ads API 擷取 Google 代碼,請建立 RemarketingAction
,然後使用 remarketing_action
資源發出 GoogleAdsService.searchStream
要求,擷取 Google 代碼:
SELECT
remarketing_action.id,
remarketing_action.name,
remarketing_action.tag_snippets
FROM remarketing_action
WHERE remarketing_action.resource_name = 'REMARKETING_ACTION_RESOURCE_NAME'
在網站或應用程式中安插 Google 代碼
下一步是在網站的所有網頁上安裝 Google 代碼。進一步瞭解如何在網站或行動應用程式中加入 Google 代碼。
如果您只打算根據造訪的網頁網址建立目標對象區隔,則不需要編輯 Google 代碼。如果您使用自訂參數,請按照代碼設定和建立再行銷名單進階策略一文的說明,編輯代碼以加入這些參數。
您可以使用 Google Tag Assistant 驗證代碼安裝情形。
內建 Google 代碼參數
您可以使用內建的再行銷參數 url__
,根據使用者在您網站上造訪的網址,指定目標對象名單,如「網站訪客」範例所示。
自訂 Google 代碼參數
您可以在 Google 代碼中加入自訂 Google 代碼參數,建立更精細的使用者名單。
建立自訂參數前,請先查看預先定義的參數清單,確認是否有適合您用例的參數。使用預先定義的參數,可更輕鬆地與其他 Google Ads 再行銷功能整合。
建立目標對象區隔
無論是哪種廣告素材,都必須遵守下列建立規範:
請使用同一個帳戶建立使用者名單,並用來修改使用者名單。只有建立使用者名單的 Google Ads 或資料合作夥伴帳戶,才能修改該名單。否則,使用者清單會處於唯讀狀態。
測試帳戶不支援使用者清單,且會在建立後自動關閉。
Google Analytics 目標對象
您可以擷取並指定在 Google Analytics 中建立的目標對象區隔,包括 Google Analytics 4 目標對象。這些使用者名單會填入 Google Ads 帳戶,並可透過 UserListService
擷取。
如要在 Google Ads 中使用 Google Analytics 目標對象,請先連結 Google Analytics 和 Google Ads 帳戶。
在 API 中,這些目標對象通常具有 user_list.type
的 REMARKETING
RULE_BASED
。API 不會指出使用者名單是在 Google Analytics 中建立,但您可以依名稱識別名單,然後在廣告活動中指定這些名單,就像指定任何其他使用者名單一樣。
UserList 中的目標對象區隔類型
按一下目標對象區隔專屬連結,取得如何建立及指定該類型UserList
的指南:
- 網站訪客
- 觸及曾造訪您網站或應用程式的使用者。這項作業是透過廣告主定義的規則完成。
- 特定網頁的訪客
- 方法是指定曾造訪包含或等於特定值的網址的使用者。
- 採取特定動作的訪客
- 這類動作包括在網站或應用程式中購物。
- 多份使用者名單
- 只要合併兩份以上的目標對象名單,就能建立更精細的指定目標。
- 以電子郵件地址、地址或使用者 ID 進行目標顧客比對
- 從第一方資料存放區上傳顧客資料後產生的使用者名單。
- 自訂目標對象
- 輸入相關的關鍵字、網址或應用程式,藉此觸及理想的目標對象。這些項目代表您想指定目標的使用者興趣和意圖。
- 類似區隔
- 指定與其他目標對象相似且特徵相同的使用者。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-28 (世界標準時間)。
[null,null,["上次更新時間:2025-08-28 (世界標準時間)。"],[[["\u003cp\u003eAudience segments are groups of people sharing specific traits, used for targeted advertising in various Google Ads campaigns.\u003c/p\u003e\n"],["\u003cp\u003eSix user list types, including CRM-based, rule-based, and lookalike, enable building segments for diverse business goals.\u003c/p\u003e\n"],["\u003cp\u003eCreating audience segments involves setting up Google tag, defining membership lifespan, and adhering to advertising policies.\u003c/p\u003e\n"],["\u003cp\u003eYou can target audiences based on website visits, specific actions, customer data, custom audiences, and similar user characteristics.\u003c/p\u003e\n"],["\u003cp\u003eDetailed guidance on creating and managing different audience segment types is provided through linked documentation.\u003c/p\u003e\n"]]],[],null,["Audience segments, also known as user lists, are groups of people with specific\ninterests, intents, or demographic information, as estimated by Google. Audience\nsegment targeting is supported for Display, Search, Video, Hotel, and Standard\nShopping campaigns. You can target or exclude audience segments at both the ad\ngroup and campaign levels.\n\nIf you want to target audience segments for Performance Max or Demand Gen\ncampaigns, visit the Audiences [guide](/google-ads/api/docs/remarketing/audiences).\n\n[Learn more about audience\nsegments](//support.google.com/google-ads/answer/2497941).\n\nBasic concepts\n\nYou can target audience segments directly by creating and targeting a\n[`UserList`](/google-ads/api/reference/rpc/v21/UserList). The information you need to provide in the\n`UserList` partly depends on the user list type you want to create. The\nfollowing types are available:\n\n1. [`crm_based_user_list`](/google-ads/api/reference/rpc/v21/CrmBasedUserListInfo): User list of\n CRM users you provide.\n\n2. [`rule_based_user_list`](/google-ads/api/reference/rpc/v21/RuleBasedUserListInfo): User list\n generated by a rule or set of rules, typically based on actions the user\n did---or didn't--- take.\n\n3. [`logical_user_list`](/google-ads/api/reference/rpc/v21/LogicalUserListInfo): User list that is\n a custom combination of user lists and user interests.\n\n4. [`basic_user_list`](/google-ads/api/reference/rpc/v21/BasicUserListInfo): User list targeting as\n a collection of conversion or remarketing actions.\n\n5. [`similar_user_list`](/google-ads/api/reference/rpc/v21/SimilarUserListInfo): Output-only user\n list of users which are similar to users from another list.\n\n6. [`lookalike_user_list`](/google-ads/api/reference/rpc/v21/LookalikeUserListInfo): User list\n composed of users similar to those of a configurable set of seed user lists.\n\nThese user list types can be used to build audience segments that accomplish\ndifferent business goals. For example, to build a list of users that visited\nyour website, you would create a `rule_based_user_list`.\n\nTwo important attributes you can set on a user list are\n[`membership_life_span`](/google-ads/api/reference/rpc/v21/UserList#membership_life_span) and\n[`membership_status`](/google-ads/api/reference/rpc/v21/UserList#membership_status). The former lets\nyou define the time period, in days, for which a user is considered to be in the\nlist. The latter defines whether the list accepts new users. Note that\n`membership_life_span` is ignored for `logical_user_list` and\n`rule_based_user_list`, as list membership for these types depends on the rules\ndefined by the list.\n\nUsage Flow\n\nHere is the overall flow for using audience segments in the Google Ads API.\n\n1. Implement the [prerequisites](#prerequisites), where applicable.\n\n2. Create and configure the audience segment by creating a [`UserList`](/google-ads/api/reference/rpc/v21/UserList) with the\n [`UserListService`](/google-ads/api/reference/rpc/v21/UserListService).\n\n | **Note:** Custom audiences use [`CustomAudience`](/google-ads/api/reference/rpc/v21/CustomAudience) with the [`CustomAudienceService`](/google-ads/api/reference/rpc/v21/CustomAudienceService), instead of `UserList`.\n3. Target your campaigns or ads to the audience segment.\n\n4. Review audience segment performance.\n\nImplement the prerequisites\n\nIn order to create and target audience segments, you first need to:\n\n1. Review the\n [policy for advertising based on interests and location](//support.google.com/adspolicy/answer/143465).\n Sensitive information about users can't be used to build audiences.\n\n2. Set up your Google tag. This is required to target audience segments based\n on visits to or actions on your website. It is not required for [Customer\n Match](/google-ads/api/docs/remarketing/audience-segments/customer-match/get-started) or\n [custom audiences](/google-ads/api/docs/remarketing/audience-segments/custom-audiences).\n\n Advertisers seeking to create user lists based on mobile app behavior should\n implement the Firebase SDK or work with third-party SDKs in order to track\n in-app behavior.\n\nRetrieve the Google tag\n\nAll Google Ads accounts have exactly one account-level [Google\ntag](//support.google.com/google-ads/answer/11994839), created automatically\nwhen the account is opened.\n\nYou can retrieve the Google tag in the Google Ads UI by following the [Help Center\ninstructions](//support.google.com/google-ads/answer/12002338#find-tag-id) or in\nthe Google Ads API by creating a `RemarketingAction` and then retrieving the Google tag\nby issuing a\n[`GoogleAdsService.searchStream`](/google-ads/api/reference/rpc/v21/GoogleAdsService/SearchStream)\nrequest using the [`remarketing_action`](/google-ads/api/fields/v21/remarketing_action)\nresource: \n\n SELECT\n remarketing_action.id,\n remarketing_action.name,\n remarketing_action.tag_snippets\n FROM remarketing_action\n WHERE remarketing_action.resource_name = '\u003cvar translate=\"no\"\u003eREMARKETING_ACTION_RESOURCE_NAME\u003c/var\u003e'\n\nInstall the Google tag on your website or app\n\nThe next step is to install your Google tag on all of your site's pages. [Learn\nmore about adding the Google tag to your site or mobile\napp](//support.google.com/google-ads/answer/2476688).\n\nIf you're planning to build audience segments based only on visited page URLs,\nyou don't need to make any edits to your Google tag. If you're using custom\nparameters, you need to edit your tag to include them, as detailed in [Advanced\nstrategies for tagging and creating remarketing\nlists](//support.google.com/google-ads/answer/3111920#standard_parameters).\n\nYou can use [Google Tag Assistant](//tagassistant.google.com) to validate\nyour tag installation.\n\nBuilt-in Google tag parameters\n\nYou can use the built-in remarketing parameter `url__` to target a user list\nbased on the URLs that people have visited on your website, as demonstrated in\nthe\n[Visitors to your website example](/google-ads/api/docs/remarketing/audience-segments/website-visitors#expandable-1).\n\nCustom Google tag parameters\n\nYou can add [custom Google tag\nparameters](//support.google.com/google-ads/answer/3111920#standard_parameters)\nto your Google tag to create more tailored user lists.\n\nBefore creating your own custom parameters, check out the list of\n[predefined parameters](//support.google.com/google-ads/answer/3103357) to see\nif there's already a good fit for your use case. Using predefined parameters\nmakes it easier to integrate with other Google Ads remarketing features.\n\nCreate audience segments\n\nThe following creation guidelines apply regardless of type:\n\n1. Use the same account to create the user list that you plan to use to modify\n the user list. A user list can only be modified by the Google Ads or [data\n partner](//support.google.com/google-ads/answer/7361372) account that\n created it. Otherwise, the user list is\n [read-only](/google-ads/api/reference/rpc/v21/UserList#read_only).\n\n2. User lists are not supported in [test\n accounts](/google-ads/api/docs/best-practices/test-accounts) and are automatically closed\n upon creation.\n\nGoogle Analytics audiences\n\nYou can retrieve and target audience segments created in Google Analytics,\nincluding Google Analytics 4 (GA4) audiences. These user lists are populated in\nyour Google Ads account and can be retrieved with the `UserListService`.\n\nTo use Google Analytics audiences in Google Ads, you must first\n[link your Google Analytics and Google Ads\naccounts](//support.google.com/google-ads/answer/7519537).\n\nIn the API, these audiences typically have a `user_list.type` of `REMARKETING`\nor `RULE_BASED`. The API doesn't indicate that the user list was created in\nGoogle Analytics, but you can identify them by name and then target them in your\ncampaigns just like any other user list.\n\nAudience segment types in a UserList\n\nClick an audience segment-specific link for guidance on how to create and target\na `UserList` for that type:\n\n[Visitors to your website](/google-ads/api/docs/remarketing/audience-segments/website-visitors)\n: Reach people who have visited either your website or your apps. This is done\n through advertiser-defined rules.\n\n[Visitors to specific pages](/google-ads/api/docs/remarketing/audience-segments/visited-specific-pages)\n: This is done by targeting users that have visited a URL that contains or\n equals a given value.\n\n[Visitors who took specific actions](/google-ads/api/docs/remarketing/audience-segments/took-specific-actions)\n: This can include actions such as a purchase on your website or app.\n\n[Multiple user lists](/google-ads/api/docs/remarketing/audience-segments/multiple-user-lists)\n: This is done by combining two or more user lists to create even more\n sophisticated targeting.\n\n[Customer Match with email address, address, or user ID](/google-ads/api/docs/remarketing/audience-segments/customer-match)\n: A user list of uploaded customer data from your first-party datastore.\n\n[Custom audiences](/google-ads/api/docs/remarketing/audience-segments/custom-audiences)\n: Reach your ideal audience by entering relevant keywords, URLs, or apps that\n represent the interests and intents of the users you want to target.\n\n[Lookalike segments](/google-ads/api/docs/remarketing/audience-segments/lookalike-audiences)\n: Target audiences that are similar to and share characteristics with others."]]