Center Doubleclick Ads (#4735)
Center Doubleclick Ads (#4735)

* Fix fo bug #4693.
This adds the layout to window.context so that we can use it in cross domain iframe.
We will need this ability to support multi-size ads and pad as well.
For DoubleClick, if we see a responsive ad, pad and size things appropriately.

* Remove debugging comments.

* And more...

* Update ad centering to apply to all ads.

honeybadgerdontcare/amphtml,media-net/amphtml,mlb7687/amphtml,yandex-pcode/amphtml,Gregable/amphtml,triplelift/amphtml,comScore/amphtml,sklobovskaya/amphtml,ampproject/amphtml,lannka/amphtml,techhtml/amphtml,nexxtv/amphtml,src-code/amphtml,aghassemi/amphtml,koshka/amphtml,rifler/amphtml,erwinmombay/amphtml,smartadserver/amphtml,DistroScale/amphtml,yieldbot/amphtml,honeybadgerdontcare/amphtml,zhouyx/amphtml,zhouyx/amphtml,kixer-com/amphtml,avimehta/amphtml,jridgewell/amphtml,dotandads/amphtml,ruturajv-media-net/amphtml,yieldmo/amphtml,ecoron/amphtml,rifler/amphtml,sriramkrish85/amphtml,zhangsu/amphtml,jasti/amphtml,techhtml/amphtml,aghassemi/amphtml,cvializ/amphtml,camelburrito/amphtml,sharethrough/amphtml,ruturajv-media-net/amphtml,nexxtv/amphtml,keithwrightbos/amphtml,pietergreyling/amphtml,mhc-gh/amphtml,voyagegroup/amphtml,koshka/amphtml,clawr/amphtml,avimehta/amphtml,ericlindley-g/amphtml,jpettitt/amphtml,ecoron/amphtml,danielrozenberg/amphtml,clawr/amphtml,camelburrito/amphtml,kamtschatka/amphtml,sklobovskaya/amphtml,arealit/amphtml,sortable/amphtml,devjsun/amphtml,Adtoma/amphtml,kixer-com/amphtml,cory-work/amphtml,comScore/amphtml,taboola/amphtml,zhouyx/amphtml,ADITION/amphtml,ruturajv-media-net/amphtml,alanorozco/amphtml,lannka/amphtml,yieldmo/amphtml,lannka/amphtml,rifler/amphtml,voyagegroup/amphtml,engtat/amphtml,nexxtv/amphtml,laterpay/amphtml,sebastianbenz/amphtml,Lith/amphtml,luciancrasovan/amphtml,Mixpo/amphtml,wjfang/amphtml,spotxchange/amphtml,ecoron/amphtml,jasti/amphtml,sortable/amphtml,prateekbh/amphtml,jdelhommeau/amphtml,dotandads/amphtml,powdercloud/amphtml,tdrl/amphtml,burtcorp/amphtml,rlugojr/amphtml,dvoytenko/amphtml,yieldbot/amphtml,voyagegroup/amphtml,adtechnology/amphtml,burtcorp/amphtml,danielrozenberg/amphtml,tlong2/amphtml,sriramkrish85/amphtml,mhc-gh/amphtml,JuliusThms/amphtml,spotxchange/amphtml,powdercloud/amphtml,Adtoma/amphtml,ecoron/amphtml,fullspeed-sp/amphtml,avimehta/amphtml,widespace-os/amphtml,kmh287/amphtml,rsimha-amp/amphtml,koshka/amphtml,src-code/amphtml,nexxtv/amphtml,src-code/amphtml,wjfang/amphtml,voyagegroup/amphtml,yandex-pcode/amphtml,ericlindley-g/amphtml,engtat/amphtml,kmh287/amphtml,interspacejp/amphtml,BenDz/amphtml,keithwrightbos/amphtml,adup-tech/amphtml,aghassemi/amphtml,honeybadgerdontcare/amphtml,bpaduch/amphtml,adtechnology/amphtml,ampproject/amphtml,rlugojr/amphtml,yieldmo/amphtml,donttrustthisbot/amphtml,DarXector/amphtml,BenDz/amphtml,jasti/amphtml,smartadserver/amphtml,fullspeed-sp/amphtml,rlugojr/amphtml,jmadler/amphtml,jasti/amphtml,wjfang/amphtml,media-net/amphtml,Mixpo/amphtml,Gregable/amphtml,ericlindley-g/amphtml,zhouyx/amphtml,tdrl/amphtml,spotxchange/amphtml,tlong2/amphtml,donttrustthisbot/amphtml,burtcorp/amphtml,Gregable/amphtml,donttrustthisbot/amphtml,jridgewell/amphtml,DarXector/amphtml,adiant/amphtml,comScore/amphtml,ericlindley-g/amphtml,bpaduch/amphtml,Mixpo/amphtml,clawr/amphtml,Lith/amphtml,honeybadgerdontcare/amphtml,triplelift/amphtml,rajkumarsrk/amphtml,Lith/amphtml,yieldmo/amphtml,dvoytenko/amphtml,avimehta/amphtml,mhc-gh/amphtml,kmh287/amphtml,kamtschatka/amphtml,rlugojr/amphtml,shawnbuso/amphtml,jasti/amphtml,jridgewell/amphtml,mhc-gh/amphtml,luciancrasovan/amphtml,ampproject/amphtml,zhucl/amphtml,alanorozco/amphtml,widespace-os/amphtml,shawnbuso/amphtml,BrightcoveOS/amphtml,gumgum/amphtml,jpettitt/amphtml,sklobovskaya/amphtml,gumgum/amphtml,taboola/amphtml,lannka/amphtml,ruturajv-media-net/amphtml,jlucero-contentad/amphtml,vmarteev/amphtml,cory-work/amphtml,burtcorp/amphtml,koshka/amphtml,zhangsu/amphtml,mhc-gh/amphtml,JuliusThms/amphtml,tdrl/amphtml,tdrl/amphtml,keithwrightbos/amphtml,keithwrightbos/amphtml,JuliusThms/amphtml,ADITION/amphtml,sklobovskaya/amphtml,ampproject/amphtml,jdelhommeau/amphtml,sklobovskaya/amphtml,jdelhommeau/amphtml,bpaduch/amphtml,zhucl/amphtml,jpettitt/amphtml,sortable/amphtml,rajkumarsrk/amphtml,rsimha-amp/amphtml,sebastianbenz/amphtml,jmadler/amphtml,fullspeed-sp/amphtml,triplelift/amphtml,aghassemi/amphtml,rajkumarsrk/amphtml,smartadserver/amphtml,Lith/amphtml,tlong2/amphtml,yandex-pcode/amphtml,JuliusThms/amphtml,sriramkrish85/amphtml,mlb7687/amphtml,kixer-com/amphtml,donttrustthisbot/amphtml,jridgewell/amphtml,laterpay/amphtml,clawr/amphtml,spotxchange/amphtml,pedjoni8/amphtml,cvializ/amphtml,laterpay/amphtml,DAC-f1h-dev/amphtml,BrightcoveOS/amphtml,gumgum/amphtml,jlucero-contentad/amphtml,Mixpo/amphtml,jpettitt/amphtml,engtat/amphtml,mlb7687/amphtml,pietergreyling/amphtml,rajkumarsrk/amphtml,kamtschatka/amphtml,jmadler/amphtml,Mobusi-ads/amphtml,chaveznvg/amphtml,yieldbot/amphtml,donttrustthisbot/amphtml,alanorozco/amphtml,wjfang/amphtml,interspacejp/amphtml,laterpay/amphtml,jmadler/amphtml,techhtml/amphtml,laterpay/amphtml,kmh287/amphtml,Lith/amphtml,adtechnology/amphtml,yandex-pcode/amphtml,danielrozenberg/amphtml,jmadler/amphtml,alanorozco/amphtml,BenDz/amphtml,ecoron/amphtml,triplelift/amphtml,nexxtv/amphtml,yieldbot/amphtml,dvoytenko/amphtml,gumgum/amphtml,jlucero-contentad/amphtml,luciancrasovan/amphtml,avimehta/amphtml,zhangsu/amphtml,dotandads/amphtml,pedjoni8/amphtml,aghassemi/amphtml,arealit/amphtml,nexxtv/amphtml,burtcorp/amphtml,zhouyx/amphtml,rifler/amphtml,zhucl/amphtml,clawr/amphtml,tlong2/amphtml,shawnbuso/amphtml,prateekbh/amphtml,spotxchange/amphtml,arealit/amphtml,pedjoni8/amphtml,rajkumarsrk/amphtml,yieldmo/amphtml,luciancrasovan/amphtml,honeybadgerdontcare/amphtml,keithwrightbos/amphtml,mhc-gh/amphtml,ADITION/amphtml,bpaduch/amphtml,Adtoma/amphtml,adup-tech/amphtml,dotandads/amphtml,media-net/amphtml,devjsun/amphtml,voyagegroup/amphtml,lzanol/amphtml,media-net/amphtml,zhouyx/amphtml,DarXector/amphtml,lannka/amphtml,yandex-pcode/amphtml,sharethrough/amphtml,comScore/amphtml,DistroScale/amphtml,lzanol/amphtml,camelburrito/amphtml,fullspeed-sp/amphtml,voyagegroup/amphtml,Adtoma/amphtml,sortable/amphtml,mhc-gh/amphtml,jpettitt/amphtml,jasti/amphtml,interspacejp/amphtml,zhangsu/amphtml,widespace-os/amphtml,Mobusi-ads/amphtml,rsimha-amp/amphtml,DAC-f1h-dev/amphtml,bpaduch/amphtml,sklobovskaya/amphtml,clawr/amphtml,engtat/amphtml,rlugojr/amphtml,sebastianbenz/amphtml,DAC-f1h-dev/amphtml,arealit/amphtml,BrightcoveOS/amphtml,honeybadgerdontcare/amphtml,cvializ/amphtml,pedjoni8/amphtml,smartadserver/amphtml,BrightcoveOS/amphtml,Mixpo/amphtml,media-net/amphtml,pietergreyling/amphtml,shawnbuso/amphtml,engtat/amphtml,prateekbh/amphtml,sharethrough/amphtml,chaveznvg/amphtml,erwinmombay/amphtml,DAC-f1h-dev/amphtml,danielrozenberg/amphtml,ADITION/amphtml,adtechnology/amphtml,yieldbot/amphtml,powdercloud/amphtml,DAC-f1h-dev/amphtml,mlb7687/amphtml,prateekbh/amphtml,adtechnology/amphtml,cory-work/amphtml,alanorozco/amphtml,adiant/amphtml,keithwrightbos/amphtml,src-code/amphtml,pietergreyling/amphtml,taboola/amphtml,interspacejp/amphtml,vmarteev/amphtml,sharethrough/amphtml,sklobovskaya/amphtml,sebastianbenz/amphtml,erwinmombay/amphtml,alanorozco/amphtml,BenDz/amphtml,Gregable/amphtml,camelburrito/amphtml,kixer-com/amphtml,bpaduch/amphtml,arealit/amphtml,dotandads/amphtml,erwinmombay/amphtml,kixer-com/amphtml,mhc-gh/amphtml,adup-tech/amphtml,pedjoni8/amphtml,ruturajv-media-net/amphtml,rsimha-amp/amphtml,vmarteev/amphtml,shawnbuso/amphtml,mlb7687/amphtml,danielrozenberg/amphtml,alanorozco/amphtml,Gregable/amphtml,clawr/amphtml,adiant/amphtml,rajkumarsrk/amphtml,taboola/amphtml,dvoytenko/amphtml,src-code/amphtml,lzanol/amphtml,bpaduch/amphtml,jpettitt/amphtml,Gregable/amphtml,dotandads/amphtml,rsimha-amp/amphtml,sebastianbenz/amphtml,smartadserver/amphtml,DarXector/amphtml,yieldbot/amphtml,honeybadgerdontcare/amphtml,tlong2/amphtml,JuliusThms/amphtml,prateekbh/amphtml,sharethrough/amphtml,jlucero-contentad/amphtml,taboola/amphtml,arealit/amphtml,yieldmo/amphtml,kamtschatka/amphtml,alanorozco/amphtml,interspacejp/amphtml,vmarteev/amphtml,pedjoni8/amphtml,laterpay/amphtml,cvializ/amphtml,cvializ/amphtml,vmarteev/amphtml,sriramkrish85/amphtml,cory-work/amphtml,cory-work/amphtml,avimehta/amphtml,engtat/amphtml,ericlindley-g/amphtml,BrightcoveOS/amphtml,sriramkrish85/amphtml,koshka/amphtml,engtat/amphtml,Gregable/amphtml,sriramkrish85/amphtml,vmarteev/amphtml,rlugojr/amphtml,devjsun/amphtml,media-net/amphtml,donttrustthisbot/amphtml,taboola/amphtml,zhangsu/amphtml,wjfang/amphtml,sortable/amphtml,DistroScale/amphtml,adtechnology/amphtml,sebastianbenz/amphtml,koshka/amphtml,lannka/amphtml,zhucl/amphtml,yieldmo/amphtml,sharethrough/amphtml,rsimha-amp/amphtml,Mobusi-ads/amphtml,jridgewell/amphtml,tdrl/amphtml,Lith/amphtml,Gregable/amphtml,adup-tech/amphtml,Adtoma/amphtml,taboola/amphtml,powdercloud/amphtml,camelburrito/amphtml,kmh287/amphtml,chaveznvg/amphtml,devjsun/amphtml,camelburrito/amphtml,keithwrightbos/amphtml,jdelhommeau/amphtml,lzanol/amphtml,tlong2/amphtml,ADITION/amphtml,danielrozenberg/amphtml,media-net/amphtml,ruturajv-media-net/amphtml,adiant/amphtml,techhtml/amphtml,adup-tech/amphtml,BrightcoveOS/amphtml,pietergreyling/amphtml,danielrozenberg/amphtml,kixer-com/amphtml,rifler/amphtml,kamtschatka/amphtml,jridgewell/amphtml,chaveznvg/amphtml,yandex-pcode/amphtml,lannka/amphtml,widespace-os/amphtml,luciancrasovan/amphtml,cory-work/amphtml,triplelift/amphtml,camelburrito/amphtml,jpettitt/amphtml,zhucl/amphtml,fullspeed-sp/amphtml,tdrl/amphtml,lzanol/amphtml,zhucl/amphtml,shawnbuso/amphtml,jridgewell/amphtml,erwinmombay/amphtml,jmadler/amphtml,pietergreyling/amphtml,ecoron/amphtml,adiant/amphtml,ampproject/amphtml,kamtschatka/amphtml,zhangsu/amphtml,jdelhommeau/amphtml,adiant/amphtml,techhtml/amphtml,gumgum/amphtml,cory-work/amphtml,chaveznvg/amphtml,widespace-os/amphtml,DistroScale/amphtml,wjfang/amphtml,gumgum/amphtml,dvoytenko/amphtml,prateekbh/amphtml,powdercloud/amphtml,kixer-com/amphtml,nexxtv/amphtml,src-code/amphtml,chaveznvg/amphtml,Mobusi-ads/amphtml,fullspeed-sp/amphtml,smartadserver/amphtml,ericlindley-g/amphtml,BenDz/amphtml,Mixpo/amphtml,voyagegroup/amphtml,ampproject/amphtml,aghassemi/amphtml,cvializ/amphtml,dvoytenko/amphtml,triplelift/amphtml,rajkumarsrk/amphtml,ampproject/amphtml,DistroScale/amphtml,sortable/amphtml,jlucero-contentad/amphtml,erwinmombay/amphtml,yandex-pcode/amphtml,JuliusThms/amphtml,ampproject/amphtml,gumgum/amphtml,widespace-os/amphtml,techhtml/amphtml,arealit/amphtml,comScore/amphtml,comScore/amphtml,Mobusi-ads/amphtml,wjfang/amphtml,adup-tech/amphtml,DistroScale/amphtml,interspacejp/amphtml,media-net/amphtml,Adtoma/amphtml,rsimha-amp/amphtml,shawnbuso/amphtml,prateekbh/amphtml,burtcorp/amphtml,DAC-f1h-dev/amphtml,jlucero-contentad/amphtml,zhucl/amphtml,devjsun/amphtml,jdelhommeau/amphtml,donttrustthisbot/amphtml,powdercloud/amphtml,Mobusi-ads/amphtml,comScore/amphtml,mlb7687/amphtml,devjsun/amphtml,danielrozenberg/amphtml,zhouyx/amphtml,kmh287/amphtml,rifler/amphtml,BenDz/amphtml,luciancrasovan/amphtml,DarXector/amphtml,DarXector/amphtml,luciancrasovan/amphtml,vmarteev/amphtml,adiant/amphtml,spotxchange/amphtml,lzanol/amphtml,powdercloud/amphtml,jpettitt/amphtml