SmartCampaignError
Stay organized with collections
Save and categorize content based on your preferences.
outlined_flag
The content provides an enumeration of possible errors related to Smart campaigns.
Errors include invalid business location ID, incorrect campaign type, missing business name or location ID, and required suggestion fields.
Other errors cover missing geo targets, inability to determine suggestion locale, and uncrawlable final URLs.
The list defines specific enums for unspecified and unknown errors.
Enums
BUSINESS_NAME_OR_BUSINESS_LOCATION_ID_MISSING
The business name or business location id is required.
CANNOT_DETERMINE_SUGGESTION_LOCALE
The locale could not be determined.
FINAL_URL_NOT_CRAWLABLE
The final URL could not be crawled.
GEO_TARGETS_REQUIRED
A location list or proximity is required.
INVALID_BUSINESS_LOCATION_ID
The business location id is invalid.
INVALID_CAMPAIGN
The SmartCampaignSetting resource is only applicable for campaigns with advertising channel type SMART.
REQUIRED_SUGGESTION_FIELD_MISSING
A Smart campaign suggestion request field is required.
UNKNOWN
The received error code is not known in this version.
UNSPECIFIED
Enum unspecified.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-12 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-12-12 UTC."],[],[]]