Query ad accounts
reddit_ads_query_ad_accountsSearch ad accounts a business can access, including shared ones, by name, ID, actor, role, or asset.
Instructions
Search the ad accounts a business can access, including shared ones, by name, ID, actor, role or asset.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Sent as {"data": {...}}. Fields: filter (e.g. 'name=@acme' or 'id==t2_abc', comma separated), actors [{id, type: AD_ACCOUNT|BUSINESS|INVITATION|MEMBER|DEVELOPER_APP}], roles [ADMIN|ANALYST|CATALOG_ADMIN|BUSINESS_ADMIN|CREATOR|USE_ASSET|PARTNER_ADMIN|PARTNER_CREATOR|PARTNER_ANALYST], assets [{id, type: AD_ACCOUNT|BILLING_ADDRESS|CUSTOM_AUDIENCE|FUNDING_INSTRUMENT|PIXEL|PRODUCT_CATALOG|PROFILE}]. | |
| max_pages | No | Follow pagination.next_url up to this many pages and merge results (default 1) | |
| page_size | No | Items per page (usually max 1000) | |
| page_token | No | Page token from a previous pagination.next_url | |
| business_id | Yes |