How To Insert Mobile AdSense Into Wordpress Header and Footer

The standard ad campaign provided by most third-party advertising network doesn't work on your site's mobile version, this can be a problem since most of the time alot of traffic comes through mobile platforms. In all, you loose out, but here is how to monetize your mobile Wordpress enabled site so you can convert your precious traffic to good income.
Tip: Blogger Vs WordPress - The Final Showdown!

Note:  Download and Install Mobilepress Wordpress plugins for this to work.


Easy Steps to Add Mobile AdSense to Wordpress
A. From Your Google Dashboard
1. Generate your AdSesne for Mobile codes
2. Open Notepad and Paste the generated Code
2. Save Notepad as "adsense.php" without the quotes
4, Upload "adsense.php" to the root directory where you  installed your wordpress.


B. On Your Cpanel Where You Have Wordpress Installed.

5. Navigate to Public_html >  wp-content > plugins>  mobilepress> system>  theme>  default/
6. Locate "header.php" and edit with your Cpanel editor
7. Find (CTR.F) this code below
<?php mopr_ad('top'); ?></div>
8. Right below the code above, insert this code below
<div align="center"> <?php include('adsense.php'); ?> </div>
 so it looks like this
<div><?php mopr_ad('top'); ?></div>
<div align="center"> <?php include('adsense.php'); ?> </div>
9. Following  all the steps above will place mobile AdSense on your mobile header, if you want AdSense to show on your footer, follow the same process above, but “footer.php” would be the file to be edited.

Wait for about 10 minutes, access your blog on your mobile phone and see beautiful ads runing.

No comments:

Post a Comment