CampaignsUnlink Creative from Campaign

Unlink Creative from Campaign

Remove a creative's link to a campaign.

curl -X POST "https://api.5centscdn.com/v2/ad-manager/101/campaigns/cmp_4c19/creatives/crv_9a71/unlink" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY"
{
  "result": "success"
}
POST
/ad-manager/{pid}/campaigns/{cid}/creatives/{creativeId}/unlink
POST
Base URLstring

Target server for requests. Edit to use your own host.

API Key (header: X-API-Key)
X-API-Keystring
Required

API key (sent in header)

path
pidinteger
Required

ID of the Ad Manager project.

path
cidstring
Required

ID of the campaign.

path
creativeIdstring
Required

ID of the creative to link or unlink.

Content-Typestring
Required

The media type of the request body

Options: application/json
No request body parameters defined
Request Preview
Response

Response will appear here after sending the request

Authentication

header
X-API-Keystring
Required

API Key for authentication. Provide your API key in the header.

Path Parameters

pidinteger
Required

ID of the Ad Manager project.

Example:
101
cidstring
Required

ID of the campaign.

Example:
cmp_4c19
creativeIdstring
Required

ID of the creative to link or unlink.

Example:
crv_9a71

Body

application/json
dataobject
Required

Raw application/json data

Responses

resultstring

Operation outcome.

Allowed values:successerror