What is an end point?

Overview

An end point is a URL that you can request which will return a response.

In the header bidding world, an end point is usually called from the browser with parameters (size of placement, auction id, callback function, etc) and returns a response containing an ad information (ad url, price, etc).

Requests to end points are usually made using GET or POST HTTP requests.

Examples

GET Request Example

http://ib.adnxs.com/jpt?id=7058033&size=300x250&callback=dmJptCallback&callback_uid=123456789&referrer=http%3A%2F%2Fdistrictm.ca

POST Request Example

URL

BODY (Payload)

{
	"tags": [{
			"sizes": [{
					"width": 300,
					"height": 250
				}, {
					"width": 300,
					"height": 600
				}
			],
			"primary_size": {
				"width": 300,
				"height": 250
			},
			"ad_types": ["banner"],
			"uuid": "21fa0d9f4a7e8f",
			"id": 13144370,
			"allow_smaller_sizes": false,
			"use_pmt_rule": false,
			"prebid": true,
			"disable_psa": true
		}, {
			"sizes": [{
					"width": 728,
					"height": 90
				}, {
					"width": 970,
					"height": 250
				}
			],
			"primary_size": {
				"width": 728,
				"height": 90
			},
			"ad_types": ["banner"],
			"uuid": "3de445d9110792",
			"id": 13144370,
			"allow_smaller_sizes": false,
			"use_pmt_rule": false,
			"prebid": true,
			"disable_psa": true
		}
	],
	"sdk": {
		"source": "pbjs",
		"version": "1.21.0"
	}
}