Skip to main content
Transform or generate a creative manifest for a specific format. This task takes a source manifest (which may be minimal for pure generation) and produces a target manifest in the specified format. Key concept: build_creative is fundamentally a transformation - it takes a creative manifest as input and produces a creative manifest as output. For pure generation (creating from scratch), the source manifest is minimal (just format and seed assets). For transformation (e.g., resizing, reformatting), the source is a complete creative. For information about format IDs and how to reference formats, see Creative Formats - Referencing Formats.

Request Parameters

Important: Required inputs like promoted_offerings should be included in the creative_manifest.assets object, not as separate task parameters. The format definition specifies what assets it requires.

Use Cases

Pure Generation (Creating from Scratch)

For pure generation, provide a minimal source manifest with the required input assets defined by the format:

Transformation (Adapting Existing Creative)

For transformation, provide the complete source manifest:

Format Resizing

Transform an existing creative to a different size:

Response Format

The response contains the transformed or generated creative manifest:

Field Descriptions

  • creative_manifest: The complete creative manifest ready for use with sync_creatives or preview_creative
  • format_id: The target format (matches target_format_id from request)
  • promoted_offering: Product/offering being advertised (optional)
  • assets: Map of asset IDs to actual asset content, matching the format’s assets_required specification

Workflow Integration

Typical Generation Workflow

  1. Build: Use build_creative to generate/transform the manifest
  2. Preview: Use preview_creative to see how it renders (see preview_creative)
  3. Sync: Use sync_creatives to traffic the finalized creative
Key insight: The manifest carries everything. promoted_offerings (if required by the format) is included in creative_manifest.assets for build, flows through to the output manifest, and is available in the output for preview. No need to pass it separately at each step.

Examples

Example 1: Pure Generation (Generative Format)

Generate a creative from scratch using a generative format that requires promoted_offerings:
Response:

Example 2: Format Transformation

Transform an existing 728x90 leaderboard to a 300x250 banner:
Response:

Example 3: Transformation with Specific Instructions

Adapt a creative for mobile with specific design changes:
Response:

Key Concepts

Transformation Model

build_creative follows a manifest-in, manifest-out model:
  • Input: Creative manifest (can be minimal or complete, includes required assets)
  • Process: Transform/generate based on message and manifest assets
  • Output: Target creative manifest ready for preview or sync

Pure Generation vs Transformation

  • Pure Generation: Provide minimal creative_manifest with just the format_id and required input assets (like promoted_offerings for generative formats). The creative agent generates output assets from scratch using message as guidance.
  • Transformation: Provide complete creative_manifest with all existing assets. The creative agent adapts existing assets to the target format, optionally following guidance in message.

Integration with Other Tasks

  1. build_creative → Generates manifest
  2. preview_creative → Renders the manifest (see preview_creative)
  3. sync_creatives → Traffics the finalized manifest
This separation allows you to:
  • Build once, preview multiple times with different contexts
  • Iterate on build without re-syncing
  • Preview before committing to traffic