Class SmartCampaignSetting
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.resources.SmartCampaignSetting
- All Implemented Interfaces:
SmartCampaignSettingOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class SmartCampaignSetting
extends com.google.protobuf.GeneratedMessageV3
implements SmartCampaignSettingOrBuilder
Settings for configuring Smart campaigns.Protobuf type
google.ads.googleads.v18.resources.SmartCampaignSetting- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classSettings for configuring a business profile optimized for ads as this campaign's landing page.static interfacestatic final classSettings for configuring Smart campaigns.static enumstatic enumstatic final classPhone number and country code in smart campaign settings.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanSettings 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.static SmartCampaignSettingstatic final com.google.protobuf.Descriptors.DescriptorThe user-provided landing page URL for this Campaign.com.google.protobuf.ByteStringThe user-provided landing page URL for this Campaign.com.google.protobuf.Parser<SmartCampaignSetting>Phone number and country code.Phone number and country code.Immutable.com.google.protobuf.ByteStringImmutable.intbooleanSettings 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.inthashCode()booleanPhone number and country code.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic SmartCampaignSetting.Builderstatic SmartCampaignSetting.BuildernewBuilder(SmartCampaignSetting prototype) protected SmartCampaignSetting.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static SmartCampaignSettingparseDelimitedFrom(InputStream input) static SmartCampaignSettingparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SmartCampaignSettingparseFrom(byte[] data) static SmartCampaignSettingparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SmartCampaignSettingparseFrom(com.google.protobuf.ByteString data) static SmartCampaignSettingparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SmartCampaignSettingparseFrom(com.google.protobuf.CodedInputStream input) static SmartCampaignSettingparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SmartCampaignSettingparseFrom(InputStream input) static SmartCampaignSettingparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SmartCampaignSettingparseFrom(ByteBuffer data) static SmartCampaignSettingparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<SmartCampaignSetting>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
RESOURCE_NAME_FIELD_NUMBER
public static final int RESOURCE_NAME_FIELD_NUMBER- See Also:
-
CAMPAIGN_FIELD_NUMBER
public static final int CAMPAIGN_FIELD_NUMBER- See Also:
-
PHONE_NUMBER_FIELD_NUMBER
public static final int PHONE_NUMBER_FIELD_NUMBER- See Also:
-
ADVERTISING_LANGUAGE_CODE_FIELD_NUMBER
public static final int ADVERTISING_LANGUAGE_CODE_FIELD_NUMBER- See Also:
-
FINAL_URL_FIELD_NUMBER
public static final int FINAL_URL_FIELD_NUMBER- See Also:
-
AD_OPTIMIZED_BUSINESS_PROFILE_SETTING_FIELD_NUMBER
public static final int AD_OPTIMIZED_BUSINESS_PROFILE_SETTING_FIELD_NUMBER- See Also:
-
BUSINESS_NAME_FIELD_NUMBER
public static final int BUSINESS_NAME_FIELD_NUMBER- See Also:
-
BUSINESS_PROFILE_LOCATION_FIELD_NUMBER
public static final int BUSINESS_PROFILE_LOCATION_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
getLandingPageCase
- Specified by:
getLandingPageCasein interfaceSmartCampaignSettingOrBuilder
-
getBusinessSettingCase
- Specified by:
getBusinessSettingCasein interfaceSmartCampaignSettingOrBuilder
-
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) = { ... }- Specified by:
getResourceNamein interfaceSmartCampaignSettingOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public 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) = { ... }- Specified by:
getResourceNameBytesin interfaceSmartCampaignSettingOrBuilder- Returns:
- The bytes for resourceName.
-
getCampaign
Output only. The campaign to which these settings apply.
string campaign = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getCampaignin interfaceSmartCampaignSettingOrBuilder- Returns:
- The campaign.
-
getCampaignBytes
public 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) = { ... }- Specified by:
getCampaignBytesin interfaceSmartCampaignSettingOrBuilder- Returns:
- The bytes for campaign.
-
hasPhoneNumber
public boolean hasPhoneNumber()Phone number and country code.
.google.ads.googleads.v18.resources.SmartCampaignSetting.PhoneNumber phone_number = 3;- Specified by:
hasPhoneNumberin interfaceSmartCampaignSettingOrBuilder- Returns:
- Whether the phoneNumber field is set.
-
getPhoneNumber
Phone number and country code.
.google.ads.googleads.v18.resources.SmartCampaignSetting.PhoneNumber phone_number = 3;- Specified by:
getPhoneNumberin interfaceSmartCampaignSettingOrBuilder- Returns:
- The phoneNumber.
-
getPhoneNumberOrBuilder
Phone number and country code.
.google.ads.googleads.v18.resources.SmartCampaignSetting.PhoneNumber phone_number = 3;- Specified by:
getPhoneNumberOrBuilderin interfaceSmartCampaignSettingOrBuilder
-
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;- Specified by:
getAdvertisingLanguageCodein interfaceSmartCampaignSettingOrBuilder- Returns:
- The advertisingLanguageCode.
-
getAdvertisingLanguageCodeBytes
public 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;- Specified by:
getAdvertisingLanguageCodeBytesin interfaceSmartCampaignSettingOrBuilder- Returns:
- The bytes for advertisingLanguageCode.
-
hasFinalUrl
public boolean hasFinalUrl()The user-provided landing page URL for this Campaign.
string final_url = 8;- Specified by:
hasFinalUrlin interfaceSmartCampaignSettingOrBuilder- Returns:
- Whether the finalUrl field is set.
-
getFinalUrl
The user-provided landing page URL for this Campaign.
string final_url = 8;- Specified by:
getFinalUrlin interfaceSmartCampaignSettingOrBuilder- Returns:
- The finalUrl.
-
getFinalUrlBytes
public com.google.protobuf.ByteString getFinalUrlBytes()The user-provided landing page URL for this Campaign.
string final_url = 8;- Specified by:
getFinalUrlBytesin interfaceSmartCampaignSettingOrBuilder- Returns:
- The bytes for finalUrl.
-
hasAdOptimizedBusinessProfileSetting
public 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;- Specified by:
hasAdOptimizedBusinessProfileSettingin interfaceSmartCampaignSettingOrBuilder- Returns:
- Whether the adOptimizedBusinessProfileSetting field is set.
-
getAdOptimizedBusinessProfileSetting
public 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;- Specified by:
getAdOptimizedBusinessProfileSettingin interfaceSmartCampaignSettingOrBuilder- Returns:
- The adOptimizedBusinessProfileSetting.
-
getAdOptimizedBusinessProfileSettingOrBuilder
public 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;- Specified by:
getAdOptimizedBusinessProfileSettingOrBuilderin interfaceSmartCampaignSettingOrBuilder
-
hasBusinessName
public boolean hasBusinessName()The name of the business.
string business_name = 5;- Specified by:
hasBusinessNamein interfaceSmartCampaignSettingOrBuilder- Returns:
- Whether the businessName field is set.
-
getBusinessName
The name of the business.
string business_name = 5;- Specified by:
getBusinessNamein interfaceSmartCampaignSettingOrBuilder- Returns:
- The businessName.
-
getBusinessNameBytes
public com.google.protobuf.ByteString getBusinessNameBytes()The name of the business.
string business_name = 5;- Specified by:
getBusinessNameBytesin interfaceSmartCampaignSettingOrBuilder- Returns:
- The bytes for businessName.
-
hasBusinessProfileLocation
public 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;- Specified by:
hasBusinessProfileLocationin interfaceSmartCampaignSettingOrBuilder- Returns:
- Whether the businessProfileLocation field is set.
-
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;- Specified by:
getBusinessProfileLocationin interfaceSmartCampaignSettingOrBuilder- Returns:
- The businessProfileLocation.
-
getBusinessProfileLocationBytes
public 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;- Specified by:
getBusinessProfileLocationBytesin interfaceSmartCampaignSettingOrBuilder- Returns:
- The bytes for businessProfileLocation.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static SmartCampaignSetting parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SmartCampaignSetting parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SmartCampaignSetting parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SmartCampaignSetting parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SmartCampaignSetting parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SmartCampaignSetting parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static SmartCampaignSetting parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static SmartCampaignSetting parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static SmartCampaignSetting parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static SmartCampaignSetting parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SmartCampaignSetting.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-