Bulk copy campaigns
Copies one or more campaigns to a target advertiser in a single bulk operation.
https://YOUR-NETWORK-DOMAIN/rest-api/campaigns/copy/bulk/{advertiserId}.do Copies one or more campaigns to a target advertiser in a single bulk operation. Each campaign in the request names its source (companyId), a new name (companyName) and the banners to copy (banners: send [] for none), each with itemId (item_id is accepted too), link and active. The 'numberOfCopies' parameter controls how many copies of each campaign are created, 1 to 20 (default 1); an empty request or a count outside that range is a 400. A campaign whose copy fails is listed in failedCampaignIds and success is false; the other campaigns are still copied. The target advertiser must exist and not be deleted. Each source campaign is validated for existence and non-deleted status, and the caller must have UPDATE permission on both the source campaign's advertiser and the target advertiser. Returns a merged result containing new campaign IDs, titles, and success status.
Path Params
advertiserId integer required
Unique identifier of the target advertiser that will own the copied campaigns. Must reference an existing, non-deleted advertiser
1001 Query Params
numberOfCopies integer
Number of copies to create for each campaign in the bulk request, 1 to 20. Defaults to 1 if not specified
1 Body
A JSON body. An example, built from the field definitions:
[
{
"companyName": "Summer Campaign (Copy)",
"companyId": "3001"
}
] Responses
200
Bulk copy operation result with new campaign IDs
400
Invalid request format or deleted advertiser/campaign
401
Authentication error
403
Insufficient permissions
404
Advertiser or campaign not found