managedAdverts

Syntax

Document.managedAdverts;

Access

readonly

Parameters

Return value ManagedAdverts

The collection of managed adverts in the Document.

Description

The managedAdverts property returns a ManagedAdverts collection object containing all adverts in the Document that are managed by Studio Server.

Examples

Count the managed adverts in the active document

// Get the number of managed adverts in the active document.
var count = app.activeDocument.managedAdverts.count();
alert("Number of managed adverts: " + count);

Supported versions

Adobe Version Supported
2023
2024
2025
2026

See also