kadam_adv_create_creative
Create a new ad creative for a campaign, supporting images, videos, and landing page URLs. Works with push, native, banner, and video campaign types, accepting both web URLs and local file paths.
Instructions
Create a new creative for a campaign. Accepts both URLs (http/https) and local file paths for images/video.
Campaign type determines required fields:
Push / In-Page Push: title, text, url, imageUrl (icon 192x192+), mainImageUrl (492x328+)
Native: title, url, imageUrl (icon 500x500+), mainImageUrl (492x328+)
Banner: url, imageUrl (exact banner size), sizeId (use kadam://reference/creative-formats for valid sizes)
Video: title, url, videoUrl (MP4 file)
Popunder: does NOT support separate creatives (campaign URL = ad)
Image/video sources: URL (https://...) or local path (/Users/.../image.png, ~/Downloads/banner.jpg).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaignId | Yes | Campaign ID to add creative to | |
| url | Yes | Landing page URL for the creative | |
| title | No | Creative title (required for push/inpage/native/video, max 30 chars for push, 75 for native) | |
| text | No | Creative text/description (required for push/inpage, max 45 chars) | |
| imageUrl | No | Icon/image source: URL or local file path (push: 192x192+, native: 500x500+, banner: exact size) | |
| mainImageUrl | No | Main/rectangle image source: URL or local path (push/inpage: 492x328+, native: 492x328+). Not needed for banner/video. | |
| videoUrl | No | Video source: URL or local file path to MP4 (video campaigns only) | |
| sizeId | No | Banner size ID (required for banner). See kadam://reference/creative-formats for valid sizes. | |
| pauseAfterModeration | No | Pause creative after it passes moderation (default: true for safety) | |
| bid | No | Custom bid for this creative (overrides campaign bid) | |
| bidCountries | No | Comma-separated country IDs for the bid | |
| startDate | No | Creative start date (YYYY-MM-DD HH:MM:SS) | |
| stopDate | No | Creative stop date (YYYY-MM-DD HH:MM:SS) |