API Queries - Delete Keyword

The delete_keyword function deletes a Keyword. Statistics for the keyword will still be available, but the keyword will be removed from your dashboard.


Additional Parameters

  • keyword - Name of Keyword to delete. (Required)
  • traffic_type - The traffic type, either "desktop", "mobile" or "all". (Required)
  • geo_target - The Geo Target, either "all", "us", "uk", "ca", "au", "nz", "in", "br", "de", "fr", "nl", "it", or "es". (Required)

Example query and response:

In this example, we will be deleting the keyword "credit cards" that has the traffic type "desktop" and the geo target "all".

Example query:



http://bid.trellian.com/api.html?username=user&api_key=key&mode=delete_keyword
&keyword=credit%20cards&traffic_type=desktop&geo_target=all

Response:



<results>
<result Keyword="credit cards" Status="Deleted"/>
</results>

The above response means that the Keyword 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.