Enum DiscountTypeEnum.DiscountType (0.54.0)

public enum DiscountTypeEnum.DiscountType extends Enum<DiscountTypeEnum.DiscountType> implements ProtocolMessageEnum

Describes the possible discount types on the cost of booking a line item.

Protobuf enum google.ads.admanager.v1.DiscountTypeEnum.DiscountType

Implements

ProtocolMessageEnum

Static Fields

Name Description
ABSOLUTE_VALUE

An absolute value will be discounted from the line item's cost.

ABSOLUTE_VALUE = 1;

ABSOLUTE_VALUE_VALUE

An absolute value will be discounted from the line item's cost.

ABSOLUTE_VALUE = 1;

DISCOUNT_TYPE_UNSPECIFIED

No value specified

DISCOUNT_TYPE_UNSPECIFIED = 0;

DISCOUNT_TYPE_UNSPECIFIED_VALUE

No value specified

DISCOUNT_TYPE_UNSPECIFIED = 0;

PERCENTAGE

A percentage of the cost will be discounted for booking the line item.

PERCENTAGE = 2;

PERCENTAGE_VALUE

A percentage of the cost will be discounted for booking the line item.

PERCENTAGE = 2;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()