AdsApp.InFeedAdBuilder
Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
The InFeedAdBuilder is used to construct an in-feed video ad.
The build() method creates the in-feed video ad and returns a VideoAdOperation.
Various methods starting with "with" are available to set required and optional fields for the ad, such as name, descriptions, destination page, headline, thumbnail, and the associated YouTube video.
Builder for an in-feed video ad under construction.
Ad builder with the specified second description line.
withDestinationPage(destinationPage)
Sets the destination page. Setting the value as "WATCH" takes
users to a standard YouTube video watch page and "CHANNEL"
takes users to your YouTube channel page to view the selected video.
Arguments:
Name
Type
Description
destinationPage
String
The destination page. It can be either
"WATCH" or "CHANNEL".
[[["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 2025-10-16 UTC."],[],[]]