client.media.post_ratecards
A method of the Media endpoint.
- post_ratecards(filename: str, start_on: str, end_on: str, dma_number: int) Response
Create a Ratecard
API URL:
POST /media/ratecardsimport civis client = civis.APIClient() response = client.media.post_ratecards(...)
- Parameters:
- filenamestr
Name of the ratecard file.
- start_onstr (date)
First day to which the ratecard applies.
- end_onstr (date)
Last day to which the ratecard applies.
- dma_numberint
Number of the DMA associated with the ratecard.
- Returns:
civis.Response- idint
The ratecard ID.
- filenamestr
Name of the ratecard file.
- start_onstr (date)
First day to which the ratecard applies.
- end_onstr (date)
Last day to which the ratecard applies.
- dma_numberint
Number of the DMA associated with the ratecard.
- archivedbool
The archival status of the requested item(s).