Skip to main content
XML feed integration

How to set up XML feed

Diana avatar
Written by Diana
Updated over 3 years ago

Feed

https://himapaat.com/api/bid/11111111?ip={IP}&ua={USER_AGENT}&ref={REFERRER_URL}&price={PRICE_TYPE}&query={KEYWORDS}&sub1={SUB_ID}&format=xml

Parameters

Parameter name

Description

Required

ip

IP address of the website visitor that watching an ad

Yes

ua

User agent of the website visitor that watching an ad

Yes

ref

Referrer page where visitor is watching an ad

Yes

format

Response format; it can have one of two values: xml or json. By default: json

Optional

price

Price format; it can have one of two values: cpm or cpv. Where CPM is a price per 1000 impressions and CPV is a price per 1 impression. By default: cpm

Optional

query

Keywords (comma separated). It describes the content of the page where showing an ad

Optional

sub1

sub_id, Unique id of the traffic source

Optional

Request example

Response example

<?xml version="1.0" encoding="UTF-8"?> 
<results>
<result>
<id>42</id>
<price>3.5</price>
<cur>USD</cur>
<clickurl>https://a.so333o.com/api/click/42</clickurl>
<impurl>https://a.so333o.com/api/win/42</impurl>
</result>
</results>
Did this answer your question?