@import common.dfp.SurveySponsorshipReport @import tools.{CapiLink, SiteLink, DfpLink} @(report: SurveySponsorshipReport)(implicit request: RequestHeader, context: model.ApplicationContext) @admin_main("Commercial Survey Sponsorships", isAuthed = true, hasCharts = false) {
Last updated: @if(report.updatedTimeStamp) { @{report.updatedTimeStamp} } else { never }
Pages will show a survey slot if you set up a line item in GAM with the following parameters:
surveyslot
theguardian.comexcept
frontadUnit
theguardian.comexcept
frontcontent type
desktopbreakpoint
connected TVdevice category in GAM
If you are unsure please contact the commercial dev team first.
Line items that match the above targeting:
@if(report.sponsorships.isEmpty) {None
} else { @for(sponsorship <- report.sponsorships) {@survey@if(survey != sponsorship.adUnits.last) {, } }
@country@if(country != sponsorship.countries.last) {, }}} @if(sponsorship.targetsAdTest) {
@sponsorship.adTest}