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
placementIdintegerrequired
Source placement ID to copy from (must exist and not be deleted)
4001
zoneIdintegerrequired
Target zone ID to copy the placement into (must exist and not be deleted)
3001
keepBannersLinkedboolean
Whether to keep banners linked to the new placement copy
true
countinteger
Number of placement copies to create, 1 to 20
1
namestring
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