Adsense Now Supports HTTPS Ads

Https adsense support

Google Adsense announced today the support for HTTPS sites such as those serving financial service pages and e-commerce sites. Looking at the SSL-compatible ad code, the only difference from non-HTTPS is the absence of “http” in front of the script source, instead the source now begin with two forward slashes. Of course, internally to Google adsense engine, everything is different and only the engineers inside Google  knows what was modified and added.

<script>
google_ad_client=“ca-pub-xxxxxxxxxxxxxx”;
google_ad_slot=“yyyyyyyyyyy”;
google_ad_width=300;
google_ad_height=250;
</script>
<script src=”//pagead2.googlesyndication.com/pagead/show_ads.js“></script>

The updated Adsense code is designed for publishers who are using HTTPS on their websites. Previously, sites running in HTTPS doesn’t have the luxury of having Adsense on their site. If you want to place ads on secure pages, you’ll need to use the new SSL-compatible ad code.

 

For more information, please visit Google Adsense Help Center.

Leave a Reply