Media
- class Media(session_kwargs, client, return_type='raw')
Civis API
/mediaendpoint.Methods
delete_optimizations_runs(id, run_id)Cancel a run
delete_optimizations_shares_groups(id, group_id)Revoke the permissions a group has on this object
delete_optimizations_shares_users(id, user_id)Revoke the permissions a user has on this object
delete_ratecards_shares_groups(id, group_id)Revoke the permissions a group has on this object
delete_ratecards_shares_users(id, user_id)Revoke the permissions a user has on this object
delete_spot_orders_shares_groups(id, group_id)Revoke the permissions a group has on this object
delete_spot_orders_shares_users(id, user_id)Revoke the permissions a user has on this object
Show a single optimization
get_optimizations_runs(id, run_id)Check status of a run
get_ratecards(id)Get a Ratecard
get_spot_orders(id)Show a single spot order
list_dmas(*[, name, number])List all Designated Market Areas
list_optimizations(*[, archived, limit, ...])List all optimizations
list_optimizations_runs(id, *[, limit, ...])List runs for the given Optimization job
list_optimizations_runs_logs(id, run_id, *)Get the logs for a run
List users and groups permissioned on this object
list_ratecards(*[, archived, filename, ...])List all ratecards
List users and groups permissioned on this object
list_spot_orders(*[, id, archived])List all spot orders
List users and groups permissioned on this object
list_targets(*[, name, identifier, data_source])List all Media Targets
patch_optimizations(id, *[, name, runs, ...])Edit an existing optimization
patch_ratecards(id, *[, filename, start_on, ...])Update some attributes of this Ratecard
post_optimizations(runs, *[, name, ...])Create a new optimization
Clone an existing optimization
Start a run
post_ratecards(filename, start_on, end_on, ...)Create a Ratecard
post_spot_orders(*[, body])Create a spot order
put_optimizations_archive(id, status)Update the archive status of this object
put_optimizations_shares_groups(id, ...[, ...])Set the permissions groups has on this object
put_optimizations_shares_users(id, user_ids, ...)Set the permissions users have on this object
put_ratecards(id, filename, start_on, ...)Replace all attributes of this Ratecard
put_ratecards_archive(id, status)Update the archive status of this object
put_ratecards_shares_groups(id, group_ids, ...)Set the permissions groups has on this object
put_ratecards_shares_users(id, user_ids, ...)Set the permissions users have on this object
put_spot_orders(id, *[, body])Edit the specified spot order
put_spot_orders_archive(id, status)Update the archive status of this object
put_spot_orders_shares_groups(id, group_ids, ...)Set the permissions groups has on this object
put_spot_orders_shares_users(id, user_ids, ...)Set the permissions users have on this object