@import common.dfp.LiveBlogTopSponsorshipReport @import tools.{CapiLink, SiteLink, DfpLink} @(report: LiveBlogTopSponsorshipReport)(implicit request: RequestHeader, context: model.ApplicationContext) @admin_main("Commercial Live Blog Top Sponsorships", isAuthed = true, hasCharts = false) {

LiveBlog Top Sponsorships

Last updated: @if(report.updatedTimeStamp) { @{report.updatedTimeStamp} } else { never }

Pages will show a live blog top slot if you set up a line item in GAM with the following parameters:

  1. Is a Sponsorship
  2. Targets the
    liveblog-top
    slot
  3. Targets the
    culture
    ,
    tv-and-radio
    ,
    sport
    or
    football
    section
  4. Targets the
    liveblog
    content type
  5. Targets the
    mobile
    breakpoint
  6. [Optional] Targets an edition
  7. [Optional] Targets a keyword
ANY OTHER TARGETING WILL CAUSE THE SLOT TO APPEAR UNINTENTIONALLY

If you are unsure please contact the commercial dev team first.

Sponsorships

Line items that match the above targeting:

@if(report.sponsorships.isEmpty) {

None

} else { @for(sponsorship <- report.sponsorships) {
  • @sponsorship.lineItemName (@sponsorship.lineItemId)
    Sections: @for(section <- sponsorship.sections) {
    @section
    @if(section != sponsorship.sections.last) {, } }
    @if(sponsorship.keywords.nonEmpty) {Keywords: @for(keyword <- sponsorship.keywords) {
    @keyword
    @if(keyword != sponsorship.keywords.last) {, }}} @if(sponsorship.targetsAdTest) {
    Adtest:
    @sponsorship.adTest
    } @if(!sponsorship.editions.isEmpty) {
    Editions: @for(edition <- sponsorship.editions.map(_.id)) {
    @edition
    @if(edition != sponsorship.editions.last.id) {, }}}
  • } } }