AdsApp.​CampaignVideoTargeting

Access to aggregated ad group-level video criteria for a campaign and campaign-level excluded video criteria for a campaign. For example, to access all video keywords in all ad groups in this campaign:
 var videoKeywordIterator = videoCampaign.videoTargeting().keywords().get();
 while (videoKeywordIterator.hasNext()) {
   var videoKeyword = videoKeywordIterator.next();
 }

Methods:

MemberTypeDescription
ages AdsApp.VideoAgeSelector Returns the selector of all ages in the campaign.
audiences AdsApp.VideoAudienceSelector Returns the selector of all audiences in the campaign.
excludedAges AdsApp.ExcludedVideoAgeSelector Returns the selector of all excluded ages in the campaign.
excludedAudiences AdsApp.ExcludedVideoAudienceSelector Returns the selector of all excluded audiences in the campaign.
excludedGenders AdsApp.ExcludedVideoGenderSelector Returns the selector of all excluded genders in the campaign.
excludedKeywords AdsApp.ExcludedVideoKeywordSelector Returns the selector of all excluded keywords in the campaign.
excludedMobileAppCategories AdsApp.ExcludedVideoMobileAppCategorySelector Returns the selector of all excluded mobile application categories in the campaign.
excludedMobileApplications AdsApp.ExcludedVideoMobileApplicationSelector Returns the selector of all excluded mobile applications in the campaign.
excludedParentalStatuses AdsApp.ExcludedVideoParentalStatusSelector Returns the selector of all excluded parental statuses in the campaign.
excludedPlacements AdsApp.ExcludedVideoPlacementSelector Returns the selector of all excluded placements in the campaign.
excludedTopics AdsApp.ExcludedVideoTopicSelector Returns the selector of all excluded topics in the campaign.
excludedYouTubeChannels AdsApp.ExcludedVideoYouTubeChannelSelector Returns the selector of all excluded YouTube channels in the campaign.
excludedYouTubeVideos AdsApp.ExcludedVideoYouTubeVideoSelector Returns the selector of all excluded YouTube videos in the campaign.
genders AdsApp.VideoGenderSelector Returns the selector of all genders in the campaign.
keywords AdsApp.VideoKeywordSelector Returns the selector of all keywords in the campaign.
mobileAppCategories AdsApp.VideoMobileAppCategorySelector Returns the selector of all mobile application categories in the campaign.
mobileApplications AdsApp.VideoMobileApplicationSelector Returns the selector of all mobile applications in the campaign.
newAgeBuilder AdsApp.VideoAgeBuilder Returns a new age builder for this campaign.
newAudienceBuilder AdsApp.VideoAudienceBuilder Returns a new audience builder for this campaign.
newGenderBuilder AdsApp.VideoGenderBuilder Returns a new age gender for this campaign.
newKeywordBuilder AdsApp.VideoKeywordBuilder Returns a new keyword builder for this campaign.
newMobileAppCategoryBuilder AdsApp.VideoMobileAppCategoryBuilder Returns a new mobile application category builder for this campaign.
newMobileApplicationBuilder AdsApp.VideoMobileApplicationBuilder Returns a new mobile application builder for this campaign.
newParentalStatusBuilder AdsApp.VideoParentalStatusBuilder Returns a new parental status builder for this campaign.
newPlacementBuilder AdsApp.VideoPlacementBuilder Returns a new placement builder for this campaign.
newTopicBuilder AdsApp.VideoTopicBuilder Returns a new video topic builder for this campaign.
newYouTubeChannelBuilder AdsApp.VideoYouTubeChannelBuilder Returns a new YouTube channel builder for this campaign.
newYouTubeVideoBuilder AdsApp.VideoYouTubeVideoBuilder Returns a new YouTube video builder for this campaign.
parentalStatuses AdsApp.VideoParentalStatusSelector Returns the selector of all parental statuses in the campaign.
placements AdsApp.VideoPlacementSelector Returns the selector of all placements in the campaign.
topics AdsApp.VideoTopicSelector Returns the selector of all topics in the campaign.
youTubeChannels AdsApp.VideoYouTubeChannelSelector Returns the selector of all YouTube channels in the campaign.
youTubeVideos AdsApp.VideoYouTubeVideoSelector Returns the selector of all YouTube videos in the campaign.

ages()

Returns the selector of all ages in the campaign.

Return values:

TypeDescription
AdsApp.VideoAgeSelector The selector of all ages in the campaign.

audiences()

Returns the selector of all audiences in the campaign.

Return values:

TypeDescription
AdsApp.VideoAudienceSelector The selector of all audiences in the campaign.

excludedAges()

Returns the selector of all excluded ages in the campaign.

Return values:

TypeDescription
AdsApp.ExcludedVideoAgeSelector The selector of all excluded ages in the campaign.

excludedAudiences()

Returns the selector of all excluded audiences in the campaign.

Return values:

TypeDescription
AdsApp.ExcludedVideoAudienceSelector The selector of all excluded audiences in the campaign.

excludedGenders()

Returns the selector of all excluded genders in the campaign.

Return values:

TypeDescription
AdsApp.ExcludedVideoGenderSelector The selector of all excluded genders in the campaign.

excludedKeywords()

Returns the selector of all excluded keywords in the campaign.

Return values:

TypeDescription
AdsApp.ExcludedVideoKeywordSelector The selector of all excluded keywords in the campaign.

excludedMobileAppCategories()

Returns the selector of all excluded mobile application categories in the campaign.

Return values:

TypeDescription
AdsApp.ExcludedVideoMobileAppCategorySelector The selector of all excluded mobile application categories in the campaign.

excludedMobileApplications()

Returns the selector of all excluded mobile applications in the campaign.

Return values:

TypeDescription
AdsApp.ExcludedVideoMobileApplicationSelector The selector of all excluded mobile applications in the campaign.

excludedParentalStatuses()

Returns the selector of all excluded parental statuses in the campaign.

Return values:

TypeDescription
AdsApp.ExcludedVideoParentalStatusSelector The selector of all excluded parental statuses in the campaign.

excludedPlacements()

Returns the selector of all excluded placements in the campaign.

Return values:

TypeDescription
AdsApp.ExcludedVideoPlacementSelector The selector of all excluded placements in the campaign.

excludedTopics()

Returns the selector of all excluded topics in the campaign.

Return values:

TypeDescription
AdsApp.ExcludedVideoTopicSelector The selector of all excluded topics in the campaign.

excludedYouTubeChannels()

Returns the selector of all excluded YouTube channels in the campaign.

Return values:

TypeDescription
AdsApp.ExcludedVideoYouTubeChannelSelector The selector of all excluded YouTube channels in the campaign.

excludedYouTubeVideos()

Returns the selector of all excluded YouTube videos in the campaign.

Return values:

TypeDescription
AdsApp.ExcludedVideoYouTubeVideoSelector The selector of all excluded YouTube videos in the campaign.

genders()

Returns the selector of all genders in the campaign.

Return values:

TypeDescription
AdsApp.VideoGenderSelector The selector of all genders in the campaign.

keywords()

Returns the selector of all keywords in the campaign.

Return values:

TypeDescription
AdsApp.VideoKeywordSelector The selector of all keywords in the campaign.

mobileAppCategories()

Returns the selector of all mobile application categories in the campaign.

Return values:

TypeDescription
AdsApp.VideoMobileAppCategorySelector The selector of all mobile application categories in the campaign.

mobileApplications()

Returns the selector of all mobile applications in the campaign.

Return values:

TypeDescription
AdsApp.VideoMobileApplicationSelector The selector of all mobile applications in the campaign.

newAgeBuilder()

Returns a new age builder for this campaign. Only excluded ages can be created at the campaign level. When VideoAgeBuilder.exclude() is called, an excluded age will be created in this campaign.

Return values:

TypeDescription
AdsApp.VideoAgeBuilder Age builder used to create a new excluded age in the campaign.

newAudienceBuilder()

Returns a new audience builder for this campaign. Only excluded audiences can be created at the campaign level. When VideoAudienceBuilder.exclude() is called, an excluded audience will be created in this campaign.

Return values:

TypeDescription
AdsApp.VideoAudienceBuilder Audience builder used to create a new excluded audience in the campaign.

newGenderBuilder()

Returns a new age gender for this campaign. Only excluded genders can be created at the campaign level. When VideoGenderBuilder.exclude() is called, an excluded gender will be created in this campaign.

Return values:

TypeDescription
AdsApp.VideoGenderBuilder Gender builder used to create a new excluded gender in the campaign.

newKeywordBuilder()

Returns a new keyword builder for this campaign. Only excluded keywords can be created at the campaign level. When VideoKeywordBuilder.exclude() is called, an excluded keyword will be created in this campaign.

Return values:

TypeDescription
AdsApp.VideoKeywordBuilder Keyword builder used to create a new excluded keyword in the campaign.

newMobileAppCategoryBuilder()

Returns a new mobile application category builder for this campaign. Only excluded mobile application categories can be created at the campaign level. When VideoMobileAppCategoryBuilder.exclude() is called, an excluded mobile application category will be created in this campaign.

Return values:

TypeDescription
AdsApp.VideoMobileAppCategoryBuilder Mobile application category builder used to create a new excluded mobile application category in the campaign.

newMobileApplicationBuilder()

Returns a new mobile application builder for this campaign. Only excluded mobile applications can be created at the campaign level. When VideoMobileApplicationBuilder.exclude() is called, an excluded mobile application will be created in this campaign.

Return values:

TypeDescription
AdsApp.VideoMobileApplicationBuilder Mobile application builder used to create a new excluded mobile application in the campaign.

newParentalStatusBuilder()

Returns a new parental status builder for this campaign. Only excluded parental statuses can be created at the campaign level. When VideoParentalStatusBuilder.exclude() is called, an excluded parental status will be created in this campaign.

Return values:

TypeDescription
AdsApp.VideoParentalStatusBuilder Parental status builder used to create a new excluded parental status in the campaign.

newPlacementBuilder()

Returns a new placement builder for this campaign. Only excluded placements can be created at the campaign level. When VideoPlacementBuilder.exclude() is called, an excluded placement will be created in this campaign.

Return values:

TypeDescription
AdsApp.VideoPlacementBuilder Placement builder used to create a new excluded placement in the campaign.

newTopicBuilder()

Returns a new video topic builder for this campaign. Only excluded video topics can be created at the campaign level. When VideoTopicBuilder.exclude() is called, an excluded video topic will be created in this campaign.

Return values:

TypeDescription
AdsApp.VideoTopicBuilder Video topic builder used to create a new excluded video topic in the campaign.

newYouTubeChannelBuilder()

Returns a new YouTube channel builder for this campaign. Only excluded YouTube channels can be created at the campaign level. When VideoYouTubeChannelBuilder.exclude() is called, an excluded YouTube channel will be created in this campaign.

Return values:

TypeDescription
AdsApp.VideoYouTubeChannelBuilder YouTube channel builder used to create a new excluded YouTube channel in the campaign.

newYouTubeVideoBuilder()

Returns a new YouTube video builder for this campaign. Only excluded YouTube videos can be created at the campaign level. When VideoYouTubeVideoBuilder.exclude() is called, an excluded YouTube video will be created in this campaign.

Return values:

TypeDescription
AdsApp.VideoYouTubeVideoBuilder YouTube video builder used to create a new excluded YouTube video in the campaign.

parentalStatuses()

Returns the selector of all parental statuses in the campaign.

Return values:

TypeDescription
AdsApp.VideoParentalStatusSelector The selector of all parental statuses in the campaign.

placements()

Returns the selector of all placements in the campaign.

Return values:

TypeDescription
AdsApp.VideoPlacementSelector The selector of all placements in the campaign.

topics()

Returns the selector of all topics in the campaign.

Return values:

TypeDescription
AdsApp.VideoTopicSelector The selector of all topics in the campaign.

youTubeChannels()

Returns the selector of all YouTube channels in the campaign.

Return values:

TypeDescription
AdsApp.VideoYouTubeChannelSelector The selector of all YouTube channels in the campaign.

youTubeVideos()

Returns the selector of all YouTube videos in the campaign.

Return values:

TypeDescription
AdsApp.VideoYouTubeVideoSelector The selector of all YouTube videos in the campaign.

发送以下问题的反馈:

此网页
Google Ads scripts
Google Ads scripts
需要帮助?请访问我们的支持页面