account | DynamicAccount | Yes | - | Select the Spotify Ads account whose ads should be listed. |
ad_set_id | string or SelectItem | No | - | Only list ads in this ad set. Lists all ads in the account when omitted. |
entity_statuses | array of string or SelectableOption | No | - | Filter ads by status: ACTIVE, APPROVED, ARCHIVED, FAILED, PENDING, PENDING_APPROVAL, REJECTED. Returns all statuses when omitted. |
draft_filter | enum (PUBLISHED_ONLY, INCLUDE_DRAFTS, DRAFTS_ONLY) | No | PUBLISHED_ONLY | Which records to return: PUBLISHED_ONLY (default, live ads), INCLUDE_DRAFTS (published plus drafts from the Spotify drafts endpoint, with every row flagged by is_draft), or DRAFTS_ONLY. |
filters | array of FilterItem | No | - | Additional filters to apply when retrieving ads. The available fields to filter by are: - id: Filter by ad ID - name: Filter by ad name - ad_set_id: Filter by parent ad set ID Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP_MATCH or IN_LIST. |
limit | integer | No | 100 | Maximum number of ads to return. Default: 100. |