<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>ProductCart Shopping Cart Software Forums : Target by Source - openads.org ad server</title>
  <link>https://forum.productcart.com/</link>
  <description><![CDATA[This is an XML content feed of; ProductCart Shopping Cart Software Forums : Customizing ProductCart : Target by Source - openads.org ad server]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 12 Apr 2026 07:56:46 +0000</pubDate>
  <lastBuildDate>Mon, 11 Feb 2008 13:52:00 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forum.productcart.com/RSS_post_feed.asp?TID=1360</WebWizForums:feedURL>
  <image>
   <title><![CDATA[ProductCart Shopping Cart Software Forums]]></title>
   <url>https://forum.productcart.com/forum_images/pc_logo_50.png</url>
   <link>https://forum.productcart.com/</link>
  </image>
  <item>
   <title><![CDATA[Target by Source - openads.org ad server : pIdCategory works on the category...]]></title>
   <link>https://forum.productcart.com/target-by-source-openads-org-ad-server_topic1360_post4087.html#4087</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=874">trodat</a><br /><strong>Subject:</strong> 1360<br /><strong>Posted:</strong> 11-February-2008 at 1:52pm<br /><br />pIdCategory works on the category and product pages!!! Problem solved. Thank you very much netprofits!]]>
   </description>
   <pubDate>Mon, 11 Feb 2008 13:52:00 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/target-by-source-openads-org-ad-server_topic1360_post4087.html#4087</guid>
  </item> 
  <item>
   <title><![CDATA[Target by Source - openads.org ad server : You can try pIdCategory on both...]]></title>
   <link>https://forum.productcart.com/target-by-source-openads-org-ad-server_topic1360_post4085.html#4085</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=77">netprofits</a><br /><strong>Subject:</strong> 1360<br /><strong>Posted:</strong> 11-February-2008 at 12:52pm<br /><br />You can try pIdCategory on both product and category pages but it isn't guarenteed to be filled on product pages.]]>
   </description>
   <pubDate>Mon, 11 Feb 2008 12:52:26 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/target-by-source-openads-org-ad-server_topic1360_post4085.html#4085</guid>
  </item> 
  <item>
   <title><![CDATA[Target by Source - openads.org ad server : I was emailing with someone on...]]></title>
   <link>https://forum.productcart.com/target-by-source-openads-org-ad-server_topic1360_post4084.html#4084</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=874">trodat</a><br /><strong>Subject:</strong> 1360<br /><strong>Posted:</strong> 11-February-2008 at 12:28pm<br /><br />I was emailing with someone on the forum and they said I could use &lt;%=pTempIntSubCategory%&gt; to get the current category / a unique identifier from the source. But, this only works on category/sub-category pages... not product pages. What I really need is to get the parent/main category id number on at least the category, sub-category and product pages. Is this possible?]]>
   </description>
   <pubDate>Mon, 11 Feb 2008 12:28:56 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/target-by-source-openads-org-ad-server_topic1360_post4084.html#4084</guid>
  </item> 
  <item>
   <title><![CDATA[Target by Source - openads.org ad server : Using ProductCart v3.11 I&amp;#039;m...]]></title>
   <link>https://forum.productcart.com/target-by-source-openads-org-ad-server_topic1360_post4079.html#4079</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=874">trodat</a><br /><strong>Subject:</strong> 1360<br /><strong>Posted:</strong> 10-February-2008 at 6:01pm<br /><br /><P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-: EN-US; mso-fareast-: EN-US; mso-bidi-: AR-SA">Using ProductCart v3.11 I'm trying to use the openads.org v2.4 invocation&nbsp;code to display ads&nbsp;in the footer template using the openads "Source" parameter for targeting&nbsp;ads on the pages. So, if I'm in a particular category I can display ads relating to that category. Using openads (to my understsand) it is recommended to use the "Source" parameter for targeting the ads. So, I need a unique source that I can pull from the cart pages and was attempting to use the title tag &lt;%=pcv_PageName%&gt; so when the dynamic page is generated I could pull the unique keyword phrase into the script that calls the ad (in addition to putting a "Site - Source" limitation on all the ads). The below&nbsp;invocation code&nbsp;is the javascript tag but there are a few other tags I could use if needed (like image tag):<BR><BR>&lt;script type='text/javascript'&gt;&lt;!--//&lt;!&#091;CDATA&#091;<BR>&nbsp;&nbsp; document.MAX_ct0 ='{clickurl}';</SPAN></P><P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-: EN-US; mso-fareast-: EN-US; mso-bidi-: AR-SA">&nbsp;&nbsp; var m3_u =  (location.protocol=='https:'?'https://ads.harlandhills.com/w ww/delivery/ajs.php':'http://ads.harlandhills.com/www/delive ry/ajs.php');<BR>&nbsp;&nbsp; var m3_r = Math.floor(Math.random()*99999999999);<BR>&nbsp;&nbsp; if (!document.MAX_used) document.MAX_used = ',';<BR>&nbsp;&nbsp; document.write ("&lt;scr"+"ipt type='text/javascript' src='"+m3_u);<BR>&nbsp;&nbsp; document.write ("?zoneid=3&amp;amp;<strong>source=&lt;%=pcv_PageName%&gt;</strong>&amp;amp;blockcampaign=1");<BR>&nbsp;&nbsp; document.write ('&amp;amp;cb=' + m3_r);<BR>&nbsp;&nbsp; if (document.MAX_used != ',') document.write ("&amp;amp;exclude=" + document.MAX_used);<BR>&nbsp;&nbsp; document.write ("&amp;amp;loc=" + escape(window.location));<BR>&nbsp;&nbsp; if (document.referrer) document.write ("&amp;amp;referer=" + escape(document.referrer));<BR>&nbsp;&nbsp; if (document.context) document.write ("&amp;context=" + escape(document.context));<BR>&nbsp;&nbsp; if ((typeof(document.MAX_ct0) != 'undefined') &amp;&amp; (document.MAX_ct0.substring(0,4) == 'http')) {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; document.write ("&amp;amp;ct0=" + escape(document.MAX_ct0));<BR>&nbsp;&nbsp; }<BR>&nbsp;&nbsp; if (document.mmm_fo) document.write ("&amp;amp;mmm_fo=1");<BR>&nbsp;&nbsp; document.write ("'&gt;&lt;\/scr"+"ipt&gt;");<BR>//&#093;&#093;&gt;--&gt;&lt;/script&gt;&lt;noscript&gt;&lt;a  href='http://ads.harlandhills.com/www/delivery/ck.php?n=a79a b8aa&amp;amp;cb={random}' target='_blank'&gt;&lt;img  src='http://ads.harlandhills.com/www/delivery/avw.php?zoneid =3&amp;amp;<strong>source=&lt;%=pcv_PageName%&gt;</strong>&amp;amp;n=a79ab8aa&amp;amp;ct0={clickurl}' border='0' alt='' /&gt;&lt;/a&gt;&lt;/noscript&gt;<BR><BR><BR>This is not working though. Can anyone tell me what "source" you would recommend using from productcart to target the ads and how I can get this to work?</SPAN></P>]]>
   </description>
   <pubDate>Sun, 10 Feb 2008 18:01:51 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/target-by-source-openads-org-ad-server_topic1360_post4079.html#4079</guid>
  </item> 
 </channel>
</rss>