Skip to content

Commit

Permalink
Michao Bid Adapter: Explicitly delete native objects
Browse files Browse the repository at this point in the history
  • Loading branch information
hogekai committed Dec 13, 2024
1 parent 71b0f01 commit 2049dd8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/michaoBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,10 @@ const converter = ortbConverter({
isNumber(bidRequest.params?.bidFloor) ? bidRequest.params?.bidFloor : 0
);

if (!bidRequest.mediaTypes?.native) {
delete imp.native;
}

return imp;
},

Expand Down

0 comments on commit 2049dd8

Please sign in to comment.