Skip to content

Extension: ramp-comp-v1

Maps IAB Tech Lab CoMP (Content Metadata Protocol) fields into RAMP ext conventions. This extension profile enables publishers and ad-tech participants to carry CoMP metadata alongside RAMP transactions without requiring the core protocol to depend on CoMP.

Exchanges that declare supported_profiles: ["ramp-comp-v1"] include these ext fields in Offers and expect them in UsageReports.

KeyTypeRequiredDescription
comp.package_idstringYesCoMP Package.id — unique package identifier
comp.titlestringNoPackage title (if different from Offer.title)
comp.sellerstringNoCanonical domain of the content owner
comp.packagerstringNoDomain of the packager (if different from seller)
comp.license_urlstringNoURL for license terms
comp.citation_requiredbooleanNoWhether citation of content owner is required
KeyTypeRequiredDescription
comp.retrieval_endpointstringNoEntry point / feed URI
comp.retrieval_authstringNoAuthorization type (“none”, “api_key”, “oauth2”)
comp.retrieval_typestring[]NoEndpoint type(s) (“api”, “feed”, “crawl”)
comp.retrieval_ratelimitintegerNoRate limit (requests per minute)
KeyTypeRequiredDescription
comp.scope_typestringNoScope type (“full”, “partial”, “sample”)
comp.scope_maxintegerNoUpper limit on access (0=unlimited)
comp.content_typesstring[]NoContent type(s) included
KeyTypeRequiredDescription
comp.licenseobject[]NoArray of license terms
comp.license[].usestringNoLicense use type
comp.license[].duration_monthsintegerNoLicense duration
comp.license[].maxwordintegerNoMax display words

Usage Functions (on AccessRestrictions.ext and Usage.ext)

Section titled “Usage Functions (on AccessRestrictions.ext and Usage.ext)”
KeyTypeRequiredDescription
comp.functionstring[]NoCoMP Function enum values: “ALL”, “AI_ALL”, “AI_TRAIN”, “AI_INPUT”, “AI_INDEX”, “SEARCH”
comp.subfnstring[]NoCoMP SubFunction: “TRAINING”, “RAG”, “GROUNDING”, “AGENT_VIEW”, “AGENT_ACTIONS”, “OTHER”
KeyTypeRequiredDescription
comp.content_categoriesstring[]NoIAB Content Taxonomy 3.1 codes

An Exchange declaring ramp-comp-v1 support MUST:

  • Include comp.package_id on every Offer
  • Forward comp.function from AccessRestrictions to UsageReport processing
  • Validate comp.* ext fields against this profile’s schema

An Agent using ramp-comp-v1 MUST:

  • Include comp.function in Usage when reporting

The core RAMP protocol carries universal fields:

  • Offer.title — human-readable resource title
  • AccessRestrictions.permitted_functions / prohibited_functions — string-based (not CoMP enums)
  • Usage.function / Usage.subfn — string-based

The ramp-comp-v1 profile adds CoMP-specific semantics:

  • comp.package_id links to the CoMP package model
  • comp.function values map to CoMP Function enum integers
  • comp.retrieval_* maps to CoMP Retrieval message

Agents and Exchanges that don’t use CoMP simply ignore these ext fields (robustness principle). The core protocol works without them.