{
  "id": "tid",
  "seatbid": [
    {
      "bid": [
        {
          "id": "bidId1",
          "impid": "impId1",
          "price": 10.6,
          "adm": "<Impression><![CDATA[]]></Impression>",
          "crid": "crid1",
          "dealid": "dealId1",
          "w": 300,
          "h": 250,
          "ext": {
            "prebid": {
              "type": "banner",
              "targeting": {
                "hb_pb": "10.60",
                "hb_pb_rubicon": "10.60",
                "hb_deal_rubicon": "dealId1",
                "hb_size": "300x250",
                "hb_bidder": "rubicon",
                "hb_size_rubicon": "300x250",
                "hb_bidder_rubicon": "rubicon",
                "hb_deal": "dealId1"
              },
              "events": {
                "win": "http://localhost:8080/event?t=win&b=bidId1&a=2001&aid=tid&ts=1000&bidder=rubicon&f=i&int=&x=0&l=lineItem1",
                "imp": "http://localhost:8080/event?t=imp&b=bidId1&a=2001&aid=tid&ts=1000&bidder=rubicon&f=i&int=&x=0&l=lineItem1"
              }
            },
            "origbidcpm": 10.6
          }
        }
      ],
      "seat": "rubicon",
      "group": 0
    }
  ],
  "cur": "USD",
  "ext": {
    "debug": {
      "httpcalls": {
        "rubicon": [
          {
            "uri": "{{ rubicon.exchange_uri }}?tk_xint=rp-pbs",
            "requestheaders": {
              "Accept": [
                "application/json"
              ],
              "x-prebid": [
                "pbs-java/1.70.0"
              ],
              "User-Agent": [
                "prebid-server/1.0"
              ],
              "Content-Type": [
                "application/json;charset=utf-8"
              ]
            },
            "requestbody": "{\"id\":\"tid\",\"imp\":[{\"id\":\"impId1\",\"banner\":{\"format\":[{\"w\":300,\"h\":250}],\"ext\":{\"rp\":{\"mime\":\"text/html\"}}},\"pmp\":{\"deals\":[{\"id\":\"dealId1\",\"ext\":{\"line\":{\"lineitemid\":\"lineItem1\",\"extlineitemid\":\"extLineItem1\",\"sizes\":[{\"w\":300,\"h\":250}]}}},{\"id\":\"dealId2\",\"ext\":{\"line\":{\"lineitemid\":\"lineItem2\",\"extlineitemid\":\"extLineItem2\",\"sizes\":[{\"w\":300,\"h\":250}]}}},{\"id\":\"dealId3\",\"ext\":{\"line\":{\"lineitemid\":\"lineItem3\",\"extlineitemid\":\"extLineItem3\",\"sizes\":[{\"w\":300,\"h\":250}]}}}]},\"secure\":1,\"ext\":{\"rp\":{\"zone_id\":4001,\"target\":{\"page\":[\"http://www.example.com\"],\"line_item\":\"extLineItem1\"},\"track\":{\"mint\":\"\",\"mint_version\":\"\"}},\"maxbids\":1}}],\"site\":{\"domain\":\"www.example.com\",\"page\":\"http://www.example.com\",\"publisher\":{\"ext\":{\"rp\":{\"account_id\":2001}}},\"ext\":{\"amp\":0,\"rp\":{\"site_id\":3001}}},\"device\":{\"ua\":\"userAgent\",\"ip\":\"185.199.110.0\",\"ext\":{\"rp\":{}}},\"user\":{\"buyeruid\":\"J5VLCWQP-26-CWFT\",\"consent\":\"CPBCa-mPBCa-mAAAAAENA0CAAEAAAAAAACiQAaQAwAAgAgABoAAAAAA\",\"ext\":{\"fcapids\":[\"fcapId3\"],\"time\":{\"userdow\":{{ userdow }},\"userhour\":{{ userhour }}}}},\"at\":1,\"tmax\":5000,\"source\":{\"tid\":\"someTid\"}}",
            "responsebody": "{\"id\":\"bidResponseId1\",\"seatbid\":[{\"seat\":\"seatId\",\"bid\":[{\"id\":\"bidId1\",\"impid\":\"impId1\",\"dealid\":\"dealId1\",\"price\":10.6,\"adm\":\"<Impression><![CDATA[]]></Impression>\",\"crid\":\"crid1\",\"w\":300,\"h\":250}]}]}",
            "status": 200
          },
          {
            "uri": "{{ rubicon.exchange_uri }}?tk_xint=rp-pbs",
            "requestheaders": {
              "Accept": [
                "application/json"
              ],
              "x-prebid": [
                "pbs-java/1.70.0"
              ],
              "User-Agent": [
                "prebid-server/1.0"
              ],
              "Content-Type": [
                "application/json;charset=utf-8"
              ]
            },
            "requestbody": "{\"id\":\"tid\",\"imp\":[{\"id\":\"impId1\",\"banner\":{\"format\":[{\"w\":300,\"h\":250}],\"ext\":{\"rp\":{\"mime\":\"text/html\"}}},\"pmp\":{\"deals\":[{\"id\":\"dealId1\",\"ext\":{\"line\":{\"lineitemid\":\"lineItem1\",\"extlineitemid\":\"extLineItem1\",\"sizes\":[{\"w\":300,\"h\":250}]}}},{\"id\":\"dealId2\",\"ext\":{\"line\":{\"lineitemid\":\"lineItem2\",\"extlineitemid\":\"extLineItem2\",\"sizes\":[{\"w\":300,\"h\":250}]}}},{\"id\":\"dealId3\",\"ext\":{\"line\":{\"lineitemid\":\"lineItem3\",\"extlineitemid\":\"extLineItem3\",\"sizes\":[{\"w\":300,\"h\":250}]}}}]},\"secure\":1,\"ext\":{\"rp\":{\"zone_id\":4001,\"target\":{\"page\":[\"http://www.example.com\"],\"line_item\":\"extLineItem2\"},\"track\":{\"mint\":\"\",\"mint_version\":\"\"}},\"maxbids\":1}}],\"site\":{\"domain\":\"www.example.com\",\"page\":\"http://www.example.com\",\"publisher\":{\"ext\":{\"rp\":{\"account_id\":2001}}},\"ext\":{\"amp\":0,\"rp\":{\"site_id\":3001}}},\"device\":{\"ua\":\"userAgent\",\"ip\":\"185.199.110.0\",\"ext\":{\"rp\":{}}},\"user\":{\"buyeruid\":\"J5VLCWQP-26-CWFT\",\"consent\":\"CPBCa-mPBCa-mAAAAAENA0CAAEAAAAAAACiQAaQAwAAgAgABoAAAAAA\",\"ext\":{\"fcapids\":[\"fcapId3\"],\"time\":{\"userdow\":{{ userdow }},\"userhour\":{{ userhour }}}}},\"at\":1,\"tmax\":5000,\"source\":{\"tid\":\"someTid\"}}"
          },
          {
            "uri": "{{ rubicon.exchange_uri }}?tk_xint=rp-pbs",
            "requestheaders": {
              "Accept": [
                "application/json"
              ],
              "x-prebid": [
                "pbs-java/1.70.0"
              ],
              "User-Agent": [
                "prebid-server/1.0"
              ],
              "Content-Type": [
                "application/json;charset=utf-8"
              ]
            },
            "requestbody": "{\"id\":\"tid\",\"imp\":[{\"id\":\"impId1\",\"banner\":{\"format\":[{\"w\":300,\"h\":250}],\"ext\":{\"rp\":{\"mime\":\"text/html\"}}},\"pmp\":{\"deals\":[{\"id\":\"dealId1\",\"ext\":{\"line\":{\"lineitemid\":\"lineItem1\",\"extlineitemid\":\"extLineItem1\",\"sizes\":[{\"w\":300,\"h\":250}]}}},{\"id\":\"dealId2\",\"ext\":{\"line\":{\"lineitemid\":\"lineItem2\",\"extlineitemid\":\"extLineItem2\",\"sizes\":[{\"w\":300,\"h\":250}]}}},{\"id\":\"dealId3\",\"ext\":{\"line\":{\"lineitemid\":\"lineItem3\",\"extlineitemid\":\"extLineItem3\",\"sizes\":[{\"w\":300,\"h\":250}]}}}]},\"secure\":1,\"ext\":{\"rp\":{\"zone_id\":4001,\"target\":{\"page\":[\"http://www.example.com\"],\"line_item\":\"extLineItem3\"},\"track\":{\"mint\":\"\",\"mint_version\":\"\"}},\"maxbids\":1}}],\"site\":{\"domain\":\"www.example.com\",\"page\":\"http://www.example.com\",\"publisher\":{\"ext\":{\"rp\":{\"account_id\":2001}}},\"ext\":{\"amp\":0,\"rp\":{\"site_id\":3001}}},\"device\":{\"ua\":\"userAgent\",\"ip\":\"185.199.110.0\",\"ext\":{\"rp\":{}}},\"user\":{\"buyeruid\":\"J5VLCWQP-26-CWFT\",\"consent\":\"CPBCa-mPBCa-mAAAAAENA0CAAEAAAAAAACiQAaQAwAAgAgABoAAAAAA\",\"ext\":{\"fcapids\":[\"fcapId3\"],\"time\":{\"userdow\":{{ userdow }},\"userhour\":{{ userhour }}}}},\"at\":1,\"tmax\":5000,\"source\":{\"tid\":\"someTid\"}}"
          }
        ],
        "userservice": [
          {
            "uri": "{{ userservice_uri }}",
            "requestbody": "{\"time\":\"{{ userservice_time }}\",\"ids\":[{\"type\":\"khaos\",\"id\":\"J5VLCWQP-26-CWFT\"}]}",
            "responsebody": "{\"user\":{\"data\":[{\"id\":\"1111\",\"name\":\"rubicon\",\"segment\":[{\"id\":\"2222\"},{\"id\":\"3333\"}]},{\"id\":\"4444\",\"name\":\"bluekai\",\"segment\":[{\"id\":\"5555\"},{\"id\":\"6666\"}]}],\"ext\":{\"fcapIds\":[\"fcapId3\"]}}}",
            "status": 200
          }
        ]
      },
      "resolvedrequest": {
        "id": "tid",
        "imp": [
          {
            "id": "impId1",
            "secure": 1,
            "banner": {
              "format": [
                {
                  "w": 300,
                  "h": 250
                }
              ]
            },
            "pmp": {
              "deals": [
                {
                  "id": "dealId1",
                  "ext": {
                    "line": {
                      "lineitemid": "lineItem1",
                      "extlineitemid": "extLineItem1",
                      "sizes": [
                        {
                          "w": 300,
                          "h": 250
                        }
                      ],
                      "bidder": "rubicon"
                    }
                  }
                },
                {
                  "id": "dealId2",
                  "ext": {
                    "line": {
                      "lineitemid": "lineItem2",
                      "extlineitemid": "extLineItem2",
                      "sizes": [
                        {
                          "w": 300,
                          "h": 250
                        }
                      ],
                      "bidder": "rubicon"
                    }
                  }
                },
                {
                  "id": "dealId3",
                  "ext": {
                    "line": {
                      "lineitemid": "lineItem3",
                      "extlineitemid": "extLineItem3",
                      "sizes": [
                        {
                          "w": 300,
                          "h": 250
                        }
                      ],
                      "bidder": "rubicon"
                    }
                  }
                }
              ]
            },
            "ext": {
              "tid": "someTid",
              "prebid": {
                "bidder": {
                  "rubicon": {
                    "accountId": 2001,
                    "siteId": 3001,
                    "zoneId": 4001
                  }
                }
              }
            }
          }
        ],
        "source": {
          "tid": "someTid"
        },
        "site": {
          "domain": "www.example.com",
          "page": "http://www.example.com",
          "publisher": {
            "id": "2001",
            "domain": "example.com"
          },
          "ext": {
            "amp": 0
          }
        },
        "device": {
          "ua": "userAgent",
          "ip": "185.199.110.0"
        },
        "user": {
          "data": [
            {
              "id": "rubicon",
              "segment": [
                {
                  "id": "2222"
                },
                {
                  "id": "3333"
                }
              ]
            },
            {
              "id": "bluekai",
              "segment": [
                {
                  "id": "5555"
                },
                {
                  "id": "6666"
                }
              ]
            }
          ],
          "consent": "CPBCa-mPBCa-mAAAAAENA0CAAEAAAAAAACiQAaQAwAAgAgABoAAAAAA",
          "ext": {
            "fcapids": [
              "fcapId3"
            ],
            "time": {
              "userdow": "{{ userdow }}",
              "userhour": "{{ userhour }}"
            }
          }
        },
        "at": 1,
        "tmax": 5000,
        "cur": [
          "USD"
        ],
        "ext": {
          "prebid": {
            "auctiontimestamp": 1000,
            "debug": 1,
            "trace": "verbose",
            "targeting": {
              "pricegranularity": {
                "precision": 2,
                "ranges": [
                  {
                    "max": 20,
                    "increment": 0.1
                  }
                ]
              },
              "includewinners": true,
              "includebidderkeys": true
            },
            "channel": {
              "name": "web"
            },
            "server": {
              "externalurl": "http://localhost:8080",
              "gvlid": 1,
              "datacenter": "local",
              "endpoint": "/openrtb2/auction"
            }
          }
        }
      },
      "pgmetrics": {
        "sent_to_client": [
          "lineItem1"
        ],
        "sent_to_client_as_top_match": [
          "lineItem1"
        ],
        "matched_whole_targeting": [
          "lineItem3",
          "lineItem1",
          "lineItem2"
        ],
        "ready_to_serve": [
          "lineItem3",
          "lineItem1",
          "lineItem2"
        ],
        "sent_to_bidder": {
          "rubicon": [
            "lineItem3",
            "lineItem1",
            "lineItem2"
          ]
        },
        "sent_to_bidder_as_top_match": {
          "rubicon": [
            "lineItem1"
          ]
        },
        "received_from_bidder": {
          "rubicon": [
            "lineItem1"
          ]
        }
      },
      "trace": {
        "lineitems": {
          "lineItem3": [
            {
              "lineitemid": "lineItem3",
              "time": "2020-04-24T14:08:59.044Z",
              "category": "targeting",
              "message": "Line Item lineItem3 targeting matched imp with id impId1"
            },
            {
              "lineitemid": "lineItem3",
              "time": "2020-04-24T14:08:59.061Z",
              "category": "pacing",
              "message": "Matched Line Item lineItem3 for bidder rubicon ready to serve. relPriority 3"
            }
          ],
          "lineItem1": [
            {
              "lineitemid": "lineItem1",
              "time": "2020-04-24T14:08:59.048Z",
              "category": "targeting",
              "message": "Line Item lineItem1 targeting matched imp with id impId1"
            },
            {
              "lineitemid": "lineItem1",
              "time": "2020-04-24T14:08:59.062Z",
              "category": "pacing",
              "message": "Matched Line Item lineItem1 for bidder rubicon ready to serve. relPriority 3"
            }
          ],
          "lineItem2": [
            {
              "lineitemid": "lineItem2",
              "time": "2020-04-24T14:08:59.053Z",
              "category": "targeting",
              "message": "Line Item lineItem2 targeting matched imp with id impId1"
            },
            {
              "lineitemid": "lineItem2",
              "time": "2020-04-24T14:08:59.062Z",
              "category": "pacing",
              "message": "Matched Line Item lineItem2 for bidder rubicon ready to serve. relPriority 3"
            }
          ]
        },
        "activity_infrastructure": [
          {
            "description": "Invocation of Activity Infrastructure.",
            "activity": "fetchBids",
            "activity_invocation_payload": {
              "component_type": "BIDDER",
              "component_name": "rubicon"
            }
          },
          {
            "description": "Setting the default invocation result.",
            "allow_by_default": true
          },
          {
            "description": "Activity Infrastructure invocation result.",
            "activity": "fetchBids",
            "allowed": true
          },
          {
            "description": "Invocation of Activity Infrastructure.",
            "activity": "transmitUfpd",
            "activity_invocation_payload": {
              "component_type": "BIDDER",
              "component_name": "rubicon"
            }
          },
          {
            "description": "Setting the default invocation result.",
            "allow_by_default": true
          },
          {
            "description": "Activity Infrastructure invocation result.",
            "activity": "transmitUfpd",
            "allowed": true
          },
          {
            "description": "Invocation of Activity Infrastructure.",
            "activity": "transmitPreciseGeo",
            "activity_invocation_payload": {
              "component_type": "BIDDER",
              "component_name": "rubicon"
            }
          },
          {
            "description": "Setting the default invocation result.",
            "allow_by_default": true
          },
          {
            "description": "Activity Infrastructure invocation result.",
            "activity": "transmitPreciseGeo",
            "allowed": true
          },
          {
            "description": "Invocation of Activity Infrastructure.",
            "activity": "transmitTid",
            "activity_invocation_payload": {
              "component_type": "BIDDER",
              "component_name": "rubicon"
            }
          },
          {
            "description": "Setting the default invocation result.",
            "allow_by_default": true
          },
          {
            "description": "Activity Infrastructure invocation result.",
            "activity": "transmitTid",
            "allowed": true
          }
        ]
      }
    },
    "responsetimemillis": {
      "rubicon": "{{ rubicon.response_time_ms }}"
    },
    "tmaxrequest": 5000,
    "prebid": {
      "auctiontimestamp": 1000
    }
  }
}
