Get Campaigns
get_campaignsRetrieve campaigns for an ad account, with optional filters for name, status, and pagination to isolate the ones you need.
Instructions
Get campaigns for an ad account with optional filtering.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | Optional search query to filter campaigns by name | |
| page_no | No | Page number (default: 1) | |
| page_size | No | Results per page - options: 5, 10, 20, 50, 100, 200, 500 (default: 50) | |
| ad_account_id | Yes | The ad account ID to fetch campaigns for | |
| online_status | No | Optional status filter - values: WARNING, INACTIVE, ACTIVE, DELETED |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |