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

    Function legacyActivateSignalResponse

    • Parameters

      • data: {
            deployments: (
                | {
                    type: "platform";
                    platform: string;
                    account?: string;
                    is_live: boolean;
                    activation_key?: | { type: "segment_id"; segment_id: string }
                    | { type: "key_value"; key: string; value: string };
                    estimated_activation_duration_minutes?: number;
                    deployed_at?: string;
                }
                | {
                    type: "agent";
                    agent_url: string;
                    account?: string;
                    is_live: boolean;
                    activation_key?: | { type: "segment_id"; segment_id: string }
                    | { type: "key_value"; key: string; value: string };
                    estimated_activation_duration_minutes?: number;
                    deployed_at?: string;
                    delivery_status?: SignalDeliveryStatus;
                    delivery?:
                        | "synced"
                        | "platform"
                        | "third_party"
                        | "lookalike"
                        | "retargeting"
                        | "unknown";
                    delivery_error?: {
                        code: string;
                        message: string;
                        buyer_reason?: { code: string; message: string };
                        field?: string;
                        suggestion?: string;
                        retry_after?: number;
                        issues?: {
                            pointer: string;
                            message: string;
                            keyword: string;
                            schemaPath?: string;
                            schema_id?: string;
                            discriminator?: (...)[];
                        }[];
                        details?: Omit<Omit<{}, "bank">, "authentication"> & {
                            authentication?: unknown;
                        };
                        recovery?: "transient"
                        | "correctable"
                        | "terminal";
                        mutation_outcome?: string;
                        source?: "sdk" | "producer";
                        sdk_id?: string;
                    };
                    match_status?: AudienceStatus;
                    matched_count?: number;
                    effective_match_rate?: number;
                    match_rate_basis?: AudienceMatchRateBasis;
                    audience_size?: {
                        lower_bound: number;
                        upper_bound: number;
                        precision: AudienceSizePrecision;
                        as_of?: string;
                    };
                }
            )[];
            sandbox?: boolean;
            context?: Omit<Omit<{}, "bank">, "authentication"> & {
                authentication?: unknown;
            };
            ext?: Omit<Omit<{ [key: string]: unknown }, "bank">, "authentication"> & {
                authentication?: unknown;
            };
        }
        • deployments: (
              | {
                  type: "platform";
                  platform: string;
                  account?: string;
                  is_live: boolean;
                  activation_key?: | { type: "segment_id"; segment_id: string }
                  | { type: "key_value"; key: string; value: string };
                  estimated_activation_duration_minutes?: number;
                  deployed_at?: string;
              }
              | {
                  type: "agent";
                  agent_url: string;
                  account?: string;
                  is_live: boolean;
                  activation_key?: | { type: "segment_id"; segment_id: string }
                  | { type: "key_value"; key: string; value: string };
                  estimated_activation_duration_minutes?: number;
                  deployed_at?: string;
                  delivery_status?: SignalDeliveryStatus;
                  delivery?:
                      | "synced"
                      | "platform"
                      | "third_party"
                      | "lookalike"
                      | "retargeting"
                      | "unknown";
                  delivery_error?: {
                      code: string;
                      message: string;
                      buyer_reason?: { code: string; message: string };
                      field?: string;
                      suggestion?: string;
                      retry_after?: number;
                      issues?: {
                          pointer: string;
                          message: string;
                          keyword: string;
                          schemaPath?: string;
                          schema_id?: string;
                          discriminator?: (...)[];
                      }[];
                      details?: Omit<Omit<{}, "bank">, "authentication"> & {
                          authentication?: unknown;
                      };
                      recovery?: "transient"
                      | "correctable"
                      | "terminal";
                      mutation_outcome?: string;
                      source?: "sdk" | "producer";
                      sdk_id?: string;
                  };
                  match_status?: AudienceStatus;
                  matched_count?: number;
                  effective_match_rate?: number;
                  match_rate_basis?: AudienceMatchRateBasis;
                  audience_size?: {
                      lower_bound: number;
                      upper_bound: number;
                      precision: AudienceSizePrecision;
                      as_of?: string;
                  };
              }
          )[]

          Array of deployment results for each deployment target

        • Optionalsandbox?: boolean

          When true, this response contains simulated data from sandbox mode.

        • Optionalcontext?: Omit<Omit<{}, "bank">, "authentication"> & { authentication?: unknown }
        • Optionalext?: Omit<Omit<{ [key: string]: unknown }, "bank">, "authentication"> & {
              authentication?: unknown;
          }
      • Optionalsummary: string

      Returns McpToolResponse

      v6: createAdcpServerFromPlatform constructs wire responses from typed platform returns. Direct use is for v5 raw-handler adopters mid-migration only.