Interface CallAdInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CallAdInfo,CallAdInfo.Builder
public interface CallAdInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe 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.The 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.booleanWhether 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.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.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getCountryCode
String getCountryCode()The country code in the ad.
string country_code = 1;- Returns:
- The countryCode.
-
getCountryCodeBytes
com.google.protobuf.ByteString getCountryCodeBytes()The country code in the ad.
string country_code = 1;- Returns:
- The bytes for countryCode.
-
getPhoneNumber
String getPhoneNumber()The phone number in the ad.
string phone_number = 2;- Returns:
- The phoneNumber.
-
getPhoneNumberBytes
com.google.protobuf.ByteString getPhoneNumberBytes()The phone number in the ad.
string phone_number = 2;- Returns:
- The bytes for phoneNumber.
-
getBusinessName
String getBusinessName()The business name in the ad.
string business_name = 3;- Returns:
- The businessName.
-
getBusinessNameBytes
com.google.protobuf.ByteString getBusinessNameBytes()The business name in the ad.
string business_name = 3;- Returns:
- The bytes for businessName.
-
getHeadline1
String getHeadline1()First headline in the ad.
string headline1 = 11;- Returns:
- The headline1.
-
getHeadline1Bytes
com.google.protobuf.ByteString getHeadline1Bytes()First headline in the ad.
string headline1 = 11;- Returns:
- The bytes for headline1.
-
getHeadline2
String getHeadline2()Second headline in the ad.
string headline2 = 12;- Returns:
- The headline2.
-
getHeadline2Bytes
com.google.protobuf.ByteString getHeadline2Bytes()Second headline in the ad.
string headline2 = 12;- Returns:
- The bytes for headline2.
-
getDescription1
String getDescription1()The first line of the ad's description.
string description1 = 4;- Returns:
- The description1.
-
getDescription1Bytes
com.google.protobuf.ByteString getDescription1Bytes()The first line of the ad's description.
string description1 = 4;- Returns:
- The bytes for description1.
-
getDescription2
String getDescription2()The second line of the ad's description.
string description2 = 5;- Returns:
- The description2.
-
getDescription2Bytes
com.google.protobuf.ByteString getDescription2Bytes()The second line of the ad's description.
string description2 = 5;- Returns:
- The bytes for description2.
-
getCallTracked
boolean getCallTracked()Whether to enable call tracking for the creative. Enabling call tracking also enables call conversions.
bool call_tracked = 6;- Returns:
- The callTracked.
-
getDisableCallConversion
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;- Returns:
- The disableCallConversion.
-
getPhoneNumberVerificationUrl
String getPhoneNumberVerificationUrl()The URL to be used for phone number verification.
string phone_number_verification_url = 8;- Returns:
- The phoneNumberVerificationUrl.
-
getPhoneNumberVerificationUrlBytes
com.google.protobuf.ByteString getPhoneNumberVerificationUrlBytes()The URL to be used for phone number verification.
string phone_number_verification_url = 8;- Returns:
- The bytes for phoneNumberVerificationUrl.
-
getConversionAction
String 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;- Returns:
- The conversionAction.
-
getConversionActionBytes
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;- Returns:
- The bytes for conversionAction.
-
getConversionReportingStateValue
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;- Returns:
- The enum numeric value on the wire for conversionReportingState.
-
getConversionReportingState
CallConversionReportingStateEnum.CallConversionReportingState 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;- Returns:
- The conversionReportingState.
-
getPath1
String getPath1()First part of text that can be appended to the URL in the ad. Optional.
string path1 = 13;- Returns:
- The path1.
-
getPath1Bytes
com.google.protobuf.ByteString getPath1Bytes()First part of text that can be appended to the URL in the ad. Optional.
string path1 = 13;- Returns:
- The bytes for path1.
-
getPath2
String 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;- Returns:
- The path2.
-
getPath2Bytes
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;- Returns:
- The bytes for path2.
-