AdSpirit supported extradite the use of NativeAds specification of the IAB to Native Ads via OpenRTB. Here are a few settings are required on publisher side and on Advertiserseite.
Traffic shopping for Native Ads from external partners
A OpenRTB NativeAd to connect publisher ad space type RTB NativeAd must be created. The size of the advertising space is in principle no matter, but must match the size of the data that will be advertising medium. In addition, an HTML template must be created in which the data can be entered. Example:
%template{upload=1}:Bild-URL%
%template{max=25|htmlentities=1}:Überschrift%
%template{max=20|htmlentities=1}:Webseite%
%template{max=90|htmlentities=1}:Text%
%convert-template-to-var%
%native-response-asset%[
{"default_link":"%macro:urlredirect%"},
{"default_viewpixel":"%macro:viewredirect%"},
{"title":"%macro:template_Überschrift%"},
{"data":{"type":"2","label":"","value":"%macro:template_Text%"}},
{"data":{"type":"11","label":"","value":"%macro:template_Webseite%"}},
{"img":{"type":"3","url":"%macro:template_Bild-URL%","w":"60","h":"60"}}
]%/native-response-asset%
The above example defines an asset with three data fields: One title with a maximum of 25 characters, a text with a maximum of 90 characters and a picture in the format 72x60. It is also about ext> convert defines what to do with the three assets, more specifically, in which variable data is to be written.
Criteo Native Ads
Criteo is the RTB specification as an interface to use for NativeAds will collect AdSpirit supplied by Criteo data and this can then in variables (placeholders) packaging to make them spend about in a template. For this purpose, please define the following asset definition in Criteo Native advertising media:
{
"assets": [
{
"id": 1,
"required": 1,
"title": {
"len": 25
}
},
{
"id": 2,
"required": 1,
"data": {
"type": 2,
"len": 90
}
},
{
"id": 3,
"required": 1,
"img": {
"type": 3,
"w": 72,
"h": 60,
"mimes": [
"image/png",
"image/gif",
"image/jpeg"
]
}
}
],
"ext": {
"convert": {
"id_1": "template_Überschrift",
"id_2": "template_Text",
"id_3": "template_Bild URL"
}
}
}
Obiges Beispiel definiert ein Asset mit drei Datenfeldern: Einer Überschrift mit max 25 Zeichen, ein Text mit max 90 Zeichen und ein Bild im Format 72x60. Ferner wird über ext->convert definiert was mit den drei Assets passieren soll, genauer gesagt, in welche Variable die Daten geschrieben werden sollen.
Criteo Native Ads
Kommt die Criteo RTB Spezifikation als Schnittstelle zum Einsatz für NativeAds wird AdSpirit die von Criteo gelieferten Daten sammeln und kann diese Anschließend in Variablen (Platzhalter) verpacken um sie etwa in einem Template ausgeben zu lassen. Hierzu definieren Sie bitte folgende Asset-Definition im Criteo Native Werbemittel:
{
"ext": {
"convert": {
"image_url": "Variablenname für Bild-URL"
,
"click_url": "rtb_native_link",
"title": "Variablenname für Überschrift",
"description": "Variablenname für Text",
"price": "Variablenname für Preis",
"call_to_action": "Variablenname für CTA",
"privacy_image_url": "Variablenname für Datenschutz-Icon",
"privacy_click_url": "Variablenname für Datenschutz-URL",
"adomain": "Variablenname für Advertiser-Domain"
}
}
}