hey amylee i have signup wid admob, i tried putting the code of admob, that you had given here in this post http://www.2wap.org/forums/index.php?showt...art=#entry21663 i tried putting the codes in index.php and i got parse error, could you please tell me where should i put that codes given here http://www.2wap.org/forums/index.php?showt...art=#entry21663 by you?
Help With Google Ads In Lavalair Script
Collapse
X
-
renu4u
-
Regz
Ok renu nd lol u didnt inbox me ua wapsite nyways i also got tht service nd i have put the adsense code on ma wapsite too but its not showin up after 48 hours too nd now its been many times tht hours dunno whts problem .Nd go to code section in admob nd take code frm there they have two facilities one a ahref code oder a complete code tht u can add in oder file nd include it wherever u wana adds to show up .
Comment
-
renu4u
Ok renu nd lol u didnt inbox me ua wapsite nyways i also got tht service nd i have put the adsense code on ma wapsite too but its not showin up after 48 hours too nd now its been many times tht hours dunno whts problem .Nd go to code section in admob nd take code frm there they have two facilities one a ahref code oder a complete code tht u can add in oder file nd include it wherever u wana adds to show up .[/b]
Comment
-
Regz
Lol ok Renu ma site dont have XHTML version Googls ads hence dont work i think nd Admob used to work but i m been banned by Admob
Comment
-
renu4u
admob dont give good earning, i have noticed in my account admob is not paying as expected, though adsense pay much better than admob, still i am trying if google ads work with xhtml, though admob is now working fine with xhtml aswell as wml.
Comment
-
Regz
admob dont give good earning, i have noticed in my account admob is not paying as expected, though adsense pay much better than admob, still i am trying if google ads work with xhtml, though admob is now working fine with xhtml aswell as wml.[/b]
Comment
-
renu4u
Ammm Ok i m using admoda as admob has banned ma account nd Google has also given Makup language as wml but its still not working wid wml .......Renu is google adsense workin wid ua Xhtml? ..[/b]
Comment
-
Guest
Well u can use google adsense with no prob in Xhtml version... But its not working on wml... I dont have latest news whether it supports wml... But the prob is not all the browsers specially phone browsers add accordingly and show google ads...
Comment
-
renu4u
Well u can use google adsense with no prob in Xhtml version... But its not working on wml... I dont have latest news whether it supports wml... But the prob is not all the browsers specially phone browsers add accordingly and show google ads...[/b]
Comment
-
rldowling03
if u wanna use any ads on your site with RW script, if its admob or google ads, just make a new file named 'ads.php' and then get your admob code or google adsense mobile code and then paste it in the ads.php file making sure you leave the php markers in it, ie. <? and ?>
Save it and then where u want ads to show, jus put following
Code:include("ads.php");
Comment
-
Code:function admob_ad() { global $lang; /* editable area */ $mob_mode = 'live'; // change mode from "test" to "live" when you are done testing $mob_alternate_link = '[url]http://ads.admob.com/link_list.php?s=a147016f66cd0c1';[/url] // use this to set a default link to appear if AdMob does not return an ad. /* end editable area */ //used for ad targeting $mob_contents = ''; $mob_ua = urlencode(getenv("HTTP_USER_AGENT")); $mob_ip = urlencode($_SERVER['REMOTE_ADDR']); $mob_m = ''; if ($mob_mode=='test') $mob_m = "&m"; $mob_url = 'http://ads.admob.com/ad_source.php?s=a147016f66cd0c1&u='.$mob_ua.'&i='.$mob_ip.$mob_m; @$mob_ad_serve = fopen($mob_url,'r'); if ($mob_ad_serve) { while (!feof($mob_ad_serve)) $mob_contents .= fread($mob_ad_serve,1024); fclose($mob_ad_serve); } $mob_link = explode("><",$mob_contents); $mob_ad_text = $mob_link[0]; $mob_ad_link = $mob_link[1]; if($this->style == 'WEB') { $this->h3_open("center"); if (isset($mob_ad_link) && ($mob_ad_link !='')) { //display AdMob Ad $this->add_link("".$mob_ad_link."","".$mob_ad_text."","alink"); }else { //no AdMob ad, display alternate $this->add_link("".$mob_alternate_link."","".$lang['admob_link']."","alink"); } $this->h3_close(); } if($this->style == 'WAP') { $this->start_p("center"); if (isset($mob_ad_link) && ($mob_ad_link !='')) { //display AdMob Ad $this->add_link("".$mob_ad_link."","".$mob_ad_text."","alink"); }else { //no AdMob ad, display alternate $this->add_link("".$mob_alternate_link."","".$lang['admob_link']."","alink"); } $this->end_p(); } }
Comment
-
renu4u
Code:function admob_ad() { global $lang; /* editable area */ $mob_mode = 'live'; // change mode from "test" to "live" when you are done testing $mob_alternate_link = '[url]http://ads.admob.com/link_list.php?s=a147016f66cd0c1';[/url] // use this to set a default link to appear if AdMob does not return an ad. /* end editable area */ //used for ad targeting $mob_contents = ''; $mob_ua = urlencode(getenv("HTTP_USER_AGENT")); $mob_ip = urlencode($_SERVER['REMOTE_ADDR']); $mob_m = ''; if ($mob_mode=='test') $mob_m = "&m"; $mob_url = 'http://ads.admob.com/ad_source.php?s=a147016f66cd0c1&u='.$mob_ua.'&i='.$mob_ip.$mob_m; @$mob_ad_serve = fopen($mob_url,'r'); if ($mob_ad_serve) { while (!feof($mob_ad_serve)) $mob_contents .= fread($mob_ad_serve,1024); fclose($mob_ad_serve); } $mob_link = explode("><",$mob_contents); $mob_ad_text = $mob_link[0]; $mob_ad_link = $mob_link[1]; if($this->style == 'WEB') { $this->h3_open("center"); if (isset($mob_ad_link) && ($mob_ad_link !='')) { //display AdMob Ad $this->add_link("".$mob_ad_link."","".$mob_ad_text."","alink"); }else { //no AdMob ad, display alternate $this->add_link("".$mob_alternate_link."","".$lang['admob_link']."","alink"); } $this->h3_close(); } if($this->style == 'WAP') { $this->start_p("center"); if (isset($mob_ad_link) && ($mob_ad_link !='')) { //display AdMob Ad $this->add_link("".$mob_ad_link."","".$mob_ad_text."","alink"); }else { //no AdMob ad, display alternate $this->add_link("".$mob_alternate_link."","".$lang['admob_link']."","alink"); } $this->end_p(); } }
yeah this codes i already have it with me for admob, and it works with wml aswell as xhtml, but the problem is i am not earning that much with admob, i wanted google ads to work, but that is not working on wml aswell as xht
l.
Comment
-
google staff will not list you or let you use html google ads in xhtml wml i know they check ya siteVisit: Chat4u.mobi - The New Lay Of being a site of your dreams!
Visit: WapMasterz Coming Back Soon!
_______
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______
Info & Tips
php.net
w3schools.com
Comment
-
renu4u
google staff will not list you or let you use html google ads in xhtml wml i know they check ya site[/b]
Comment
Comment