When you are working flights and campaigns, you may wish to create a schedule for when your ads are served. This can be during certain parts of the day, different times of the week, or even changing bids or creatives at different times.
For example, you may wish to not have an ad served from 11am - 2pm PST on Wednesdays. Kevel enables this functionality through the
Create Day Part API, which is why you may want to specify when an ad should be served, and when it should not be served. When used, the day part is created and associates the day part with a flight. Also, note that a flight may be associated with multiple day parts.
WeekDayin a day part, the day part will serve from the first instance of the
StartTimeuntil the first instance of the
EndTimecan potentially be earlier than the
StartTime. In that case, the day part will stop serving when the
EndTimeis reached on the day following the
Day parts cannot overlap in the same flight.
When using the
Create Day Part API, it is important to understand the syntax required to make the request. Because the Kevel API is a RESTful API, there is a specific request format that must be followed to ensure the endpoint can process the request. The format is:
POST- the type of API request being made.
https://api.kevel.co- the URL for the request.
v1- the API version.
flight- the API endpoint being called.
FlightID- The ID associated with the flight.
dayparting- The schedule (day parts) for the ad.