removing ad tags from adsense codes

1 replies
  • SEO
  • |
Hi,I know we can remove ad tags as I saw google's ad modification acceptance. However I want to know can I put adsense code in a line
like converting this multiples lines

<script type="text/javascript">
google_ad_client = "ca-publisher-id";
google_ad_slot = "1234567890";
google_ad_width = 728;google_ad_height = 90;
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

to this
<script type="text/javascript">google_ad_client= "ca-pub-45d28";google_ad_slot="545dfdfdfdfsdsdsd34343477"; google_ad_width=728;google_ad_height=90;</script>
<script type="text/javascript"src="http://pagead2.googlesynd">

Thanks
#adsense #codes #removing #tags
  • Profile picture of the author ankitoberoi
    Thats js minification.

    Check with the Adsense team before implementing, although it does not affect the ads at all, but modifying the ad code in any way (which could include removing the line break) is a breach of the Terms.
    Signature

    BETA - AdPushup | Increase AdSense revenue using advanced automated A/B Testing.

    Recent Post - How Typography Affects Readers

    Twitter - @oberoiankit

    {{ DiscussionBoard.errors[8168079].message }}

Trending Topics