@adcp/client API Reference - v4.19.0
    Preparing search index...

    Interface CreateContentStandardsRequest

    Request parameters for creating a new content standards configuration

    interface CreateContentStandardsRequest {
        scope: {
            countries_all?: string[];
            channels_any?: MediaChannel[];
            languages_any: string[];
            description?: string;
        };
        registry_policy_ids?: string[];
        policy: string;
        calibration_exemplars?: {
            pass?: (Artifact | { type: "url"; value: string; language?: string })[];
            fail?: (Artifact | { type: "url"; value: string; language?: string })[];
        };
        idempotency_key?: string;
        context?: ContextObject;
        ext?: ExtensionObject;
    }
    Index

    Properties

    scope: {
        countries_all?: string[];
        channels_any?: MediaChannel[];
        languages_any: string[];
        description?: string;
    }

    Where this standards configuration applies

    Type Declaration

    • Optionalcountries_all?: string[]

      ISO 3166-1 alpha-2 country codes. Standards apply in ALL listed countries (AND logic).

    • Optionalchannels_any?: MediaChannel[]

      Advertising channels. Standards apply to ANY of the listed channels (OR logic).

    • languages_any: string[]

      BCP 47 language tags (e.g., 'en', 'de', 'fr'). Standards apply to content in ANY of these languages (OR logic). Content in unlisted languages is not covered by these standards.

    • Optionaldescription?: string

      Human-readable description of this scope

    registry_policy_ids?: string[]

    Registry policy IDs to use as the evaluation basis for this content standard. When provided, the agent resolves policies from the registry and uses their policy text and exemplars as the evaluation criteria. The 'policy' field becomes optional when registry_policy_ids is provided.

    policy: string

    Natural language policy describing acceptable and unacceptable content contexts. Used by LLMs and human reviewers to make judgments. Optional when registry_policy_ids is provided.

    calibration_exemplars?: {
        pass?: (Artifact | { type: "url"; value: string; language?: string })[];
        fail?: (Artifact | { type: "url"; value: string; language?: string })[];
    }

    Training/test set to calibrate policy interpretation. Use URL references for pages to be fetched and analyzed, or full artifacts for pre-extracted content.

    Type Declaration

    • Optionalpass?: (Artifact | { type: "url"; value: string; language?: string })[]

      Content that passes the standards

    • Optionalfail?: (Artifact | { type: "url"; value: string; language?: string })[]

      Content that fails the standards

    idempotency_key?: string

    Client-generated unique key for this request. Prevents duplicate content standards creation on retries. MUST be unique per (seller, request) pair to prevent cross-seller correlation. Use a fresh UUID v4 for each request.

    context?: ContextObject
    ext?: ExtensionObject