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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SmartCampaignSetting.AdOptimizedBusinessProfileSetting
getAdOptimizedBusinessProfileSetting()
Settings for configuring a business profile optimized for ads as this campaign's landing page.SmartCampaignSetting.AdOptimizedBusinessProfileSettingOrBuilder
getAdOptimizedBusinessProfileSettingOrBuilder()
Settings for configuring a business profile optimized for ads as this campaign's landing page.java.lang.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).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).java.lang.String
getBusinessName()
The name of the business.com.google.protobuf.ByteString
getBusinessNameBytes()
The name of the business.java.lang.String
getBusinessProfileLocation()
The resource name of a Business Profile location.com.google.protobuf.ByteString
getBusinessProfileLocationBytes()
The resource name of a Business Profile location.SmartCampaignSetting.BusinessSettingCase
getBusinessSettingCase()
java.lang.String
getCampaign()
Output only.com.google.protobuf.ByteString
getCampaignBytes()
Output only.java.lang.String
getFinalUrl()
The user-provided landing page URL for this Campaign.com.google.protobuf.ByteString
getFinalUrlBytes()
The user-provided landing page URL for this Campaign.SmartCampaignSetting.LandingPageCase
getLandingPageCase()
SmartCampaignSetting.PhoneNumber
getPhoneNumber()
Phone number and country code.SmartCampaignSetting.PhoneNumberOrBuilder
getPhoneNumberOrBuilder()
Phone number and country code.java.lang.String
getResourceName()
Immutable.com.google.protobuf.ByteString
getResourceNameBytes()
Immutable.boolean
hasAdOptimizedBusinessProfileSetting()
Settings for configuring a business profile optimized for ads as this campaign's landing page.boolean
hasBusinessName()
The name of the business.boolean
hasBusinessProfileLocation()
The resource name of a Business Profile location.boolean
hasFinalUrl()
The user-provided landing page URL for this Campaign.boolean
hasPhoneNumber()
Phone number and country code.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getResourceName
java.lang.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
java.lang.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.v14.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.v14.resources.SmartCampaignSetting.PhoneNumber phone_number = 3;
- Returns:
- The phoneNumber.
-
getPhoneNumberOrBuilder
SmartCampaignSetting.PhoneNumberOrBuilder getPhoneNumberOrBuilder()
Phone number and country code.
.google.ads.googleads.v14.resources.SmartCampaignSetting.PhoneNumber phone_number = 3;
-
getAdvertisingLanguageCode
java.lang.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
java.lang.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.v14.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.v14.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.v14.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
java.lang.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
java.lang.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()
-
-