智慧廣告活動
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
智慧廣告活動專為小型商家設計,可協助商家在網路上觸及更多顧客。設定和維護作業非常簡單。智慧廣告活動採用 Google 最先進的廣告技術,可根據您的商家詳細資料和目標 (無論是吸引顧客來電、鼓勵顧客親臨門市,或促使顧客在您的網站上採取行動),自動調整廣告活動。
建立廣告活動
建立智慧廣告活動的工作流程與其他廣告活動類型不同,需要幾個步驟。最佳做法是在單一 GoogleAdsService.Mutate
要求中新增實體。
以下是建立新智慧廣告活動的步驟。如需更多詳細資料,請參閱完整程式碼範例。
- 使用
SmartCampaignSuggestService
、KeywordThemeConstantService
或任意形式的關鍵字主題建議,建立關鍵字主題清單。這些關鍵字主題可用於擷取不同層級的預算建議、建立關鍵字主題廣告活動條件,以及產生廣告文字廣告素材的建議。
- 從
SmartCampaignSuggestService
擷取預算金額、廣告標題和說明建議。這項服務會根據您的商家資訊、目標地理位置、目標語言和關鍵字主題,建議high
、low
或recommended
每日預算金額,以及最多三個廣告標題和兩個說明文字。
- 使用建議的預算金額建立
CampaignBudget
。建議您採用系統建議的預算金額,盡量提升廣告活動成效。智慧廣告活動預算無法與任何其他廣告活動共用。
- 建立
Campaign
和 SmartCampaignSetting
。SmartCampaignSetting
無法與相關聯的 Campaign
分開存在,因此強烈建議您一併建立這兩個實體。
- 建立
campaign criteria
清單。
在本指南中,我們會使用步驟 1 中彙整的關鍵字主題,建立關鍵字主題廣告活動條件,但也會說明其他支援的廣告活動條件類型。
- 建立
AdGroup
。每個智慧廣告活動只能有一個 AdGroup
。
- 建立
AdGroupAd
,並提供 3 到 15 個廣告標題和 2 到 4 則說明。
商家檔案地點
產生建議或建立廣告活動時,建議您提供商家檔案位置 ID,盡量提升智慧廣告活動的成效。
你可以透過商家檔案 API 的 name
欄位或商家檔案使用者介面,取得商家檔案位置 ID。
在 SmartCampaignSuggestionInfo
或 SmartCampaignSetting
物件上設定時,ID 應為下列格式的字串:
locations/locationId
如果是透過商家檔案 API 擷取,ID 格式會正確無誤。不過,如果是從使用者介面擷取,則必須將 ID 附加至 locations/
。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-27 (世界標準時間)。
[null,null,["上次更新時間:2025-08-27 (世界標準時間)。"],[[["\u003cp\u003eSmart campaigns simplify online advertising for small businesses, automating optimization for goals like calls, visits, or website actions.\u003c/p\u003e\n"],["\u003cp\u003eCampaign creation involves using keyword themes, budget suggestions, and ad creative suggestions for optimal setup.\u003c/p\u003e\n"],["\u003cp\u003eA crucial step is linking your Business Profile location for enhanced campaign performance.\u003c/p\u003e\n"],["\u003cp\u003eSmart campaigns utilize Google Ads API for automated campaign management and require a specific workflow for creation.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can leverage API services like \u003ccode\u003eSmartCampaignSuggestService\u003c/code\u003e and \u003ccode\u003eKeywordThemeConstantService\u003c/code\u003e for streamlined campaign setup.\u003c/p\u003e\n"]]],[],null,["# Smart Campaigns\n\n[Smart campaigns](//support.google.com/google-ads/answer/7652860) are\ndesigned to help small businesses reach more customers online. They require\nminimal setup and maintenance. Smart campaigns rely on the best of Google's\nadvertising technology to automatically optimize the campaign based on the\ndetails of your business and your goals, whether those be customer calls, visits\nto your location, or actions on your website.\n\nCampaign creation\n-----------------\n\nThe Smart campaign creation workflow requires a few steps that are different\nfrom other campaign types. As a best practice, add entities in a single\n[`GoogleAdsService.Mutate`](/google-ads/api/reference/rpc/v21/GoogleAdsService/Mutate) request.\n\nHere are the steps for creating a new Smart campaign. Check out the complete\n[code sample](/google-ads/api/samples/add-smart-campaign) for more details.\n\n1. Build a list of keyword themes with suggestions from the [`SmartCampaignSuggestService`](/google-ads/api/reference/rpc/v21/SmartCampaignSuggestService), the [`KeywordThemeConstantService`](/google-ads/api/reference/rpc/v21/KeywordThemeConstantService), or with free-form keyword themes. These keyword themes are used to retrieve different tiers of budget suggestions, create keyword theme campaign criteria, and generate suggestions for ad text creatives.\n2. Retrieve suggestions for budget amount, ad headlines, and descriptions from the [`SmartCampaignSuggestService`](/google-ads/api/reference/rpc/v21/SmartCampaignSuggestService). This service uses information about your business, the target geographic location, target language, and keyword themes to suggest a `high`, `low`, or `recommended` daily budget amount, as well as up to three headlines and two description texts for the ad itself.\n3. Create a [`CampaignBudget`](/google-ads/api/reference/rpc/v21/CampaignBudget) using the suggested budget amount. We recommend that you use the suggested budget amount in order to maximize your campaign's performance. A Smart campaign budget cannot be shared with any other campaigns.\n4. Create a [`Campaign`](/google-ads/api/reference/rpc/v21/Campaign) and a [`SmartCampaignSetting`](/google-ads/api/reference/rpc/v21/SmartCampaignSetting). A `SmartCampaignSetting` cannot exist separately from the `Campaign` it's associated with, so we strongly recommend creating the two entities together.\n5. Create a list of [`campaign criteria`](/google-ads/api/reference/rpc/v21/CampaignCriterion). In this guide, we use the keyword themes compiled in step 1 to create [keyword theme campaign\n criteria](/google-ads/api/reference/rpc/v21/CriterionTypeEnum.CriterionType#keyword_theme), but we also describe the other types of campaign criteria that are supported.\n6. Create an [`AdGroup`](/google-ads/api/reference/rpc/v21/AdGroup). A Smart campaign can have only one `AdGroup` associated with it.\n7. Create an [`AdGroupAd`](/google-ads/api/reference/rpc/v21/AdGroupAd) with 3 to 15 headlines, and 2 to 4 descriptions.\n\nBusiness Profile location\n-------------------------\n\nWhen\n[generating suggestions](/google-ads/api/docs/smart-campaigns/get-suggestions) or\n[creating a campaign](/google-ads/api/docs/smart-campaigns/create-campaign), we recommend\nthat you provide your Business Profile location identifier to maximize the\nperformance of your Smart campaign.\n\nYour Business Profile location identifier can be obtained from either the\n[Business Profile API's `name`\nfield](/my-business/reference/businessinformation/rest/v1/accounts.locations)\nor the\n[Business Profile UI](//support.google.com/business/answer/10737668).\n\nWhen set on either the\n[`SmartCampaignSuggestionInfo`](/google-ads/api/reference/rpc/v21/SmartCampaignSuggestionInfo#business_profile_location)\nor\n[`SmartCampaignSetting`](/google-ads/api/reference/rpc/v21/SmartCampaignSetting#business_profile_location)\nobject, the identifier should be a string in this format: \n\n locations/\u003cvar translate=\"no\"\u003elocationId\u003c/var\u003e\n\nIf retrieved from the Business Profile API, the identifier is already in the\ncorrect format. However, if retrieved from the UI, the identifier needs to be\nappended to `locations/`."]]