@adcp/sdk API Reference - v14.3.0
    Preparing search index...

    Type Alias MediaBuyActionId

    MediaBuyActionId:
        | MediaBuyAvailableAction["action"]
        | MediaBuyUpdateFieldAction
        | keyof typeof CANONICAL_ACTION_TASKS

    Every action id the structured available_actions[].action surface can carry. Derived from the generated wire type plus the generated update_media_buy dispatch table, preserving the legacy vocabulary on schema pins that predate core/media-buy-available-action-id.json (AdCP <= 3.2.0-rc.2) and widens to include structured-only ids such as update_media_buy_frequency_cap once the pin picks that schema up. Canonical task metadata keeps the union narrow even when a generated oneOf wire type flattens action to string. Use this — not MediaBuyValidAction — wherever code reads available_actions[].action, allowed_actions[].action, or ACTION_NOT_ALLOWED.attempted_action. MediaBuyValidAction remains the correct type for the deprecated flat valid_actions[] list only.