Изменение настроек заданий

Описание

Изменяет параметры указанных заданий, устанавливая их значения равными указанным.

Код запроса

OC_SETTASKSPARAMS

Ошибки по запросу

Код запроса Значение кода Пояснение
QE_FOLDER_NOT_FOUND Folder not found Папка не найдена

Тело запроса

"Action":<OC_SETTASKSPARAMS>,
"Data":{
 "Token":<MyToken>,
 "Folder ID":<MyFolderID>,
 "Mask":<MyMask>,
 "Name":<MyName>,
 "Ignore GU":<MyIgnoreGU>,
 "Allow proxy":<MyAllowProxy>,
 "Allow static":<MyAllowStatic>,
 "Unique period":<MyUniquePeriod>,
 "Range size":<MyRangeSize>,
 "Domain":<MyDomain>,
 "Ext source":<MyExtSource>,
 "Before click":<MyBeforeClick>,
 "After click":<MyAfterClick>,
 "Frozen":<MyFrozen>,
 "Growth":<MyGrowth>,
 "Days":<MyDays>,
 "List ID":<MyListID>,
 "List mode":<MyListMode>,
 "Profile":<MyProfile>,
 "Profile storage":<MyProfileStorage>,
 "Software mode":<MySoftwareMode>,
 "Geo targeting":[
  { "Zone ID": 1, "Target": <MyZoneTarget_1> },
  { "Zone ID": 2, "Target": <MyZoneTarget_2> },
  ...
  { "Zone ID": N, "Target": <MyZoneTarget_N> }
 ],
 "Day targeting":[
  { "Hour": 1, "Max": <MyTimeMax_1>,"Min":<MyTimeMin_1>},
  { "Hour": 2, "Max": <MyTimeMax_2>,"Min":<MyTimeMin_2>},
  ...
  { "Hour": N, "Max": <MyTimeMax_N>,"Min":<MyTimeMin_N>}
 ],
 "Week targeting":[
  { "Day": 1, "Target": <MyTarget_1>},
  { "Day": 2, "Target": <MyTarget_2>},
  ...
  { "Day": N, "Target": <MyTarget_N>},
 ],
 "Time distribution":[
  {"Percent":<MyPercent_1>,"Priority":<MyPriority_1>},
  {"Percent":<MyPercent_2>,"Priority":<MyPriority_2>},
  ...
  {"Percent":<MyPercent_N>,"Priority":<MyPriority_N>},
 ],
 "Task IDs":[
  <MyTaskID_1>,
  <MyTaskID_2>,
  ...
  <MyTaskID_N>
 ]
}

Тело ответа

"Status":"Success"

Дополнительно