AdsApp.​VideoCampaignTargeting

  • The provided content explains how to access targeting criteria for video campaigns using AdsApp.videoCampaignTargeting().

  • You can specialize the selector to return specific criteria such as ad schedules, excluded content labels, excluded locations, languages, platforms, targeted locations, and targeted proximities.

  • Each specialization method returns a selector for the corresponding targeting criteria type.

Access to the targeting criteria for video campaigns.

For example, to select the ad schedules for all video campaigns:

var adSchedules = AdsApp.videoCampaignTargeting().adSchedules().get();
while (adSchedules.hasNext()) {
  var adSchedule = adSchedules.next();
}

Methods:

MemberTypeDescription
adSchedules() AdsApp.AdScheduleSelector Specializes this selector to return AdSchedule criteria.
excludedContentLabels() AdsApp.ExcludedContentLabelSelector Specializes this selector to return ExcludedContentLabel criteria.
excludedLocations() AdsApp.ExcludedLocationSelector Specializes this selector to return ExcludedLocation criteria.
languages() AdsApp.LanguageSelector Specializes this selector to return Language criteria.
platforms() AdsApp.PlatformSelector Specializes this selector to return Platform criteria.
targetedLocations() AdsApp.TargetedLocationSelector Specializes this selector to return TargetedLocation criteria.
targetedProximities() AdsApp.TargetedProximitySelector Specializes this selector to return TargetedProximity criteria.

adSchedules()

Specializes this selector to return AdSchedule criteria.

Return values:

TypeDescription
AdsApp.AdScheduleSelector A selector for AdSchedule criteria.

excludedContentLabels()

Specializes this selector to return ExcludedContentLabel criteria.

Return values:

TypeDescription
AdsApp.ExcludedContentLabelSelector A selector for ExcludedContentLabel criteria.

excludedLocations()

Specializes this selector to return ExcludedLocation criteria.

Return values:

TypeDescription
AdsApp.ExcludedLocationSelector A selector for ExcludedLocation criteria.

languages()

Specializes this selector to return Language criteria.

Return values:

TypeDescription
AdsApp.LanguageSelector A selector for Language criteria.

platforms()

Specializes this selector to return Platform criteria.

Return values:

TypeDescription
AdsApp.PlatformSelector A selector for Platform criteria.

targetedLocations()

Specializes this selector to return TargetedLocation criteria.

Return values:

TypeDescription
AdsApp.TargetedLocationSelector A selector for TargetedLocation criteria.

targetedProximities()

Specializes this selector to return TargetedProximity criteria.

Return values:

TypeDescription
AdsApp.TargetedProximitySelector A selector for TargetedProximity criteria.