Skip to main content
POST
Campaigns search

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
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.

campaign_ids
string[]

List of campaign IDs to fetch

statuses
enum<string>[]

Filter by multiple statuses

Available options:
ACTIVE,
PAUSED,
ARCHIVED,
COMPLETED,
CANCELED,
DRAFT,
PENDING_DELETION,
REMOVED
campaign_group_ids
string[]

Filter by multiple campaign group IDs

types
enum<string>[]

Filter by multiple campaign types

Available options:
TEXT_AD,
SPONSORED_UPDATES,
SPONSORED_INMAILS,
DYNAMIC
sort_order
enum<string>

Sort order by campaign ID

Available options:
ASCENDING,
DESCENDING
page_size
number
default:100

Page size

Required range: 1 <= x <= 1000
page_token
string

Cursor token for next page

Response

200 - application/json

Success