account | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account that owns the ad group. |
ad_group_id | string or SelectItem | Yes | - | The ad group to list ads for. |
statuses | array of string or SelectableOption | No | - | Filter by ad status. Leave empty to return all statuses. Available values: Active, Paused, Inactive. Deleted ads are never returned by Microsoft Ads. |
editorial_statuses | array of string or SelectableOption | No | - | Filter by ad editorial (approval) status. Leave empty to return all. Available values: Active (approved), ActiveLimited, Disapproved, Inactive (under review). |
return_additional_fields | boolean | No | False | When true, request additional ad properties (videos, long headlines, impression tracking URLs, etc.) so the response is richer. Defaults to false. |
include_media_urls | boolean | No | False | Resolve image asset download URLs and dimensions for visual creative audits. Adds MediaLookup to each ad, with MediaId, native MediaMetaData (Representations contains Url/Width/Height), and PartialErrors. Null metadata means unresolved, not an absent image. Images only, not video downloads or rendered ad previews. Omitted, false or null skips the lookup. |
include_editorial_reasons | boolean | No | False | When true, fetch editorial details for returned ads and their nested TextAsset/ImageAsset links in batches of up to 1,000 per entity type. Adds EditorialReasons to each ad and supported asset link, alongside its EditorialStatus, containing Microsoft’s AppealStatus and Reasons (ReasonCode, Location, Term, PublisherCountries). Default: false; independent of return_additional_fields (enable it to also return optional assets such as long headlines). A null collection means Microsoft returned no reasons, not confirmed approval. ReasonCode is Microsoft’s native code, not an explanation string. |