@adcp/sdk API Reference - v7.9.0
    Preparing search index...

    Interface AuthorizedAgent

    Entry in adagents.json authorized_agents[]. The schema requires every entry to carry authorization_type plus the matching selector field — see the spec at schemas/cache/3.0.11/adagents.json. Files in the wild sometimes omit them, so both fields are typed as optional here. resolveAgentProperties() fails closed (returns no properties) when the discriminator or its selector is missing.

    interface AuthorizedAgent {
        url: string;
        authorized_for: string;
        authorization_type?: AuthorizationType;
        property_ids?: string[];
        property_tags?: string[];
        properties?: Property[];
        publisher_properties?: AdAgentsPublisherPropertySelector[];
        signal_ids?: string[];
        signal_tags?: string[];
    }
    Index

    Properties

    url: string
    authorized_for: string
    authorization_type?: AuthorizationType

    Discriminator. Required by the schema; absent in pre-schema-3 files.

    property_ids?: string[]

    Selector for authorization_type: 'property_ids'.

    property_tags?: string[]

    Selector for authorization_type: 'property_tags'.

    properties?: Property[]

    Selector for authorization_type: 'inline_properties'.

    publisher_properties?: AdAgentsPublisherPropertySelector[]

    Selector for authorization_type: 'publisher_properties'.

    signal_ids?: string[]

    Selector for authorization_type: 'signal_ids' (signals agents).

    signal_tags?: string[]

    Selector for authorization_type: 'signal_tags' (signals agents).