Delete
Deletes retargetings.
Alert
Disabled method. 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": "Retargeting",
"param": {
/* RetargetingRequest */
"Action": (string),
"Login": (string),
"SelectionCriteria": {
/* RetargetingSelectionCriteria */
"RetargetingConditionIDS": [
(int)
...
],
"RetargetingIDS": [
(int)
...
],
"AdIDS": [
(long)
...
]
}
}
}
Parameters are described below.
Parameter |
Description |
Required |
RetargetingRequest object |
||
|
Action: Delete. |
Yes |
|
The username of the client to delete the retargeting for. For advertisers, this parameter is ignored. |
For agencies |
|
The |
Yes |
RetargetingSelectionCriteria object |
||
|
Array of IDs of retargeting conditions to perform the operation for. Maximum of 1000 items in the array. |
One of the parameters |
|
Array of retargeting IDs to perform the operation for. Maximum of 1000 items in the array. |
|
|
Array of ad IDs to perform the operation for. Maximum of 1000 items in the array. |
|
Notes |
||
If the |
Output data
Returns an empty structure:
{ }
Examples of input data
Python
{
'Action': 'Delete',
'Login': 'agrom',
'SelectionCriteria': {
'AdIDS': [2571703, 2571705, 2571707]
}
}
PHP
array(
'Action' => 'Delete',
'Login' => 'agrom',
'SelectionCriteria' => array(
'AdIDS' => array(2571703, 2571705, 2571707)
)
)
Perl
{
'Action' => 'Delete',
'Login' => 'agrom',
'SelectionCriteria' ={
'AdIDS' => [2571703, 2571705, 2571707]
}
}