Prebid.js: Prebid setup

Created on 27 Sep 2016  路  3Comments  路  Source: prebid/Prebid.js

I am interested to implement/setup prebid to my Rails application. I have been reading prebid.org but still confused about how to implement it correctly.

Maybe its just me, but could someone explain to me how to implement it and whats needed.

I want to test it out on one spot first (300x250 - 300x600) and on that spot I have 3 advertisers, AOL, UnderdogMedia & Defy Media, I would appreciate if the example could be with them.

Thanks in advanced!

question

Most helpful comment

1.- Prebid is added there in the head so yes you need to include
2.- You can copy and paste the code in the header that includes prebid/gpt
3.- Yes that is correct you just need to add your own ad units with correct parameters shared by ad networks

All 3 comments

@Rubioli here it is an example:

https://github.com/prebid/Prebid.js/blob/master/integrationExamples/gpt/pbjs_example_gpt.html

make sure you are enabled to run HBS on those advertisers and ask for their information needed to run each one in the example page are the params required, Prebid works on the browsers changes are required just on the client side.

@ialex Thanks a bunch.

I have some questions that hope you can answer me.

  1. Do I need to add prebid.js in to my <head>
  2. DI I need to setup something first over on GPT?
  3. Basically I can add that boilerplate and only add my own adunits from line _77 - 312_. is it right? Or which lines do I need to change?

Again thanks you so much for help and sorry for many questions :)

1.- Prebid is added there in the head so yes you need to include
2.- You can copy and paste the code in the header that includes prebid/gpt
3.- Yes that is correct you just need to add your own ad units with correct parameters shared by ad networks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gramorris picture gramorris  路  6Comments

matthewlane picture matthewlane  路  8Comments

dugwood picture dugwood  路  4Comments

whatisjasongoldstein picture whatisjasongoldstein  路  6Comments

mthazin picture mthazin  路  6Comments