Google Ads Ad Manager V1 Client - Class DiscountType (0.14.1)

Reference documentation and code samples for the Google Ads Ad Manager V1 Client class DiscountType.

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

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

Namespace

Google \ Ads \ AdManager \ V1 \ DiscountTypeEnum

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

DISCOUNT_TYPE_UNSPECIFIED

Value: 0

No value specified

Generated from protobuf enum DISCOUNT_TYPE_UNSPECIFIED = 0;

ABSOLUTE_VALUE

Value: 1

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

Generated from protobuf enum ABSOLUTE_VALUE = 1;

PERCENTAGE

Value: 2

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

Generated from protobuf enum PERCENTAGE = 2;