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
| Task | Purpose | Response Time | Phase |
|---|---|---|---|
get_products | Discover inventory using natural language briefs | ~60s | Discovery |
create_media_buy | Create campaigns from selected products | Minutes-Days | Media Buys |
update_media_buy | Modify campaign settings and budgets | Minutes-Days | Media Buys |
list_creative_formats | View supported creative specifications | ~1s | Capability |
list_authorized_properties | See available publisher properties | ~1s | Capability |
sync_creatives | Upload and manage creative assets | Minutes-Days | Creatives |
list_creatives | Query creative library with filtering | ~1s | Creatives |
get_media_buy_delivery | Retrieve performance and delivery data | ~60s | Reporting |
Response Time Categories
AdCP tasks fall into four response time categories:๐ข Instant (~1 second)
Simple database lookupslist_creative_formats- Format specificationslist_authorized_properties- Available propertieslist_creatives- Creative library queries
๐ก Processing (~60 seconds)
AI/LLM inference with backend systemsget_products- Natural language product discoveryget_media_buy_delivery- Performance data aggregation
๐ Asynchronous (Minutes to Days)
Complex operations with potential human approvalcreate_media_buy- Campaign creation and validationupdate_media_buy- Campaign modificationssync_creatives- Creative asset processing
Task Categories by Workflow
Discovery & Planning
Start here to understand whatโs available and plan your campaign.get_products- The core discovery task using natural language briefslist_creative_formats- Understand creative requirementslist_authorized_properties- See available placements
Media Buy Management
Create and manage your advertising campaigns.create_media_buy- Create campaigns from discovered productsupdate_media_buy- Modify budgets, targeting, and settings
Creative Management
Handle creative assets throughout their lifecycle.sync_creatives- Upload assets to centralized librarylist_creatives- Search and manage your creative library
Performance & Optimization
Monitor and optimize campaign performance.get_media_buy_delivery- Track delivery and performance metrics
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
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
- Start with Discovery: Use
get_productsto find relevant inventory - Understand Formats: Check
list_creative_formatsfor requirements - Create Campaign: Use
create_media_buywith selected products - Upload Creatives: Use
sync_creativesfor asset management - Monitor Performance: Track results with
get_media_buy_delivery
Related Documentation
- Product Discovery - Natural language inventory discovery
- Media Buys - Campaign lifecycle management
- Creatives - Creative asset management
- Advanced Topics - Targeting, security, and architecture