admin/app/views/commercial/invalidLineItems.scala.html
@import tools.DfpLink @import common.dfp.PageSkinSponsorship @import common.dfp.{GuLineItem} @(invalidPageskins: Seq[PageSkinSponsorship], unknownInvalidLineItems: Seq[GuLineItem])(implicit request: RequestHeader, context: model.ApplicationContext) @admin_main("Line Item Problems", isAuthed = true, hasCharts = false) {
This page shows line items which appear to target Frontend, but have not passed validation. A line item is only considered valid if it targets ad units at or below theguardian.com. Invalid line items are not processed by the Frontend system, and may cause unexpected results.
Use this page to diagnose issues with page skins.
@if(invalidPageskins.isEmpty) {None} else {
| Sponsorship Name | DFP link |
|---|---|
| @for(sponsorship <- invalidPageskins) { | @{sponsorship.lineItemName} |
| } | |
| } |
These invalid line items do not target theguardian.com ad units exclusively, and don't clearly target Frontend. They are likely to be line items targeting other platforms, but it is possible for unidentified anomalies to appear here too.
@if(unknownInvalidLineItems.isEmpty) {None} else {
| Line Item Name | DFP link |
|---|---|
| @for(lineItem <- unknownInvalidLineItems) { | @{lineItem.name} |
| } | |
| } } |