How to add sponsored links and a display ad to your SmartView page

There are two ways to monetize your SmartView page when using a SmartFormat feed: 1) Inserting two sponsored links within your content; and 2) Inserting your own  300 x 250 display ad on the page via the feed. Here’s how each works:

  • Add up to two <snf:sponsoredLink> elements and one <snf:adcontent> element inside a single  <snf:advertisement> element of your SmartFormat feed. 
  • Within the <snf:sponsoredLink> element, <link> and <advertiser> are required. <title> and <thumbnail> are optional.
  • You may add any javascript based display ad tag to <snf:adcontent> but many publishers use Google Ad Manager or DFP ad tags. Please see our FAQ on adding Google Ads to your SmartFormat feed.


1) <snf:sponsoredLink>

Specifies sponsored content which is displayed under this article as an element under <snf:advertisement> (House ads for subscriptions or conferences are also allowed).

  • The name of the advertiser is required in the <advertiser> element.
    • Specifies the name of the entity underwriting the sponsored content.
    • In the case of a house ad, specify your company name.
  • URL of the article in <link> is limited to one under your domain.
  • <title> and <thumbnail>(aspect ratio 4:3, 320 x 240 px recommended) are optional.

     <snf:sponsoredLink     link="" thumbnail="" title="sponsored link 1" advertiser="Example Company"/>



2) <snf:adcontent>

Specifies an ad tag to be used in SmartView of this article as an element under <snf:advertisement> 

  • The largest ad tile supported is 300 x 250px. Smaller, 300 x 50 mobile banner ads not recommended.
  • Many publisher partners use Google Ad Manage to serve their ad tags. Here’s an example of what that would look like in the SmartFormat feed.


<![CDATA[<script async src=""></script>

<script>window.googletag = window.googletag || {cmd: []};googletag.cmd.push(function() {googletag.defineSlot("/00000000/", [300,250], "div-gpt-ad-0000000000000-0").setTargeting("Pos",["smartnews-feed"]).addService(googletag.pubads());googletag.pubads().enableSingleRequest();googletag.enableServices();});</script>

<div id="div-gpt-ad-0000000000000-0" style="width: 300px; height: 250px;"><script>googletag.cmd.push(function() {googletag.display("div-gpt-ad-0000000000000-0"); });</script></div>]]>




Both <snf:sponsoredLink> and <snf:adcontent>

And here is the sample code for both Sponsored links and  a display ad together. Please make sure to place both <snf:sponsoredLink> and <snf:adcontent> inside a single  <snf:advertisement> element.


     <snf:sponsoredLink     link="" thumbnail="" title="sponsored link 1" advertiser="Example Company"/>

     <snf:sponsoredLink link="" thumbnail="" title="sponsored link 2" advertiser="Example Company"/>