Showing posts with label Template Customization [CSS/HTML Tricks]. Show all posts

How to Use Google Adsense Ads on Responsive Website

Nowadays many of us are making use of responsive the design of their weblogs and web site. By developing a responsive website design is good concept to get visitors from throughout platforms such as desktop, mobile phones and pills. The simple website design not appears good when you visit on mobile phones or upon tablets Because of that your advertisements also vanished from the web site or appears awkward.

Producing Google Adsense ads reactive along with website design is good concept to increase generating. But the query is that will Google actually allow the modifications on advertisements code? The answer then is we are not really changing the particular ad program code|code calculatordecoder} by applying some more code which is right now officially suggested by Search engines to reactive design site owners.

Responsive Google AdSense Advertisements

You might discover if you are using Google Adsense advertisements on your reactive web design that the content change as per the screen-size but the Google Adsense advertisements not growing or diminishing based on the screen-size due to its repair size.

To have an example, you might using the 728x90 leaderboard advertisement unit on the website as well as the ad device will be lengthen to out from the screen anybody is going to your website making use of mobile phones that has only 320 pixels.
engines Adsense advertisements are not the particular responsive automatically but we are able to use some Javascripts which will workaround to your Google Adsense advertisements to make it react to the display size. The advisable thing is that the Google Adsense group officially authorized the reactive ads method.

Make Google Adsense Advertisements Responsive


<!-- You can add multiple Adsense Ad units here-->
<!-- Just change the ad on Line #4 and Line #7 -->
  
<div id="google-ads-1">
 <script type="text/javascript">
  
 adUnit   = document.getElementByIdundefined"google-ads-1");
 adWidth  = adUnit.offsetWidth;
  
 /* Replace this with your AdSense Publisher ID */
 google_ad_client = "ca-pub-1234567890";
  
 if undefined adWidth >= 768 ) {
   /* Leaderboard 728x90 */
   google_ad_slot = "AAA";
   google_ad_width = 768;
   google_ad_height  = 90;
 } else if undefined adWidth >= 468 ) {
   /* Banner undefined468 x 60) */
   google_ad_slot = "BBB";
   google_ad_width  = 468;
   google_ad_height  = 60;
 } else if undefined adWidth >= 336 ) {
   /* Large Rectangle undefined336 x 280) */
   google_ad_slot  = "CCC";
   google_ad_width  = 336;
   google_ad_height  = 280;
 } else if undefined adWidth >= 300 ) {
   /* Medium Rectangle undefined300 x 250) */
   google_ad_slot  = "DDD";
   google_ad_width  = 300;
   google_ad_height  = 250;
 } else if undefined adWidth >= 250 ) {
   /* Square undefined250 x 250) */
   google_ad_slot = "EEE";
   google_ad_width  = 250;
   google_ad_height  = 250;
 } else {
   /* Ad Link Unit undefined200 x 90) */
   google_ad_slot  = "FFF";
   google_ad_width  = 200;
   google_ad_height  = 90;
 }
 </script>
  
 <script type="text/javascript"   
 </script>
</div>

To produce multiple advertisement unit sign in to your Adsense account dash and create advertisement units such as 768x90, 468x60 and 300x250. In over code change google_ad_client (ca-pub-1234) with your bar id plus google_ad_slot (AAA, BBB, and so forth ) together with your identifiers within the code.

Right now paste the above mentioned code anyplace on your webpages and the advertisement will be demonstrated based on the screen-size on various devices. The particular most appropriate advertisements will be proven to the display.

Let me know your own experience comparable.
Special Thanks to the BloggingTuition.Org....

How to create Post Template for Blogger [Step By Step]

If its hard to wright posts again and again, Then this is a best way to save you post template for future posts. See the steps below how we can do it :

1.  First go blogger dashboard
2.  Create New post and switch back compose to html option then show all html code post. Select all code (CTRL + A).





3.  After Copy, click on settings >> Post  and comments option then show the Post Template option.


Paste Copied HTML code in Post template option blank space. If create new post then it's existing code already place in your post. So It would be easy for you!

Hope you liked it, If you are facing any Problem, Please comment it below.

HTML Parse/Escape Tool / Adsense Ad Code Converter

This tool will make your Javascript code to correct format. This tool automatically converts javascript ad code into the correct format so you can embed it directly into your new xml Blogger template. It’s perfect for converting AdSense, AdBrite, Chitika or any other javascript ad code you may have. See below:

Please Like us:



www.facebook.com/waliatech
www.twitter.com/waliatech


Steps:
  1. Get Your Javascript code From (Adsense,Chitika,Adbrite or any)
  2. Paste code in below box.
  3. Click on "Convert"
  4. Code has been Converted. Copy it!
Paste code here:

Thank you for using our tool. Special Thanks will be gone to HelpBlogger.
Please Life our FB Page.

Get Secret Tricks,Tuts,Games (Apks,Data,Ipa) Daily By Email,Enter your E-mail..

Delivered by WaliaTech Feed

Like us on Facebook

Hottest Posts

Powered by Blogger.

- Copyright © Technology Information - WaliaTech - Powered by Blogger