Get Ad Sets
newsbreak_get_ad_setsFetch all ad sets for a NewsBreak ad account, filterable by campaign, status, or search query. Returns paginated details on targeting and schedule for campaign management.
Instructions
Get all ad sets for an ad account with optional filters.
Args:
adAccountId (string, required): ID of the ad account
search (string, optional): Search query
onlineStatus (string[], optional): Filter by status
campaignIds (string[], optional): Filter by campaign IDs
pageNo (number, optional): Page number. Default: 1
pageSize (number, optional): Results per page. Default: 20
Returns: Paginated list of ad sets with full details including targeting and schedule
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageNo | No | Page number | |
| search | No | Query to search ad sets | |
| pageSize | No | Page size: 5, 10, 20, 50, 100, 200, 500 | |
| adAccountId | Yes | ID of ad account | |
| campaignIds | No | Filter by campaign IDs | |
| onlineStatus | No | Filter by online status |