guardian/frontend — pull request #3577 by hollandben (2014-03-19 18:22:12+00:00)
Title: DFP ads in next-gen

- DPF ad slots have been created adjacent to OAS slots
- OAS slots have been accordingly named so they can be hidden when the switch is off
- DFP ads prepend a label to themselves when successfully loaded
-- This functionality can be suppressed using the `data-label="false"` attribute
- DFP ads reload at various breakpoints
-- This functionality can be suppressed using the `data-refresh="false"` attribute

There are now 4 switches for theses ads (I know that's a lot). Here they are and their uses:
- Adverts - prevent all adverts from loading, except video adverts
- OAS Adverts - prevent calls to OAS to load ads. Also hides the OAS ad slots when off
- DFP Adverts - prevents calls to DFP to load ads
- Load Only Commercial Components - Only loads commercial components via DFP

The last switch is there because we have a few CC going live within the next few weeks and because they use DFP to load, we would no longer be able to deploy and test the new DFP implementation