Browse the help center

List what an entity's rules and links match

Lists the entities on the other side of the auction that the entity is matched with, as the console's Matched Placements card (on an advertiser, campaign or banner) and Matched Ads card (on a site, zone or placement) do.

Reference
GET https://YOUR-NETWORK-DOMAIN/rest-api/matched/{entityType}/{entityId}.do

Lists the entities on the other side of the auction that the entity is matched with, as the console's Matched Placements card (on an advertiser, campaign or banner) and Matched Ads card (on a site, zone or placement) do. A demand-side entity (ADVERTISER, CAMPAIGN, BANNER) is matched with SITE, ZONE or PLACEMENT; a supply-side one with ADVERTISER, CAMPAIGN or BANNER — pick which with returnType (PLACEMENT or BANNER when omitted). matchByRules lists what the rules of the entity and of its parents match; matchLinked lists what is linked to it; with both, either counts. Only entities the caller may see are listed. Needs view rights on the entity, view rights on campaigns and inventory, and the Matched Inventory permission (for returnType SITE, ZONE or PLACEMENT) or the Matched Advertisers permission (for ADVERTISER, CAMPAIGN or BANNER).

Path Params

entityType string required

Type of the entity whose matches are listed

CAMPAIGN

entityId integer required

Id of the entity whose matches are listed

2001

Query Params

categories array<integer>

Category ids; only entities in one of them are listed

12

hideInactive boolean

Leave inactive entities out

false

labels array<string>

Label names; only entities carrying one of them are listed

premium

limit integer

Page size, 1 to 500

50

matchByRules boolean

List what the rules of the entity and its parents match

true

matchLinked boolean

List what is linked to the entity

true

name string

Substring of the name

Sports

parentId integer

Only the children of this entity, e.g. the zones of site 3001 (with parentType SITE)

3001

parentType string

Type of parentId

SITE

returnType string

Type of the matched entities to list: SITE, ZONE or PLACEMENT for a demand-side entity, ADVERTISER, CAMPAIGN or BANNER for a supply-side one. Omitted, it is PLACEMENT for a demand-side entity and BANNER for a supply-side one, the rows of the console's Matched Placements and Matched Ads cards

PLACEMENT

start integer

0-based offset of the first row

0

Responses

200

{total, data:[{id, name, and the ids of the row's parents: siteId/zoneId/placementId or advertiserId/campaignId/bannerId, parentId}]}

400

returnType is on the entity's own side, or start/limit is out of range

401

Authentication error

403

No view rights on the entity, or the matched-inventory/matched-advertisers permission is off

404

The entity does not exist or is deleted

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.