Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Putting ebay ads in your pages
#1
Originally posted by jeremysa1:

Using the ebay developers kit, it's pretty easy to integrate targeted ebay listings on your answer pages.

On my yahoo_answer.htm file in my templates directory, I added the following code from ebay:

<script language="JavaScript" src="http://lapi.ebay.com/ws/eBayISAPI.dll?EKServer&ai=dutq%7Fhmst%7D%7Cot%7E%7Ft&bdrcolor=FFCC00&cid=0&eksize=1&encode=ISO-8859-1&endcolor=FF0000&endtime=y&fbgcolor=FFFFFF&fntcolor=000000&fs=0&hdrcolor=6666FF&hdrimage=1&hdrsrch=n&img=y&lnkcolor=0000FF&logo=2&num=25&numbid=y&paypal=n&popup=n&prvd=1&query={$answer.qa_info.Subject}&r0=3&shipcost=n&sid=2311893&siteid=0&sort=MetaEndSort&sortby=endtime&sortdir=asc&srchdesc=y&tbgcolor=FFFFFF&tlecolor=FFCE63&tlefs=0&tlfcolor=000000&track=dog&width=570"></script>

If you go to ebay's developer kit, you can change the look, colors, size, number of items, etc. You'll need to sign up for their affiliate program through commission junction in order to make any money. Remember that CJ kicks your account (and charges a deactivation fee) if you don't make your first sale within a few months, so I'd let your site mature a bit before signing up if you don't already have an account.

You can see that it dynamically changes the query based on the question asked, using the query={$answer.qa_info.Subject} tag.

THere is probably a way to change the query call to get the subcategory keyword, and not the whole question (because wordy questions can return no results in ebay), but I'm not sure what to replace [$answer.qa_info.Subject] with.

Feel free to use the ebay code (though you might want to change the referrer id unless you want me to get paid for all your ebay sales!)
Reply
#2
What is the Token for the subcategory keyword tag? {subkeyword} or something ? or even the main category keyword tag?
Reply
#3
For the current keyword (subcategory or category), use {$keyword.key_text}

If you have complex keywords that don't deliver suitable results, you could also use the site name: {$domain.domain_title}

(Note: This also works with Amazon and other affiliate programs that deliver targeted product ads based on keywords you provide.)
Reply
#4
You forgot to put your referal EBay ID in the search, so you are loosing Ebay affiliate referrals!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)