Quote:
will all 3 advertisement be showing the same adsense account
|
I could be wrong, but I think the answer is no. It seems Google is OK with multiple ads from different accounts. But I will contact a Google rep and find out for sure.
If you do add the code you are talking about 'as is' into the header or last post, you may not see an Adsense ID at all in those 2 ads. That's what happened to me.
Since no one seemed to be able to help, I went ahead and kept the header ad as my own, then I used code that will give credit to whomever made the post prior to any ad shown. If they don't have an adsense account, it will use my number.
The code below will put an ad after the 1st post in a thread and after every 9th post thereafter. It will only kick in after the member has 50 or more posts. If the author of the post has not set up an Adsense account, it will use your ID.
If I can find the link to where I got most of this code I'll add it. I didn't write it myself.
(here it is -
http://nslog.com/2006/08/18/vbulleti...evenue_sharing)
Code:
<!-- / Google AdSense in Posts begin -->
<if condition="$post[postcount] == 1 OR $post[postcount] % 9 == 0">
<if condition="THIS_SCRIPT == 'showthread' AND $post[postid] == $GLOBALS['qrfirstpostid']"> </if>
<if condition="$show['spacer']">
</div>
$spacer_close
</if>
<if condition="$show['spacer']">
$spacer_open
<div id="edit$post[postid]" style="padding:0px 0px $stylevar[cellpadding]px 0px">
<if condition="!$post['islastshown']">
<!-- this is not the last post shown on the page -->
</if>
</if>
<table class="tborder" id="post$post[postid]" align="center" border="0" cellpadding="6" cellspacing="1" width="100%">
<tbody><tr>
<td class="thead" id="td_post_$post[postid]">
<div class="normal">
</div>
</td>
</tr>
<tr>
<td class="alt1" align="center">
<div>
<!-- Adsense standard banner start -->
<center>
<script type="text/javascript"><!--
if('$post[field6]' == '' || $post[posts] <= 50)
{
google_ad_client = "pub-xxxxxxxxxxxxxxxx"; <-- Your ID
google_ad_channel = "";
}
else
{
google_ad_client = "$post[field6]";
google_ad_channel = "$post[field7]";
}
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
google_ad_channel ="";
google_color_border = ["f5f5ff"];
google_color_bg = ["f5f5ff"];
google_color_link = "0000FF";
google_color_url = ["000000","008000","008000","008000"];
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center> <!-- Adsense standard banner End -->
</div>
</td>
</tr>
</tbody>
</table>
</if>
</if>
<!-- / Google AdSense in Posts end-->