API Queries - Delete Campaign Folder

The delete_campaign function deletes a Campaign folder. All keywords must be removed from a campaign folder before it can be deleted.


Additional Parameters

  • campaign - Campaign folder to be deleted. Does not accept multiple campaign folders. (Required)

Example query and response:

In this example, we will be deleting the Campaign folder "Credit Cards".

Example query:

http://bid.trellian.com/api.html?username=user&password=pass&api_key=key&mode=delete_campaign
&campaign=Credit%20Cards

Response:

<results>
<result Status="Deleted"/>
</results>

The above response means that the Campaign folder was successfully deleted from the system.


Error Responses:

Possible error responses for this function are:

For a complete list of error responses, see the Error Codes manual page.