Kampanie inteligentne
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Kampanie inteligentne zostały zaprojektowane z myślą o pomaganiu małym firmom w docieraniu do większej liczby klientów online. Wymagają one minimalnej konfiguracji i konserwacji. Kampanie inteligentne korzystają z najlepszych technologii reklamowych Google, aby automatycznie optymalizować kampanię na podstawie informacji o Twojej firmie i celów, np. zwiększenia liczby połączeń telefonicznych od klientów, wizyt w placówkach firmy czy działań na stronie.
Tworzenie kampanii
Proces tworzenia kampanii inteligentnej wymaga kilku kroków, które różnią się od innych typów kampanii. Sprawdzoną metodą jest dodawanie encji w ramach jednego żądania GoogleAdsService.Mutate
.
Aby utworzyć nową kampanię inteligentną, wykonaj te czynności. Więcej informacji znajdziesz w pełnym przykładzie kodu.
- Utwórz listę grup tematycznych słów kluczowych, korzystając z sugestii z
SmartCampaignSuggestService
, KeywordThemeConstantService
lub z grup tematycznych słów kluczowych w formie dowolnej. Te tematy słów kluczowych służą do pobierania sugestii dotyczących budżetu na różnych poziomach, tworzenia kryteriów kampanii dotyczących tematyki słów kluczowych i generowania sugestii dotyczących kreacji z tekstem reklamy.
- Pobierz sugestie dotyczące kwoty budżetu, nagłówków reklam i tekstów reklam z
SmartCampaignSuggestService
.
Ta usługa wykorzystuje informacje o Twojej firmie, docelowej lokalizacji geograficznej, docelowym języku i grupach tematycznych słów kluczowych, aby zaproponować kwotę budżetu dziennego high
, low
lub recommended
, a także maksymalnie 3 nagłówki i 2 teksty reklamy.
- Utwórz
CampaignBudget
, korzystając z sugerowanej kwoty budżetu. Aby zmaksymalizować skuteczność kampanii, zalecamy korzystanie z sugerowanej kwoty budżetu. Budżetu kampanii inteligentnej nie można udostępniać innym kampaniom.
- Utwórz
Campaign
i SmartCampaignSetting
. Usługa SmartCampaignSetting
nie może istnieć oddzielnie od usługi Campaign
, z którą jest powiązana, dlatego zdecydowanie zalecamy utworzenie obu tych usług jednocześnie.
- Utwórz listę
campaign criteria
.
W tym przewodniku używamy tematów słów kluczowych zebranych w kroku 1 do tworzenia kryteriów kampanii z tematami słów kluczowych, ale opisujemy też inne typy kryteriów kampanii, które są obsługiwane.
- Utwórz
AdGroup
. Kampania inteligentna może mieć tylko 1 AdGroup
.
- Utwórz
AdGroupAd
z 3–15 nagłówkami i 2–4 tekstami reklamy.
Lokalizacja Profilu Firmy
Podczas generowania sugestii lub tworzenia kampanii zalecamy podanie identyfikatora lokalizacji profilu firmy, aby zmaksymalizować skuteczność kampanii inteligentnej.
Identyfikator lokalizacji profilu Twojej firmy możesz uzyskać w interfejsie Business Profile API lub w interfejsie Profilu Firmy.name
Jeśli jest ustawiony w obiekcie
SmartCampaignSuggestionInfo
lub
SmartCampaignSetting
, identyfikator powinien być ciągiem znaków w tym formacie:
locations/locationId
Jeśli identyfikator został pobrany z interfejsu Business Profile API, jest już w prawidłowym formacie. Jeśli jednak identyfikator zostanie pobrany z interfejsu, należy go dołączyć do locations/
.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-08-27 UTC.
[null,null,["Ostatnia aktualizacja: 2025-08-27 UTC."],[[["\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/`."]]