github.com/prebid/prebid-server/v2@v2.18.0/config/interstitial.go (about)

     1  package config
     2  
     3  // This is a first pass at providing a priority list for building out interstitial sizes.
     4  // It is quite possible that different strategies may develop, requiring a configurable
     5  // list to satisfy the needs of different hosting companies. So we start with a hardcoded
     6  // list in the config module, to make it more straightforward to move to an actual
     7  // configurable solution once the need develops and the use cases can be defined.
     8  
     9  // InterstitialSize represents the width and height of an interstitial ad.
    10  type InterstitialSize struct {
    11  	Width  uint64
    12  	Height uint64
    13  }
    14  
    15  // ResolvedInterstitialSizes is a list of sizes sorted by size (larger first) and frequency (more common sizes first)
    16  // since that seemed like a reasonable weight balancing the two factors. Originally sources from AppNexus/Xandr stats.
    17  var ResolvedInterstitialSizes = []InterstitialSize{
    18  	{300, 250},
    19  	{728, 90},
    20  	{160, 600},
    21  	{320, 50},
    22  	{300, 600},
    23  	{970, 250},
    24  	{2000, 1400},
    25  	{1920, 1200},
    26  	{1800, 1000},
    27  	{1920, 1080},
    28  	{1600, 1150},
    29  	{1696, 900},
    30  	{1600, 900},
    31  	{1270, 800},
    32  	{970, 1000},
    33  	{1920, 480},
    34  	{320, 320},
    35  	{1600, 500},
    36  	{768, 1024},
    37  	{1024, 768},
    38  	{828, 910},
    39  	{728, 970},
    40  	{120, 600},
    41  	{640, 960},
    42  	{980, 600},
    43  	{620, 891},
    44  	{930, 600},
    45  	{980, 552},
    46  	{1272, 328},
    47  	{300, 50},
    48  	{500, 1000},
    49  	{900, 550},
    50  	{980, 500},
    51  	{970, 500},
    52  	{800, 600},
    53  	{336, 280},
    54  	{1250, 360},
    55  	{980, 400},
    56  	{320, 250},
    57  	{320, 480},
    58  	{980, 240},
    59  	{580, 400},
    60  	{970, 415},
    61  	{480, 820},
    62  	{620, 620},
    63  	{980, 300},
    64  	{970, 90},
    65  	{600, 600},
    66  	{1800, 200},
    67  	{970, 310},
    68  	{720, 480},
    69  	{1295, 250},
    70  	{300, 1050},
    71  	{1272, 250},
    72  	{300, 300},
    73  	{640, 480},
    74  	{320, 100},
    75  	{580, 500},
    76  	{1000, 300},
    77  	{1250, 240},
    78  	{600, 500},
    79  	{300, 1000},
    80  	{728, 410},
    81  	{800, 250},
    82  	{970, 300},
    83  	{950, 300},
    84  	{994, 250},
    85  	{940, 300},
    86  	{640, 320},
    87  	{468, 600},
    88  	{970, 200},
    89  	{930, 180},
    90  	{250, 600},
    91  	{491, 555},
    92  	{550, 480},
    93  	{750, 300},
    94  	{980, 250},
    95  	{1000, 260},
    96  	{980, 150},
    97  	{350, 240},
    98  	{970, 210},
    99  	{640, 360},
   100  	{580, 415},
   101  	{480, 300},
   102  	{750, 200},
   103  	{360, 640},
   104  	{624, 368},
   105  	{900, 250},
   106  	{468, 400},
   107  	{608, 226},
   108  	{690, 300},
   109  	{605, 340},
   110  	{320, 640},
   111  	{450, 450},
   112  	{300, 480},
   113  	{250, 800},
   114  	{640, 300},
   115  	{320, 160},
   116  	{980, 200},
   117  	{950, 200},
   118  	{480, 400},
   119  	{740, 250},
   120  	{336, 544},
   121  	{303, 603},
   122  	{320, 568},
   123  	{301, 601},
   124  	{300, 601},
   125  	{600, 300},
   126  	{180, 500},
   127  	{980, 120},
   128  	{950, 180},
   129  	{935, 180},
   130  	{994, 170},
   131  	{468, 360},
   132  	{320, 400},
   133  	{320, 240},
   134  	{320, 500},
   135  	{316, 513},
   136  	{630, 250},
   137  	{480, 320},
   138  	{320, 481},
   139  	{520, 290},
   140  	{250, 250},
   141  	{300, 500},
   142  	{1000, 150},
   143  	{320, 460},
   144  	{970, 150},
   145  	{800, 180},
   146  	{468, 60},
   147  	{482, 282},
   148  	{680, 200},
   149  	{320, 416},
   150  	{480, 280},
   151  	{300, 431},
   152  	{728, 180},
   153  	{300, 430},
   154  	{180, 701},
   155  	{840, 150},
   156  	{600, 200},
   157  	{768, 150},
   158  	{200, 600},
   159  	{350, 350},
   160  	{202, 600},
   161  	{400, 300},
   162  	{414, 286},
   163  	{656, 180},
   164  	{994, 118},
   165  	{638, 180},
   166  	{650, 170},
   167  	{1000, 90},
   168  	{300, 360},
   169  	{600, 180},
   170  	{240, 400},
   171  	{161, 601},
   172  	{610, 138},
   173  	{164, 601},
   174  	{980, 100},
   175  	{970, 100},
   176  	{468, 200},
   177  	{250, 360},
   178  	{320, 180},
   179  	{605, 150},
   180  	{600, 150},
   181  	{980, 90},
   182  	{750, 100},
   183  	{150, 600},
   184  	{630, 140},
   185  	{696, 120},
   186  	{307, 254},
   187  	{303, 253},
   188  	{703, 110},
   189  	{550, 140},
   190  	{300, 251},
   191  	{298, 250},
   192  	{500, 150},
   193  	{413, 180},
   194  	{728, 100},
   195  	{269, 269},
   196  	{640, 106},
   197  	{768, 90},
   198  	{320, 200},
   199  	{728, 93},
   200  	{729, 90},
   201  	{727, 90},
   202  	{640, 100},
   203  	{720, 90},
   204  	{300, 100},
   205  	{970, 66},
   206  	{480, 110},
   207  	{300, 200},
   208  	{707, 83},
   209  	{900, 65},
   210  	{467, 120},
   211  	{200, 200},
   212  	{450, 121},
   213  	{320, 150},
   214  	{600, 90},
   215  	{300, 170},
   216  	{468, 100},
   217  	{300, 169},
   218  	{500, 100},
   219  	{300, 150},
   220  	{990, 50},
   221  	{140, 350},
   222  	{160, 300},
   223  	{300, 158},
   224  	{190, 240},
   225  	{180, 150},
   226  	{300, 145},
   227  	{310, 122},
   228  	{468, 90},
   229  	{594, 70},
   230  	{480, 80},
   231  	{600, 65},
   232  	{484, 80},
   233  	{320, 75},
   234  	{335, 100},
   235  	{375, 80},
   236  	{300, 75},
   237  	{120, 240},
   238  	{480, 60},
   239  	{300, 90},
   240  	{120, 60},
   241  	{100, 200},
   242  	{320, 80},
   243  	{160, 160},
   244  	{400, 63},
   245  	{300, 81},
   246  	{1, 1},
   247  	{300, 80},
   248  	{375, 58},
   249  	{232, 90},
   250  	{321, 51},
   251  	{320, 63},
   252  	{319, 49},
   253  	{300, 65},
   254  	{360, 50},
   255  	{125, 125},
   256  	{298, 60},
   257  	{300, 60},
   258  	{299, 60},
   259  	{301, 50},
   260  	{234, 60},
   261  	{280, 47},
   262  	{120, 90},
   263  	{13, 13},
   264  	{17, 17},
   265  	{168, 50},
   266  	{140, 50},
   267  	{120, 20},
   268  }