About Campaign Feeds

Tabata Vossen -

Campaign Feeds allow you to automatically publish your campaigns without human intervention. This article explains how you can create and manage multiple campaign feeds in your account.

What Campaign Feeds can do for you

1. Dynamic display Campaign Feeds

If you want to dynamically populate your website with your campaigns or contests, you'll create a dynamic campaign feed. This type of feed is an inventory of your campaigns that meet a set of criteria. For instance

  • You might insert your feed into a specific page of your website that is dedicated to giveaways. It will keep your page updated with all new campaigns that meet the criteria! Please note there is a 15 min cache time. 
  • You might use the campaign language as a criteria and display a feed with all English campaigns on your English website, a feed with all Spanish campaigns on your Spanish website, etc.
  • You might create a feed for different categories (themes) or brands easily and effectively. For instance, if you use Campaign Themes, you might have an "automotive" theme assigned to all your campaigns about cars. With Campaign Feeds, you will now be able to automatically publish those to your automotive website.

2. Set up a one-click feed plug-in

If you don't have one already, you'll need to develop your own CMS plug-in containing your Qualifio campaigns in the form of an automatically updated feed. This plug-in would enable you to add campaigns to your website in just one click. It would pull in content from your campaign feed, load the campaigns of the said feed, and then all you'd have to do is select which campaigns to include.

Tutorial: Building a campaign feed, step by step

You can create multiple campaign feeds to pull in campaigns meeting different criteria. For example, you could import campaigns for your sports website in one feed, and create another for your lifestyle campaigns.

Screenshot_2019-05-16_at_10.04.41.png

Your feed can be setup to include custom content elements such as the questionnaire, the image from the Virality step, the campaign language or author, any integration snippet, etc.

Follow our instructions for creating your own campaign feed:

  1. Open Settings and click Campaign feeds.
  2. Select Create a campaign feed, fill in the feed filters and details, then click Save feed.
  3. Select the link icon next to your campaign feed. A pop-up window opens.
  4. Copy your JSON or XML link.

Screenshot_2019-05-15_at_17.58.01.png

Campaign Feeds essentially copy-paste tags in an automatic way. Here is an example of the payload you will get:

{"numberRows":3,"channels":[{"channelId":"AFA21444-C1DA-D833-32C0-FDB6D01BD893","website":{"id":6520,"name":"FAQ"},"channel":"WIDGET","id":611229,"campaign":{"campaignId":611228},"schedule":{"startDate":"2019-04-12T00:00:00.000Z","endDate":"2029-04-26T23:59:00.000Z","hourlyLimitation":false},"integration":{"javascript":"<div id=\"qualifio_insert_place_611229\" class=\"qualifio_iframe_wrapper\"></div>\n                  <script type=\"text/javascript\">\n                    (function(b,o,n,u,s){\n                      var a,t;a=b.createElement(u);\n                      a.async=1;a.src=s;t=b.getElementsByTagName(u)[0];\n                      t.parentNode.insertBefore(a,t);o[n]=o[n]||[]})\n                    (document,window,'_qual_async','script','//faq.qualifioapp.com/kit/qualp.2.min.js');\n                    _qual_async.push(['createIframe', 'qualifio_insert_place_611229', 'faq.qualifioapp.com',\n                    '20', 'AFA21444-C1DA-D833-32C0-FDB6D01BD893', '100%', '1200', '', '', '', 'max-width:810px;margin:0 auto;']);\n                  </script>","webview":"https://faq.qualifioapp.com/20/AFA21444-C1DA-D833-32C0-FDB6D01BD893/v1.cfm?id=AFA21444-C1DA-D833-32C0-FDB6D01BD893","html":"<iframe src=\"//faq.qualifioapp.com/20/AFA21444-C1DA-D833-32C0-FDB6D01BD893/v1.cfm?id=AFA21444-C1DA-D833-32C0-FDB6D01BD893\"\n    id=\"qualifio611229\" class=\"qualifio_iframe_tag\" width=\"100%\" height=\"1200\"\n    scrolling=\"auto\" frameborder=\"0\" hspace=\"0\" vspace=\"0\" style=\"overflow-x:hidden;max-width: 1200px;\">\n    "}},{"channelId":"B09713EC-AB83-1D1E-CCE5-117424DFC82B","website":{"id":6520,"name":"FAQ"},"channel":"WIDGET","id":611252,"campaign":{"campaignId":611251},"schedule":{"startDate":"2019-04-12T00:00:00.000Z","endDate":"2029-04-26T23:59:00.000Z","hourlyLimitation":false},"integration":{"javascript":"<div id=\"qualifio_insert_place_611252\" class=\"qualifio_iframe_wrapper\"></div>\n                  <script type=\"text/javascript\">\n                    (function(b,o,n,u,s){\n                      var a,t;a=b.createElement(u);\n                      a.async=1;a.src=s;t=b.getElementsByTagName(u)[0];\n                      t.parentNode.insertBefore(a,t);o[n]=o[n]||[]})\n                    (document,window,'_qual_async','script','//faq.qualifioapp.com/kit/qualp.2.min.js');\n                    _qual_async.push(['createIframe', 'qualifio_insert_place_611252', 'faq.qualifioapp.com',\n                    '20', 'B09713EC-AB83-1D1E-CCE5-117424DFC82B', '100%', '1200', '', '', '', 'max-width:810px;margin:0 auto;']);\n                  </script>","webview":"https://faq.qualifioapp.com/20/B09713EC-AB83-1D1E-CCE5-117424DFC82B/v1.cfm?id=B09713EC-AB83-1D1E-CCE5-117424DFC82B","html":"<iframe src=\"//faq.qualifioapp.com/20/B09713EC-AB83-1D1E-CCE5-117424DFC82B/v1.cfm?id=B09713EC-AB83-1D1E-CCE5-117424DFC82B\"\n    id=\"qualifio611252\" class=\"qualifio_iframe_tag\" width=\"100%\" height=\"1200\"\n    scrolling=\"auto\" frameborder=\"0\" hspace=\"0\" vspace=\"0\" style=\"overflow-x:hidden;max-width: 1200px;\">\n    "}},{"channelId":"B13020C1-FC28-6113-4844-975843D8C953","website":{"id":6520,"name":"FAQ"},"channel":"WIDGET","id":611268,"campaign":{"campaignId":611267},"schedule":{"startDate":"2019-04-12T00:00:00.000Z","endDate":"2029-04-26T23:59:00.000Z","hourlyLimitation":false},"integration":{"javascript":"<div id=\"qualifio_insert_place_611268\" class=\"qualifio_iframe_wrapper\"></div>\n                  <script type=\"text/javascript\">\n                    (function(b,o,n,u,s){\n                      var a,t;a=b.createElement(u);\n                      a.async=1;a.src=s;t=b.getElementsByTagName(u)[0];\n                      t.parentNode.insertBefore(a,t);o[n]=o[n]||[]})\n                    (document,window,'_qual_async','script','//faq.qualifioapp.com/kit/qualp.2.min.js');\n                    _qual_async.push(['createIframe', 'qualifio_insert_place_611268', 'faq.qualifioapp.com',\n                    '20', 'B13020C1-FC28-6113-4844-975843D8C953', '100%', '1200', '', '', '', 'max-width:810px;margin:0 auto;']);\n                  </script>","webview":"https://faq.qualifioapp.com/20/B13020C1-FC28-6113-4844-975843D8C953/v1.cfm?id=B13020C1-FC28-6113-4844-975843D8C953","html":"<iframe src=\"//faq.qualifioapp.com/20/B13020C1-FC28-6113-4844-975843D8C953/v1.cfm?id=B13020C1-FC28-6113-4844-975843D8C953\"\n    id=\"qualifio611268\" class=\"qualifio_iframe_tag\" width=\"100%\" height=\"1200\"\n    scrolling=\"auto\" frameborder=\"0\" hspace=\"0\" vspace=\"0\" style=\"overflow-x:hidden;max-width: 1200px;\">\n    "}}]}

What about XML feeds?

As of May 2019, the XML Feed feature will be deprecated. In other words, it will not be in active development and will be removed on the 1st of June, 2020. You should use the Campaign Feeds instead.

Powered by Zendesk