There was a problem loading the comments.

How to Create a Pop Endpoint (XML feed)

Support Portal  »  Publishers  »  Viewing Article


Ads API Request URL Example:

US Data Center{publisher-id}&feedid={feed-id}&ip={ip}&lang={language}&useragent={useragent}&iab_category={iab_category}&domain={domain}&q={keyword}&impression-number={impression-number}

Europe Data Center{publisher-id}}&feedid={feed-id}&ip={ip}&lang={language}&useragent={useragent}&iab_category={iab_category}&domain={domain}&q={keyword}&impression-number={impression-number}

Ads API Request URL Example (with substituted macros):,%20like%20Gecko)%20Chrome/41.0.2272.89%20Safari/537.36%20OPR/28.0.1750.48&&iab_category=IAB3-1&domain=

ParameterRequired / OptionalDescription
sspnameRequiredIssued by DSP
pubidRequiredInteger value representing publisher id number (substituted from the publisher’s side)
feedidOptionalInteger value representing site id number (substituted from the publisher’s side)
ipRequiredActual IP address of the USER. NOTE: This is not the IP address of the server making the request. Format: XXX.XXX.XXX.XXX
Obtain from REMOTE_ADDR
langOptionalUser language in alpha-2
useragentRequiredUseragent from HTTP header of the USER. Obtain from USER-AGENT
iab_categoryOptionalInteger value representing IAB category of your traffic if applicable.
domainRequiredFull URL of the page where the ads are being displayed. NOTE: Should be exactly the same as the USER's click referer. URL-encoded.
impression-numberOptionalSerial number of the impression which should be sent to the certain unique user during 24 hour.
Format: Integer value from 0 to infinity.
formatOptionalIf you need need to CHANGE the default response from XML to JSON you should add the parameter &format={json}
max-bannersOptional, TechnicalIf you are able to accept multi responses to 1 request you should add the parameter &max-banners to indicate the number of ads you want to get. For example, max-banners={5} means we will send 5 responses to 1 your request.

We can send a bid response in default or non-default format:

Default bid response (XML):
<?xml version="1.0" encoding="UTF-8"?>
      <![CDATA[<a href="">

Non-default bid response (JSON):
    "id": "2113726_1705510228",
    "title": "2098308",
    "description": "2098308",
    "link": "<a href="">

Multi Bid response (XML):
"><?xml version="1.0" encoding="UTF-8"?>
   <click><![CDATA[<a href="">

Multi Bid response (JSON):
   "id": "32390_1211",
    "title": "Title",
    "description": "Message",
    "icon": "<a href="">

Share via
Did you find this article useful?  

Related Articles