SmartCampaignSetting

Settings for configuring Smart campaigns.

JSON representation
{
  "resourceName": string,
  "campaign": string,
  "phoneNumber": {
    object (PhoneNumber)
  },
  "advertisingLanguageCode": string,

  // Union field landing_page can be only one of the following:
  "finalUrl": string,
  "adOptimizedBusinessProfileSetting": {
    object (AdOptimizedBusinessProfileSetting)
  }
  // End of list of possible types for union field landing_page.

  // Union field business_setting can be only one of the following:
  "businessName": string,
  "businessProfileLocation": string
  // End of list of possible types for union field business_setting.
}
Fields
resourceName

string

Immutable. The resource name of the Smart campaign setting. Smart campaign setting resource names have the form:

customers/{customerId}/smartCampaignSettings/{campaignId}

campaign

string

Output only. The campaign to which these settings apply.

phoneNumber

object (PhoneNumber)

Phone number and country code.

advertisingLanguageCode

string

The language code to advertise in from the set of supported language codes.

Union field landing_page. The landing page of this campaign. landing_page can be only one of the following:
finalUrl

string

The user-provided landing page URL for this Campaign.

adOptimizedBusinessProfileSetting

object (AdOptimizedBusinessProfileSetting)

Settings for configuring a business profile optimized for ads as this campaign's landing page. This campaign must be linked to a business profile to use this option. For more information on this feature, consult https://support.google.com/google-ads/answer/9827068.

Union field business_setting. The business setting of this campaign. business_setting can be only one of the following:
businessName

string

The name of the business.

businessProfileLocation

string

The resource name of a Business Profile location. Business Profile location resource names can be fetched through the Business Profile API and adhere to the following format: locations/{locationId}.

See the Business Profile API for additional details.

PhoneNumber

Phone number and country code in smart campaign settings.

JSON representation
{
  "phoneNumber": string,
  "countryCode": string
}
Fields
phoneNumber

string

Phone number of the smart campaign.

countryCode

string

Upper-case, two-letter country code as defined by ISO-3166.

AdOptimizedBusinessProfileSetting

Settings for configuring a business profile optimized for ads as this campaign's landing page.

JSON representation
{
  "includeLeadForm": boolean
}
Fields
includeLeadForm

boolean

Enabling a lead form on your business profile enables prospective customers to contact your business by filling out a simple form, and you'll receive their information through email.