Native Ad Reference

Format

The Delta Projects Native Ad format is based on the specification by IAB but doesn't support some aspects while requiring others.
Currently at least the following assets are required in order to get the native ad declaration processed correctly:

  • One Image asset with type "main"
  • One Image asset with type "icon"
  • One Title asset
  • One Data asset with label "sponsored" and the value set to the Client name

JSON Body

ParameterTypeRequiredDescriptionExample
linkLinkYesCreative linkSee below
assetsArray of AssetYesCreative assetsSee below

Link Object

ParameterTypeRequiredDescriptionExample
urlStringYesCreative landing page"http://www.acme.com"

Asset Object

ParameterTypeRequiredDescriptionExample
titleTitleNo (but see below)A Title objectSee below
imgImageNo (but see below)An Image objectSee below
dataDataNo (but see below)A Data objectSee below

For every Asset object, exactly one of titleimg or data parameters should be present.

Title Object

ParameterTypeRequiredDescriptionExample
textStringYesThe text of the Title"This is the secret behind the success story"

Image Object

ParameterTypeRequiredDescriptionExample
typeStringYesThe type of image"main"
urlStringYesThe url where the image can be fetched, https required"https://test.com/files/0003/006/4328479.jpg"

Available Image Types:

  • "main"
  • "icon"

Data Object

ParameterTypeRequiredDescriptionExample
labelStringYesThe label of the asset"sponsored"
valueStringYesThe value of the label"ACME"

Example Ad declaration

{
   "link" : {
      "url" : "http://www.acme.com"
   },
   "assets" : [
      {
         "title" : {
            "text" : "We Manufacture Everything"
         }
      },
      {
         "data" : {
            "label" : "sponsored",
            "value" : "ACME"
         }
      },
      {
         "img" : {
            "url" : "https://sting.de17a.com/files/1517582702000/000/000/001/600x375.jpg",
            "type" : "main"
         }
      },
      {
         "img" : {
            "url" : "https://sting.de17a.com/files/1517582702000/000/000/002/100x100.png",
            "type" : "icon"
         }
      }
   ]
}