AdsApp.​ExcludedVideoPlacement

  • ExcludedVideoPlacement represents a Google Ads excluded Placement in a Video Campaign.

  • You can retrieve information about the excluded placement, such as its entity type, ID, resource name, and URL.

  • You can find the Video Ad Group or Video Campaign that this excluded placement belongs to.

  • The excluded video placement can be removed using the remove() method.

Represents a Google Ads excluded Placement in a Video Campaign.

Methods:

MemberTypeDescription
getEntityType() String Returns the type of this entity as a String, in this case, "ExcludedVideoPlacement".
getId() String Returns the ID of the excluded video placement.
getResourceName() String Returns the resource name of the excluded video placement.
getUrl() String Returns the URL of the excluded placement.
getVideoAdGroup() AdsApp.VideoAdGroup Returns the ad group to which this excluded video placement belongs, or null if the excluded video placement is excluded at the campaign level.
getVideoCampaign() AdsApp.VideoCampaign Returns the campaign to which this excluded video placement belongs.
remove() void Removes the excluded video placement.

getEntityType()

Returns the type of this entity as a String, in this case, "ExcludedVideoPlacement".

Return values:

TypeDescription
String Type of this entity: "ExcludedVideoPlacement".

getId()

Returns the ID of the excluded video placement.

Return values:

TypeDescription
String The ID of the excluded video placement.

getResourceName()

Returns the resource name of the excluded video placement.

Return values:

TypeDescription
String The resource name of the excluded video placement.

getUrl()

Returns the URL of the excluded placement.

Return values:

TypeDescription
String The URL of the excluded placement.

getVideoAdGroup()

Returns the ad group to which this excluded video placement belongs, or null if the excluded video placement is excluded at the campaign level.

Return values:

TypeDescription
AdsApp.VideoAdGroup The ad group to which this excluded video placement belongs or null.

getVideoCampaign()

Returns the campaign to which this excluded video placement belongs.

Return values:

TypeDescription
AdsApp.VideoCampaign The campaign to which this excluded video placement belongs.

remove()

Removes the excluded video placement.

Returns nothing.