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