Browse the help center

Copy placement

Copies a placement to a target zone, optionally keeping banner links.

Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/placements/copy-placement.do

Copies a placement to a target zone, optionally keeping banner links. Returns the new placement ids in 'newItemIds' and, in 'copies', each copy's id, name and whether it starts active (a copy keeps the source placement's on/off state). A copy is named after the optional 'name' - the first copy takes it as given, later ones get ' 2', ' 3'... appended - or, without 'name', '<name>_copy' / '<name>_copy(N)' when the target zone already has a placement of the source's name, and the source's own name otherwise.

Form Params

placementId integer required

Source placement ID to copy from (must exist and not be deleted)

4001

zoneId integer required

Target zone ID to copy the placement into (must exist and not be deleted)

3001

keepBannersLinked boolean

Whether to keep banners linked to the new placement copy

true

count integer

Number of placement copies to create, 1 to 20

1

name string

Name for the copy (at most 500 characters). With count above 1 the later copies are named '<name> 2', '<name> 3'... Omit to keep the source's name (with '_copy' appended when the target zone already has one of that name).

Homepage Leaderboard - mobile

Responses

200

Placement copied successfully

400

Placement or zone deleted, or count outside 1 to 20

401

Authentication error

403

Forbidden — insufficient permissions

404

No placement or zone with the id sent

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.