Create Ad
newsbreak_create_adCreate an ad inside a specified ad set by providing creative content, headline, call-to-action, brand info, and tracking URLs. Choose image, video, or GIF and set status as needed.
Instructions
Create a new ad within an ad set.
Args:
adSetId (string, required): ID of the parent ad set
name (string, required): Ad name
creative (object, required): Creative content with:
type: IMAGE, VIDEO, or GIF
headline: Ad title
assetUrl: URL of asset (must be uploaded to NewsBreak CDN first)
description: Ad description
callToAction: CTA button text
brandName: Brand name
coverUrl (optional): Video cover image
logoUrl (optional): Logo URL
clickThroughUrl (optional): Landing page URL
clickTrackingUrl (string[], optional): Click tracking URLs
impressionTrackingUrl (string[], optional): Impression tracking URLs
status (string, optional): ON or OFF. Default: ON
Returns: Created ad details including audit status
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Descriptive name of the ad | |
| status | No | Status: ON or OFF. Default is ON | |
| adSetId | Yes | ID of ad set | |
| creative | Yes | Creative content for the ad | |
| clickTrackingUrl | No | Click tracking URL list | |
| impressionTrackingUrl | No | Impression tracking URL list |