Class CallAdInfo
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.common.CallAdInfo
- All Implemented Interfaces:
CallAdInfoOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class CallAdInfo
extends com.google.protobuf.GeneratedMessageV3
implements CallAdInfoOrBuilder
A call ad.Protobuf type
google.ads.googleads.v18.common.CallAdInfo- See Also:
-
Nested Class Summary
Nested ClassesNested 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 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 TypeMethodDescriptionbooleanThe business name in the ad.com.google.protobuf.ByteStringThe business name in the ad.booleanWhether to enable call tracking for the creative.The conversion action to attribute a call conversion to.com.google.protobuf.ByteStringThe conversion action to attribute a call conversion to.The call conversion behavior of this call ad.intThe call conversion behavior of this call ad.The country code in the ad.com.google.protobuf.ByteStringThe country code in the ad.static CallAdInfoThe first line of the ad's description.com.google.protobuf.ByteStringThe first line of the ad's description.The second line of the ad's description.com.google.protobuf.ByteStringThe second line of the ad's description.static final com.google.protobuf.Descriptors.DescriptorbooleanWhether to disable call conversion for the creative.First headline in the ad.com.google.protobuf.ByteStringFirst headline in the ad.Second headline in the ad.com.google.protobuf.ByteStringSecond headline in the ad.com.google.protobuf.Parser<CallAdInfo>getPath1()First part of text that can be appended to the URL in the ad.com.google.protobuf.ByteStringFirst part of text that can be appended to the URL in the ad.getPath2()Second part of text that can be appended to the URL in the ad.com.google.protobuf.ByteStringSecond part of text that can be appended to the URL in the ad.The phone number in the ad.com.google.protobuf.ByteStringThe phone number in the ad.The URL to be used for phone number verification.com.google.protobuf.ByteStringThe URL to be used for phone number verification.intinthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic CallAdInfo.Builderstatic CallAdInfo.BuildernewBuilder(CallAdInfo prototype) protected CallAdInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static CallAdInfoparseDelimitedFrom(InputStream input) static CallAdInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CallAdInfoparseFrom(byte[] data) static CallAdInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CallAdInfoparseFrom(com.google.protobuf.ByteString data) static CallAdInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CallAdInfoparseFrom(com.google.protobuf.CodedInputStream input) static CallAdInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CallAdInfoparseFrom(InputStream input) static CallAdInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CallAdInfoparseFrom(ByteBuffer data) static CallAdInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<CallAdInfo>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
-
COUNTRY_CODE_FIELD_NUMBER
public static final int COUNTRY_CODE_FIELD_NUMBER- See Also:
-
PHONE_NUMBER_FIELD_NUMBER
public static final int PHONE_NUMBER_FIELD_NUMBER- See Also:
-
BUSINESS_NAME_FIELD_NUMBER
public static final int BUSINESS_NAME_FIELD_NUMBER- See Also:
-
HEADLINE1_FIELD_NUMBER
public static final int HEADLINE1_FIELD_NUMBER- See Also:
-
HEADLINE2_FIELD_NUMBER
public static final int HEADLINE2_FIELD_NUMBER- See Also:
-
DESCRIPTION1_FIELD_NUMBER
public static final int DESCRIPTION1_FIELD_NUMBER- See Also:
-
DESCRIPTION2_FIELD_NUMBER
public static final int DESCRIPTION2_FIELD_NUMBER- See Also:
-
CALL_TRACKED_FIELD_NUMBER
public static final int CALL_TRACKED_FIELD_NUMBER- See Also:
-
DISABLE_CALL_CONVERSION_FIELD_NUMBER
public static final int DISABLE_CALL_CONVERSION_FIELD_NUMBER- See Also:
-
PHONE_NUMBER_VERIFICATION_URL_FIELD_NUMBER
public static final int PHONE_NUMBER_VERIFICATION_URL_FIELD_NUMBER- See Also:
-
CONVERSION_ACTION_FIELD_NUMBER
public static final int CONVERSION_ACTION_FIELD_NUMBER- See Also:
-
CONVERSION_REPORTING_STATE_FIELD_NUMBER
public static final int CONVERSION_REPORTING_STATE_FIELD_NUMBER- See Also:
-
PATH1_FIELD_NUMBER
public static final int PATH1_FIELD_NUMBER- See Also:
-
PATH2_FIELD_NUMBER
public static final int PATH2_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
-
getCountryCode
The country code in the ad.
string country_code = 1;- Specified by:
getCountryCodein interfaceCallAdInfoOrBuilder- Returns:
- The countryCode.
-
getCountryCodeBytes
public com.google.protobuf.ByteString getCountryCodeBytes()The country code in the ad.
string country_code = 1;- Specified by:
getCountryCodeBytesin interfaceCallAdInfoOrBuilder- Returns:
- The bytes for countryCode.
-
getPhoneNumber
The phone number in the ad.
string phone_number = 2;- Specified by:
getPhoneNumberin interfaceCallAdInfoOrBuilder- Returns:
- The phoneNumber.
-
getPhoneNumberBytes
public com.google.protobuf.ByteString getPhoneNumberBytes()The phone number in the ad.
string phone_number = 2;- Specified by:
getPhoneNumberBytesin interfaceCallAdInfoOrBuilder- Returns:
- The bytes for phoneNumber.
-
getBusinessName
The business name in the ad.
string business_name = 3;- Specified by:
getBusinessNamein interfaceCallAdInfoOrBuilder- Returns:
- The businessName.
-
getBusinessNameBytes
public com.google.protobuf.ByteString getBusinessNameBytes()The business name in the ad.
string business_name = 3;- Specified by:
getBusinessNameBytesin interfaceCallAdInfoOrBuilder- Returns:
- The bytes for businessName.
-
getHeadline1
First headline in the ad.
string headline1 = 11;- Specified by:
getHeadline1in interfaceCallAdInfoOrBuilder- Returns:
- The headline1.
-
getHeadline1Bytes
public com.google.protobuf.ByteString getHeadline1Bytes()First headline in the ad.
string headline1 = 11;- Specified by:
getHeadline1Bytesin interfaceCallAdInfoOrBuilder- Returns:
- The bytes for headline1.
-
getHeadline2
Second headline in the ad.
string headline2 = 12;- Specified by:
getHeadline2in interfaceCallAdInfoOrBuilder- Returns:
- The headline2.
-
getHeadline2Bytes
public com.google.protobuf.ByteString getHeadline2Bytes()Second headline in the ad.
string headline2 = 12;- Specified by:
getHeadline2Bytesin interfaceCallAdInfoOrBuilder- Returns:
- The bytes for headline2.
-
getDescription1
The first line of the ad's description.
string description1 = 4;- Specified by:
getDescription1in interfaceCallAdInfoOrBuilder- Returns:
- The description1.
-
getDescription1Bytes
public com.google.protobuf.ByteString getDescription1Bytes()The first line of the ad's description.
string description1 = 4;- Specified by:
getDescription1Bytesin interfaceCallAdInfoOrBuilder- Returns:
- The bytes for description1.
-
getDescription2
The second line of the ad's description.
string description2 = 5;- Specified by:
getDescription2in interfaceCallAdInfoOrBuilder- Returns:
- The description2.
-
getDescription2Bytes
public com.google.protobuf.ByteString getDescription2Bytes()The second line of the ad's description.
string description2 = 5;- Specified by:
getDescription2Bytesin interfaceCallAdInfoOrBuilder- Returns:
- The bytes for description2.
-
getCallTracked
public boolean getCallTracked()Whether to enable call tracking for the creative. Enabling call tracking also enables call conversions.
bool call_tracked = 6;- Specified by:
getCallTrackedin interfaceCallAdInfoOrBuilder- Returns:
- The callTracked.
-
getDisableCallConversion
public boolean getDisableCallConversion()Whether to disable call conversion for the creative. If set to `true`, disables call conversions even when `call_tracked` is `true`. If `call_tracked` is `false`, this field is ignored.
bool disable_call_conversion = 7;- Specified by:
getDisableCallConversionin interfaceCallAdInfoOrBuilder- Returns:
- The disableCallConversion.
-
getPhoneNumberVerificationUrl
The URL to be used for phone number verification.
string phone_number_verification_url = 8;- Specified by:
getPhoneNumberVerificationUrlin interfaceCallAdInfoOrBuilder- Returns:
- The phoneNumberVerificationUrl.
-
getPhoneNumberVerificationUrlBytes
public com.google.protobuf.ByteString getPhoneNumberVerificationUrlBytes()The URL to be used for phone number verification.
string phone_number_verification_url = 8;- Specified by:
getPhoneNumberVerificationUrlBytesin interfaceCallAdInfoOrBuilder- Returns:
- The bytes for phoneNumberVerificationUrl.
-
getConversionAction
The conversion action to attribute a call conversion to. If not set a default conversion action is used. This field only has effect if `call_tracked` is set to `true`. Otherwise this field is ignored.
string conversion_action = 9;- Specified by:
getConversionActionin interfaceCallAdInfoOrBuilder- Returns:
- The conversionAction.
-
getConversionActionBytes
public com.google.protobuf.ByteString getConversionActionBytes()The conversion action to attribute a call conversion to. If not set a default conversion action is used. This field only has effect if `call_tracked` is set to `true`. Otherwise this field is ignored.
string conversion_action = 9;- Specified by:
getConversionActionBytesin interfaceCallAdInfoOrBuilder- Returns:
- The bytes for conversionAction.
-
getConversionReportingStateValue
public int getConversionReportingStateValue()The call conversion behavior of this call ad. It can use its own call conversion setting, inherit the account level setting, or be disabled.
.google.ads.googleads.v18.enums.CallConversionReportingStateEnum.CallConversionReportingState conversion_reporting_state = 10;- Specified by:
getConversionReportingStateValuein interfaceCallAdInfoOrBuilder- Returns:
- The enum numeric value on the wire for conversionReportingState.
-
getConversionReportingState
The call conversion behavior of this call ad. It can use its own call conversion setting, inherit the account level setting, or be disabled.
.google.ads.googleads.v18.enums.CallConversionReportingStateEnum.CallConversionReportingState conversion_reporting_state = 10;- Specified by:
getConversionReportingStatein interfaceCallAdInfoOrBuilder- Returns:
- The conversionReportingState.
-
getPath1
First part of text that can be appended to the URL in the ad. Optional.
string path1 = 13;- Specified by:
getPath1in interfaceCallAdInfoOrBuilder- Returns:
- The path1.
-
getPath1Bytes
public com.google.protobuf.ByteString getPath1Bytes()First part of text that can be appended to the URL in the ad. Optional.
string path1 = 13;- Specified by:
getPath1Bytesin interfaceCallAdInfoOrBuilder- Returns:
- The bytes for path1.
-
getPath2
Second part of text that can be appended to the URL in the ad. This field can only be set when `path1` is also set. Optional.
string path2 = 14;- Specified by:
getPath2in interfaceCallAdInfoOrBuilder- Returns:
- The path2.
-
getPath2Bytes
public com.google.protobuf.ByteString getPath2Bytes()Second part of text that can be appended to the URL in the ad. This field can only be set when `path1` is also set. Optional.
string path2 = 14;- Specified by:
getPath2Bytesin interfaceCallAdInfoOrBuilder- Returns:
- The bytes for path2.
-
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 CallAdInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CallAdInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CallAdInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CallAdInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CallAdInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CallAdInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static CallAdInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static CallAdInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static CallAdInfo 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 CallAdInfo.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
-