Tutorial 3 – Importing Data Feeds

In order to promote others products and earn commissions from subsequent sales, you will need to enter into an agreement with a Merchant Network. The Merchant Networks act as intermediaries to provide the necessary links to track (a) who introduced the buyer (and is eligible for commission) and (b) the value of the basket and therefore the commission..

Different merchants and occasionally even different product ranges will carry different commission rates. You may choose to use this information to decide which products you wish to promote.

Some merchants will even offer a 2nd Tier commission where you recruit new affiliates to the network. In that scenario, although the person leading the sale receives their full commission, and the person who introduced them also receives a small commission on the sale too.

If you haven’t already signed up to a merchant network, you need to do it before you can progress to the next level of the Affilistore configuration. Here are a few that I would characterise as the leading UK Networks.



Paid On Results, Click here!

OK. Presuming that you have already signed up to a Network, you need to find merchants and apply for their programme. In order for this exercise to proceed without delay, I have already applied in advance for a number matching my desired niche.

I am going to demonstrate using Affiliate Window for no other reason than they happen to be my favourite network and they have products to match.

Having signed up to the merchants, look for the datafeed (don’t confuse with deeplink) option

Search for datafeed option

Search for datafeed option

On the next screen you will see a list of the subscribed merchants with a merchant ID number on the extreme left and the number of catalogue items to the right. Of course, this screen and the available information will vary by merchant. If in any doubt how to access the data, contact your merchant network or look for their own help screens.

Locating merchant ID parameter

Locating merchant ID parameter

Beneath the list of merchants, you will see the generic download URL that can be adapted for your purposes, looking like this:

http://datafeeds.productserve.com/datafeed_products.php?user=[your own account id]&password=[yourpassword]&mid=[1,3,...n]&format=[CSV|XML]&compression=zip&delimiter=[COMMA|PIPE|TAB]&dtd=[1.0|1.2]

It does look like a daunting URL, but we can simplify it somewhat – (a) your own user id and password are already embedded, (b) you need CSV format, (c) no compression (d) any of comma, pipe or tab delimiting are supported by Affilistore and (e) the dtd parameter [datafeed version] is immaterial.

The &mid parameter is the merchant id that you wish to download.

The required URL therefore looks like this (id and password are false ones for security reasons):

http://datafeeds.productserve.com/datafeed_products.php?user=76526&password=0eea71e1bc4582fc188eaac47dcab123&mid=350&format=CSV&delimiter=COMMA

You will often get a choice over the character that delimits the individual data fields (e.g comma, pipe ”|’ or tab); I have stuck with comma without issues. However, NEVER EVER choose the zip or compressed options as Affilistore will not manage those files.

Affiliate Window TIP: Save the newly constructed URL to a .txt file on your desktop. Then it is ready for you to substitute a new mid number when you need to upload a new merchants data feed. With Affiliate Window as demonstrated here and most networks, the URL will be persistent i.e. valid for all future downloads.

Visit the merchant page on your network to locate a small logo and save it with a meaningful name to your hard disk. You can then upload it to Affilistore as part of the upload process later.

If you paste the feed link above into a browser, you can manually download the data feed file. This is not always necessary unless you wish to perform manipulation on the file before uploading. Whilst I will discuss manually uploading a local file later, we will focus on loading a data feed via a direct URL.

To generate a datafeed URL from Webgains, use the following steps :

First, make sure that you use the Datafeed URL Generator – don’t mix up with any other option. Select the following options
Format:csv
Compression:none
Vendor:pick the one
Categories:all
Fields : I find standard normally good enough, but you may want to try the extended to get more fields (e.g. Brand is not available in the standard feed)
Tags: I usually leave them unchecked
Username: your webgains login name
Password: your webgains password
Check for changes: DO NOT CHECK

Then you will see the URL that you need to copy/paste and upload

So here goes …. let’s load our own first feed to our Affilistore site. Navigate to Admin and select the “Manage Feeds Option” and you will see the following screen:

Configuring a feed in Affilistore

Configuring a feed in Affilistore

Now enter the URL you created in the field above the “Add URL Feed” button. Be careful which feed type you select; in particular it should match the download separator that you requested in your URL. Then hit the “Add URL Product Feed” button to move to the next screen below where I show the mapping required for an Affiliate Window data feed:

Mapping a Datafeed to Affilistore

Mapping a Datafeed to Affilistore

Two optional fields have been completed here. First of all, we opted to attach the logo that we downloaded earlier to our hard disk. Secondly, we are adding an additional parameter after the deeplink URL. In Affiliate Window’s case, they allow us to attach a clickref parameter after the product deeplink. Any clicks for this merchant will have this parameter tracked and is useful if you are selling products from the same merchant on multiple sites, allowing you to see which site is generating sales. In other circumstances you may need to add a prefix (before the URL) in order to be attributed clicks and sales. Affilistore also supports that model.

So, without any more ado, let’s press the “Add Product Feed” button and get our products onsite. If everything works OK, then Affilistore will deliver a confirmation message.

Affilistore confirmation that feed is loaded

Affilistore confirmation that feed is loaded

Now go your website. It doesn’t look any different does it? Still no products on the front page and still our holding text. Well ….. that’s exactly what we expect right now because we turned everything off. However if you do a product search for a keyword that you expect to find, you will start to see the store taking shape as below:

Affilistore product listing

Affilistore product listing

Well that concludes this lesson on basic datafeed uploads and is the next step towards a comprehensive Affilistore user manual. Keep watching the Affiliate Stores Blog for more tips, tricks and Affilistore tutorials.

We will return to datafeeds to discuss manual uploads (rather than direct URL upload) and to also discuss the options available to refresh the feeds and keep your product feeds and prices current.

I hope that you found this tutorial useful. Please your feedback comments.

{ 1 trackback }

AffiliStore Forum • View topic - Help on datafeed uploads please!!!
October 30, 2008 at 10:24 am

{ 12 comments… read them below or add one }

1 Matt August 4, 2009 at 4:16 am

One thing missing from the tutorials is if I delete a feed and manually upload a new one (both via ftp), how is this new feed made live. I have tride the refresh in manage feeds but this appears to do nothing.

Reply

2 David Cameron August 8, 2009 at 4:56 pm

I am not quite sure what you mean or where the problem arises.

You MUST upload the file by ftp to match the original filename EXACTLY and then use refresh via admin.

Reply

3 Tracey August 8, 2009 at 3:48 pm

Since AffiliteWindow have changed the way they provide feeds, I am having nightmares updating them on my site. I have downloaded them in both comma and tab csv format – they are all zipped now – no direct url link like before. I unzip and then have tried both the manual ftp upload and the upload via admin but in both cases all I get is the message ‘empty query’ and the feed fails to be recognised – can you advise please?

Reply

4 David Cameron August 8, 2009 at 5:06 pm

The tutorial hasn’t kept up with the latest version of Affilistore.

If you upgrade to the latest version from affilistore.com, then it has Affiliate Window create-a-feed support built right in … and it will accept the download URL that create-a-feed give you. However, I believe that it is the GZIPped version, rather than ZIP

Make sure that you only generate a create-a-feed URL for one merchant at a time as that’s the way Affilistore is set up.

Hope that helps.

You should find that more convenient than downloading, manually extracting and uploading the feed … and find it more forgiving of user error.

Reply

5 Tracey August 8, 2009 at 6:33 pm

Thanks David,
Will try upgrading the script

Cheers
Tracey

Reply

6 arakis September 3, 2009 at 4:37 pm

Hello, it would be possible to you to create a tutorial for the program to TradeDoubler please?

regards
arakis

Reply

7 David Cameron September 7, 2009 at 12:02 am

Regrettably, I doubt that I will time in the near future for any other network tutorials.

Remember, this isn’t a tutorial on how to use networks. It is a tutorial on the use of Affilistore. The principals that I showed for Affiliate Window and mapping the download file columns to Affilistore field names is EXACTLY the same whichever network that you use.

If there are any volunteer authors that have timne to produce the tutorial and send through, then I will be very happy to publish it.

Reply

8 Kamal October 8, 2009 at 10:53 pm

I have added the product feed from Affiliate Window in CSV (comma) format, for some reason the feed is not working correctly.

Can someone please explain to me what I have done wrong.
http://www.irsecurity.co.uk/Affistore
Thank you

Reply

9 Amar November 12, 2009 at 3:52 pm

Have I missed something or are these URLs containing the afiliate username and password visible to anyone who visits the website? Surely this is a huge security risk?

Amar

Reply

10 Roger Price November 25, 2009 at 3:28 am

Hi, I am slowly making progress towards publishing my AffilStore but have hit a brick wall when adding the product feed by pasting in the url. The result has always been “couldn’t open file”.

However, I have managed to download the file and upload the product feed but that is obviously not such a good method. Any suggestions/advice?

Thanks

Reply

11 Paul December 16, 2009 at 12:54 pm

Hi, Have followed instructions (although all links come in zip or gzip now), added the url, filled out the ‘mapping’ form and uploaded the datafeed. The merchant’s name is listed but did not receive a message stating that the upload had been successful??
Go to front end and nothing reveals??
How do i assign a datafeed to a specific merchant name? If i have a category titled Gifts can i then create sub cats such as Swarovski Crystal
…and it was all going so well!!
Thanks,

Reply

12 jim January 22, 2010 at 5:01 pm

datafeeds doesnt work, when uploaded via URL the data is all symbols and corrupt ,and when uploading i get a “couldnt copy” error in the top.

i have set permissions to 755 on userfiles, this worked perfectly fine before the “enhanced” version

Reply

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Send To Twitter

Spam Protection by WP-SpamFree

Subscribe without commenting