Google Ads Ad Manager V1 Client - Class TimeUnit (0.1.0)

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

Unit of time for the frequency cap.

Protobuf type google.ads.admanager.v1.TimeUnitEnum.TimeUnit

Namespace

Google \ Ads \ AdManager \ V1 \ TimeUnitEnum

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

TIME_UNIT_UNSPECIFIED

Value: 0

Default value. This value is unused.

Generated from protobuf enum TIME_UNIT_UNSPECIFIED = 0;

MINUTE

Value: 1

Minute

Generated from protobuf enum MINUTE = 1;

HOUR

Value: 2

Hour

Generated from protobuf enum HOUR = 2;

DAY

Value: 3

Day

Generated from protobuf enum DAY = 3;

WEEK

Value: 4

Week

Generated from protobuf enum WEEK = 4;

MONTH

Value: 5

Month

Generated from protobuf enum MONTH = 5;

LIFETIME

Value: 6

Lifetime

Generated from protobuf enum LIFETIME = 6;

POD

Value: 7

Per pod of ads in a video stream. Only valid for entities in a VIDEO_PLAYER environment.

Generated from protobuf enum POD = 7;

STREAM

Value: 8

Per video stream. Only valid for entities in a VIDEO_PLAYER environment.

Generated from protobuf enum STREAM = 8;