Custom Comcode for Amazon

Post

Posted
Rating:
#3577 (In Topic #713)
This is more an Amazon question than a Custom Comcode question. The new Amazon ad code is complicated. In the past, there was just one number that fit into the {content} space. Now, there is a whole series of letters and numbers that change from one item to the next. I created a Custom Comcode for Amazon picture only, which is just a single number, and that worked fine. But I do not know what to replace with the {content} in this much more complicated code.

Here is an example of the entire code.

<iframe style="width:120px;height:240px;" marginwidth="0" marginheight="0" scrolling="no" frameborder="0"
src="//ws-na.amazon-
adsystem.com/widgets/qServiceVersion=20070822&OneJS=1&Operation=GetAdHtml&MarketPlace=US&source=ss&ref=
as_ss_li_til&ad_type=
product_link&tracking_id=yguaca20&marketplace=amazon&region=US&placement=0736956387&asins=0736956387&linkId=
7ed9bc560488e3b54e23ba30d83075e0
&show_border=true&link_opens_in_new_window=true"></iframe>

The part I made red is what changes from item to item. How can I make this work? That is, where does the {content} go? Thanks.

Last edit: by ooblek

Post

Posted
Rating:
#3578
Hi,

A few alternative things come to mind:
  1. Just use the raw HTML and forget about a Comcode tag
  2. Use the whole bit in red as 'content' (a bit messy, but it should work)
  3. Use parameters. You can use any number of parameters for the Comcode tag, not just the middle bit ('content'). E.g. {placement}, {asins}, {linkId}. Then reference like [amazon placement="..." asins="..." linkid="..."][/amazon]

0 guests and 0 members have recently viewed this.