DATA FEEDS FOR RETAIL
Data feeds provide the information necessary to display content in your ads. They are the fastest, easiest way to mass-upload product information to your advertisers and campaigns, without the need for re-uploads or version control.
Types of Data Feeds
There are two types of Data Feed that can be used for retail campaigns and advertisers: uploading via HTTP/FTP, or with the pixel.
- HTTP/FTP Upload – If the products you wish to list are only for a specific campaign, this is the way to go. All you need is a formatted CSV file, and a way for us to access it (it’s easier than it sounds).
- Pixel – If the products you wish to list are for all the campaigns under a given advertiser, this is the way to go. Just bear in mind you will need to access (and alter) the actual code of the advertiser’s website.
Upload Data Via HTTP(S)/FTP
In the first dropdown, select “Create products only for <<campaign_name>>.”
Choose HTTP/HTTPS or FTP, depending on your organization’s technical scope. For this tutorial, we will use HTTP to access a Google Spreadsheet – one of the easiest (and free!) hosting solutions. For more information about uploading specs/preferences, see the Data Feed Requirements.
Click FETCH SAMPLE. This will read your CSV file, and display the first few lines of the Data Feed in the previewer. It’s crucial that the file reads correctly, so that you can map it in the next step.
Most CSV files are comma-separated, but if yours isn’t, specify the delimiter character here. Un-check the box only if the first row of your file doesn’t contain headers/column descriptions.
If your feed is properly formatted (as detailed in Data Feed Requirements), the fields will map automatically. If not, drag and drop the data fields into the corresponding boxes. Either way, be sure to look it over and verify everything is mapped correctly!
Define how often you would like the data to refresh. When you save, we will do an initial fetch of the data, and then start refreshing at the time you specify.
Scroll to the top of the page and click SAVE.
Once your product settings have been saved, click on the CREATIVE icon and continue building your dynamic ad campaign!
As Ms. Monaghan in grade 8 typing class used to say, “Have you saved your file?” Before you move on from any step in the campaign dashboard, always click save!
Upload Data Via the Pixel
You’ve set up a retail advertiser, and want to use the same products for all their campaigns. Sounds like the pixel is the way to go!
In the first dropdown, select “Select products for any <<advertiser_name>> campaigns.” In the 2nd dropdown, select “Place a pixel on <<advertiser_name>>.”
Click Filtering Options to select what fields you would like the scraper to populate. And be specific! If the pixel can’t locate the data for each one of the specified fields, it will ignore the data altogether – meaning products won’t display in your ads.
Click Copy to copy the pixel to your computer’s clipboard.
Chances are you don’t have immediate access to your (or your advertiser’s) code base. Now that the pixel has been generated, you can always come back to it – so don’t worry if you can’t implement it right away. It will always be visible here and on the Publisher page. For now, you can use sample products to preview ads, until the pixel is properly implemented and starts scraping product data.
Scroll to the top of the page and click Save in the top right hand corner of your screen.
Dive into your advertiser’s website code, and paste the pixel on the highest level html page (often named index.html, main.html, etc.) just before the </body> tags. Congratulations, you’re officially a hacker! Note: More info about this coming soon…