AdsApp.VideoPlacementBuilder
Stay organized with collections
Save and categorize content based on your preferences.
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:
build()
Builds the video placement. Returns a
VideoPlacementOperation that corresponds to the creation of the
VideoPlacement.
Return values:
exclude()
Builds the excluded video placement. Returns an
ExcludedVideoPlacementOperation that corresponds to the creation of the
ExcludedVideoPlacement.
Return values:
withUrl(url)
Sets the URL of the placement. This field is required.
Arguments:
Name | Type | Description |
url |
String |
The placement URL. |
Return values:
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-18 UTC."],[[["This builder facilitates the creation and management of video placements within Google Ads campaigns."],["It offers methods to define placement URLs and build or exclude placements using operations."],["The `withUrl()` method is mandatory for setting the video placement URL."],["Upon building, it returns a `VideoPlacementOperation` or `ExcludedVideoPlacementOperation` object for further campaign integration."]]],[]]