Enum Class PaymentModeEnum.PaymentMode
java.lang.Object
java.lang.Enum<PaymentModeEnum.PaymentMode>
com.google.ads.googleads.v18.enums.PaymentModeEnum.PaymentMode
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<PaymentModeEnum.PaymentMode>,Constable
- Enclosing class:
- PaymentModeEnum
public static enum PaymentModeEnum.PaymentMode
extends Enum<PaymentModeEnum.PaymentMode>
implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible payment modes.Protobuf enum
google.ads.googleads.v18.enums.PaymentModeEnum.PaymentMode-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPay per interaction.Pay per conversion value.Pay per conversion.Pay per guest stay value.Used for return value only.Not specified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intPay per interaction.static final intPay per conversion value.static final intPay per conversion.static final intPay per guest stay value.static final intUsed for return value only.static final intNot specified. -
Method Summary
Modifier and TypeMethodDescriptionstatic PaymentModeEnum.PaymentModeforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<PaymentModeEnum.PaymentMode>static PaymentModeEnum.PaymentModevalueOf(int value) Deprecated.static PaymentModeEnum.PaymentModevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static PaymentModeEnum.PaymentModeReturns the enum constant of this class with the specified name.static PaymentModeEnum.PaymentMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNSPECIFIED
Not specified.
UNSPECIFIED = 0; -
UNKNOWN
Used for return value only. Represents value unknown in this version.
UNKNOWN = 1; -
CLICKS
Pay per interaction.
CLICKS = 4; -
CONVERSION_VALUE
Pay per conversion value. This mode is only supported by campaigns with AdvertisingChannelType.HOTEL, BiddingStrategyType.COMMISSION, and BudgetType.STANDARD.
CONVERSION_VALUE = 5; -
CONVERSIONS
Pay per conversion. This mode is only supported by campaigns with AdvertisingChannelType.DISPLAY (excluding AdvertisingChannelSubType.DISPLAY_GMAIL), BiddingStrategyType.TARGET_CPA, and BudgetType.FIXED_CPA. The customer must also be eligible for this mode. See Customer.eligibility_failure_reasons for details.
CONVERSIONS = 6; -
GUEST_STAY
Pay per guest stay value. This mode is only supported by campaigns with AdvertisingChannelType.HOTEL, BiddingStrategyType.COMMISSION, and BudgetType.STANDARD.
GUEST_STAY = 7; -
UNRECOGNIZED
-
-
Field Details
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUENot specified.
UNSPECIFIED = 0;- See Also:
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEUsed for return value only. Represents value unknown in this version.
UNKNOWN = 1;- See Also:
-
CLICKS_VALUE
public static final int CLICKS_VALUEPay per interaction.
CLICKS = 4;- See Also:
-
CONVERSION_VALUE_VALUE
public static final int CONVERSION_VALUE_VALUEPay per conversion value. This mode is only supported by campaigns with AdvertisingChannelType.HOTEL, BiddingStrategyType.COMMISSION, and BudgetType.STANDARD.
CONVERSION_VALUE = 5;- See Also:
-
CONVERSIONS_VALUE
public static final int CONVERSIONS_VALUEPay per conversion. This mode is only supported by campaigns with AdvertisingChannelType.DISPLAY (excluding AdvertisingChannelSubType.DISPLAY_GMAIL), BiddingStrategyType.TARGET_CPA, and BudgetType.FIXED_CPA. The customer must also be eligible for this mode. See Customer.eligibility_failure_reasons for details.
CONVERSIONS = 6;- See Also:
-
GUEST_STAY_VALUE
public static final int GUEST_STAY_VALUEPay per guest stay value. This mode is only supported by campaigns with AdvertisingChannelType.HOTEL, BiddingStrategyType.COMMISSION, and BudgetType.STANDARD.
GUEST_STAY = 7;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<PaymentModeEnum.PaymentMode> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static PaymentModeEnum.PaymentMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-