In this article, you are going to learn how to insert mobile adsense into wordpress. However, I have to let you know that 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.
Download and Install Mobilepress WordPress plugins for this to work.
Insert Mobile AdSense Into WordPress: Sure Steps
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.
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 running.
That’s it, these steps above are proven ways to insert mobile adsense into WordPress. Encounter any hassle? Do not hesitate to drop a comment.
Hot:
5 Comments
Lateef Haskins
It worked perfectly!!!!!!!!!!!
Nosa E Nosa
Glad to hear Lateef, 🙂
Aakash
Thank you so much Nosa, I was looking for something like this since last few days, and finally found the solution 🙂
Anyhow, how is the performance of Mobile adsense? do you have any experience with it by far?
Nosa E Nosa
Hi Aakash,
I am glad you this article could help you.
Mobile adsense performance? Well, it’s not all that fantastic, but 35% of my visitors come using mobile devices, if you do not implement ads, you miss out in a few bucx which can take care of hosting bills. 🙂
I haven’t really written anything about Google adsense and I will consider that patch soon.
Have a wonderful weekend ahead.
Abhishek
Very useful and interesting post., but I feel WP Touch plugin is easy to use for this task you can easily setup adsense with having to edit files and going through cpanel