Get Ads
get_adsRetrieve ad data for your NewsBreak ad account, including creative assets such as images, videos, headlines, descriptions, CTAs, and landing URLs. Filter results by campaign, ad set, status, or search term.
Instructions
Get ads with complete creative asset details including images, videos, headlines, descriptions, and CTAs.
This retrieves all ad information including the creative content (headlines, descriptions, call-to-action buttons, images/videos, landing page URLs, etc.) that users see.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | Optional search query to filter ads by name | |
| page_no | No | Page number for pagination (default: 1) | |
| page_size | No | Number of results per page - valid values: 5, 10, 20, 50, 100, 200, 500 (default: 50) | |
| ad_set_ids | No | Optional list of ad set IDs to filter by specific ad sets | |
| campaign_ids | No | Optional list of campaign IDs to filter by specific campaigns | |
| ad_account_id | Yes | The ad account ID to retrieve ads from | |
| online_status | No | Optional status filter - values: WARNING, INACTIVE, ACTIVE, DELETED, PENDING, REJECTED |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |