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

    Function findAvailableAction

    • Look up the available-action entry for a given action ID. Returns the entry as emitted by the seller (so callers can read mode, sla, terms_ref) or undefined if the action isn't currently available.

      Honors rollup: when only a legacy coarse action is emitted by the seller (valid_actions[] flat list or available_actions[] with coarse keys) and the caller asks for a fine-grained child action, the lookup falls through to the rollup parent. The returned entry carries the seller's emitted action ID, not the caller's requested ID.

      Parameters

      Returns { entry: MediaBuyAvailableAction; result: AvailableActionsResult } | undefined