WordPress.org

Ready to get started?Download WordPress

Forums

Amazon Link
Localised banners? (3 posts)

  1. capbell
    Member
    Posted 1 year ago #

    Hey Paul, quick question, is there a way to have a 468x60 banner showing X Amazon campaign (for example: kindle banner) but have it localised?

    I could use Amazon's direct code but it wouldn't be localised and wouldn't show the appropriate local banner and also because they use iframes you can't rel=nofollow it which concerns me for Page rank juice!

    I tried to find how to do this and read through the faq page again but I can't seem to get it to work!

    Thanks again my friend :)

    http://wordpress.org/extend/plugins/amazon-link/

  2. paulstuttard
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    Yes I thought that would be a good idea too, when I first looked at it there were just too many differences in the iframe code to get it to work. Or the special offers in one region did not match those in another region.

    For example lets try and do a banner for 'Electronics & Photo'. The iframe URL for the various locales is (I have put template tags in where I can):

    DE:

    http://%RCM%/e/cm?t=%TAG%&o=%MPLACE_ID%&p=48&l=ur1&category=electronics&banner=0MNQ6KCCWY32BF4PH5G2&f=ifr

    UK:

    http://%RCM%/e/cm?t=%TAG%&o=%MPLACE_ID%&p=48&l=ur1&category=electronicsfoto&banner=15Z3JBH2VW9N778BZVG2&f=ifr

    US (rotating):

    http://%RCM%/e/cm?t=%TAG%&o=%MPLACE_ID%&p=48&l=ur1&category=electronicsrot&f=ifr

    FR:

    I couldn't find an equivalent, however I noticed the category was often in French, e.g. category=sante_soins_du_corps

    ---

    I haven't tried this but you might want to try creating a template along the lines of:

    ORIGINAL AMAZON CUT N' PASTED CODE:

    <iframe src="http://rcm-fr.amazon.fr/e/cm?t=lipas-21&o=8&p=48&l=ur1&category=sante_soins_du_corps&banner=1048YZ23K3GTY5ARKJ82&f=ifr" width="728" height="90" scrolling="no" border="0" marginwidth="0" style="border:none;" frameborder="0">
    </iframe>

    TEMPLATE EQUIVALENT:

    <iframe src="http://%RCM%/e/cm?t=%TAG%&o=%MPLACE_ID%&p=48&l=ur1&category=%TEXT1%&f=ifr" width="728" height="90" scrolling="no" border="0" marginwidth="0" style="border:none;" frameborder="0">
    </iframe>

    Template options: name=my_banner, type=NO_ASIN

    NOTE: I have just deleted the 'banner=ABCDEF...' argument hoping it is optional!

    Then create a shortcode using the template something like:

    [amazon template=my_banner&text1[uk]=electronicsfoto&text1[us]=electronicsrot&text1[de]=electronics]

    You might get lucky if you use a really common category like 'music', I tried this a while back and could not get it to work, you might have more luck though (and more motivation!).

    Don't forget to turn ad-blocker off on your browser.

    Paul

  3. capbell
    Member
    Posted 1 year ago #

    Ah yes ad-blocker, I once spent over an hour trying to figure out why my ad code wasn't working once!!!!

    Thanks for the thorough reply as always, your method might work! I wil test it later, however, It looks like there is no way to shove in a rel=nofollow attribute into a banner is there? Damn iFrames!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.