Skip to main content

Installation

Or with yarn:

Quick Start

Configuration

Campaigns

Ad Groups

Reports

Connections

Redirect URIs

Error Handling

The SDK provides typed error classes for different failure modes:

Automatic Retries

The SDK automatically retries on 429 (rate limited) and 5xx (server error) responses with exponential backoff (1s, 2s, 4s, up to 8s max). Authentication errors (401) and client errors (4xx) are never retried.

TypeScript Support

All API types are re-exported from @adrelay/types: