Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rubicon Outstream: Ignoring bid: Video bid does not have required vastUrl or renderer property #2957

Closed
lanceloti opened this issue Aug 9, 2018 · 5 comments
Assignees

Comments

@lanceloti
Copy link

Type of issue

bug

Description

I'm testing Rubicon with outstream video context but getting this error: Invalid bid from Rubicon. Ignoring bid: Video bid does not have required vastUrl or renderer property

Steps to reproduce

Configure Rubicon as bidder in a video outstream adunit.

Test page

http://maringa.odiario.com/ads/adplayer-outstream.php?pbjs_debug=true

Expected results

Show the video ad

Actual results

An error in console

Platform details

Prebid 1.18 e 1.19

Other information

#2683

screenshot_60
screenshot_61

@mkendall07
Copy link
Member

@bretg to review.

@lanceloti
Copy link
Author

I'm trying instream context and gotting similar error on bid response.
screenshot_78

@stale
Copy link

stale bot commented Sep 10, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Sep 10, 2018
@bretg bretg removed the stale label Sep 13, 2018
@bretg
Copy link
Collaborator

bretg commented Sep 13, 2018

I think the instream issue should be cleared up with 1.24 and #3082.

Will check out the outstream issue... don't see why that error should be appearing.

@bretg
Copy link
Collaborator

bretg commented Sep 18, 2018

Figured it out.

Rubicon does not return a renderer. The publisher must supply a renderer in the adunit. See http://prebid.org/dev-docs/show-outstream-video-ads.html

        var adUnits = [{
            code: 'video1',
            mediaTypes: {
                video: {
                    playerSize: [640, 480],
                    context: 'outstream'
                }
            },
            renderer: {
                  url: 'RENDERER_JS_URL',
                  render: function (bid) {
                        RENDEROBJ.renderAd({  // call the function defined by the RENDERER_JS_URL
                                targetId: bid.adUnitCode,
                                adResponse: bid.adResponse,
                       });
                  }
            },
            bids: [{
                ...

If the renderer object isn't in the AdUnit, you'll see the "Video bid does not have required vastUrl or renderer property" error.

Please re-open if this doesn't resolve the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants