github.com/prebid/prebid-server/v2@v2.18.0/adapters/taboola/taboolatest/exemplary/nativeResolveMacro.json (about) 1 { 2 "mockBidRequest": { 3 "id": "request-id", 4 "imp": [ 5 { 6 "id": "impression-id", 7 "native": { 8 "request": "\"{\\\"ver\\\":\\\"1.1\\\",\\\"plcmttype\\\": 4,\\\"plcmtcnt\\\": 1,\\\"assets\\\":[{\\\"id\\\": 1,\\\"required\\\": 1,\\\"title\\\":{\\\"len\\\": 140}},{\\\"id\\\": 4,\\\"required\\\": 1,\\\"img\\\":{\\\"type\\\": 3,\\\"wmin\\\": 600,\\\"hmin\\\": 315}},{\\\"id\\\": 6,\\\"required\\\": 1,\\\"data\\\":{\\\"type\\\": 2,\\\"len\\\": 205}},{\\\"id\\\": 5,\\\"required\\\": 1,\\\"data\\\":{\\\"type\\\": 1,\\\"len\\\": 140}}]}}\"", 9 "ver": "1.1" 10 }, 11 "ext": { 12 "bidder": { 13 "publisherId": "publisher-id", 14 "tagid": "tag-id" 15 } 16 } 17 } 18 ], 19 "site": { 20 "domain": "http://domain.com", 21 "page": "http://page-domain.com", 22 "ref": "http://page-domain.com" 23 }, 24 "device": { 25 "ua": "Mozilla/5.0 (Linux; Android 12; Pixel 6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.62 Mobile Safari/537.36", 26 "h": 300, 27 "w": 300 28 } 29 }, 30 "httpCalls": [ 31 { 32 "expectedRequest": { 33 "uri": "http://native.whatever.com/12/publisher-id", 34 "body": { 35 "id": "request-id", 36 "imp": [ 37 { 38 "id": "impression-id", 39 "native": { 40 "request": "\"{\\\"ver\\\":\\\"1.1\\\",\\\"plcmttype\\\": 4,\\\"plcmtcnt\\\": 1,\\\"assets\\\":[{\\\"id\\\": 1,\\\"required\\\": 1,\\\"title\\\":{\\\"len\\\": 140}},{\\\"id\\\": 4,\\\"required\\\": 1,\\\"img\\\":{\\\"type\\\": 3,\\\"wmin\\\": 600,\\\"hmin\\\": 315}},{\\\"id\\\": 6,\\\"required\\\": 1,\\\"data\\\":{\\\"type\\\": 2,\\\"len\\\": 205}},{\\\"id\\\": 5,\\\"required\\\": 1,\\\"data\\\":{\\\"type\\\": 1,\\\"len\\\": 140}}]}}\"", 41 "ver": "1.1" 42 }, 43 "tagid": "tag-id", 44 "ext": { 45 "bidder": { 46 "publisherId": "publisher-id", 47 "tagid": "tag-id" 48 } 49 } 50 } 51 ], 52 "site": { 53 "id": "publisher-id", 54 "name": "publisher-id", 55 "domain": "http://domain.com", 56 "page": "http://page-domain.com", 57 "ref": "http://page-domain.com", 58 "publisher": { 59 "id": "publisher-id" 60 } 61 }, 62 "device": { 63 "ua": "Mozilla/5.0 (Linux; Android 12; Pixel 6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.62 Mobile Safari/537.36", 64 "h": 300, 65 "w": 300 66 } 67 }, 68 "impIDs":["impression-id"] 69 }, 70 "mockResponse": { 71 "status": 200, 72 "body": { 73 "id": "123", 74 "seatbid": [ 75 { 76 "bid": [ 77 { 78 "id": "request-id", 79 "impid": "impression-id", 80 "price": 2.1, 81 "adid": "1", 82 "adm": "{\"ver\":\"1.2\",\"assets\":[{\"id\":7,\"required\":1,\"img\":{\"url\":\"http://image.taboola.com\",\"w\":600,\"h\":315}},{\"id\":0,\"required\":1,\"title\":{\"text\":\"Title For Example\"}},{\"id\":5,\"data\":{\"value\":\"Test sponsor\"}}],\"link\":{\"url\":\"http://clickUrl.com\"},\"eventtrackers\":[{\"event\":1,\"method\":1,\"url\":\"http://tracker.com\"},{\"event\":1,\"method\":2,\"url\":\"http://tracker-2.com\"}]}&wp=${AUCTION_PRICE}", 83 "adomain": [ 84 "adomain.comadomain.com" 85 ], 86 "cid": "cid", 87 "crid": "crid", 88 "lurl": "https://lurl.domain.com/", 89 "nurl": "nurl.com&wp=${AUCTION_PRICE}" 90 } 91 ], 92 "seat": "1111" 93 } 94 ], 95 "bidid": "123", 96 "cur": "USD" 97 } 98 } 99 } 100 ], 101 "expectedBidResponses": [ 102 { 103 "currency": "USD", 104 "bids": [ 105 { 106 "bid": { 107 "id": "request-id", 108 "impid": "impression-id", 109 "price": 2.1, 110 "adid": "1", 111 "adm": "{\"ver\":\"1.2\",\"assets\":[{\"id\":7,\"required\":1,\"img\":{\"url\":\"http://image.taboola.com\",\"w\":600,\"h\":315}},{\"id\":0,\"required\":1,\"title\":{\"text\":\"Title For Example\"}},{\"id\":5,\"data\":{\"value\":\"Test sponsor\"}}],\"link\":{\"url\":\"http://clickUrl.com\"},\"eventtrackers\":[{\"event\":1,\"method\":1,\"url\":\"http://tracker.com\"},{\"event\":1,\"method\":2,\"url\":\"http://tracker-2.com\"}]}&wp=2.1", 112 113 "adomain": [ 114 "adomain.comadomain.com" 115 ], 116 "cid": "cid", 117 "crid": "crid", 118 "lurl": "https://lurl.domain.com/", 119 "nurl": "nurl.com&wp=2.1" 120 }, 121 "type": "native" 122 } 123 ] 124 } 125 ] 126 }