Is it possibale adsence for lava?

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

12 replies · 683 views · started 15 years ago · 1 min read

5 participants
athora Developer · 53 posts #1

I tryied to put adsence for contet ad code to lavalair script. But failed. Here what i've done $google= ' <script type="text/javascript"><!-- google_ad_client = "pub-089654**********"; /* 120x120, created 5/21/11 */ google_ad_slot = "761*******"; google_ad_width = 120; google_ad_height = 120; //--> </script>

<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>';

echo "$google";

is there anything wrong?

Added after 6 minutes:

Also tryied in this way

in a .php page

<html><script type="text/ javascript"><!-- google_ad_client = "pub-089654**********"; /* 120x120, created 5/21/11 */ google_ad_slot = "761*******"; google_ad_width = 120; google_ad_height = 120; //--> </script> <script type="text/javascript" src="http:// pagead2.googlesyndication.com/ pagead/show_ads.js"> </script></html>

include'.php';

Admin Junior · 30 posts #3

athora wrote: I tryied to put adsence for contet ad code to lavalair script. But failed. Here what i've done $google= ' <script type="text/javascript"><!-- google_ad_client = "pub-089654**********"; /* 120x120, created 5/21/11 */ google_ad_slot = "761*******"; google_ad_width = 120; google_ad_height = 120; //--> </script>

<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>';

echo "$google";

is there anything wrong?

Added after 6 minutes:

Also tryied in this way

in a .php page

<html><script type="text/ javascript"><!-- google_ad_client = "pub-089654**********"; /* 120x120, created 5/21/11 */ google_ad_slot = "761*******"; google_ad_width = 120; google_ad_height = 120; //--> </script> <script type="text/javascript" src="http:// pagead2.googlesyndication.com/ pagead/show_ads.js"> </script></html>

include'.php';

fst adsense will not allow u to show content ad on your mobile site you have to creat a add unit for mobile content put that ad code in a page and include that page wher u want to show the ads.. U dönt need to make any changes in adsense ad code.. Adsense ad for mobile will show on mobile phones only

athora Developer · 53 posts #4

Im using xhtml

There isn't any php errors. Pages are loading normally, Only thing is, its not showing the ad, in that ad box it says "requested time out
http://pagead2.googlesyndication.com/ pagead/show_ads.js" when searching i found that adsence ad code is not working with the pages that using php sessions. Is that true?

Added after 5 minutes:

Admin wrote: fst adsense will not allow u to show content ad on your mobile site you have to creat a add unit for mobile content put that ad code in a page and include that page wher u want to show the ads.. U dönt need to make any changes in adsense ad code.. Adsense ad for mobile will show on mobile phones only

There isn't any adsense ad for mobile setup in my adsense cp. Think its still not avbl for my country. If i requested a support, will they tell me to use admob?

kei_ki7 Senior · 431 posts #5

There is AdSense for mobile, but only selected country. Btw you can add your AdSense code as html, Something like this

<?php
php codes here
?>
adsense code here
<?php
php code here
?>

Did I help you? You can help me too Your donations will help me finance my studies.

Admin Junior · 30 posts #7

athora wrote: Im using xhtml

There isn't any php errors. Pages are loading normally, Only thing is, its not showing the ad, in that ad box it says "requested time out
http://pagead2.googlesyndication.com/ pagead/show_ads.js" when searching i found that adsence ad code is not working with the pages that using php sessions. Is that true?

Added after 5 minutes:

There isn't any adsense ad for mobile setup in my adsense cp. Think its still not avbl for my country. If i requested a support, will they tell me to use admob?

chek your adsense a/c adsense for mobile opt shoult be there..i m using that service for my mobile site

wapmaster2 Developer · 114 posts #8
<?php
php codes here
?>
adsense code here
<?php
php code here
?>

100% work only for pc browsers never show ads in mobile you have to take your php code for mobile

Added after 3 minutes:

AdSense for mobile content in 15 new countries Friday, May 20, 2011 | 8:30:00 AM

Labels: AdSense features , International

We’re excited to announce the launch of AdSense for mobile content in 15 new countries: Argentina, Brazil, Chile, Colombia, Czech Republic, Hong Kong, Indonesia, Malaysia, Mexico, New Zealand, Nigeria, Philippines, Slovenia, Thailand, and Turkey.

AdSense for mobile content allows publishers to generate earnings from their mobile webpages using targeted Google ads. Just like AdSense for content, Google matches ads to the content of your site -- in this case, your mobile site. You'll earn money whenever visitors to your mobile site click on the ads they see.

For mobile websites, AdSense will automatically detect the type of phone viewing your site and deliver ads to match. For example, if someone views your site through an iPhone, we'll deliver ads specifically designed for high-end phones.

Please note that AdSense for mobile content ad units may be used in mobile websites only, not in mobile applications -- our policies don't permit placement of AdSense for mobile content ads in a mobile application. If you’re looking for an advertising solution for your mobile application, sign up for AdMob, Google’s leading mobile advertising display product.

Posted by Emanuele Brandi - Product Sales Lead

🌹 JUST JOIN FOR FUN ! **[url]http://wapmaster2.com**

athora Developer · 53 posts #9

That may be the result for "You tried to access the address http://googleads.g.doubleclick.net/page which is currently unavailable. Please make sure that the Web address (URL) is correctly spelt and punctuated, then try reloading the page. Make sure your Internet connection is active and check whether other applications that rely on the same connection are working."

but when i'm through my mobile(opera mini) , its showing me the google ads from pc sites

kei_ki7 Senior · 431 posts #10

Some of browsers didn't show Google AdSense, But the Google Mobile AdSense can see from mobile. if you know 160by2, I guess its using google mobile adsense.

Btw try to change your header.

Did I help you? You can help me too Your donations will help me finance my studies.

Admin Junior · 30 posts #12

athora wrote: Mobile adsence is not supported to my country. Isn't there a way to give adsence ads for my wap sites pc users? After adding the ad code i got above error through the mobile.

yes you can add that code for pc user i hope it wl work fine .so what problem you are facing ?? Wl you post that ad code here ?

Added after 5 minutes:

athora wrote: That may be the result for "You tried to access the address http://googleads.g.doubleclick.net/page which is currently unavailable. Please make sure that the Web address (URL) is correctly spelt and punctuated, then try reloading the page. Make sure your Internet connection is active and check whether other applications that rely on the same connection are working."

but when i'm through my mobile(opera mini) , its showing me the google ads from pc sites

is that 404 error? Fst check your adsense a/c it shows when your a/c disable or it may be network error

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