Adsense for mobile help

Started by wealth, Aug 13, 2011, 11:09 AM

wealth

Guys pls need help on adsense for mobile placement. I generated the code, include on smf2.0 wap2 using php include but never display, it has pass 150 hours but still not working. Someone pls drop the right code for making it display. Thanks 

MyInfoStride

Can you explain the steps already taken?

wealth

Thank you. I create a file named ads.php in my forum root and do include('ads.php');
I manage to get 1 page impression in adsense and nothing more. Ad has never show.

MyInfoStride

Quote from: wealth on Aug 13, 2011, 03:44 PM
Thank you. I create a file named ads.php in my forum root and do include('ads.php');
I manage to get 1 page impression in adsense and nothing more. Ad has never show.

I will post my instruction later. I am just busy now. Please check back for my post on it.

wealth

Quote from: Dewale on Aug 13, 2011, 07:15 PM
Quote from: wealth on Aug 13, 2011, 03:44 PM
Thank you. I create a file named ads.php in my forum root and do include('ads.php');
I manage to get 1 page impression in adsense and nothing more. Ad has never show.

I will post my instruction later. I am just busy now. Please check back for my post on it.
Ok am waiting. Thanks

wealth


wealth

Quote from: wealth on Aug 14, 2011, 08:59 PM
Reminder please.
Any help here, it seems topic has been forgotten Lol.... waiting for your kind answers. Thanks

MyInfoStride

Your topic is not forgotten. I am only working on some urgent technical issues. I will guide through now.

1. You need to generate Ad Sense code for WAP2.
2. Open Wireless.Template.php in default theme directory in SMF.
3. Create a function for the ad codes as shown below and add before " ?> "

function template_mobileWAP2_Ads()
{
//Starts IFS_Google_AdSense_MobileWAP2

[Ads Code]

//Ends IFS_Google_AdSense_MobileWAP2
}


You next task is to identify where you want your ad to display. Wherever you want the code displayed in the wireless template, just called the following function:

template_mobileWAP2_Ads();

Give it a trial and let me know how it goes.

wealth

I actually followed the instructions here but keep parsing errors when viewed with a mobile/pc browser. Thks

MyInfoStride

Quote from: wealth on Aug 16, 2011, 10:43 PM
I actually followed the instructions here but keep parsing errors when viewed with a mobile/pc browser. Thks

Can you post the error message or screenshot here?