API ReferenceAnnouncementsCommunity Discussion
API ReferenceCommunity DiscussionAnnouncementsSubscribeLog In
API Reference

viewability_tag

🚧

Guidelines

  • The viewability_tag property can be set at the campaign or item level.
  • If set at both levels, then item level settings are applied.
NameModifier & DefaultsTypeDescription
viewability_tagOptionalViewability Tag Object

See: Campaign Fields > Viewability Tag Object
(aka JavaScript tag)

Stores third-party viewability tags for an item.

For an overview, see: Campaign Fields > Viewability Tags
{
   "id": "101",
   "campaign_id": "1234",
   // ...   
   "viewability_tag": {
      "values": [
         {
            "tag": "<noscript class=...></noscript><script src=...></script>",
            "type": "MOAT"
         },
         {
            "tag": "<noscript class=...></noscript><script src=...></script>",
            "type": "IAS"
         }
      ]
   }
   // ...  
}

🚧

The above example is for illustration only - it does not include a valid JS Tag.