AdsApp.AdMedia
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 2025-01-28 UTC.
[null,null,["Last updated 2025-01-28 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."]]],[]]