media_post_optimizations_clone {civis} | R Documentation |
Clone an existing optimization
Description
Clone an existing optimization
Usage
media_post_optimizations_clone(id)
Arguments
id |
integer required. The optimization ID. |
Value
A list containing the following elements:
id |
integer, The optimization ID. |
author |
list, A list containing the following elements:
|
name |
string, The name of the optimization. |
createdAt |
string, |
updatedAt |
string, |
finishedAt |
string, The end time of the last run. |
state |
string, The state of the last run. |
lastRunId |
integer, The ID of the last run. |
spotOrderId |
integer, The ID for the spot order produced by the optimization. |
archived |
string, The archival status of the requested item(s). |
reportLink |
string, A link to the visual report for the optimization. |
spotOrderLink |
string, A link to the json version of the spot order. |
fileLinks |
array, Links to the csv and xml versions of the spot order. |
runs |
array, An array containing the following fields:
|
programs |
array, An array of programs that the Civis Media Optimizer either exclude or limit to.An error will be thrown if exclude_programs is not also set. |
networks |
array, An array of networks that the Civis Media Optimizer either exclude or limit to.An error will be thrown if exclude_networks is not also set. |
excludePrograms |
boolean, If Civis Media Optimizer should exclude the programs in the programs parameter.If this value is set to false, it will make the optimization limit itself to the programs supplied through the programs parameter.An error will be thrown if programs is not also set. |
excludeNetworks |
boolean, If Civis Media Optimizer should exclude the networks in the networks parameter.If this value is set to false, it will make the optimization limit itself to the networks supplied through the networks.An error will be thrown if networks is not also set. |
timeSlotPercentages |
list, The maximum amount of the budget spent on that particular day of the week, daypart, or specific time slot for broadcast and cable. |