@adcp/client API Reference - v3.3.3
    Preparing search index...

    Type Alias UpdateMediaBuyResponse

    UpdateMediaBuyResponse:
        | {
            media_buy_id: string;
            buyer_ref: string;
            implementation_date?: string
            | null;
            affected_packages?: Package[];
            context?: ContextObject;
            ext?: ExtensionObject;
        }
        | {
            errors: [Error, ...Error[]];
            context?: ContextObject;
            ext?: ExtensionObject;
        }

    Response payload for update_media_buy task. Returns either complete success data OR error information, never both. This enforces atomic operation semantics - updates are either fully applied or not applied at all.

    Type Declaration

    • {
          media_buy_id: string;
          buyer_ref: string;
          implementation_date?: string | null;
          affected_packages?: Package[];
          context?: ContextObject;
          ext?: ExtensionObject;
      }
      • media_buy_id: string

        Publisher's identifier for the media buy

      • buyer_ref: string

        Buyer's reference identifier for the media buy

      • Optionalimplementation_date?: string | null

        ISO 8601 timestamp when changes take effect (null if pending approval)

      • Optionalaffected_packages?: Package[]

        Array of packages that were modified with complete state information

      • Optionalcontext?: ContextObject
      • Optionalext?: ExtensionObject
    • { errors: [Error, ...Error[]]; context?: ContextObject; ext?: ExtensionObject }
      • errors: [Error, ...Error[]]

        Array of errors explaining why the operation failed

        1

      • Optionalcontext?: ContextObject
      • Optionalext?: ExtensionObject