Changing the task settings
Description
Changes the parameters of specified tasks, setting their values equal to the specified ones.
Request code
OC_SETTASKSPARAMS
Request errors
Request code | Code meaning | Explanation |
---|---|---|
QE_FOLDER_NOT_FOUND | Folder not found | The folder was not found |
Request body
"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>, "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> ] }
Response body
"Status":"Success"
Additionally
- If any of the parameters are not specified, their values remain unchanged.