github.com/prebid/prebid-server/v2@v2.18.0/adapters/flipp/flipptest/exemplary/simple-banner-native-param-user.json (about)

     1  {
     2      "mockBidRequest": {
     3          "id": "test-request-id",
     4          "test": 1,
     5          "device": {
     6              "ip": "123.123.123.123"
     7          },
     8          "site": {
     9              "id": "1243066",
    10              "page": "http://www.example.com/test?flipp-content-code=publisher-test"
    11          },
    12          "user": {
    13              "consent": "CP0xeHPP0xeHPBcABBENAgCAAPAAAAAAAGcgAAAAAAAA"
    14          },
    15          "regs": {
    16              "coppa": 0,
    17              "gdpr": 0
    18          },
    19          "imp": [
    20              {
    21                  "id": "test-imp-id",
    22                  "tagid": "test",
    23                  "banner": {
    24                      "format": [
    25                          {
    26                              "w": 300,
    27                              "h": 1800
    28                          }
    29                      ]
    30                  },
    31                  "ext": {
    32                          "bidder": {
    33                                  "publisherNameIdentifier": "wishabi-test-publisher",
    34                                  "creativeType": "NativeX",
    35                                  "siteId": 1243066,
    36                                  "zoneIds": [285431],
    37                                  "options": {
    38                                     "startCompact": true
    39                                  },
    40                                  "userKey": "abc123"
    41                          }
    42                  }
    43              }
    44                  
    45          ]
    46      },
    47      "httpCalls": [
    48          {
    49              "expectedRequest": {
    50                  "uri": "http://example.com/pserver",
    51                  "body": {
    52                      "ip":"123.123.123.123",
    53                      "keywords":[
    54                         ""
    55                      ],
    56                      "placements":[
    57                         {
    58                            "adTypes":[
    59                               4309,
    60                               641
    61                            ],
    62                            "count":1,
    63                            "divName":"inline",
    64                            "prebid":{
    65                               "creativeType":"NativeX",
    66                               "height":1800,
    67                               "publisherNameIdentifier":"wishabi-test-publisher",
    68                               "requestId":"test-imp-id",
    69                               "width":300
    70                            },
    71                            "properties":{
    72                               "contentCode":"publisher-test"
    73                            },
    74                            "siteId":1243066,
    75                            "zoneIds":[
    76                               285431
    77                            ],
    78                            "options": {
    79                               "startCompact": true
    80                            }
    81                         }
    82                      ],
    83                      "url":"http://www.example.com/test?flipp-content-code=publisher-test",
    84                      "user":{
    85                         "key":"abc123"
    86                      }
    87                  },
    88                  "impIDs":["test-imp-id"]
    89              },
    90              "mockResponse": {
    91                  "status": 200,
    92                  "body": {
    93                      "decisions": {
    94                          "inline": [
    95                              {
    96                                  "adId": 183599115,
    97                                  "advertiserId": 1988027,
    98                                  "campaignId": 63285392,
    99                                  "clickUrl": "https://e-11090.adzerk.net/r?e=eyJ2IjoiMS4xMSIsImF2IjoxOTg4MDI3LCJhdCI6NDMwOSwiYnQiOjAsImNtIjo2MzI4NTM5MiwiY2giOjU4MDgxLCJjayI6e30sImNyIjo4MTMyNTY5MCwiZGkiOiJiOTg3MGNkYTA5MTU0NDlmOTkwZGNkZTNmNjYyNGNhMyIsImRqIjowLCJpaSI6IjJmNjYwMjMyODBmYjQ4NTRiYTY0YzFlYzA1ZDU5MTNiIiwiZG0iOjMsImZjIjoxODM1OTkxMTUsImZsIjoxNzU0MjE3OTUsImlwIjoiMTQyLjE4MS41OC41MiIsIm53IjoxMDkyMiwicGMiOjAsIm9wIjowLCJlYyI6MCwiZ20iOjAsImVwIjpudWxsLCJwciI6MjMyNjk5LCJydCI6MywicnMiOjUwMCwic2EiOiIzNCIsInNiIjoiaS0wNDZjMWNlNWRjYmExMTVjNSIsInNwIjozNzIzMDU1LCJzdCI6MTI0MzA2NiwidWsiOiJkOTU1N2Q2NS1kNWI5LTQyOTItYjg2My0xNGEyOTcyNTk3ZjQiLCJ6biI6Mjg1NDMxLCJ0cyI6MTY4MDU1NTc4MzkyMiwicG4iOiJpbmxpbmUiLCJnYyI6dHJ1ZSwiZ0MiOnRydWUsImdzIjoibm9uZSIsInR6IjoiQW1lcmljYS9OZXdfWW9yayIsInVyIjoiaHR0cDovL3d3dy5mbGlwcC5jb20ifQ&s=Mnss8P1kc37Eftik5RJvLJb4S9Y",
   100                                  "contents": [
   101                                      {
   102                                          "data": {
   103                                              "customData": {
   104                                                  "campaignConfigUrl": "https://campaign-config.flipp.com/dist-campaign-admin/215",
   105                                                  "campaignNameIdentifier": "US Grocery Demo (Kroger)"
   106                                              },
   107                                              "height": 1800,
   108                                              "width": 300
   109                                          },
   110                                          "type": "raw"
   111                                      }
   112                                  ],
   113                                  "creativeId": 81325690,
   114                                  "flightId": 175421795,
   115                                  "height": 1800,
   116                                  "impressionUrl": "https://e-11090.adzerk.net/i.gif?e=eyJ2IjoiMS4xMSIsImF2IjoxOTg4MDI3LCJhdCI6NDMwOSwiYnQiOjAsImNtIjo2MzI4NTM5MiwiY2giOjU4MDgxLCJjayI6e30sImNyIjo4MTMyNTY5MCwiZGkiOiJiOTg3MGNkYTA5MTU0NDlmOTkwZGNkZTNmNjYyNGNhMyIsImRqIjowLCJpaSI6IjJmNjYwMjMyODBmYjQ4NTRiYTY0YzFlYzA1ZDU5MTNiIiwiZG0iOjMsImZjIjoxODM1OTkxMTUsImZsIjoxNzU0MjE3OTUsImlwIjoiMTQyLjE4MS41OC41MiIsIm53IjoxMDkyMiwicGMiOjAsIm9wIjowLCJlYyI6MCwiZ20iOjAsImVwIjpudWxsLCJwciI6MjMyNjk5LCJydCI6MywicnMiOjUwMCwic2EiOiIzNCIsInNiIjoiaS0wNDZjMWNlNWRjYmExMTVjNSIsInNwIjozNzIzMDU1LCJzdCI6MTI0MzA2NiwidWsiOiJkOTU1N2Q2NS1kNWI5LTQyOTItYjg2My0xNGEyOTcyNTk3ZjQiLCJ6biI6Mjg1NDMxLCJ0cyI6MTY4MDU1NTc4MzkyMywicG4iOiJpbmxpbmUiLCJnYyI6dHJ1ZSwiZ0MiOnRydWUsImdzIjoibm9uZSIsInR6IjoiQW1lcmljYS9OZXdfWW9yayIsImJhIjoxLCJmcSI6MH0&s=Qce4_IohtESeNA_sB71Qjb4TouY",
   117                                  "prebid": {
   118                                      "cpm": 12.34,
   119                                      "creative":"creativeContent",
   120                                      "creativeType": "NativeX",
   121                                      "requestId": "test-imp-id"
   122                                  },
   123                                  "priorityId": 232699,
   124                                  "storefront": {
   125                                      "campaignConfig": {
   126                                          "fallbackImageUrl": "https://f.wishabi.net/arbitrary_files/115856/1666018811/115856_Featured Local Savings - Flipp Fallback - US (1).png",
   127                                          "fallbackLinkUrl": "https://flipp.com/flyers/",
   128                                          "tags": {
   129                                              "advertiser": {
   130                                                  "engagement": "https://f.wishabi.net/creative/happyfruits/_itemlevelv2/apple.png?cb=[[random]]"
   131                                              }
   132                                          }
   133                                      },
   134                                      "flyer_id": 5554080,
   135                                      "flyer_run_id": 873256,
   136                                      "flyer_type_id": 2826,
   137                                      "is_fallback": true,
   138                                      "merchant": "Kroger",
   139                                      "merchant_id": 2778,
   140                                      "name": "Weekly Ad",
   141                                      "storefront_logo_url": "https://images.wishabi.net/merchants/qX1/BGIzc9sFcA==/RackMultipart20210421-1-e3k5rx.jpeg",
   142                                      "storefront_payload_url": "https://cdn-gateflipp.flippback.com/storefront-payload/v2/873256/5554080/ff14f675705934507c269b5750e124a323bc9bf60e8a6f210f422f4528b233ff?merchant_id=2778",
   143                                      "valid_from": "2023-03-29 04:00:00 +0000 UTC",
   144                                      "valid_to": "2023-04-05 03:59:59 +0000 UTC"
   145                                  },
   146                                  "width": 300
   147                              }
   148                          ]
   149                      },
   150                      "location": {
   151                          "accuracy_radius": 5,
   152                          "city": "Toronto",
   153                          "country": "CA",
   154                          "ip": "123.123.123.123",
   155                          "postal_code": "M4S",
   156                          "region": "ON",
   157                          "region_name": "Ontario"
   158                      }
   159                  }
   160              }
   161          }
   162      ],
   163      "expectedBidResponses": [
   164          {
   165              "bids": [
   166                  {
   167                      "bid": {
   168                          "id": "183599115",
   169                          "impid": "test-imp-id",
   170                          "price": 12.34,
   171                          "adm": "creativeContent",
   172                          "crid": "81325690",
   173                          "w": 300
   174                      },
   175                      "type": "banner"
   176                  }
   177              ]
   178          }
   179      ]
   180  }