Skip to content

Commit

Permalink
Set outstream mediaType based on renderer in response (#1391)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewlane authored and Matt Kendall committed Jul 21, 2017
1 parent a988752 commit 74b0dc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/appnexusAstBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ function AppnexusAstAdapter() {
const bid = createBid(status, tag);
if (type === 'native') bid.mediaType = 'native';
if (type === 'video') bid.mediaType = 'video';
if (type === 'video-outstream') bid.mediaType = 'video-outstream';
if (ad && ad.renderer_url) bid.mediaType = 'video-outstream';

if (bid.adId in bidRequests) {
const placement = bidRequests[bid.adId].placementCode;
Expand Down

0 comments on commit 74b0dc3

Please sign in to comment.