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

    Interface UpdateContentStandardsRequest

    Request parameters for updating an existing content standards configuration. Creates a new version.

    interface UpdateContentStandardsRequest {
        standards_id: string;
        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 })[];
        };
        context?: ContextObject;
        ext?: ExtensionObject;
        idempotency_key?: string;
    }
    Index

    Properties

    standards_id: string

    ID of the standards configuration to update

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

    Updated scope for 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).

    • Optionallanguages_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. When provided, the agent resolves policies from the registry and uses their policy text and exemplars as the evaluation criteria.

    policy?: string

    Updated natural language policy describing acceptable and unacceptable content contexts.

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

    Updated 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

    context?: ContextObject
    ext?: ExtensionObject
    idempotency_key?: string

    Client-generated unique key for at-most-once execution. If a request with the same key has already been processed, the server returns the original response without re-processing. MUST be unique per (seller, request) pair to prevent cross-seller correlation. Use a fresh UUID v4 for each request.