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

    Function preflightUpdateMediaBuy

    • Decide whether an update_media_buy request is reachable against the current buy state. When the buy carries only legacy valid_actions[], the preflight passes (with compat.source: 'valid_actions') for any matching action - mode is not knowable, so it's reported as self_serve but flagged as a compat fallback.

      Multi-action requests: every resolved action must be present in available_actions[]. All missing actions are reported in denials[] so callers can render every blocker in a single pass.

      Throws ValidationError when the request touches no recognized update_media_buy field. This is a buyer-side bug (the SDK was asked to dispatch a no-op), not a seller-side denial.

      Parameters

      Returns PreflightResult