Browse the help center

Search campaigns

Performs an advanced search over campaigns using filter parameters submitted as a JSON request body.

Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/search/campaigns.do

Performs an advanced search over campaigns using filter parameters submitted as a JSON request body. Supports pagination (limit/page), sorting (sortBy/sortDir), active status filtering, name filtering, filtering by campaign ids (ids), and targeting parameter filters. The response optionally includes targeting, pricing, and limits data for each campaign depending on 'showTargeting', 'showPricing', and 'showLimits' flags (subject to the caller's permissions for MANAGE_DEMAND_TARGETING, MANAGE_CAPPING_AND_LIMITATIONS, and MANAGE_PRICING respectively). Users with CAMPAIGNS SHARE permission see all campaigns; otherwise only campaigns shared with the authenticated user are returned. Response is a JSON object with 'data' array and 'total' count.

Body

A JSON body. An example, built from the field definitions:

{
  "limit": "25",
  "page": "0",
  "sortBy": "1",
  "sortDir": "desc"
}

Responses

200

JSON object with 'data' array of campaign objects (each containing baseEntity, target, limit, pricing) and 'total' count

400

Bad request — invalid or missing parameters

401

Authentication error - invalid hash, timestamp, or username

403

Forbidden — insufficient permissions

Please disable Adblock
Are you using adblock? Disable it and reload the page to proceed to the destination page.

A registration has already been submitted from this page. Please try again in 10 minutes.