AdWordsApp.​FrequencyCapBuilder

Builder for FrequencyCap objects.

Methods:

MemberTypeDescription
build void Builds the frequency cap.
withEventType AdWordsApp.FrequencyCapBuilder Set the event type to the new frequency cap.
withLevel AdWordsApp.FrequencyCapBuilder Set the frequency cap level to the new frequency cap.
withLimit AdWordsApp.FrequencyCapBuilder Set the cap number to the new frequency cap.
withTimeUnit AdWordsApp.FrequencyCapBuilder Set the time unit to the new frequency cap.

build()

Builds the frequency cap.

Returns nothing.

withEventType(eventType)

Set the event type to the new frequency cap.

Arguments:

NameTypeDescription
eventType String The type of event that the cap applies to. The value can be either IMPRESSION or VIDEO_VIEW.

Return values:

TypeDescription
AdWordsApp.FrequencyCapBuilder The frequency cap builder with the specified event type.

withLevel(level)

Set the frequency cap level to the new frequency cap.

Arguments:

NameTypeDescription
level String The level on which the cap is to be applied. Possible return values: CAMPAIGN, AD_GROUP, AD_GROUP_CREATIVE.

Return values:

TypeDescription
AdWordsApp.FrequencyCapBuilder The frequency cap builder with the specified level.

withLimit(limit)

Set the cap number to the new frequency cap.

Arguments:

NameTypeDescription
limit String Number of time units the cap lasts.

Return values:

TypeDescription
AdWordsApp.FrequencyCapBuilder The frequency cap builder with the specified cap number.

withTimeUnit(timeUnit)

Set the time unit to the new frequency cap.

Arguments:

NameTypeDescription
timeUnit String Unit of time the cap is defined at. The value can be DAY, WEEK or MONTH.

Return values:

TypeDescription
AdWordsApp.FrequencyCapBuilder The frequency cap builder with the specified time unit.

Feedback geben zu...

AdWords Scripts
AdWords Scripts