Skip to content

Commit

Permalink
Unit tests for Publisher API 50% coverage
Browse files Browse the repository at this point in the history
This brings test coverage of the Prebid.js API to > 50%.

* add test for `getAdserverTargetingForAdUnitCodeStr()`
* add test for `getAdserverTargetingForAdUnitCode()`
* add test for `getBidResponses`
* add test for `getBidResponsesForAdUnitCode`
* add test for `setTargetingForGPTAsync`
* add test for `allBidsAvailable`
* update to .gitignore
* additional fixtures
* mock googletag methods, additional unit tests
  • Loading branch information
protonate authored and protonate committed Feb 17, 2016
1 parent 8dc061b commit 1fd041c
Show file tree
Hide file tree
Showing 9 changed files with 500 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
# Built Files
node_modules/
build/coverage

# Test Files
test/app
gpt.html

# Dev File

integrationExamples/gpt/gpt.html
integrationExamples/implementations/

# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion

Expand Down
2 changes: 1 addition & 1 deletion build/dev/prebid.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* prebid.js v0.6.0
Updated : 2016-02-11 */
Updated : 2016-02-16 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
Expand Down
12 changes: 12 additions & 0 deletions test/fixtures/ad-server-targeting.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"/9968336/header-bid-tag-0": {
"hb_bidder": "rubicon",
"hb_adid": "13f44b0d3c",
"hb_pb": "1.50"
},
"/9968336/header-bid-tag1": {
"hb_bidder": "openx",
"hb_adid": "147ac541a",
"hb_pb": "1.00"
}
}
130 changes: 130 additions & 0 deletions test/fixtures/bid-responses-cloned.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
{
"/123456/header-bid-tag-1": {
"bids": []
},
"/123456/header-bid-tag-0": {
"bids": [
{
"bidderCode": "criteo",
"width": 0,
"height": 0,
"statusMessage": "Bid returned empty or error response",
"adId": "83fb6a073",
"requestTimestamp": 1454535718619,
"responseTimestamp": 1454535720575,
"timeToRespond": 1956,
"cpm": 0,
"adUnitCode": "/123456/header-bid-tag-0",
"bidder": "criteo"
},
{
"bidderCode": "sovrn",
"width": 0,
"height": 0,
"statusMessage": "Bid returned empty or error response",
"adId": "9d64dde8c",
"requestTimestamp": 1454535718628,
"responseTimestamp": 1454535721135,
"timeToRespond": 2507,
"cpm": 0,
"adUnitCode": "/123456/header-bid-tag-0",
"bidder": "sovrn"
},
{
"bidderCode": "pulsepoint",
"width": 0,
"height": 0,
"statusMessage": "Bid returned empty or error response",
"adId": "102e25872d",
"requestTimestamp": 1454535718629,
"responseTimestamp": 1454535721687,
"timeToRespond": 3058,
"cpm": 0,
"adUnitCode": "/123456/header-bid-tag-0",
"bidder": "pulsepoint"
},
{
"bidderCode": "amazon",
"width": 0,
"height": 0,
"statusMessage": "Bid available",
"adId": "112cdb3eff",
"adUnitCode": "/123456/header-bid-tag-0",
"bidder": "amazon"
},
{
"bidderCode": "yieldbot",
"width": 0,
"height": 0,
"statusMessage": "Bid returned empty or error response",
"adId": "1234cc92d8",
"requestTimestamp": 1454535718624,
"responseTimestamp": 1454535722273,
"timeToRespond": 3649,
"cpm": 0,
"adUnitCode": "/123456/header-bid-tag-0",
"bidder": "yieldbot"
},
{
"bidderCode": "openx",
"width": 0,
"height": 0,
"statusMessage": "Bid returned empty or error response",
"adId": "1383ffde21",
"requestTimestamp": 1454535718611,
"responseTimestamp": 1454535724228,
"timeToRespond": 5617,
"cpm": 0,
"adUnitCode": "/123456/header-bid-tag-0",
"bidder": "openx"
},
{
"bidderCode": "rubicon",
"width": "300",
"height": "250",
"statusMessage": "Bid available",
"adId": "148018fe5e",
"cpm": 0.537234,
"ad": "<script>rubicon_cb = Math.random(); rubicon_rurl = document.referrer; if(top.location==document.location){rubicon_rurl = document.location;} rubicon_rurl = escape(rubicon_rurl);\nwindow.rubicon_ad = \"3163950\" + \".\" + \"js\"; window.rubicon_creative = \"3173401\" + \".\" + \"js\"; document.write(\"\\n<div style=\\\"width: 0; height: 0; overflow: hidden;\\\">\\n<img border=\\\"0\\\" width=\\\"1\\\" height=\\\"1\\\" src=\\\"http://beacon-us-west.rubiconproject.com/beacon/d/3570c4f1-e036-422d-a09d-bbe0f4f41403?accountId=9707&siteId=17955&zoneId=50983&e=6A1E40E384DA563BE533C55CD10D0B0C0756673C53CF8B80824FBAD54B5E3FE64BED1169A019C299077F9DD8533D5478DE1E5EF33DB42713D976A676F4DE896561E72A5E23EA1F4D79AC619AC2CA097CDD3CD102CF565E8781201FCEFCBFE4DD3D1BC319EE6D0D2371FDE702F86E14E285C6C3B5FFF617207FB1D5123979548CA22A101AE4B31B2FB2260C21CEF7D595\\\" alt=\\\"\\\" />\\n</div>\\n\\n\"); rubicon_tag_code = \"%3c!DOCTYPE%20html%3e%0a%0a%0a%3cdiv%20style=%22height:%20250px%3b%20width:%20300px%3b%20display:%20table-cell%3b%20vertical-align:%20middle%3b%22%3e%0a%3cdiv%20style=%22width:%20300px%3b%20margin-left:%20auto%3b%20margin-right:%20auto%3b%22%3e%20%20%0a%3cdiv%20id=%22qc-ad-size%22%20class=%22qc-ad-300x250%22%3e%0a%20%20%3clink%20href=%22http://content.quantcount.com/adchoices/v2/css/300x250.css%22%20rel=%22stylesheet%22%20type=%22text/css%22/%3e%0a%0a%20%20%3c!--%5bif%20lte%20IE%208%5d%3e%0a%20%20%3clink%20href=%22http://content.quantcount.com/adchoices/v2/css/ie.css%22%20rel=%22stylesheet%22%20type=%22text/css%22/%3e%0a%20%20%3c!%5bendif%5d--%3e%0a%0a%20%20%3c!--%5bif%20lte%20IE%206%5d%3e%0a%20%20%3clink%20href=%22http://content.quantcount.com/adchoices/v2/css/ie6.css%22%20rel=%22stylesheet%22%20type=%22text/css%22/%3e%0a%20%20%3c!%5bendif%5d--%3e%0a%0a%20%20%3cdiv%20class=%22quantcast-ad-div%22%3e%0a%3cscript%20src=%22http://adserver.adtechus.com/addyn/3.0/5399.1/2394397/0/-1/QUANTCAST%3b%3bsize=300x250%3btarget=_blank%3balias=p36-05cfseeevn69c10t%3bkvp36=p36-05cfseeevn69c10t%3bsub1=p-G84dHbkXmCUEt%3bkvl=170895%3bkvc=800255%3bkvs=300x250%3bkvi=46876d51d638cce3c218a9d7da4457fd5c835403%3bkva=p-G84dHbkXmCUEt%3brdclick=http://exch.quantserve.com/r%3fa=p-G84dHbkXmCUEt%3blabels=_qc.clk,_click.adserver.rtb,_click.rand.85227%3brtbip=64.7.198.35%3brtbdata2=EAQaJUNvbWNhc3RSZXNpZGVudGlhbF9XZXN0Q29yZUFDUV9RMTIwMTYg1J4XKI-3CjD_6zA6HGh0dHA6Ly93d3cubW9kZW1lZGlhY29ycC5jb21aKEpLUGFBU2lnZ2xJOG9kY0JKZkhPVVNQdzExdzhvZEVDZFBINUVCeFp15H3YQIABt6PIjgmgAZ-TAqgBmKS3AroBKEpLUGFBU2lnZ2xJOG9kY0JKZkhPVVNQdzExdzhvZEVDZFBINUVCeFrAAcqfLMgBmvDWyKoq2gEoNDY4NzZkNTFkNjM4Y2NlM2MyMThhOWQ3ZGE0NDU3ZmQ1YzgzNTQwM-UB8Vm2PegBMpgCmdoKqAIFqAIGsAIIugIEQAfGI8ACAsgCANACtdHIiPDd-tOqAQ%3bredirecturl2=%22%20type=%22text/javascript%22%3e%3c/scr\"+\"ipt%3e%0a%3cimg%20src=%22http://exch.quantserve.com/pixel/p-G84dHbkXmCUEt.gif%3fmedia=ad&p=ED36050CBC1B1755&r=&rand=85227&labels=_qc.imp,_imp.adserver.rtb&rtbip=64.7.198.35&rtbdata2=EAQaJUNvbWNhc3RSZXNpZGVudGlhbF9XZXN0Q29yZUFDUV9RMTIwMTYg1J4XKI-3CjD_6zA6HGh0dHA6Ly93d3cubW9kZW1lZGlhY29ycC5jb21aKEpLUGFBU2lnZ2xJOG9kY0JKZkhPVVNQdzExdzhvZEVDZFBINUVCeFp15H3YQIABt6PIjgmgAZ-TAqgBmKS3AroBKEpLUGFBU2lnZ2xJOG9kY0JKZkhPVVNQdzExdzhvZEVDZFBINUVCeFrAAcqfLMgBmvDWyKoq2gEoNDY4NzZkNTFkNjM4Y2NlM2MyMThhOWQ3ZGE0NDU3ZmQ1YzgzNTQwM-UB8Vm2PegBMpgCmdoKqAIFqAIGsAIIugIEQAfGI8ACAsgCANACtdHIiPDd-tOqAQ%22%20style=%22display:%20none%3b%22%20border=%220%22%20height=%221%22%20width=%221%22%20alt=%22Quantcast%22/%3e%0a%20%20%3c/div%3e%0a%20%20%3cdiv%20class=%22border-div%22%3e%3c/div%3e%0a%3c/div%3e%0a%0a%3c/div%3e%0a%3c/div%3e%0a%3cscript%20src=%22https://z.moatads.com/quantcastv2691176990399/moatad.js%23moatClientLevel1=p-G84dHbkXmCUEt&moatClientLevel2=$%7bCAMPAIGN_ID%7d&moatClientLevel3=170895&moatClientLevel4=800255&uid=46876d51d638cce3c218a9d7da4457fd5c835403%22%20type=%22text/javascript%22%3e%3c/scr\"+\"ipt%3e\"; rubicon_tag_code = rubicon_tag_code.replace(/##RUBICON_CB##/g,rubicon_cb); document.write(unescape(rubicon_tag_code)); document.write(\"<div style=\\\"height: 0px; width: 0px; overflow: hidden\\\">\\n<script>\\n(function() {var proto = document.location.protocol; var server=\\\"http://tap2-cdn.rubiconproject.com\\\"; if (proto == \\\"https:\\\") server=\\\"https://tap-secure.rubiconproject.com\\\"; document.write(\\'<iframe src=\\\"\\'+server+\\'/partner/scr\"+\"ipts/rubicon/emily.html?rtb_ext=1&pc=9707/17955&geo=na&co=us\\\" frameborder=\\\"0\\\" marginwidth=\\\"0\\\" marginheight=\\\"0\\\" scrolling=\\\"NO\\\" width=\\\"0\\\" height=\\\"0\\\" style=\\\"height: 0px; width: 0px\\\"></iframe>\\'); })();\\n<\\/scr\"+\"ipt>\\n\\n</div>\");</script>",
"ad_id": "3163950",
"sizeId": "15",
"requestTimestamp": 1454535718610,
"responseTimestamp": 1454535724863,
"timeToRespond": 6253,
"adUnitCode": "/123456/header-bid-tag-0",
"bidder": "rubicon",
"size": "300x250",
"adserverTargeting": {
"hb_bidder": "rubicon",
"hb_adid": "148018fe5e",
"hb_pb": "10.00",
"foobar": "300x250"
}
},
{
"bidderCode": "pubmatic",
"width": "300",
"height": "250",
"statusMessage": "Bid available",
"adId": "15bea0b1db",
"adSlot": "39620189@300x250",
"cpm": 0.01,
"ad": "<span class=\"PubAPIAd\"><script type=\"text/rfitag\" id='__rfi_script_8ab387103bc3eefccd9126911b3529fd_p'><div style=\"position:relative;margin:0;marginLeft:0;marginRight:0;marginTop:0;marginBottom:0;padding:0;paddingLeft:0;paddingRight:0;paddingTop:0;paddingBottom:0; width:300px; height:250px; float:none\"><span id=\"__rfi__RFIM_M6__\" style=\"height:250px; width:300px; display:block\">__RFIM_a__ language=\"javascript\" type=\"text/javascript\">\r\nnew function() {\r\nthis.rand = Math.floor((Math.random() + \"\") * 1000000000000);\r\nthis.dvparams = 'ctx=971108&cmp=9290316&plc=126060341&sid=1408067';\r\nthis.dvregion = '0';\r\nthis.tagsrc = '<scr'+'ipt language=\\'Javascr'+'ipt1.1\\' SRC=\"https://ad.doubleclick.net/ddm/adj/N8667.150363.ROCKETFUELINC/B9290316.126060341;sz=300x250;ord=__RFIM_M40__;dc_lat=;dc_rdid=;click=http://__RFIM_e__/acs/b/__RFIM_c__;tag_for_child_directed_treatment=;displayHTML5=true;__RFIM_M14__?\"></scr'+'ipt><NOscr'+'ipt><A HREF=\"http://__RFIM_e__/acn/b/__RFIM_c__https://ad.doubleclick.net/ddm/jump/N8667.150363.ROCKETFUELINC/B9290316.126060341;sz=300x250;ord=__RFIM_M40__;displayHTML5=true;__RFIM_M14__?\"><IMG SRC=\"https://ad.doubleclick.net/ddm/ad/N8667.150363.ROCKETFUELINC/B9290316.126060341;sz=300x250;ord=__RFIM_M40__;dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;displayHTML5=true;__RFIM_M14__?\" BORDER=0 WIDTH=300 HEIGHT=250 ALT=\"Advertisement\"></A></NOscr'+'ipt>';\r\nthis.altsrc = '<scr'+'ipt type=\"text/javascr'+'ipt\" src=\"https://a.rfihub.com/sej?w=300&h=250&re=26593&ra=&rb=824&eid=__RFIM_M4__&ori=__RFIM_M6__\"></scr'+'ipt>';\r\nthis.ispreview = \"\" + '__RFIM_M13__'; if(this.ispreview=='1'){ this.altsrc = this.tagsrc; }\r\nthis.callbackName = '__dvredirect_callback_' + this.rand;\r\nvar thisRedirect = this;\r\nwindow[this.callbackName] = function () { return thisRedirect; };\r\nvar src = 'https://rtbcdn.doubleverify.com/bsredirect5.js?callback=' + this.callbackName;\r\ndocument.write('<scr' + 'ipt src=\"' + src + '\" type=\"text/javascript\"></scr' + 'ipt>');\r\n}\r\n__RFIM_b__>\r\n</span></div></script><script type=\"text/javascript\">(function(A){var B=document,C=function(c){return encodeURIComponent(c).replace(/[!'()~]/g,escape).replace(/\\*/g,\"%2A\")},D=function(c){return decodeURIComponent(c.replace(/\\%21/g,\"!\").replace(/\\%27/g,\"'\").replace(/\\%28/g,\"(\").replace(/\\%29/g,\")\").replace(/\\%7E/g,\"~\").replace(/\\+/g,\" \"))},V=function(){return new Date().getTime()},E=(function(){var u=\"\",r=\"\",s=\"\",t=\"\";try{u=location;u=u&&u.href;u=u?C(u):\"\";r=B&&B.referrer;r=r?C(r):\"\";s=C(A.b);t=r==\"\"?u:r}catch(e){}return{u:u,r:r,s:s,t:t}})(),G=(function(){var s=!1;try{var p=B.location.protocol;s=A.j||A.l||p&&p==\"https:\"}catch(e){}return s})(),H=G?\"https://\":\"http://\",I=function(c){return!A.j&&G?c.replace(/http:/g,\"https:\"):c},J=function(c){return A.e?I(c):c},K=function(m,p,l){var i=new Image(1,1);i.src=H+A.d+\"/adb.gif?\"+\"ms=\"+C(m)+\"&po=\"+p+\"&lev=\"+l+\"&ri=\"+A.c+\"&ra=\"+(V()%1000000000)+Math.random()},W=function(t){var q=/__RFIM_([^_]+)__/g,o=A.a;t=t.replace(q,function(a,b){return o[b].p?D(o[b].o):o[b].o});q.test(t)&&K(t,23,201);return t},X=function(t){var x=window.btoa;if(x)return x(t).replace(/\\+/g,'-').replace(/\\//g,'_').replace(/=/g,'.');var o=\"\",a,b,c,d,e,f,g,i=0,k=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.\";while(i<t.length){a=t.charCodeAt(i++);b=t.charCodeAt(i++);c=t.charCodeAt(i++);d=a>>2;e=((a&3)<<4)|(b>>4);f=((b&15)<<2)|(c>>6);g=c&63;if(isNaN(b)){f=g=64}else if(isNaN(c)){g=64}o=o+k.charAt(d)+k.charAt(e)+k.charAt(f)+k.charAt(g)}return o},F=(function(){try{var h=B.getElementById(\"__rfi_script_\"+A.c+\"_p\").innerHTML,o=A.a,n=A.h===\"\"?\"\":\"<img style='display:none' border=0 width=0 height=0 src='\"+H+A.k+A.h+\"' />\",i=\"\";o[\"a\"]={\"o\":\"<script\",\"p\":0};o[\"b\"]={\"o\":\"</script\",\"p\":0};o[\"c\"]={\"o\":A.f+'/'+(A.g===\"\"?'n':X(A.g))+'/',\"p\":0};o[\"d\"]={\"o\":h.length,\"p\":0};o[\"e\"]={\"o\":A.d,\"p\":0};o[\"M6\"]={\"o\":A.c,\"p\":0};o[\"M10\"]={\"o\":E.t,\"p\":0};if(A.i!==\"\"){i=H+A.d+A.i+\"&ct=\"+V()+\"&rs=\"+E.s+\"&pe=\"+E.u+\"&pf=\"+E.r;i=i.length>=4096?i.substr(0,4095):i;i=\"\\x3cscr\"+\"ipt type='text/javascript' src='\"+i+\"'>\"+\"\\x3c/scr\"+\"ipt>\"}h=J(W(h))+I(n)+I(W(i));B.write(h)}catch(e){K(e,21,201)}})()})({\"a\":{\"M13\":{\"o\":\"0\",\"p\":0},\"M40\":{\"o\":\"1454535718998\",\"p\":0},\"M4\":{\"o\":\"224\",\"p\":0},\"M14\":{\"o\":\"\",\"p\":0}},\"b\":\"\",\"c\":\"8ab387103bc3eefccd9126911b3529fd\",\"d\":\"a.rfihub.com\",\"e\":!0,\"f\":\"c3Q9aHRtbCZhYT0yMDQyMjExLDE5MTU5MzE1LDkxMTIzMSwzODEzOTkzNyw3MTQ1Nyw2MzYzODksOGFiMzg3MTAzYmMzZWVmY2NkOTEyNjkxMWIzNTI5ZmQscCw1MzgsMjY5MTk3LDE5MTIwODMxLDE4NzQ1OSw0NTY3NTMmbXQ9MSZyYj0yMjQmcmU9MzM2ODUmaGNpPTQxMTkzMzQxNTc5MjMzMDQwNzAmdXVpZD0xOTk3MTM1MzI5Nzg0MjIwNTI4JmRpPSZkYz0zJmRpc3JjPTA.\",\"g\":\"http://clicktrack.pubmatic.com/AdServer/AdDisplayTrackerServlet?clickData=JnB1YklkPTM5NzQxJnNpdGVJZD02NjE1NiZhZElkPTE0ODgyNyZrYWRzaXplaWQ9OSZ0bGRJZD0xMzg5MDQ2NiZjYW1wYWlnbklkPTU0MDAmY3JlYXRpdmVJZD0wJmFkU2VydmVySWQ9MjQzJmltcGlkPTUyOUM3MjEwLUFCN0EtNDIxNy1BOUJELUEzMTkwQ0EyMzgyQSZwYXNzYmFjaz0w_url=\",\"j\":!1,\"l\":!1,\"k\":\"lax-253.lax-rtb1.rfihub.com\",\"h\":\"/bn/bk.gif?bt=1454535719072&ri=8ab387103bc3eefccd9126911b3529fd&rb=224&re=33685&ep=0.011&rt=636389&ai=2042211&dc=3&di=&co=hci%3A4119334157923304070%2CscoreMicroConversions%3A36%2CuD%3A0%2CisSkip%3Afalse%2Cip%3A216.55.47.94%2Cbt%3A1454535719072%2CexId%3A1063C492-CBF4-481C-A208-3D22C669B403%2Csej%3Afalse%2CbB%3Atrue%2CuE%3A0%2Cdid%3Atid_636389%7Cmed_regular%7CeCv_3169%2Cmt%3A1%2CuG%3A0%2Curl%3Alax-253.lax-rtb1.rfihub.com%2CnewUser%3Afalse%2CuV%3A0%2CisAI%3Atrue%2CisFp%3A0%2CserverId%3Alax-253%2Coptimize%3Afalse%2CscoreMicroClicks%3A0%2Cuuid%3A1997135329784220528%2CdiSrc%3A0\",\"i\":\"/bn/imp.js?bt=1454535719072&aeh=1&w=300&h=250&co=hci%3A4119334157923304070%2CscoreMicroConversions%3A36%2CuD%3A0%2CisSkip%3Afalse%2Cip%3A216.55.47.94%2Cbt%3A1454535719072%2CexId%3A1063C492-CBF4-481C-A208-3D22C669B403%2Csej%3Afalse%2CbB%3Atrue%2CuE%3A0%2Cdid%3Atid_636389%7Cmed_regular%7CeCv_3169%2Cmt%3A1%2CuG%3A0%2Curl%3Alax-253.lax-rtb1.rfihub.com%2CnewUser%3Afalse%2CuV%3A0%2CisAI%3Atrue%2CisFp%3A0%2CserverId%3Alax-253%2Coptimize%3Afalse%2CscoreMicroClicks%3A0%2Cuuid%3A1997135329784220528%2CdiSrc%3A0&ep=0.011&ri=8ab387103bc3eefccd9126911b3529fd&ai=2042211&rt=636389&re=33685&rb=224&ra=&hl=__RFIM_d__&sc=1&bs=0&dc=3&di=&ug=66156\",\"y\":201});</script>\n<script type=\"text/javascript\" src=\"https://c.betrad.com/surly.js?;ad_w=300;ad_h=250;coid=348;nid=7875;ecaid=39741;\"></script></span> <!-- PubMatic Ad Ends -->",
"adUrl": "http://aktrack.pubmatic.com/AdServer/AdDisplayTrackerServlet?operId=1&pubId=39741&siteId=66156&adId=148827&adServerId=243&kefact=0.010000&kaxefact=0.010000&kadNetFrequecy=1&kadwidth=300&kadheight=250&kadsizeid=9&kltstamp=1454535719&indirectAdId=0&adServerOptimizerId=2&ranreq=0.052495126612484455&kpbmtpfact=0.011000&dcId=1&tldId=13890466&passback=0&imprId=529C7210-AB7A-4217-A9BD-A3190CA2382A&oid=529C7210-AB7A-4217-A9BD-A3190CA2382A&ias=272&fbs=1&campaignId=5400&creativeId=0&pctr=0.000000&wDSPByrId=1&pageURL=http%3A%2F%2Flocalhost%3A9999%2FintegrationExamples%2Fgpt%2Fgpt.html&lpu=www.xfinity.com",
"dealId": "",
"requestTimestamp": 1454535718617,
"responseTimestamp": 1454535725437,
"timeToRespond": 6820,
"adUnitCode": "/123456/header-bid-tag-0",
"bidder": "pubmatic",
"size": "300x250",
"adserverTargeting": {
"hb_bidder": "pubmatic",
"hb_adid": "15bea0b1db",
"hb_pb": "10.00",
"foobar": "300x250"
}
}
]
}
}
Loading

0 comments on commit 1fd041c

Please sign in to comment.