All Collections
RTB Integration
XML/JSON feeds
How to add Integration Formats | RTB Feeds
How to add Integration Formats | RTB Feeds

How to add Integration Formats for XML or JSON feeds

Updated over a week ago


General Info

Please log in to your Traforama account, go to the Integration Formats section.

And press the button “Add integration format.” This is necessary in order to add response formats to your feeds.

Fill up the following info:

(1) Ad Type. Notice, only the Pop-under ad type is available for now.

(2) Protocol. You must choose XML protocol or JSON protocol for your responses

(3) Pricing: CPM (cost per 1000 impressions) or CPV (cost per view). Please keep in mind that for Pop-under ad format CPV price model qualifies CPC.

(4) Bid macros

(5) Click Url macros

(6) Please add a response example. In case you did everything right, we can pars rate and URL information from it.
(7) It's very important to check if your response is parsed correctly by Traforama.

In case one of the fields is empty, it means that something is wrong. Please contact our support team via Live Chat or email support@traforama.com

Press save.


__________________________________________________________________




IMPORTANT! If you use several ad platforms with different response formats, for example, AdKernel, Adform, etc., please create a separate integration format for each platform you use.

__________________________________________________________________



JSON Response Example Popunder

[{ "url": "https://asap.makestest.com/clk?n=1&l=&data=bc97caf35255d68d20ed2b39c1a4361b","bid": "0.000001"}]


Add the appropriate bid macro and URL macro to the fields

__________________________________________________________________



JSON Response Example Inpage push

[{"title":"De investering van 250\u20ac","description":"Dat maakt mensen rijk","icon":"https:\/\/icn.bp1trk.com\/?sid=8&data=2mRO81qaEFTKaLS","image":"https:\/\/img.test.com\/?sid=8&data=gjiSCdBz","bid":"0.017", "clickurl":"https:\/\/exchequerheadtest.biz\/?sid=8&d=1&data=NwkYK6nyx0qqkkt"}]

Add the appropriate bid, URL, icon, image, title, and description macros to the following fields

__________________________________________________________________




XML Response Example Popunder with a listing

<result> <listing title="Looking for test?" descr="Find test here!" site="test.com" bid="0.003" url="http://xml.test.co/click?i=abc3de_0" pixel="http://xml.adop.copixel?i=Yd5B-29npB0_0"/> </result>

Add the appropriate bid and URL macros to the following fields like this

__________________________________________________________________


XML Response Example Popunder without listing

<rtb> <status>true</status> <result> <bid>0.0007435800000000001</bid> <url>http://rqheretest2.com/api/v1/px?xmlid=a0d52f1a94e5d8f2ab93f32dc9e932af47277dad</url> </result> </rtb>

Add the appropriate bid and URL macros to the following fields like this

__________________________________________________________________




XML Response Example In-page push with a listing

<?xml version="1.0" encoding="UTF-8"?><result><listing title="200% welcome bonus" descr="Get your winnings instantly" site="www.example.com" bid="0.009092" url="http://xmltest.net/click?i=lmtnOH4srd8_0" pixel="http://xmltest.net/pixel?i=lmtnOH4srd8_0" image="http://xmltest.net/thumbnail?i=lmtnOH4srd8_0" icon="http://xmltest.net/thumbnail?i=lmtnOH4srd8_0&amp;imgt=icon"/></result>

Add the appropriate bid, URL, icon, image, title, and description macros to the following fields like this

__________________________________________________________________


XML Response Example In-page push without listing

<item><title><![CDATA[Amazon Reward Pending]]></title><token>token</token><link><![CDATA[http://push.example.com/c/dc3e7a05-e267-4a7a-88be-cec6e79f5d3d/1/{token}]]></link><imp_url><![CDATA[http://push.example.com/imp/dc3e7a05-e267-4a7a-88be-cec6e79f5d3d/1/{token}]]></imp_url><image_url><![CDATA[http://push.example.com/imp/dc3e7a05-e267-4a7a-88be-cec6e79f5d3d/1/{token}]]></image_url><description><![CDATA[You are today's winner!]]></description><price>0</price><cpc>0.05</cpc><direct_link/><ad_id>9622ac11-5b73-4294-aae9-86a4b1498f40</ad_id></item>

Add the appropriate bid, URL, icon, image, title, and description macros to the following fields like this

__________________________________________________________________


Please do not hesitate to contact our support team via Live chat or email support@traforama.com

__________________________________________________________________

Did this answer your question?