Skip to main content

Overview

Complete reference for all AdCP Media Buy tasks. Each task is designed for AI agents to automate specific parts of the advertising workflow.

All Tasks Overview

TaskPurposeResponse TimePhase
get_productsDiscover inventory using natural language briefs~60sDiscovery
create_media_buyCreate campaigns from selected productsMinutes-DaysMedia Buys
update_media_buyModify campaign settings and budgetsMinutes-DaysMedia Buys
list_creative_formatsView supported creative specifications~1sCapability
list_authorized_propertiesSee available publisher properties~1sCapability
sync_creativesUpload and manage creative assetsMinutes-DaysCreatives
list_creativesQuery creative library with filtering~1sCreatives
get_media_buy_deliveryRetrieve performance and delivery data~60sReporting

Response Time Categories

AdCP tasks fall into four response time categories:

๐ŸŸข Instant (~1 second)

Simple database lookups

๐ŸŸก Processing (~60 seconds)

AI/LLM inference with backend systems

๐ŸŸ  Asynchronous (Minutes to Days)

Complex operations with potential human approval

Task Categories by Workflow

Discovery & Planning

Start here to understand whatโ€™s available and plan your campaign.

Media Buy Management

Create and manage your advertising campaigns.

Creative Management

Handle creative assets throughout their lifecycle.

Performance & Optimization

Monitor and optimize campaign performance.

Schema Reference

All tasks include JSON schema definitions for requests and responses:
  • Request Schemas: /schemas/v1/media-buy/[task-name]-request.json
  • Response Schemas: /schemas/v1/media-buy/[task-name]-response.json
Task Management: For tracking async operations across all AdCP domains, see Task Management in the protocols section. Schemas are accessible at runtime via the documentation server for validation and tooling.

Common Patterns

Error Handling

All tasks follow consistent error patterns with:
  • HTTP status codes for different error types
  • Structured error messages with context
  • Retry guidance for transient failures

Authentication

Tasks require proper authentication via:
  • API keys for service-to-service calls
  • Principal context for multi-tenant operations
  • Permission validation for resource access

Asynchronous Operations

Long-running tasks provide:
  • Immediate response with operation ID
  • Status polling endpoints for progress
  • Webhook notifications for completion

Getting Started

  1. Start with Discovery: Use get_products to find relevant inventory
  2. Understand Formats: Check list_creative_formats for requirements
  3. Create Campaign: Use create_media_buy with selected products
  4. Upload Creatives: Use sync_creatives for asset management
  5. Monitor Performance: Track results with get_media_buy_delivery