friman / open-video-ads

Automatically exported from code.google.com/p/open-video-ads
0 stars 0 forks source link

Allow ad servers to be configured per ad slot #120

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Allow ad servers to be configured per ad slot:

In your current config for your example with an openX server the player gets 
the information 
which type of ad he should play in one ad request. Player is now able to 
request single wrapper 
elements/URLs for pre-roll and overlay, but the initial VAST request still 
contains information if 
a pre-roll/overlay/post-roll should be played:

               "ads": {
              "server": {
                "type": "OpenX",
                "vastURL": "http://static.openvideoads.org/tests/vast-wrapper-test.xml",
              },
              "schedule": [
                  {
                    "zone": "46",
                    "position": "pre-roll"
                  },
                  {
                    "zone": "33",
                    "startTime": "00:00:03",
                    "duration": "00:00:15"
                  },
                  {
                    "zone": "46",
                    "position": "post-roll"
                  }
              ],
             "displayCompanions": true,
              "companions": [
                  { "id":"companion-160x600", "width":"160", "height":"600" },
                  { "id":"companion-300x250", "width":"300", "height":"250" }                  
              ],
            },
Would it be possible to create a config that allows to integrate single adcalls 
for all placements? 
Like e.g. this one

               "ads": {
              "server": [
               { "type": "Adtech",
                 "position" : “pre-roll”
                "vastURL": "http://adtech/pre-rollURL" },
               { "type": "Adtech",
                 "position" : “overlay”
                "vastURL": "http://adtech/overlayURL" },
               { "type": "Adtech",
                 "position" : “post-roll”
                "vastURL": "http://adtech/postrollURL" }
               ],
              "schedule": [
                  {
                    "zone": "46",
                    "position": "pre-roll"
                  },
                  {
                    "zone": "33",
                    "startTime": "00:00:03",
                    "duration": "00:00:15"
                  },
                  {
                    "zone": "46",
                    "position": "post-roll"
                  }
              ],
             "displayCompanions": true,
              "companions": [
                  { "id":"companion-160x600", "width":"160", "height":"600" },
                  { "id":"companion-300x250", "width":"300", "height":"250" }                  
              ],
            },

Original issue reported on code.google.com by paul.sch...@gmail.com on 15 Oct 2009 at 11:48

GoogleCodeExporter commented 9 years ago
Done.

Original comment by paul.sch...@gmail.com on 31 Oct 2009 at 5:22