智能广告系列
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
智能广告系列旨在帮助小型企业在网上吸引更多客户。它们只需极少的设置和维护。智能广告系列以 Google 最尖端的广告技术为后盾,可以根据您的商家详情和目标(比如吸引客户来电、光顾实体店或在您的网站上采取特定操作)自动优化广告系列。
广告系列制作
智能广告系列的制作工作流程需要执行一些与其他广告系列类型不同的步骤。最佳做法是在单个 GoogleAdsService.Mutate
请求中添加实体。
以下是制作新智能广告系列的步骤。如需了解详情,请查看完整的代码示例。
- 根据
SmartCampaignSuggestService
、KeywordThemeConstantService
中的建议或使用自由格式的关键字主题,构建关键字主题列表。这些关键字主题用于检索不同级别的预算建议、创建关键字主题宣传活动条件,以及生成广告文字素材的建议。
- 从
SmartCampaignSuggestService
中检索有关预算金额、广告标题和广告内容描述的建议。
此服务会使用有关您的商家、目标地理位置、目标语言和关键字主题的信息,建议 high
、low
或 recommended
的每日预算金额,以及最多三个标题和两个广告说明文本。
- 使用建议的预算金额创建
CampaignBudget
。建议您使用建议的预算金额,以最大限度地提升广告系列的效果。智能广告系列的预算不能与任何其他广告系列共享。
- 创建
Campaign
和 SmartCampaignSetting
。SmartCampaignSetting
无法独立于其关联的 Campaign
而存在,因此我们强烈建议您同时创建这两个实体。
- 创建
campaign criteria
的列表。
在本指南中,我们将使用第 1 步中整理的关键字主题来创建关键字主题广告系列条件,但我们也会介绍其他受支持的广告系列条件类型。
- 创建
AdGroup
。一个智能广告系列只能关联一个 AdGroup
。
- 创建包含 3 到 15 个标题和 2 到 4 条广告内容描述的
AdGroupAd
。
商家资料中的营业地点
在生成建议或制作广告系列时,我们建议您提供商家资料位置标识符,以最大限度地提升智能广告系列的效果。
您可以通过商家资料 API 的 name
字段或商家资料界面获取商家资料营业地点标识符。
如果为 SmartCampaignSuggestionInfo
或 SmartCampaignSetting
对象设置了此属性,则相应标识符应为采用以下格式的字符串:
locations/locationId
如果从 Business Profile API 检索,则标识符已采用正确的格式。不过,如果从界面检索,则需要将标识符附加到 locations/
。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-27。
[null,null,["最后更新时间 (UTC):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/`."]]