Native Ad Reference
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
| Parameter |
Type |
Required |
Description |
Example |
link |
Link |
Yes |
Creative link |
See below |
assets |
Array of Asset |
Yes |
Creative assets |
See below |
Link Object
| Parameter |
Type |
Required |
Description |
Example |
url |
String |
Yes |
Creative landing page |
"http://www.acme.com" |
Asset Object
| Parameter |
Type |
Required |
Description |
Example |
title |
Title |
No (but see below) |
A Title object |
See below |
img |
Image |
No (but see below) |
An Image object |
See below |
data |
Data |
No (but see below) |
A Data object |
See below |
For every Asset object, exactly one of title, img or data parameters should be present.
Title Object
| Parameter |
Type |
Required |
Description |
Example |
text |
String |
Yes |
The text of the Title |
"This is the secret behind the success story" |
Image Object
Available Image Types:
Data Object
| Parameter |
Type |
Required |
Description |
Example |
label |
String |
Yes |
The label of the asset |
"sponsored" |
value |
String |
Yes |
The 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"
}
}
]
}