Interface SmartCampaignSettingOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SmartCampaignSetting,SmartCampaignSetting.Builder
public interface SmartCampaignSettingOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionSettings for configuring a business profile optimized for ads as this campaign's landing page.Settings for configuring a business profile optimized for ads as this campaign's landing page.The language code to advertise in from the set of [supported language codes] (https://developers.google.com/google-ads/api/reference/data/codes-formats#languages).com.google.protobuf.ByteStringThe language code to advertise in from the set of [supported language codes] (https://developers.google.com/google-ads/api/reference/data/codes-formats#languages).The name of the business.com.google.protobuf.ByteStringThe name of the business.The resource name of a Business Profile location.com.google.protobuf.ByteStringThe resource name of a Business Profile location.Output only.com.google.protobuf.ByteStringOutput only.The user-provided landing page URL for this Campaign.com.google.protobuf.ByteStringThe user-provided landing page URL for this Campaign.Phone number and country code.Phone number and country code.Immutable.com.google.protobuf.ByteStringImmutable.booleanSettings for configuring a business profile optimized for ads as this campaign's landing page.booleanThe name of the business.booleanThe resource name of a Business Profile location.booleanThe user-provided landing page URL for this Campaign.booleanPhone number and country code.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getResourceName
String getResourceName()Immutable. The resource name of the Smart campaign setting. Smart campaign setting resource names have the form: `customers/{customer_id}/smartCampaignSettings/{campaign_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- The resourceName.
-
getResourceNameBytes
com.google.protobuf.ByteString getResourceNameBytes()Immutable. The resource name of the Smart campaign setting. Smart campaign setting resource names have the form: `customers/{customer_id}/smartCampaignSettings/{campaign_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for resourceName.
-
getCampaign
String getCampaign()Output only. The campaign to which these settings apply.
string campaign = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- The campaign.
-
getCampaignBytes
com.google.protobuf.ByteString getCampaignBytes()Output only. The campaign to which these settings apply.
string campaign = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for campaign.
-
hasPhoneNumber
boolean hasPhoneNumber()Phone number and country code.
.google.ads.googleads.v18.resources.SmartCampaignSetting.PhoneNumber phone_number = 3;- Returns:
- Whether the phoneNumber field is set.
-
getPhoneNumber
SmartCampaignSetting.PhoneNumber getPhoneNumber()Phone number and country code.
.google.ads.googleads.v18.resources.SmartCampaignSetting.PhoneNumber phone_number = 3;- Returns:
- The phoneNumber.
-
getPhoneNumberOrBuilder
SmartCampaignSetting.PhoneNumberOrBuilder getPhoneNumberOrBuilder()Phone number and country code.
.google.ads.googleads.v18.resources.SmartCampaignSetting.PhoneNumber phone_number = 3; -
getAdvertisingLanguageCode
String getAdvertisingLanguageCode()The language code to advertise in from the set of [supported language codes] (https://developers.google.com/google-ads/api/reference/data/codes-formats#languages).
string advertising_language_code = 7;- Returns:
- The advertisingLanguageCode.
-
getAdvertisingLanguageCodeBytes
com.google.protobuf.ByteString getAdvertisingLanguageCodeBytes()The language code to advertise in from the set of [supported language codes] (https://developers.google.com/google-ads/api/reference/data/codes-formats#languages).
string advertising_language_code = 7;- Returns:
- The bytes for advertisingLanguageCode.
-
hasFinalUrl
boolean hasFinalUrl()The user-provided landing page URL for this Campaign.
string final_url = 8;- Returns:
- Whether the finalUrl field is set.
-
getFinalUrl
String getFinalUrl()The user-provided landing page URL for this Campaign.
string final_url = 8;- Returns:
- The finalUrl.
-
getFinalUrlBytes
com.google.protobuf.ByteString getFinalUrlBytes()The user-provided landing page URL for this Campaign.
string final_url = 8;- Returns:
- The bytes for finalUrl.
-
hasAdOptimizedBusinessProfileSetting
boolean hasAdOptimizedBusinessProfileSetting()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.
.google.ads.googleads.v18.resources.SmartCampaignSetting.AdOptimizedBusinessProfileSetting ad_optimized_business_profile_setting = 9;- Returns:
- Whether the adOptimizedBusinessProfileSetting field is set.
-
getAdOptimizedBusinessProfileSetting
SmartCampaignSetting.AdOptimizedBusinessProfileSetting getAdOptimizedBusinessProfileSetting()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.
.google.ads.googleads.v18.resources.SmartCampaignSetting.AdOptimizedBusinessProfileSetting ad_optimized_business_profile_setting = 9;- Returns:
- The adOptimizedBusinessProfileSetting.
-
getAdOptimizedBusinessProfileSettingOrBuilder
SmartCampaignSetting.AdOptimizedBusinessProfileSettingOrBuilder getAdOptimizedBusinessProfileSettingOrBuilder()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.
.google.ads.googleads.v18.resources.SmartCampaignSetting.AdOptimizedBusinessProfileSetting ad_optimized_business_profile_setting = 9; -
hasBusinessName
boolean hasBusinessName()The name of the business.
string business_name = 5;- Returns:
- Whether the businessName field is set.
-
getBusinessName
String getBusinessName()The name of the business.
string business_name = 5;- Returns:
- The businessName.
-
getBusinessNameBytes
com.google.protobuf.ByteString getBusinessNameBytes()The name of the business.
string business_name = 5;- Returns:
- The bytes for businessName.
-
hasBusinessProfileLocation
boolean hasBusinessProfileLocation()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] (https://developers.google.com/my-business/reference/businessinformation/rest/v1/accounts.locations) for additional details.string business_profile_location = 10;- Returns:
- Whether the businessProfileLocation field is set.
-
getBusinessProfileLocation
String getBusinessProfileLocation()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] (https://developers.google.com/my-business/reference/businessinformation/rest/v1/accounts.locations) for additional details.string business_profile_location = 10;- Returns:
- The businessProfileLocation.
-
getBusinessProfileLocationBytes
com.google.protobuf.ByteString getBusinessProfileLocationBytes()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] (https://developers.google.com/my-business/reference/businessinformation/rest/v1/accounts.locations) for additional details.string business_profile_location = 10;- Returns:
- The bytes for businessProfileLocation.
-
getLandingPageCase
SmartCampaignSetting.LandingPageCase getLandingPageCase() -
getBusinessSettingCase
SmartCampaignSetting.BusinessSettingCase getBusinessSettingCase()
-