Interactive Testing
Try AdCP without writing code: testing.adcontextprotocol.orgCode Examples
Install the client library:What’s Next?
Now that you’ve seen basic product discovery, explore:- Task Reference - Complete API documentation
- Testable Examples - Working code examples for all tasks
- Media Buy Lifecycle - Full campaign workflow
- Protocol Guides - MCP and A2A integration
Need Help?
- Try examples at testing.adcontextprotocol.org
- Read the Introduction for concepts
- Check Authentication for production setup
Test Agent Credentials
Test agent credentials (free to use):- Agent URL:
https://test-agent.adcontextprotocol.org/mcp - Auth token:
1v8tAhASaUYYp4odoQ1PnMpdqNaMiTrCRqYo9OJp6IQ
Understanding Authentication
Some operations work without credentials:list_creative_formats- Browse creative formatslist_authorized_properties- See publisher propertiesget_products- Discover inventory (limited results)
get_products(full results) - Complete catalog with pricingcreate_media_buy- Create campaignssync_creatives- Upload creativesget_media_buy_delivery- Monitor performance
Getting Production Credentials
To work with real publishers:- Contact the sales agent - Find contact info via their agent card (
.well-known/agent-card.json) - Request credentials - Most agents provide API keys or JWT tokens
- Store securely - Never commit credentials to version control
Protocol Choice
AdCP works over MCP or A2A protocols. The tasks are identical - choose based on your integration:- MCP - For Claude and MCP-compatible clients
- A2A - For Google’s agent ecosystem
Next Steps
- Media Buy Workflow - Create and manage campaigns
- Task Reference - Complete API documentation
Common Issues
”Invalid request parameters” Error
Check that your request includes required fields. Each task has specific requirements. See task reference →“Unauthorized” Response
Verify:- Auth header is included:
Authorization: Bearer <token> - Token is valid and not expired
- Agent requires authentication for this operation