I have some adsense ads that are shared between some users. Some of the users want to put a channel name in the adsense ad. What do I need to do to do this? In other words, I need to add something in the Google JavaScript. What is it that I need to add there?
What change would I do to add a configurable channel to this: <script type="text/javascript"><!-- google_ad_client = "<%=googleId%>"; /* 728x90, created 4/3/09 */ google_ad_slot = "<%=adSlot%>"; google_ad_width = 728; google_ad_height = 90; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>
Couldn't you just create custom channels in the AdSense control panel and get the specific ad code you're after that way?
No, because I want the users to be able to specify their channel name. It's what the users are asking for. For example, here in the DP forums, you put in your Google publisher ID and then you put in the channel name that you want to use.