Class SmartCampaignSuggestionInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSuggestionInfo.Builder>
-
- com.google.ads.googleads.v14.services.SmartCampaignSuggestionInfo.Builder
-
- All Implemented Interfaces:
SmartCampaignSuggestionInfoOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- SmartCampaignSuggestionInfo
public static final class SmartCampaignSuggestionInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSuggestionInfo.Builder> implements SmartCampaignSuggestionInfoOrBuilder
Information needed to get suggestion for Smart Campaign. More information provided will help the system to derive better suggestions.
Protobuf typegoogle.ads.googleads.v14.services.SmartCampaignSuggestionInfo
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSuggestionInfo.Builder>
-
clear
public SmartCampaignSuggestionInfo.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSuggestionInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSuggestionInfo.Builder>
-
getDefaultInstanceForType
public SmartCampaignSuggestionInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public SmartCampaignSuggestionInfo build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SmartCampaignSuggestionInfo buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public SmartCampaignSuggestionInfo.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSuggestionInfo.Builder>
-
setField
public SmartCampaignSuggestionInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSuggestionInfo.Builder>
-
clearField
public SmartCampaignSuggestionInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSuggestionInfo.Builder>
-
clearOneof
public SmartCampaignSuggestionInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSuggestionInfo.Builder>
-
setRepeatedField
public SmartCampaignSuggestionInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSuggestionInfo.Builder>
-
addRepeatedField
public SmartCampaignSuggestionInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSuggestionInfo.Builder>
-
mergeFrom
public SmartCampaignSuggestionInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<SmartCampaignSuggestionInfo.Builder>
-
mergeFrom
public SmartCampaignSuggestionInfo.Builder mergeFrom(SmartCampaignSuggestionInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSuggestionInfo.Builder>
-
mergeFrom
public SmartCampaignSuggestionInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<SmartCampaignSuggestionInfo.Builder>
- Throws:
java.io.IOException
-
getBusinessSettingCase
public SmartCampaignSuggestionInfo.BusinessSettingCase getBusinessSettingCase()
- Specified by:
getBusinessSettingCase
in interfaceSmartCampaignSuggestionInfoOrBuilder
-
clearBusinessSetting
public SmartCampaignSuggestionInfo.Builder clearBusinessSetting()
-
getGeoTargetCase
public SmartCampaignSuggestionInfo.GeoTargetCase getGeoTargetCase()
- Specified by:
getGeoTargetCase
in interfaceSmartCampaignSuggestionInfoOrBuilder
-
clearGeoTarget
public SmartCampaignSuggestionInfo.Builder clearGeoTarget()
-
getFinalUrl
public java.lang.String getFinalUrl()
Optional. Landing page URL of the campaign.
string final_url = 1 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getFinalUrl
in interfaceSmartCampaignSuggestionInfoOrBuilder
- Returns:
- The finalUrl.
-
getFinalUrlBytes
public com.google.protobuf.ByteString getFinalUrlBytes()
Optional. Landing page URL of the campaign.
string final_url = 1 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getFinalUrlBytes
in interfaceSmartCampaignSuggestionInfoOrBuilder
- Returns:
- The bytes for finalUrl.
-
setFinalUrl
public SmartCampaignSuggestionInfo.Builder setFinalUrl(java.lang.String value)
Optional. Landing page URL of the campaign.
string final_url = 1 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The finalUrl to set.- Returns:
- This builder for chaining.
-
clearFinalUrl
public SmartCampaignSuggestionInfo.Builder clearFinalUrl()
Optional. Landing page URL of the campaign.
string final_url = 1 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
setFinalUrlBytes
public SmartCampaignSuggestionInfo.Builder setFinalUrlBytes(com.google.protobuf.ByteString value)
Optional. Landing page URL of the campaign.
string final_url = 1 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes for finalUrl to set.- Returns:
- This builder for chaining.
-
getLanguageCode
public java.lang.String getLanguageCode()
Optional. The two letter advertising language for the Smart campaign to be constructed, default to 'en' if not set.
string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLanguageCode
in interfaceSmartCampaignSuggestionInfoOrBuilder
- Returns:
- The languageCode.
-
getLanguageCodeBytes
public com.google.protobuf.ByteString getLanguageCodeBytes()
Optional. The two letter advertising language for the Smart campaign to be constructed, default to 'en' if not set.
string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLanguageCodeBytes
in interfaceSmartCampaignSuggestionInfoOrBuilder
- Returns:
- The bytes for languageCode.
-
setLanguageCode
public SmartCampaignSuggestionInfo.Builder setLanguageCode(java.lang.String value)
Optional. The two letter advertising language for the Smart campaign to be constructed, default to 'en' if not set.
string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The languageCode to set.- Returns:
- This builder for chaining.
-
clearLanguageCode
public SmartCampaignSuggestionInfo.Builder clearLanguageCode()
Optional. The two letter advertising language for the Smart campaign to be constructed, default to 'en' if not set.
string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
setLanguageCodeBytes
public SmartCampaignSuggestionInfo.Builder setLanguageCodeBytes(com.google.protobuf.ByteString value)
Optional. The two letter advertising language for the Smart campaign to be constructed, default to 'en' if not set.
string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes for languageCode to set.- Returns:
- This builder for chaining.
-
getAdSchedulesList
public java.util.List<AdScheduleInfo> getAdSchedulesList()
Optional. The business ad schedule.
repeated .google.ads.googleads.v14.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAdSchedulesList
in interfaceSmartCampaignSuggestionInfoOrBuilder
-
getAdSchedulesCount
public int getAdSchedulesCount()
Optional. The business ad schedule.
repeated .google.ads.googleads.v14.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAdSchedulesCount
in interfaceSmartCampaignSuggestionInfoOrBuilder
-
getAdSchedules
public AdScheduleInfo getAdSchedules(int index)
Optional. The business ad schedule.
repeated .google.ads.googleads.v14.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAdSchedules
in interfaceSmartCampaignSuggestionInfoOrBuilder
-
setAdSchedules
public SmartCampaignSuggestionInfo.Builder setAdSchedules(int index, AdScheduleInfo value)
Optional. The business ad schedule.
repeated .google.ads.googleads.v14.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];
-
setAdSchedules
public SmartCampaignSuggestionInfo.Builder setAdSchedules(int index, AdScheduleInfo.Builder builderForValue)
Optional. The business ad schedule.
repeated .google.ads.googleads.v14.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];
-
addAdSchedules
public SmartCampaignSuggestionInfo.Builder addAdSchedules(AdScheduleInfo value)
Optional. The business ad schedule.
repeated .google.ads.googleads.v14.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];
-
addAdSchedules
public SmartCampaignSuggestionInfo.Builder addAdSchedules(int index, AdScheduleInfo value)
Optional. The business ad schedule.
repeated .google.ads.googleads.v14.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];
-
addAdSchedules
public SmartCampaignSuggestionInfo.Builder addAdSchedules(AdScheduleInfo.Builder builderForValue)
Optional. The business ad schedule.
repeated .google.ads.googleads.v14.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];
-
addAdSchedules
public SmartCampaignSuggestionInfo.Builder addAdSchedules(int index, AdScheduleInfo.Builder builderForValue)
Optional. The business ad schedule.
repeated .google.ads.googleads.v14.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];
-
addAllAdSchedules
public SmartCampaignSuggestionInfo.Builder addAllAdSchedules(java.lang.Iterable<? extends AdScheduleInfo> values)
Optional. The business ad schedule.
repeated .google.ads.googleads.v14.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];
-
clearAdSchedules
public SmartCampaignSuggestionInfo.Builder clearAdSchedules()
Optional. The business ad schedule.
repeated .google.ads.googleads.v14.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];
-
removeAdSchedules
public SmartCampaignSuggestionInfo.Builder removeAdSchedules(int index)
Optional. The business ad schedule.
repeated .google.ads.googleads.v14.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];
-
getAdSchedulesBuilder
public AdScheduleInfo.Builder getAdSchedulesBuilder(int index)
Optional. The business ad schedule.
repeated .google.ads.googleads.v14.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];
-
getAdSchedulesOrBuilder
public AdScheduleInfoOrBuilder getAdSchedulesOrBuilder(int index)
Optional. The business ad schedule.
repeated .google.ads.googleads.v14.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAdSchedulesOrBuilder
in interfaceSmartCampaignSuggestionInfoOrBuilder
-
getAdSchedulesOrBuilderList
public java.util.List<? extends AdScheduleInfoOrBuilder> getAdSchedulesOrBuilderList()
Optional. The business ad schedule.
repeated .google.ads.googleads.v14.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAdSchedulesOrBuilderList
in interfaceSmartCampaignSuggestionInfoOrBuilder
-
addAdSchedulesBuilder
public AdScheduleInfo.Builder addAdSchedulesBuilder()
Optional. The business ad schedule.
repeated .google.ads.googleads.v14.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];
-
addAdSchedulesBuilder
public AdScheduleInfo.Builder addAdSchedulesBuilder(int index)
Optional. The business ad schedule.
repeated .google.ads.googleads.v14.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];
-
getAdSchedulesBuilderList
public java.util.List<AdScheduleInfo.Builder> getAdSchedulesBuilderList()
Optional. The business ad schedule.
repeated .google.ads.googleads.v14.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];
-
getKeywordThemesList
public java.util.List<KeywordThemeInfo> getKeywordThemesList()
Optional. Smart campaign keyword themes. This field may greatly improve suggestion accuracy and we recommend always setting it if possible.
repeated .google.ads.googleads.v14.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getKeywordThemesList
in interfaceSmartCampaignSuggestionInfoOrBuilder
-
getKeywordThemesCount
public int getKeywordThemesCount()
Optional. Smart campaign keyword themes. This field may greatly improve suggestion accuracy and we recommend always setting it if possible.
repeated .google.ads.googleads.v14.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getKeywordThemesCount
in interfaceSmartCampaignSuggestionInfoOrBuilder
-
getKeywordThemes
public KeywordThemeInfo getKeywordThemes(int index)
Optional. Smart campaign keyword themes. This field may greatly improve suggestion accuracy and we recommend always setting it if possible.
repeated .google.ads.googleads.v14.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getKeywordThemes
in interfaceSmartCampaignSuggestionInfoOrBuilder
-
setKeywordThemes
public SmartCampaignSuggestionInfo.Builder setKeywordThemes(int index, KeywordThemeInfo value)
Optional. Smart campaign keyword themes. This field may greatly improve suggestion accuracy and we recommend always setting it if possible.
repeated .google.ads.googleads.v14.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL];
-
setKeywordThemes
public SmartCampaignSuggestionInfo.Builder setKeywordThemes(int index, KeywordThemeInfo.Builder builderForValue)
Optional. Smart campaign keyword themes. This field may greatly improve suggestion accuracy and we recommend always setting it if possible.
repeated .google.ads.googleads.v14.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL];
-
addKeywordThemes
public SmartCampaignSuggestionInfo.Builder addKeywordThemes(KeywordThemeInfo value)
Optional. Smart campaign keyword themes. This field may greatly improve suggestion accuracy and we recommend always setting it if possible.
repeated .google.ads.googleads.v14.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL];
-
addKeywordThemes
public SmartCampaignSuggestionInfo.Builder addKeywordThemes(int index, KeywordThemeInfo value)
Optional. Smart campaign keyword themes. This field may greatly improve suggestion accuracy and we recommend always setting it if possible.
repeated .google.ads.googleads.v14.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL];
-
addKeywordThemes
public SmartCampaignSuggestionInfo.Builder addKeywordThemes(KeywordThemeInfo.Builder builderForValue)
Optional. Smart campaign keyword themes. This field may greatly improve suggestion accuracy and we recommend always setting it if possible.
repeated .google.ads.googleads.v14.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL];
-
addKeywordThemes
public SmartCampaignSuggestionInfo.Builder addKeywordThemes(int index, KeywordThemeInfo.Builder builderForValue)
Optional. Smart campaign keyword themes. This field may greatly improve suggestion accuracy and we recommend always setting it if possible.
repeated .google.ads.googleads.v14.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL];
-
addAllKeywordThemes
public SmartCampaignSuggestionInfo.Builder addAllKeywordThemes(java.lang.Iterable<? extends KeywordThemeInfo> values)
Optional. Smart campaign keyword themes. This field may greatly improve suggestion accuracy and we recommend always setting it if possible.
repeated .google.ads.googleads.v14.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL];
-
clearKeywordThemes
public SmartCampaignSuggestionInfo.Builder clearKeywordThemes()
Optional. Smart campaign keyword themes. This field may greatly improve suggestion accuracy and we recommend always setting it if possible.
repeated .google.ads.googleads.v14.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL];
-
removeKeywordThemes
public SmartCampaignSuggestionInfo.Builder removeKeywordThemes(int index)
Optional. Smart campaign keyword themes. This field may greatly improve suggestion accuracy and we recommend always setting it if possible.
repeated .google.ads.googleads.v14.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL];
-
getKeywordThemesBuilder
public KeywordThemeInfo.Builder getKeywordThemesBuilder(int index)
Optional. Smart campaign keyword themes. This field may greatly improve suggestion accuracy and we recommend always setting it if possible.
repeated .google.ads.googleads.v14.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL];
-
getKeywordThemesOrBuilder
public KeywordThemeInfoOrBuilder getKeywordThemesOrBuilder(int index)
Optional. Smart campaign keyword themes. This field may greatly improve suggestion accuracy and we recommend always setting it if possible.
repeated .google.ads.googleads.v14.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getKeywordThemesOrBuilder
in interfaceSmartCampaignSuggestionInfoOrBuilder
-
getKeywordThemesOrBuilderList
public java.util.List<? extends KeywordThemeInfoOrBuilder> getKeywordThemesOrBuilderList()
Optional. Smart campaign keyword themes. This field may greatly improve suggestion accuracy and we recommend always setting it if possible.
repeated .google.ads.googleads.v14.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getKeywordThemesOrBuilderList
in interfaceSmartCampaignSuggestionInfoOrBuilder
-
addKeywordThemesBuilder
public KeywordThemeInfo.Builder addKeywordThemesBuilder()
Optional. Smart campaign keyword themes. This field may greatly improve suggestion accuracy and we recommend always setting it if possible.
repeated .google.ads.googleads.v14.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL];
-
addKeywordThemesBuilder
public KeywordThemeInfo.Builder addKeywordThemesBuilder(int index)
Optional. Smart campaign keyword themes. This field may greatly improve suggestion accuracy and we recommend always setting it if possible.
repeated .google.ads.googleads.v14.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL];
-
getKeywordThemesBuilderList
public java.util.List<KeywordThemeInfo.Builder> getKeywordThemesBuilderList()
Optional. Smart campaign keyword themes. This field may greatly improve suggestion accuracy and we recommend always setting it if possible.
repeated .google.ads.googleads.v14.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL];
-
hasBusinessContext
public boolean hasBusinessContext()
Optional. Context describing the business to advertise.
.google.ads.googleads.v14.services.SmartCampaignSuggestionInfo.BusinessContext business_context = 8 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasBusinessContext
in interfaceSmartCampaignSuggestionInfoOrBuilder
- Returns:
- Whether the businessContext field is set.
-
getBusinessContext
public SmartCampaignSuggestionInfo.BusinessContext getBusinessContext()
Optional. Context describing the business to advertise.
.google.ads.googleads.v14.services.SmartCampaignSuggestionInfo.BusinessContext business_context = 8 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getBusinessContext
in interfaceSmartCampaignSuggestionInfoOrBuilder
- Returns:
- The businessContext.
-
setBusinessContext
public SmartCampaignSuggestionInfo.Builder setBusinessContext(SmartCampaignSuggestionInfo.BusinessContext value)
Optional. Context describing the business to advertise.
.google.ads.googleads.v14.services.SmartCampaignSuggestionInfo.BusinessContext business_context = 8 [(.google.api.field_behavior) = OPTIONAL];
-
setBusinessContext
public SmartCampaignSuggestionInfo.Builder setBusinessContext(SmartCampaignSuggestionInfo.BusinessContext.Builder builderForValue)
Optional. Context describing the business to advertise.
.google.ads.googleads.v14.services.SmartCampaignSuggestionInfo.BusinessContext business_context = 8 [(.google.api.field_behavior) = OPTIONAL];
-
mergeBusinessContext
public SmartCampaignSuggestionInfo.Builder mergeBusinessContext(SmartCampaignSuggestionInfo.BusinessContext value)
Optional. Context describing the business to advertise.
.google.ads.googleads.v14.services.SmartCampaignSuggestionInfo.BusinessContext business_context = 8 [(.google.api.field_behavior) = OPTIONAL];
-
clearBusinessContext
public SmartCampaignSuggestionInfo.Builder clearBusinessContext()
Optional. Context describing the business to advertise.
.google.ads.googleads.v14.services.SmartCampaignSuggestionInfo.BusinessContext business_context = 8 [(.google.api.field_behavior) = OPTIONAL];
-
getBusinessContextBuilder
public SmartCampaignSuggestionInfo.BusinessContext.Builder getBusinessContextBuilder()
Optional. Context describing the business to advertise.
.google.ads.googleads.v14.services.SmartCampaignSuggestionInfo.BusinessContext business_context = 8 [(.google.api.field_behavior) = OPTIONAL];
-
getBusinessContextOrBuilder
public SmartCampaignSuggestionInfo.BusinessContextOrBuilder getBusinessContextOrBuilder()
Optional. Context describing the business to advertise.
.google.ads.googleads.v14.services.SmartCampaignSuggestionInfo.BusinessContext business_context = 8 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getBusinessContextOrBuilder
in interfaceSmartCampaignSuggestionInfoOrBuilder
-
hasBusinessProfileLocation
public boolean hasBusinessProfileLocation()
Optional. 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 = 9 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasBusinessProfileLocation
in interfaceSmartCampaignSuggestionInfoOrBuilder
- Returns:
- Whether the businessProfileLocation field is set.
-
getBusinessProfileLocation
public java.lang.String getBusinessProfileLocation()
Optional. 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 = 9 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getBusinessProfileLocation
in interfaceSmartCampaignSuggestionInfoOrBuilder
- Returns:
- The businessProfileLocation.
-
getBusinessProfileLocationBytes
public com.google.protobuf.ByteString getBusinessProfileLocationBytes()
Optional. 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 = 9 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getBusinessProfileLocationBytes
in interfaceSmartCampaignSuggestionInfoOrBuilder
- Returns:
- The bytes for businessProfileLocation.
-
setBusinessProfileLocation
public SmartCampaignSuggestionInfo.Builder setBusinessProfileLocation(java.lang.String value)
Optional. 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 = 9 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The businessProfileLocation to set.- Returns:
- This builder for chaining.
-
clearBusinessProfileLocation
public SmartCampaignSuggestionInfo.Builder clearBusinessProfileLocation()
Optional. 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 = 9 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
setBusinessProfileLocationBytes
public SmartCampaignSuggestionInfo.Builder setBusinessProfileLocationBytes(com.google.protobuf.ByteString value)
Optional. 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 = 9 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes for businessProfileLocation to set.- Returns:
- This builder for chaining.
-
hasLocationList
public boolean hasLocationList()
Optional. The targeting geo location by locations.
.google.ads.googleads.v14.services.SmartCampaignSuggestionInfo.LocationList location_list = 4 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasLocationList
in interfaceSmartCampaignSuggestionInfoOrBuilder
- Returns:
- Whether the locationList field is set.
-
getLocationList
public SmartCampaignSuggestionInfo.LocationList getLocationList()
Optional. The targeting geo location by locations.
.google.ads.googleads.v14.services.SmartCampaignSuggestionInfo.LocationList location_list = 4 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLocationList
in interfaceSmartCampaignSuggestionInfoOrBuilder
- Returns:
- The locationList.
-
setLocationList
public SmartCampaignSuggestionInfo.Builder setLocationList(SmartCampaignSuggestionInfo.LocationList value)
Optional. The targeting geo location by locations.
.google.ads.googleads.v14.services.SmartCampaignSuggestionInfo.LocationList location_list = 4 [(.google.api.field_behavior) = OPTIONAL];
-
setLocationList
public SmartCampaignSuggestionInfo.Builder setLocationList(SmartCampaignSuggestionInfo.LocationList.Builder builderForValue)
Optional. The targeting geo location by locations.
.google.ads.googleads.v14.services.SmartCampaignSuggestionInfo.LocationList location_list = 4 [(.google.api.field_behavior) = OPTIONAL];
-
mergeLocationList
public SmartCampaignSuggestionInfo.Builder mergeLocationList(SmartCampaignSuggestionInfo.LocationList value)
Optional. The targeting geo location by locations.
.google.ads.googleads.v14.services.SmartCampaignSuggestionInfo.LocationList location_list = 4 [(.google.api.field_behavior) = OPTIONAL];
-
clearLocationList
public SmartCampaignSuggestionInfo.Builder clearLocationList()
Optional. The targeting geo location by locations.
.google.ads.googleads.v14.services.SmartCampaignSuggestionInfo.LocationList location_list = 4 [(.google.api.field_behavior) = OPTIONAL];
-
getLocationListBuilder
public SmartCampaignSuggestionInfo.LocationList.Builder getLocationListBuilder()
Optional. The targeting geo location by locations.
.google.ads.googleads.v14.services.SmartCampaignSuggestionInfo.LocationList location_list = 4 [(.google.api.field_behavior) = OPTIONAL];
-
getLocationListOrBuilder
public SmartCampaignSuggestionInfo.LocationListOrBuilder getLocationListOrBuilder()
Optional. The targeting geo location by locations.
.google.ads.googleads.v14.services.SmartCampaignSuggestionInfo.LocationList location_list = 4 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLocationListOrBuilder
in interfaceSmartCampaignSuggestionInfoOrBuilder
-
hasProximity
public boolean hasProximity()
Optional. The targeting geo location by proximity.
.google.ads.googleads.v14.common.ProximityInfo proximity = 5 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasProximity
in interfaceSmartCampaignSuggestionInfoOrBuilder
- Returns:
- Whether the proximity field is set.
-
getProximity
public ProximityInfo getProximity()
Optional. The targeting geo location by proximity.
.google.ads.googleads.v14.common.ProximityInfo proximity = 5 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getProximity
in interfaceSmartCampaignSuggestionInfoOrBuilder
- Returns:
- The proximity.
-
setProximity
public SmartCampaignSuggestionInfo.Builder setProximity(ProximityInfo value)
Optional. The targeting geo location by proximity.
.google.ads.googleads.v14.common.ProximityInfo proximity = 5 [(.google.api.field_behavior) = OPTIONAL];
-
setProximity
public SmartCampaignSuggestionInfo.Builder setProximity(ProximityInfo.Builder builderForValue)
Optional. The targeting geo location by proximity.
.google.ads.googleads.v14.common.ProximityInfo proximity = 5 [(.google.api.field_behavior) = OPTIONAL];
-
mergeProximity
public SmartCampaignSuggestionInfo.Builder mergeProximity(ProximityInfo value)
Optional. The targeting geo location by proximity.
.google.ads.googleads.v14.common.ProximityInfo proximity = 5 [(.google.api.field_behavior) = OPTIONAL];
-
clearProximity
public SmartCampaignSuggestionInfo.Builder clearProximity()
Optional. The targeting geo location by proximity.
.google.ads.googleads.v14.common.ProximityInfo proximity = 5 [(.google.api.field_behavior) = OPTIONAL];
-
getProximityBuilder
public ProximityInfo.Builder getProximityBuilder()
Optional. The targeting geo location by proximity.
.google.ads.googleads.v14.common.ProximityInfo proximity = 5 [(.google.api.field_behavior) = OPTIONAL];
-
getProximityOrBuilder
public ProximityInfoOrBuilder getProximityOrBuilder()
Optional. The targeting geo location by proximity.
.google.ads.googleads.v14.common.ProximityInfo proximity = 5 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getProximityOrBuilder
in interfaceSmartCampaignSuggestionInfoOrBuilder
-
setUnknownFields
public final SmartCampaignSuggestionInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSuggestionInfo.Builder>
-
mergeUnknownFields
public final SmartCampaignSuggestionInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSuggestionInfo.Builder>
-
-