CP24 Asset Scheduler
A custom asset/sponsor scheduler.
.NET 7 required.
Version 1.0.0
Copy the Creative field into the Asset description field.
Use the Advertiser as the campaign and client.
Open the last used file folder if the current input file field is blank.
Save the schedule items in batches instead a single large transaction.
Version 0.1.2
An initial test version
Reads an Excel file to get sponsor schedules to apply to a Tick-It instance.
Creates an asset placeholder for scheduling if the asset cannot be found.
Working Assumptions
Each day starts at 5:00 am and runs to 5:00 am the next day
If no Start and End Time is given then assume 5:00 am to 5:00 am the next day
Example for an End Date of 2023-10-01 the actual end is 2023-10-02 5:00
The last possible asset scheduled time would be 2023-10-02 4:59
Use the House# (example: AB15117) to identify the asset to be scheduled.
If no Rotate value is provided then the sponsor is scheduled once per hour at the given offset (example 5:08) of each day.
If the given End Time is at or before 5:00 it is assumed to be the next day. (example Start: 19:00 with End: 5:00)
If the asset doesn’t yet exist in the Tick-it database, then create a placeholder asset and schedule it assuming a user will assign the required template and campaign information in Flow.
Requires the following columns in the given order:
Feature
Advertiser
House #
Zone #
Start Time (HH:mm)
End Time (HH:mm)
Rotate
Start Day
End Day
(another column)
Offset