AdWordsApp.​CampaignDisplay

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

Methods:

MemberTypeDescription
audiences AdWordsApp.AudienceSelector Returns the selector of all audiences in the campaign.
excludedAudiences AdWordsApp.ExcludedAudienceSelector Returns the selector of all excluded audiences in the campaign.
excludedKeywords AdWordsApp.ExcludedDisplayKeywordSelector Returns the selector of all excluded display keywords in the campaign.
excludedPlacements AdWordsApp.ExcludedPlacementSelector Returns the selector of all excluded website placements in the campaign.
excludedTopics AdWordsApp.ExcludedTopicSelector Returns the selector of all excluded topics in the campaign.
keywords AdWordsApp.DisplayKeywordSelector Returns the selector of all display keywords in all ad groups in the campaign.
newAudienceBuilder AdWordsApp.AudienceBuilder Returns a new audience builder for this campaign.
newKeywordBuilder AdWordsApp.DisplayKeywordBuilder Returns a new display keyword builder for this campaign.
newPlacementBuilder AdWordsApp.PlacementBuilder Returns a new placement builder for this campaign.
newTopicBuilder AdWordsApp.TopicBuilder Returns a new topic builder for this campaign.
placements AdWordsApp.PlacementSelector Returns the selector of all website placements in all ad groups in the campaign.
topics AdWordsApp.TopicSelector Returns the selector of all topics in all ad groups in the campaign.

audiences()

Returns the selector of all audiences in the campaign.

Return values:

TypeDescription
AdWordsApp.AudienceSelector The selector of all audiences in the campaign.

excludedAudiences()

Returns the selector of all excluded audiences in the campaign.

Return values:

TypeDescription
AdWordsApp.ExcludedAudienceSelector The selector of all excluded audiences in the campaign.

excludedKeywords()

Returns the selector of all excluded display keywords in the campaign.

Return values:

TypeDescription
AdWordsApp.ExcludedDisplayKeywordSelector The selector of all excluded display keywords in the campaign.

excludedPlacements()

Returns the selector of all excluded website placements in the campaign. Mobile app placements and mobile app category placements are not supported.

Return values:

TypeDescription
AdWordsApp.ExcludedPlacementSelector The selector of all website excluded placements in the campaign.

excludedTopics()

Returns the selector of all excluded topics in the campaign.

Return values:

TypeDescription
AdWordsApp.ExcludedTopicSelector The selector of all excluded topics in the campaign.

keywords()

Returns the selector of all display keywords in all ad groups in the campaign.

Return values:

TypeDescription
AdWordsApp.DisplayKeywordSelector The selector of all display keywords in all ad groups in the campaign.

newAudienceBuilder()

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

Return values:

TypeDescription
AdWordsApp.AudienceBuilder Audience builder used to create a new excluded audience in the campaign.

newKeywordBuilder()

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

Return values:

TypeDescription
AdWordsApp.DisplayKeywordBuilder Display keyword builder used to create a new excluded display keyword in the campaign.

newPlacementBuilder()

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

Return values:

TypeDescription
AdWordsApp.PlacementBuilder Placement builder used to create a new excluded placement in the campaign.

newTopicBuilder()

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

Return values:

TypeDescription
AdWordsApp.TopicBuilder Topic builder used to create a new excluded topic in the campaign.

placements()

Returns the selector of all website placements in all ad groups in the campaign. Mobile app placements and mobile app category placements are not supported.

Return values:

TypeDescription
AdWordsApp.PlacementSelector The selector of all website placements in all ad groups in the campaign.

topics()

Returns the selector of all topics in all ad groups in the campaign.

Return values:

TypeDescription
AdWordsApp.TopicSelector The selector of all topics in all ad groups in the campaign.

发送以下问题的反馈:

此网页
AdWords Scripts
AdWords Scripts
需要帮助?请访问我们的支持页面