homepage Welcome to WebmasterWorld Guest from 54.237.134.62
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
Visit PubCon.com
Home / Forums Index / Google / Google AdSense
Forum Library, Charter, Moderators: incrediBILL & jatar k & martinibuster

Google AdSense Forum

    
adsense on localhost?
will google hunt me down?
koen




msg:1461963
 11:50 am on Dec 19, 2005 (gmt 0)

I've read the program policies etc but they're not very specific about this matter. Anyone knows whether this could cause problems? It's for layout testing purposes.

 

rj87uk




msg:1461964
 12:07 pm on Dec 19, 2005 (gmt 0)

Could you not place an image for testing? this would be a safer option.

Jean




msg:1461965
 12:16 pm on Dec 19, 2005 (gmt 0)


google_adtest='on';

This was a reply from AdSense support when I enquired about using AdSense whilst testing sites so it's a safe procedure.

[edited by: Jean at 12:19 pm (utc) on Dec. 19, 2005]

[edited by: martinibuster at 5:32 am (utc) on Dec. 21, 2005]
[edit reason] Removed email excerpt per tos. [/edit]

jetteroheller




msg:1461966
 12:16 pm on Dec 19, 2005 (gmt 0)

For layout testing with a graphic:

I use in my CMS a special work mode to show red <DIV> where the ads are.

It's just a mouse click to test in this moed

r3nz0




msg:1461967
 12:26 pm on Dec 19, 2005 (gmt 0)

just remove your publisher code :)

but that test option is cool! thnx

jetteroheller




msg:1461968
 12:44 pm on Dec 19, 2005 (gmt 0)

just remove your publisher code :)

To dangerouse.

Experiments like this tends to be by mistake in the internet. Imagine all Your site without Your publisher code.

instinct




msg:1461969
 8:06 pm on Dec 20, 2005 (gmt 0)

<?php

if ($_SERVER['SERVER_NAME'] == 'yourlivedomain.com') {

echo $adsense_js;

} else {

echo $adsense_placeholder;

}

?>

ashii




msg:1461970
 5:28 am on Dec 21, 2005 (gmt 0)

google_adtest='on';

Is it official?No word about it on help pages at google adsense?

martinibuster




msg:1461971
 5:36 am on Dec 21, 2005 (gmt 0)

I have gifs representing the sizes I use that I drop in to see what it looks like. I create more in photoshop if it's using special colors.

Jean




msg:1461972
 8:16 am on Dec 21, 2005 (gmt 0)

Is it official?

Well, it was a reply from AdSense support. Unfortunately, I can't quote you their email but my question was about having AdSense on a site that was under construction but already accessible to quite a number of people. I wanted the ads to show but didn't want them to be counted.
AdSense support told me to add
google_adtest='on';
within the AdSense javascript code.

So unless this is on a case by case basis it should be OK to use it and simpler than inserting gifs.

gregdi




msg:1461973
 5:26 pm on Dec 21, 2005 (gmt 0)

<?php

if ($_SERVER['SERVER_NAME'] == 'yourlivedomain.com') {

echo $adsense_js;

} else {

echo $adsense_placeholder;

}

?>

I think for those who have php access on their test server this is the best solution. If you put it in a php includes file you can use it on any page that you would normally use that size of adsense ad.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Google / Google AdSense
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved