Create Offsite Audiences Job
Create a new offsite audience job.
This endpoint creates a job to create an offsite audience alongside a presigned url to upload the audience csv file. The presigned url is valid for 1 hour and should be used to upload the audience csv file. The audience creation will begin once the csv file is uploaded.
The audience CSV should contain one or more of the following columns with hashed and normalized identifiers: hashed_email, hashed_phone, hashed_first_name, hashed_last_name, hashed_mobile_device_id. Strongest identifiers are hashed_email and hashed_phone. Hashing should use the SHA256 method. The audience will be synced to the specified DSPs.
Autorizações
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.
Parâmetros de consulta
Limits the audience to a specific vendor when set; otherwise, the audience is available to all vendors.
"vendor_123"
Corpo
The name of the user list audience.
1"My user list audience"
The DSPs to sync the audience to. Include one or more of: google_ads, meta, tiktok_ads, snapchat_ads.
1DSPs an offsite audience is synced to.
google_ads, meta, tiktok_ads, snapchat_ads ["google_ads"]["google_ads", "meta"]The description of the user list audience.
1"This is a user list audience description."
Resposta
Successful Response
The unique identifier for the queued job.
"123e4567-e89b-12d3-a456-426614174000"
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.
"https://offsite-ads-user-list-uploads.s3.us-east-2.amazonaws.com/123e4567-e89b-12d3-a456-426614174000.csv"