AdsApp.​VideoPlacementBuilder

Builder for VideoPlacement objects.

Example usage:

var videoPlacementBuilder = videoAdGroup
  .videoTargeting()
  .newPlacementBuilder();
var videoPlacementOperation = videoPlacementBuilder
  .withUrl('"http://www.site.com"')    // required
  .build();                            // create the placement

Methods:

MemberTypeDescription
build AdsApp.VideoPlacementOperation Builds the video placement.
exclude AdsApp.ExcludedVideoPlacementOperation Builds the excluded video placement.
withUrl AdsApp.VideoPlacementBuilder Sets the URL of the placement.

build()

Builds the video placement. Returns a VideoPlacementOperation that corresponds to the creation of the VideoPlacement.

Return values:

TypeDescription
AdsApp.VideoPlacementOperation The VideoPlacementOperation.

exclude()

Builds the excluded video placement. Returns an ExcludedVideoPlacementOperation that corresponds to the creation of the ExcludedVideoPlacement.

Return values:

TypeDescription
AdsApp.ExcludedVideoPlacementOperation The ExcludedVideoPlacementOperation.

withUrl(url)

Sets the URL of the placement. This field is required.

Arguments:

NameTypeDescription
url String The placement URL.

Return values:

TypeDescription
AdsApp.VideoPlacementBuilder A VideoPlacementBuilder with the specified URL.