AdsApp.AdMedia
Stay organized with collections
Save and categorize content based on your preferences.
Root object for fetching and creating media objects.
Methods:
Returns a selector for all media in the account.
var mediaSelector = AdsApp.adMedia().media();
Return values:
newImageBuilder()
Returns a builder to upload an image.
Return values:
Returns a builder to upload a media bundle.
Return values:
newVideoBuilder()
Returns a builder to upload a video.
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."],[[["The AdsApp object provides methods for fetching and creating media objects like images, videos, and media bundles."],["`media()` allows you to select all media in your account."],["`newImageBuilder()`, `newMediaBundleBuilder()`, and `newVideoBuilder()` provide tools to create and upload new media."],["Builders are used to set properties before uploading the new media objects."]]],[]]