Skip to main content
POST
Performance compare

Authorizations

Authorization
string
header
required

A personal API key (adside_pat_…) or a token from adside login. Either carries the permissions of the person it belongs to.

Path Parameters

workspaceId
string
required
Minimum string length: 1

Body

application/json
campaign_ids
string[]
required

Campaign IDs to compare

Minimum array length: 1
date_range_start
object
required

Start date (inclusive)

account_id
string

LinkedIn Ad Account ID. Omit it: it defaults to the account this workspace is connected to, and any other account is refused.

time_granularity
enum<string>
default:ALL

Time granularity

Available options:
DAILY,
MONTHLY,
ALL
date_range_end
object

End date (inclusive)

fields
string[]

Specific metrics to return (max 20)

Response

200 - application/json

Success