Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
adsense sharing question
04-02-2008, 09:17 PM
Post: #1
adsense sharing question
Hi!

Seems mySimpleAds very good Icon_smile ; I would like to use it to share the adsense incomes with 2 other guys in my website. We want to put several ads in each page. However, several adsense ID in the same page is against adsense TOS. We want to know if mySimpleAds can display several ads with different format BUT with the same ID each time a page is loaded.
Quote this message in a reply
04-02-2008, 09:28 PM
Post: #2
RE: adsense sharing question
If I'm following you correctly, you can have as many adsense ads and as many size formats on a page as you would like. You would create a different ad for each, and use the ad code for each, placing that ad code where you would like it to appear on your site.

If I didn't follow or I wasn't clear, let me know.

Matt
http://www.clippersoft.net

ClipperSoft's mySimpleAds :: Power your website advertising with the ease and speed you've always looked for.
Visit this user's website Find all posts by this user
Quote this message in a reply
04-03-2008, 05:42 PM
Post: #3
RE: adsense sharing question
ClipperSoft Wrote:If I'm following you correctly, you can have as many adsense ads and as many size formats on a page as you would like. You would create a different ad for each, and use the ad code for each, placing that ad code where you would like it to appear on your site.

If I didn't follow or I wasn't clear, let me know.

Matt
http://www.clippersoft.net
Hello Matt,

Well, I don't know if I'm clear, so sorry for my bad English... If I create 3 places in a page where I put 3 rotating adsense ads, it's needed to have the same adsense ID displayed in the 3 places at the same time.
It's against adsense TOS to display in the same page 2 or 3 ads with different ID.
Quote this message in a reply
04-03-2008, 07:31 PM
Post: #4
RE: adsense sharing question
Ok - I understand now. This is an interesting little puzzle, but I think I have an interesting, albeit workable solution...

1. Create an ad group with 3 ads. In each of the ads you define a javascript piece of code that defines the adsense ad, like...
<script>var ads_id=12345;</script>

2. Create 3 ad groups (1 for each place on your page) with 3 ads (1 for each person) in each. Then slightly change the adsense code, just to use the ads_id variable as opposed to hard coding the id.

3. Place the ads_id ad code in the header of the page on your site and place the other 3 ad groups at the 3 locations.

This will make sure the 3 ads use the single current adsense id.

Matt
http://www.clippersoft.net

ClipperSoft's mySimpleAds :: Power your website advertising with the ease and speed you've always looked for.
Visit this user's website Find all posts by this user
Quote this message in a reply
04-04-2008, 02:13 PM
Post: #5
RE: adsense sharing question
ClipperSoft Wrote:Ok - I understand now. This is an interesting little puzzle, but I think I have an interesting, albeit workable solution...

1. Create an ad group with 3 ads. In each of the ads you define a javascript piece of code that defines the adsense ad, like...
<script>var ads_id=12345;</script>

2. Create 3 ad groups (1 for each place on your page) with 3 ads (1 for each person) in each. Then slightly change the adsense code, just to use the ads_id variable as opposed to hard coding the id.

3. Place the ads_id ad code in the header of the page on your site and place the other 3 ad groups at the 3 locations.

This will make sure the 3 ads use the single current adsense id.

Matt
http://www.clippersoft.net

Hi Matt! Thanks a lot for your quick reply. I really appreciate your support!

I'm trying to understand what you mean but since I'm not a coder it's a little difficult.
If I understand correctly, I must do the following (tell me if I'm wrong).

1- I need to define a variable for each ad and place them in <head> section like:
Code:
<script>var ads_id=pub-111111;</script>
<script>var ads_id=pub-222222;</script>
<script>var ads_id=pub-333333;</script>

Then I create the 3 places and insert the 3 ads, each one with the corresponding variable (not sure if I need to place this variable into the adsense code instead the original ID like this):
Code:
<script type="text/javascript"><!--
google_ad_client = "ads_id";
/* 120x60, created 1/24/08 */
google_ad_slot = "9999999999999";
google_ad_width = 120;
google_ad_height = 60;
google_cpa_choice = ""; // on file
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

Best Regards!
Quote this message in a reply
04-04-2008, 02:27 PM
Post: #6
RE: adsense sharing question
Right...

You create an ad group in mysimpleads with 3 ads in it. Those ads have ad code of...
<script>var ads_id=pub-111111;</script> for one, <script>var ads_id=pub-222222;</script> for the second, and <script>var ads_id=pub-333333;</script> for the third.

Then you create the 3 ad groups for each place on your site with 3 ads in them. The ads would have code like...
<script type="text/javascript"><!--
google_ad_client = ads_id;
/* 120x60, created 1/24/08 */
google_ad_slot = "9999999999999";
google_ad_width = 120;
google_ad_height = 60;
google_cpa_choice = ""; // on file
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

(Note there are no quotes (") around the 'ads_id' in the adsense code.)

Matt
http://www.clippersoft.net

ClipperSoft's mySimpleAds :: Power your website advertising with the ease and speed you've always looked for.
Visit this user's website Find all posts by this user
Quote this message in a reply
04-04-2008, 06:22 PM
Post: #7
RE: adsense sharing question
ClipperSoft Wrote:Right...

You create an ad group in mysimpleads with 3 ads in it. Those ads have ad code of...
<script>var ads_id=pub-111111;</script> for one, <script>var ads_id=pub-222222;</script> for the second, and <script>var ads_id=pub-333333;</script> for the third.

Then you create the 3 ad groups for each place on your site with 3 ads in them. The ads would have code like...
<script type="text/javascript"><!--
google_ad_client = ads_id;
/* 120x60, created 1/24/08 */
google_ad_slot = "9999999999999";
google_ad_width = 120;
google_ad_height = 60;
google_cpa_choice = ""; // on file
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

(Note there are no quotes (") around the 'ads_id' in the adsense code.)

Matt
http://www.clippersoft.net

Thanks Matt,

I will purchase the script in a few days and test this solution. I will keep you updated. If this tip works fine, you will have a new article for FAQ section Icon_lol
Quote this message in a reply
Post Reply 


Forum Jump: