set
Changes the coefficient values in bid adjustments.
Learn more
Request
Request structure in JSON format:
{
"method": "set",
"params": { /* params */
"BidModifiers": [{ /* BidModifierSetItem */
"Id": (long), /* required */
"BidModifier": (int) /* required */
}, ... ] /* required */
}
}
Parameter |
Type |
Description |
Required |
params structure (for JSON) / SetRequest structure (for SOAP) |
|||
|
array of BidSetItem |
Coefficient values. Maximum of 1000 items in the array. |
Yes |
BidModifierSetItem structure |
|||
|
long |
Bid adjustment ID. |
Yes |
|
int |
Coefficient value. Specified as a percentage:
The bid is multiplied by the value of |
Yes |
Response
Response structure in JSON format:
{
"result": { /* result */
"SetResults": [{ /* ActionResult */
"Id": (long),
"Warnings": [{ /* ExceptionNotification */
"Code": (int), /* required */
"Message": (string), /* required */
"Details": (string)
}, ... ],
"Errors": [{ /* ExceptionNotification */
"Code": (int), /* required */
"Message": (string), /* required */
"Details": (string)
}, ... ]
}, ... ]
}
}
Parameter |
Type |
Description |
result structure (for JSON) / SetResponse structure (for SOAP) |
||
|
array of ActionResult |
Results of changing coefficients. |
ActionResult structure |
||
|
long |
Bid adjustment ID. Returned if there aren't any errors. See the section Operations on object arrays. |
|
array of ExceptionNotification |
Warnings that occurred during the operation. |
|
array of ExceptionNotification |
Errors that occurred during the operation. |