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:
Member | Type | Description |
---|---|---|
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:
Type | Description |
---|---|
AdsApp.AdScheduleSelector |
A selector for AdSchedule criteria. |
excludedContentLabels()
Specializes this selector to return ExcludedContentLabel criteria. Return values:
Type | Description |
---|---|
AdsApp.ExcludedContentLabelSelector |
A selector for ExcludedContentLabel criteria. |
excludedLocations()
Specializes this selector to return ExcludedLocation criteria. Return values:
Type | Description |
---|---|
AdsApp.ExcludedLocationSelector |
A selector for ExcludedLocation criteria. |
languages()
Specializes this selector to return Language criteria. Return values:
Type | Description |
---|---|
AdsApp.LanguageSelector |
A selector for Language criteria. |
platforms()
Specializes this selector to return Platform criteria. Return values:
Type | Description |
---|---|
AdsApp.PlatformSelector |
A selector for Platform criteria. |
targetedLocations()
Specializes this selector to return TargetedLocation criteria. Return values:
Type | Description |
---|---|
AdsApp.TargetedLocationSelector |
A selector for TargetedLocation criteria. |
targetedProximities()
Specializes this selector to return TargetedProximity criteria. Return values:
Type | Description |
---|---|
AdsApp.TargetedProximitySelector |
A selector for TargetedProximity criteria. |