@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) {

Survey Sponsorships

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:

  1. Is a Sponsorship
  2. Targets the
    survey
    slot
  3. Targets the
    theguardian.com
    except
    front
    adUnit
  4. Targets the
    theguardian.com
    except
    front
    content type
  5. Targets the
    desktop
    breakpoint
  6. Targets the
    connected TV
    device category in GAM
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)
    AdUnits: @for(survey <- sponsorship.adUnits) {
    @survey
    @if(survey != sponsorship.adUnits.last) {, } }
    @if(sponsorship.countries.nonEmpty) {Countries: @for(country <- sponsorship.countries) {
    @country
    @if(country != sponsorship.countries.last) {, }}} @if(sponsorship.targetsAdTest) {
    Adtest:
    @sponsorship.adTest
    }
  • } } }