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

Set outstream mediaType based on renderer in response #1391

Merged
merged 1 commit into from
Jul 21, 2017

Conversation

matthewlane
Copy link
Collaborator

Type of change

  • Bugfix

Description of change

Outstream responses to appnexusAst bid adapter contain the type video. In bidmanager, bids of type video must also contain a vastUrl--since appnexusAst outstream bids contain renderers rather than a vastUrl, they weren't passing validation in bidmanager. This change sets the mediaType for appnexusAst outstream bids based on the presence of a renderer in the bid response.

Other information

Fixes #1390

@Deimos01
Copy link

Hi guys,

I think it's linked to this problem and maybe you already fixed it but the Vasturl parameter is empty when the mediaType is set on "video-outstream" :

Mediatype "video-outstream" :
image

Mediatype "video" :
image

Hopping it can help you :).

Best,

@mkendall07 mkendall07 merged commit 74b0dc3 into master Jul 21, 2017
@mkendall07 mkendall07 deleted the bugfix/outstream-mediatype branch July 21, 2017 16:31
outoftime pushed a commit to Genius/Prebid.js that referenced this pull request Jul 28, 2017
…built

* 'master' of https://github.com/prebid/Prebid.js: (95 commits)
  Specify --browsers when using gulp test --watch (prebid#1420)
  Added aliases for aol adapter. (prebid#1371)
  Added MobFox Adapter (prebid#1312)
  Fixed style error. (prebid#1419)
  Add native support for Criteo adapter (prebid#999)
  Update admediaBidAdapter.js (prebid#1395)
  Increment pre version (prebid#1413)
  Prebid 0.26.1 Release (prebid#1412)
  fix prebid#1410 - issue with ie and xhr.timeout (prebid#1411)
  Lint modules directory (prebid#1404)
  Set outstream mediaType based on renderer in response (prebid#1391)
  Fixing the BidAdjustmentEvent fire time (prebid#1399)
  Fix banner showing up in prebid-core.js (prebid#1388)
  Mention NodeJS 4.0 dependency in the README (prebid#1386)
  Increment pre version (prebid#1385)
  Prebid 0.26.0 Release (prebid#1384)
  PulsePoint Lite adapter - adding createNew method for aliasing. (prebid#1383)
  Modernizing build dependencies (prebid#1355)
  StickyAdsTV bidder adapter update (prebid#1311)
  Added CPM value as parameter for Vertoz Adapter (prebid#1306)
  ...
vzhukovsky added a commit to aol/Prebid.js that referenced this pull request Sep 6, 2017
….25.0 to aolgithub-master

* commit '2a31c81b71595988ed2bf3470fb94d4fb75098bc': (71 commits)
  Sync with contrib/aol-adapter-aliases branch.
  Added junit reporter, improved browserstack tests running.
  Change browsers config to allow run tests on CI.
  Temporary comment unit test to provide compatibility with pre-bidder timeout feature.
  Added banner for minified source  file.
  Improve matching to avoid breaking js syntax.
  Changed changelog entry.
  Fixed invalid module link.
  Prebid 0.26.1 Release (prebid#1412)
  fix prebid#1410 - issue with ie and xhr.timeout (prebid#1411)
  Lint modules directory (prebid#1404)
  Added changelog entry.
  Added ids in aolPartnersIds.
  Added tests for delimiterLoader.
  Set outstream mediaType based on renderer in response (prebid#1391)
  Fixing the BidAdjustmentEvent fire time (prebid#1399)
  Improved adapter source code wrappig.
  Changed aol analytics adapter to new structure.
  Get rid of preserve keyword.
  Added preserved keyword for adapters wrapping.
  ...
@yanfaingold
Copy link

yanfaingold commented May 28, 2018

in prebid 1.0+ setting context to instream or not setting it at all works and i get the video back but when i set it to outstream i get this in the prebid debugger:

MESSAGE: CALLING BIDDER ======= appnexusAst
MESSAGE: Emitting event for: bidRequested
Invalid bid from appnexusAst. Ignoring bid: Video bid does not have required vastUrl or renderer property

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

Successfully merging this pull request may close these issues.

AppnexusAst mediaType="video-outstream" not working
4 participants