Generate adagents.json
curl --request POST \
--url https://agenticadvertising.org/api/adagents/create \
--header 'Content-Type: application/json' \
--data '
{
"authorized_agents": [
{
"url": "<string>",
"authorized_for": "<string>",
"property_ids": [
"<string>"
],
"property_tags": [
"<string>"
],
"properties": [
{}
],
"publisher_properties": [
{
"publisher_domain": "<string>",
"publisher_domains": [
"<string>"
],
"property_ids": [
"<string>"
],
"property_tags": [
"<string>"
]
}
],
"collections": [
{
"publisher_domain": "<string>",
"collection_ids": [
"<string>"
]
}
],
"placement_ids": [
"<string>"
],
"placement_tags": [
"<string>"
],
"exclusive": true,
"countries": [
"<string>"
],
"effective_from": "<string>",
"effective_until": "<string>",
"signal_ids": [
"<string>"
],
"signal_tags": [
"<string>"
],
"signing_keys": [
{}
]
}
],
"include_schema": true,
"include_timestamp": true,
"properties": [
"<unknown>"
],
"catalog_etag": "<string>",
"formats": [
"<unknown>"
],
"placements": [
"<unknown>"
],
"placement_tags": {}
}
'{
"data": {
"adagents_json": "<string>",
"validation": {
"valid": true,
"errors": [
{
"field": "<string>",
"message": "<string>"
}
],
"warnings": [
{
"field": "<string>",
"message": "<string>",
"suggestion": "<string>"
}
],
"domain": "<string>",
"url": "<string>",
"status_code": 123,
"response_bytes": 1,
"resolved_url": "<string>",
"raw_data": "<unknown>",
"manager_domain": "<string>"
}
},
"timestamp": "2023-11-07T05:31:56Z"
}Validation Tools
Generate adagents.json
Generate a valid adagents.json file from authorized agents and/or catalog content. authorized_agents may be empty for a catalog-only community mirror that publishes formats/properties/placements for a platform that has not adopted AdCP.
POST
/
api
/
adagents
/
create
Generate adagents.json
curl --request POST \
--url https://agenticadvertising.org/api/adagents/create \
--header 'Content-Type: application/json' \
--data '
{
"authorized_agents": [
{
"url": "<string>",
"authorized_for": "<string>",
"property_ids": [
"<string>"
],
"property_tags": [
"<string>"
],
"properties": [
{}
],
"publisher_properties": [
{
"publisher_domain": "<string>",
"publisher_domains": [
"<string>"
],
"property_ids": [
"<string>"
],
"property_tags": [
"<string>"
]
}
],
"collections": [
{
"publisher_domain": "<string>",
"collection_ids": [
"<string>"
]
}
],
"placement_ids": [
"<string>"
],
"placement_tags": [
"<string>"
],
"exclusive": true,
"countries": [
"<string>"
],
"effective_from": "<string>",
"effective_until": "<string>",
"signal_ids": [
"<string>"
],
"signal_tags": [
"<string>"
],
"signing_keys": [
{}
]
}
],
"include_schema": true,
"include_timestamp": true,
"properties": [
"<unknown>"
],
"catalog_etag": "<string>",
"formats": [
"<unknown>"
],
"placements": [
"<unknown>"
],
"placement_tags": {}
}
'{
"data": {
"adagents_json": "<string>",
"validation": {
"valid": true,
"errors": [
{
"field": "<string>",
"message": "<string>"
}
],
"warnings": [
{
"field": "<string>",
"message": "<string>",
"suggestion": "<string>"
}
],
"domain": "<string>",
"url": "<string>",
"status_code": 123,
"response_bytes": 1,
"resolved_url": "<string>",
"raw_data": "<unknown>",
"manager_domain": "<string>"
}
},
"timestamp": "2023-11-07T05:31:56Z"
}Body
application/json
Was this page helpful?
⌘I