Copying of the task settings

Description

Copies the specified settings of the original task on the target tasks of the target folder.

Request code

OC_COPYTASKSETTINGS

Request errors

Request code Code meaning Explanation
QE_FOLDER_NOT_FOUND Folder not found The source folder was not found
QE_TARGET_FOLDER_NOT_FOUND Target folder not found Target folder was not found
QE_TASK_NOT_FOUND Task not found The source task was not found

Request body

"Action":<OC_COPYTASKSETTINGS>,
 "Data":{
  "Source folder":<MySourceFolderID>,
  "Source task":<MySourceTaskID>,
  "Target folder":<MyTargetFolderID>,
  "Target tasks":[
   <MyTargetTaskID_1>,
   <MyTargetTaskID_2>,
   ...
   <MyTargetTaskID_N>
  ],
  "Settings":[
   <TaskSetting_1>,
   <TaskSetting_2>,
   ...
   <TaskSetting_N>
  ]
  "Token":<MyToken>
}

Response body

"Status":"Success"

Additionally

  1. If Target tasks array is empty or is absent, the settings will be copied to all the tasks within the target folder
  2. Settings Array can be filled with the following values, ​​corresponding to the task settings, which have to be copied:
    • Mask
    • Ignore GU
    • Allow proxy
    • Allow static
    • Unique period
    • Range size
    • Before click
    • After click
    • Domain
    • Ext source
    • Frozen
    • Growth
    • List ID
    • List mode
    • Days
    • Profile
    • Geotargeting
    • Day targeting
    • Week targeting
    • Time distribution
  3. If the Settings Array is empty or missing, then all the settings of the original task will be copied to the target tasks.