🎉 AdCP 3.0 is now GA — see what's new
curl --request POST \
--url https://agenticadvertising.org/api/policies/save \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"policy_id": "my_brand_safety",
"version": "1.0.0",
"name": "Acme Corp Brand Safety",
"policy": "Ads must not appear adjacent to content depicting violence...",
"description": "<string>",
"jurisdictions": [
"<string>"
],
"region_aliases": {},
"policy_categories": [
"<string>"
],
"channels": [
"<string>"
],
"effective_date": "<string>",
"sunset_date": "<string>",
"governance_domains": [
"<string>"
],
"source_url": "<string>",
"source_name": "<string>",
"guidance": "<string>",
"exemplars": {
"pass": [
{
"scenario": "<string>",
"explanation": "<string>"
}
],
"fail": [
{
"scenario": "<string>",
"explanation": "<string>"
}
]
},
"ext": {}
}
'{
"message": "<string>",
"policy_id": "<string>",
"revision_number": 123
}Create or update a community-contributed policy. Requires authentication. Registry-sourced and pending-review policies cannot be edited (returns 409). Updates automatically create a revision record.
curl --request POST \
--url https://agenticadvertising.org/api/policies/save \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"policy_id": "my_brand_safety",
"version": "1.0.0",
"name": "Acme Corp Brand Safety",
"policy": "Ads must not appear adjacent to content depicting violence...",
"description": "<string>",
"jurisdictions": [
"<string>"
],
"region_aliases": {},
"policy_categories": [
"<string>"
],
"channels": [
"<string>"
],
"effective_date": "<string>",
"sunset_date": "<string>",
"governance_domains": [
"<string>"
],
"source_url": "<string>",
"source_name": "<string>",
"guidance": "<string>",
"exemplars": {
"pass": [
{
"scenario": "<string>",
"explanation": "<string>"
}
],
"fail": [
{
"scenario": "<string>",
"explanation": "<string>"
}
]
},
"ext": {}
}
'{
"message": "<string>",
"policy_id": "<string>",
"revision_number": 123
}Documentation Index
Fetch the complete documentation index at: https://docs.adcontextprotocol.org/llms.txt
Use this file to discover all available pages before exploring further.
Bearer token in the Authorization header. Two token types are accepted:
sk_...) issued via the dashboard. Org-scoped, long-lived, for server-to-server use./.well-known/oauth-authorization-server and the protected-resource metadata at /.well-known/oauth-protected-resource/api.Lowercase alphanumeric with underscores
"my_brand_safety"
"1.0.0"
"Acme Corp Brand Safety"
regulation, standard must, should, may "Ads must not appear adjacent to content depicting violence..."
Show child attributes
Must use http:// or https://
Show child attributes
Show child attributes
Was this page helpful?