How to use gtsmobi ad code on normal PHP pages

Started on the old forum in April 2011 · view the original in the archive · old links redirect here

8 replies · 811 views · started 15 years ago · 1 min read

3 participants
razib Developer · 132 posts #1

Can any one plz tell me how to use gtsmobi's ad code on normal php pages? they are offering only JavaScripts and iFrame codes.

🦸 Buying mobile traffic, PM me with your traffic details

morency Senior · 488 posts #2

copy and paste that code .. ?

Unamos los corazones,hoy todos somos multicolores!

razib Developer · 132 posts #3

but as i know JavaScript and iFrame don't works on mobile

🦸 Buying mobile traffic, PM me with your traffic details

GumSlone Administrator Principal · 1,690 posts #4

like this:

function gtsmobi()
{

$html = <<<EOF
<script type='text/javascript'><!--//<![CDATA[
   var m3_u = (location.protocol=='https:'?'https://engine.gtsmobidistributed.com/www/delivery/ajs.php':'http://engine.gtsmobidistributed.com/www/delivery/ajs.php');
   var m3_r = Math.floor(Math.random()*99999999999);
   if (!document.MAX_used) document.MAX_used = ',';
   document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
   document.write ("?zoneid=747");
   document.write ('&cb=' + m3_r);
   if (document.MAX_used != ',') document.write ("&exclude=" + document.MAX_used);
   document.write (document.charset ? '&charset='+document.charset : (document.characterSet ? '&charset='+document.characterSet : ''));
   document.write ("&loc=" + escape(window.location));
   if (document.referrer) document.write ("&referer=" + escape(document.referrer));
   if (document.context) document.write ("&context=" + escape(document.context));
   if (document.mmm_fo) document.write ("&mmm_fo=1");
   document.write ("'><\/scr"+"ipt>");
//]]>--></script><noscript><a href='http://engine.gtsmobidistributed.com/www/delivery/ck.php?n=a413f0c7&cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://engine.gtsmobidistributed.com/www/delivery/avw.php?zoneid=747&cb=INSERT_RANDOM_NUMBER_HERE&n=a413f0c7' border='0' alt='' /></a></noscript>
EOF;
	
	return $html;
}

ps. they have a very very low cpc for india.

Advertise your mobile site for FREE with AdTwirl

External image (may be gone)

morency Senior · 488 posts #5

... What add company have a good cpc for india ?

Unamos los corazones,hoy todos somos multicolores!

GumSlone Administrator Principal · 1,690 posts #6

morency wrote: ... What add company have a good cpc for india ?

admob 🙂)))) actually many companies, most of them have cpc over 1 cent, only reporo and gtsmobi has very low cpc, both use openx ad system.

Advertise your mobile site for FREE with AdTwirl

External image (may be gone)

razib Developer · 132 posts #7

GumSlone wrote: they have a very very low cpc for india.

what is there CPC for India ? is it less then 0.007 ?

🦸 Buying mobile traffic, PM me with your traffic details

morency Senior · 488 posts #9

yes , Gum , admob .. 😀 thanks .
Low CPC for india in adult world because is not a rich country and most ads are for pay site .

Unamos los corazones,hoy todos somos multicolores!

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close