@adcp/sdk API Reference - v14.0.0-beta.6
    Preparing search index...

    Type Alias InlineCreativePackage

    Package-like input accepted by inlineCreativesForPackages.

    PackageRequest is the create-media-buy shape. Update-media-buy package patches are narrower but carry the same package_id + creatives fields, so the helper accepts both without depending on AgentClient.

    type InlineCreativePackage = {
        package_id?: string;
        buyer_ref?: string;
        context?: NonNullable<LegacyPackageRequest["context"]> & {
            buyer_ref?: string;
        };
        creatives?: CanonicalCreativeAsset[];
        format_ids?: never;
        format_option_refs?: LegacyPackageRequest["format_option_refs"];
        format_kind?: LegacyPackageRequest["format_kind"];
        params?: LegacyPackageRequest["params"];
    }
    Index

    Properties

    package_id?: string
    buyer_ref?: string
    context?: NonNullable<LegacyPackageRequest["context"]> & { buyer_ref?: string }
    format_ids?: never
    format_option_refs?: LegacyPackageRequest["format_option_refs"]
    format_kind?: LegacyPackageRequest["format_kind"]
    params?: LegacyPackageRequest["params"]