Deletes a retargeting condition.


This method is outdated and will soon be disabled. Use version 5 of the API.

For information about the compatibility of methods between versions Live 4 and 5, see the Migration guide.

Input data

The input data structure in JSON is shown below.

   "method": "RetargetingCondition",
   "param": {
      /* RetargetingConditionRequest */
      "Action": (string),
      "SelectionCriteria": {
         /* RetargetingConditionSelectionCriteria */
         "RetargetingConditionIDS": [
         "Logins": [

Parameters are described below.

Parameter Description Required
RetargetingConditionRequest object
Action Action: Delete. Yes
SelectionCriteria The SelectionCriteria object, which contains criteria for selecting retargeting conditions to delete. Yes
RetargetingConditionSelectionCriteria object
RetargetingConditionIDS Array containing the IDs of retargeting conditions to perform the operation for. No

Array containing usernames of clients to perform the operation for.

For direct advertisers, this parameter is ignored.

  1. For advertisers: If the SelectionCriteria structure is empty, the operation will be performed for all the retargeting conditions.
  2. For agencies: At least one of the RetargetingConditionIDS or Logins parameters must be set. If both parameters are set, the operation will be performed for retargeting conditions that simultaneously meet both criteria: a condition ID set in the RetargetingConditionIDS array, and a username of the condition's owner that is set in the Logins array.

Output data

Returns an empty structure:

{ }

Examples of input data


   'Action': 'Delete',
   'SelectionCriteria': {
      'Logins': ['agrom','larry']


   'Action' => 'Delete',
   'SelectionCriteria' => array(
      'Logins' => array('agrom','larry')


   'Action' => 'Delete',
   'SelectionCriteria' => {
      'Logins' => ['agrom','larry']