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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSuggestionInfo.Builder>
-
clear
public SmartCampaignSuggestionInfo.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSuggestionInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSuggestionInfo.Builder>
-
getDefaultInstanceForType
public SmartCampaignSuggestionInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public SmartCampaignSuggestionInfo build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SmartCampaignSuggestionInfo buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public SmartCampaignSuggestionInfo.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSuggestionInfo.Builder>
-
setField
public SmartCampaignSuggestionInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSuggestionInfo.Builder>
-
clearField
public SmartCampaignSuggestionInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSuggestionInfo.Builder>
-
clearOneof
public SmartCampaignSuggestionInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSuggestionInfo.Builder>
-
addRepeatedField
public SmartCampaignSuggestionInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSuggestionInfo.Builder>
-
mergeFrom
public SmartCampaignSuggestionInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SmartCampaignSuggestionInfo.Builder>
-
mergeFrom
public SmartCampaignSuggestionInfo.Builder mergeFrom(SmartCampaignSuggestionInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SmartCampaignSuggestionInfo.Builder>- Throws:
java.io.IOException
-
getBusinessSettingCase
public SmartCampaignSuggestionInfo.BusinessSettingCase getBusinessSettingCase()
- Specified by:
getBusinessSettingCasein interfaceSmartCampaignSuggestionInfoOrBuilder
-
clearBusinessSetting
public SmartCampaignSuggestionInfo.Builder clearBusinessSetting()
-
getGeoTargetCase
public SmartCampaignSuggestionInfo.GeoTargetCase getGeoTargetCase()
- Specified by:
getGeoTargetCasein 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:
getFinalUrlin 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:
getFinalUrlBytesin 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:
getLanguageCodein 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:
getLanguageCodeBytesin 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:
getAdSchedulesListin 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:
getAdSchedulesCountin 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:
getAdSchedulesin 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:
getAdSchedulesOrBuilderin 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:
getAdSchedulesOrBuilderListin 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:
getKeywordThemesListin 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:
getKeywordThemesCountin 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:
getKeywordThemesin 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:
getKeywordThemesOrBuilderin 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:
getKeywordThemesOrBuilderListin 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:
hasBusinessContextin 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:
getBusinessContextin 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:
getBusinessContextOrBuilderin 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:
hasBusinessProfileLocationin 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:
getBusinessProfileLocationin 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:
getBusinessProfileLocationBytesin 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:
hasLocationListin 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:
getLocationListin 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:
getLocationListOrBuilderin 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:
hasProximityin 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:
getProximityin 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:
getProximityOrBuilderin interfaceSmartCampaignSuggestionInfoOrBuilder
-
setUnknownFields
public final SmartCampaignSuggestionInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSuggestionInfo.Builder>
-
mergeUnknownFields
public final SmartCampaignSuggestionInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSuggestionInfo.Builder>
-
-