This document defines the format for files to be supplied by Media Owners to Playout. The first published version has been agreed through consultation with the Playout Delivery Group and Playout Steering Committee.
Version | Date | Updated by | Details |
---|---|---|---|
1.7 | 08 Dec 2023 | Adwanted UK (Peter Howe) | Move playerref field towards end of record. |
1.6 | 28 Nov 2023 | Adwanted UK (Peter Howe) | Adopt IAB TechLab naming convention for date fields. |
1.5 | 11 Oct 2023 | Adwanted UK (Peter Howe) | Increase Orderid to max 256 characters |
1.4 | 21 Aug 2023 | Adwanted UK (Peter Howe) | Adopt IAB TechLab convention of lowercase/no-underscore field names. |
1.3 | 17 Jul 2023 | Adwanted UK (Peter Howe) | Increase player_ref to max 36 characters. |
1.2 | 04 Jul 2023 | Adwanted UK (Peter Howe) | Replace player_mac_address with more flexible player_ref. |
1.1 | 07 Jun 2023 | Adwanted UK (Peter Howe) | Make media_owner_playout_ref mandatory and longer. |
1.0 | 12 Apr 2023 | Adwanted UK (Peter Howe) | First published specification. |
0.2 | 06 Mar 2023 | Adwanted UK (Peter Howe) | Amended following discussions. Used for final review before publishing. |
0.1 | 21 Feb 2023 | Adwanted UK (Peter Howe) | Initial version used for discussion with Delivery Group and Steering Group. |
-
Files must be in CSV format.
-
For each Media Owner, their filenames must be unique. The file naming convention is up to each Media Owner to decide.
-
The files must be UTF-8 encoded.
-
There is no header record. The first record begins on the first line. No empty lines are permitted and there is no provision for 'comments' within the file.
-
Each record (including the final record in the file) must be terminated with a Unix-style line termination (LF 0x0A).
-
Each record must have a fixed number of fields, as defined later in this document. Optional fields can be left empty or else must adhere to the defined field format.
-
Each field of type "TEXT" may optionally be delimited by double-quotes (0x22) -- necessary if the value includes a comma. When delimited like this and a double-quote exists within the value of the text, the double-quote must be escaped with an additional double-quote. For example:
"some text ""in quotes"" more text"
-
Each field must not include space padding at the beginning or end.
Each record (each line of the file) reflects all the data associated with a single playout on a single frame. All reporting is at the frame level (e.g. linked assets are not represented, and players which play to multiple screens are reported at frame level).
Mandatory fields are marked with an asterisk *
in the following specification.
Some fields must be populated under certain circumstances, as described in the Description column below.
Such fields are marked with a ?
below.
Field name | Type | Format | Description |
---|---|---|---|
* frameid |
INT4 | SPACE Frame ID | The Frame ID held in SPACE. |
See notes opposite relating to the time fields below |
It is mandatory to provide either startdate/enddate, startdate/spotlength or enddate/spotlength. If all three fields are provided, enddate will be ignored. When providing startdate or enddate, it is mandatory to provide the associated time zone (utcoffset) value. |
||
? startdate |
TIMESTAMP | yyyy-mm-ddThh:mm:ss.sss | The UTC start time of the spot. |
? startutcoffset |
TZ_OFFSET | ±hh:mm Z |
Time zone offset for the spot start time (e.g. +01:00 for BST; Z or :00:00 can be used for GMT.) |
? enddate |
TIMESTAMP | yyyy-mm-ddThh:mm:ss.sss | The UTC end time of the spot. |
? endutcoffset |
TZ_OFFSET | ±hh:mm Z |
Time zone offset for the spot end time. (e.g. +01:00 for BST; Z or :00:00 can be used for GMT.) |
? spotlength |
INT8 | Max value 9223372036854775807 | Spot Length in milliseconds. |
? shareoftime |
DECIMAL(5,2) | Percentage to max 2 decimal places (no % sign). | Share of time. This must be provided for scrollers, but its presence is not policed by Playout. Media Owners must determine when this must be supplied. |
* orderid |
TEXT | Max length 256 characters. | Media Owner-defined order identifier. |
? lineid |
TEXT | Max length 36 characters. | The identifier for the order line that this playout belongs to. This is mandatory for OpenDirect trades but its presence is not policed by Playout. Media Owners must determine when this must be supplied. |
* spacebuyerid |
INT4 | Max value 2147483647 | SPACE-defined ID for the buyer (often a Specialist). This can be a SPACE Agency ID or Client ID. (Note that these IDs do not overlap in SPACE.) |
spaceagencyid | INT4 | Max value 2147483647 | SPACE-defined ID for the agency. If the Agency is the same as the Buyer, this can field should still be populated to aid reporting. |
* spacebrandid |
INT4 | Max value 2147483647 | SPACE-defined Brand ID. |
buyercampaignref | TEXT | Max length 64 characters | Buyer-defined campaign reference (could be an Order ID, for example). |
* creativeid |
TEXT | Max length 64 characters | Media Owner-defined creative identifier. |
* creativename |
TEXT | Max length 128 characters | Creative title, to assist with reporting. Usually a filename. |
thirdpartycreativeref | TEXT | Max length 128 characters | Creative reference provided by a third-party such as the creative agency. This might be a URL or a GUID, for example. |
creativetriggerevent | TEXT | Max length 64 characters | The creative trigger event, indicating what prompted the given creative to be used. |
playerref | TEXT | Max length 36 characters | The MAC Address or other reference uniquely identifying the player. |
* mediaownerplayoutref |
TEXT | Max length 48 characters | Media Owner-defined reference representing this record. For the Media Owner, this should uniquely identify this record across all time. (Note that records supplied by other Media Owners may happen to use the same ID however.) |
Note that Playout will record the SPACE Media Owner ID against each ingested playout. It will be determined from the S3 folder into which the file is dropped.
The date/time of ingesting a record (inserttime
), and an ID unique to each file processed (jobid
) will be included in the data stored
in the data warehouse.