Skip to content

Commit

Permalink
PR fixes #4
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamoris committed Oct 16, 2018
1 parent 932413b commit 1d7daf1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions modules/rtbhouseBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ export const OPENRTB = {
ICON: 3,
BODY: 4,
SPONSORED: 5,
CLICK_URL: 6,
CTA: 7
CTA: 6
},
DATA_ASSET_TYPE: {
SPONSORED: 1,
Expand Down Expand Up @@ -310,9 +309,6 @@ function interpretNativeAd(adm) {
case OPENRTB.NATIVE.ASSET_ID.SPONSORED:
result.sponsoredBy = asset.data.value;
break;
case OPENRTB.NATIVE.ASSET_ID.CLICK_URL:
result.clickUrl = encodeURIComponent(asset.data.value);
break;
case OPENRTB.NATIVE.ASSET_ID.CTA:
result.cta = asset.data.value;
break;
Expand Down

0 comments on commit 1d7daf1

Please sign in to comment.