Zum Hauptinhalt springen
PUT
Replace Offsite Audiences Job

Autorisierungen

Authorization
string
header
erforderlich

A valid API key generated in Topsort's UI. Use the TSE API key if calling auctions or events API, otherwise use the TSC API key.

Pfadparameter

audience-id
string
erforderlich

The audience ID to replace.

Body

application/json
name
string | null

Optional updated name of the user list audience.

Minimum string length: 1
Beispiel:

"My user list audience"

description
string | null

Optional updated description of the user list audience.

Minimum string length: 1
Beispiel:

"This is a user list audience description."

Antwort

Accepted

jobId
string<uuid>
erforderlich

The unique identifier for the queued job.

Beispiel:

"123e4567-e89b-12d3-a456-426614174000"

url
string
erforderlich

The presigned url to upload the audience csv file. Presigned url must be used with PUT method and include the header Content-Type: text/csv.

Beispiel:

"https://offsite-ads-user-list-uploads.s3.us-east-2.amazonaws.com/123e4567-e89b-12d3-a456-426614174000.csv"