Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To map your supply using the Console UI, see Use the Console UI to Synchronize Your Inventory Structure.

Panel
borderColor#000000
bgColor#FFD28C
borderWidth1
borderStylesolid
titleOn This Page
Table of Contents
maxLevel2
minLevel2
maxlevel3
minlevel3

...

Your JSON must include the following fields:

Table Plus
FieldTypeDescriptionDefault
namestring (255)Name of the legal entity of the company you pay money to. For instance, if you buy from espn.com, the publisher should be named as the legal entity for ESPN. 
is_ooboolean

If true, the publisher is owned and operated by the network, meaning the network gets 100% of the revenue.   Setting this to true also enables you to skip setting up payment rules.

"false"
codestring (100)The code that identifies the publisher from your inventory.  Use the value of the BidRequest.Site.Publisher.id or BidRequest.App.Publisher.id  fields. 
reselling_exposureenumThe publisher's exposure for reselling to other members of the platform. Possible values: "public" or "private.""private"
stateenumThe state of the publisher. Possible values: "active" or "inactive.""inactive"

...

Code Block
languagejs
titleExample debug auction for a video impression using the OpenRTB protocol
collapsetrue
$cat debug.json

{ 
	"id": { 
		"imp": [{
			"id": "1",
			"video": {
				"mimes": [
					"application/x-shockwave-flash",
					"video/mp4",
					"video/x-flv" 
					],
				 "linearity": 1, 
				 "minduration": 0, 
				 "maxduration": 999, 
				 "protocols": [2,5], 
				 "w": 640, 
				 "h": 360,
				 "startdelay": 0,
				 "minbitrate": 0,
				 "maxbitrate": 1500,
				 "delivery": [2],
				 "pos": 0,
				 "api": [1]
				 	},
				 "bidfloor": 1,
				 "bidfloorcur": "EUR"
				} ], 
			"site": {
				"domain": "test.com" },
				"device": {
						"dnt": 0,
						"ua": "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:39.0) Gecko/20100101 Firefox/39.0",
						"ip": "212.185.163.114",
						"os": "Win_8",
						"osv": "8",
						"js": 0,
						"devicetype": 2 
						},
				 "user": {
						 "buyeruid": "APPNEXUS_USER_ID" 
							}, 
				"at": 2, 
				"tmax": 100, 
				"cur": ["EUR","USD"]}'

$curl -b cookies -c cookies -s -i d @debug.json 'https://api.adnxs.<MEMBER_NAME>-<GEO>.com/openrtb2?member_id=MEMBER_ID&debug_member=DEBUG_MEMBER&dongle=DONGLE'

In the example above, <GEO> has potential values: "useast","uswest","apac","emea"

Related Topics