AdsApp.AssetGroup
Stay organized with collections
Save and categorize content based on your preferences.
Represents a Google Ads asset group. An asset can be an image, text, or
video. Asset groups are collections of assets primarily used by Performance
Max campaigns. Methods:
addAsset(asset, fieldType)
Adds an asset to this asset group. Arguments:
Return values:
enable()
Enables the asset group. Returns nothing.
getEntityType()
Returns the type of this entity as a String
, in this case, "AssetGroup"
. Return values:
getId()
Returns the ID of the asset group. Return values:
getName()
Returns the name of this asset group. Return values:
Returns the performance max campaign to which this asset group
belongs or null
if it does not belong to a performance max
campaign. Return values:
getResourceName()
Returns the resource name of the asset group. Return values:
isEnabled()
Returns true
if the asset group is enabled. Return values:
isPaused()
Returns true
if the asset group is paused. Return values:
isRemoved()
Returns true
if the asset group is removed. Return values:
pause()
Pauses the asset group. Returns nothing.
removeAsset(asset, fieldType)
Removes an asset from this asset group. Returns nothing.
Arguments:
setName(name)
Sets the name of the asset group. Returns nothing.
Arguments:
urls()
Provides access to this asset group's URL fields. 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-09-03 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 2025-09-03 UTC."],[[["\u003cp\u003eRepresents a Google Ads asset group, which is a collection of images, text, and video assets.\u003c/p\u003e\n"],["\u003cp\u003ePrimarily used by Performance Max campaigns to easily manage creative elements.\u003c/p\u003e\n"],["\u003cp\u003eProvides methods for adding, removing, enabling, pausing assets, and managing basic settings like name and status.\u003c/p\u003e\n"],["\u003cp\u003eCan be linked to a specific Performance Max campaign to tailor assets for optimal performance.\u003c/p\u003e\n"]]],[],null,[]]