@adcp/sdk API Reference - v17.0.0-rc.0
    Preparing search index...

    Type Alias AccountReference

    AccountReference:
        | { account_id: string }
        | {
            brand: BrandReference;
            operator: string;
            operator_unit?: OperatorUnit;
            currency?: string;
            timezone?: string;
            sandbox?: boolean;
        }

    Account that owns the list. Required when the authenticated agent has access to multiple accounts; optional otherwise.

    Type Declaration

    • { account_id: string }
      • account_id: string

        Seller-assigned account identifier and the account's identity. For upstream-managed account namespaces, this value comes from list_accounts; for seller-defined namespaces without a list_accounts surface, it is supplied out-of-band. Buyer-declared account sellers MUST return account_id from sync_accounts. Every seller MUST accept account_id for every account the caller can operate and MUST NOT change it for the life of the account. Buyers SHOULD send it on every call after the account opens. Changing an account attribute never changes its account_id.

    • {
          brand: BrandReference;
          operator: string;
          operator_unit?: OperatorUnit;
          currency?: string;
          timezone?: string;
          sandbox?: boolean;
      }
      • brand: BrandReference
      • operator: string

        Domain of the entity operating on the brand's behalf. When the brand operates directly, this is the brand's domain.

      • Optionaloperator_unit?: OperatorUnit
      • Optionalcurrency?: string

        ISO 4217 transaction currency when the seller's advertiser object is currency-bound. An account attribute that acts as a lookup filter; media buys on the account MUST use it. Omit when currency is selected independently per media buy.

      • Optionaltimezone?: string

        Account timezone. An account attribute that acts as a lookup filter when get_adcp_capabilities.account.timezone declares account_fixed with buyer_selected; omit it for seller_fixed or seller_assigned accounts.

      • Optionalsandbox?: boolean

        When true, selects the sandbox account for this brand/operator pair. Defaults to false, which selects the production account.