Browse the help center

Add campaign competitors

Links the given campaigns to this one as competitors, both ways, the way the console's Competitors card does: each linked competitor has its own competitor separation switched on.

Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/campaign/{campaignId}/competitors/add.do

Links the given campaigns to this one as competitors, both ways, the way the console's Competitors card does: each linked competitor has its own competitor separation switched on. The campaign's separation must already be on (see competitors/enable). Ids that do not exist are listed in notFound, campaigns the caller may not manage in accessForbidden; they are left alone. Answers the resulting competitor list, as the list endpoint does. Requires the COMPETITOR_CAMPAIGNS permission and UPDATE access to the advertisers of both campaigns.

Path Params

campaignId integer required

Unique identifier of the campaign

2001

Form Params

competitorIds array<integer> required

IDs of the competitor campaigns — repeat the parameter or separate with commas

2002

Responses

200

Competitors linked; competitors lists the campaign's competitors afterwards

400

Competitor separation is off for the campaign, or no competitorIds

401

Authentication error

403

Not enough permissions on the campaign

404

Campaign not found or 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.