Select Page

Push XML

Parameters #

# Description
trafficsource * Your company name required (we will provide this part of the url)
ua * Browser’s user-agent of the visitor required
ip * IP address of the client required
site_id * Zone id/Pub id required
lang * User language required
age * Age of the user subscription, in days or ux timestamp required
id Unique click ID / Internal bid id
subscriber_id ID the of the subscriber
domain Domain name or full url if available

 

Requests #

Example of default XML request #

http://trafficsource.novirtb.com/xml/trafficsource?source_type=push
&ua=
Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_12_6)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F60.0.3112.90%20Safari%2F537.36
&ip=
67.44.241.55
&site_id=
6666366
&lang=
en
&id=
123
&subscriber_id=
123
&domain=
https%3A%2F%2Ftestt.com%20
&age=
2

 

Responses #

We have a number of in-built responses available. Please pick one of our response formats from below and let us know which one you prefer on Skype or e-mail so we can implement the chosen response for you. If your preferred response format is not in the list please contact us with your preferred response format and we’ll see what we can do 🙂

XML Response example (Default) #

<?xml version="1.0" encoding="UTF-8"?>
<result>
	<listing title="Kate sent you (5) pictures" descr="See her profile and start chat now" bid="0.002000" url="http://rtb-3.cleantrk.site/smartlink?user_id=3&amp;source_type=push&amp;media_type=mainstream&amp;vertical=dating" icon="https://moneycdn.com/uploads/banners/1547219411.png" image="https://moneycdn.com/uploads/banners/1547219412.png"/>
</result>

 

JSON response example 1 #

{
	"title": "Kate sent you (5) pictures",
	"description": "See her profile and start chat now",
	"price": 0.002,
	"click_url": "http://rtb-4.cleantrk.site/smartlink?user_id=3&source_type=push&media_type=mainstream&vertical=dating",
	"image": "https://moneycdn.com/uploads/banners/1547219412.png",
	"icon": "https://moneycdn.com/uploads/banners/1547219411.png",
	"imptracker": []
}

 

JSON response example 2 #

{
    "response": {
        "timestamp": 1547465197,
        "content": [
            {
                "title": "Kate sent you (5) pictures",
                "url": "http://rtb-5.mnytrk.com/smartlink?user_id=3&source_type=push&media_type=mainstream&vertical=dating",
                "content": "See her profile and start chat now",
                "icon": "https://moneycdn.com/uploads/banners/1547219411.png",
                "image": "https://moneycdn.com/uploads/banners/1547219412.png",
                "id": "",
                "price": 0.002
            }
        ]
    }
}

Powered by BetterDocs

Submit a Comment

Your email address will not be published. Required fields are marked *