Skip to content

New adapter: BeOp#4476

Open
przemkaczmarek wants to merge 1 commit intomasterfrom
New-adapter-BeOp
Open

New adapter: BeOp#4476
przemkaczmarek wants to merge 1 commit intomasterfrom
New-adapter-BeOp

Conversation

@przemkaczmarek
Copy link
Copy Markdown
Collaborator

🔧 Type of changes

  • new bid adapter

✨ What's the context?

#4416

Comment on lines +49 to +51
if (CollectionUtils.isEmpty(imps)) {
return Result.withError(BidderError.badInput("No impressions provided"));
}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need for this check

Comment on lines +145 to +148
if (mtype == null) {
throw new PreBidException(
"Failed to parse bid mtype for impression \"%s\"".formatted(bid.getImpid()));
}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replace with switch branch:

case null, default -> ...

Comment on lines +11 to +18
String beopPublisherId;

@JsonProperty("nid")
String beopNetworkId;

@JsonProperty("nptnid")
@JsonAlias("ntpnid")
String beopNetworkPartnerId;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rename to publisherId, networkId and networkPartnerId. Remove @JsonAlias. Fix @JsonProperty to use ntpnid

Comment on lines +10 to +12
app-media-types:
- banner
- video
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

app isn't declared in GO

Comment on lines +15 to +18
"nptnid": {
"type": "string",
"description": "Network partner ID"
},
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see it in GO

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants