-
Notifications
You must be signed in to change notification settings - Fork 753
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
New Adapter: IQX #3164
New Adapter: IQX #3164
Conversation
adapters/iqx/iqx.go
Outdated
continue | ||
} | ||
|
||
bidType, err := openrtb_ext.ParseBidType(bidExt.Prebid.Type) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider this as a suggestion. Prebid server expects the media type to be explicitly set in the adapter response. Therefore, recommends implementing a pattern where the adapter server sets the MType field in the response to accurately determine the media type for the impression.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@IQzoneIT requesting to address above comment
Code coverage summaryNote:
iqxRefer here for heat map coverage report
|
Code coverage summaryNote:
iqxRefer here for heat map coverage report
|
static/bidder-params/iqx.json
Outdated
}, | ||
"pid": { | ||
"type": "string", | ||
"description": "Uniq placement ID", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo in Uniq
. Should be Unique
static/bidder-info/iqx.yaml
Outdated
@@ -0,0 +1,19 @@ | |||
endpoint: "http://rtb.iqzone.com/?pid={{.SourceId}}&host={{.Host}}&pbs=1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any specific reason to add /
before query params ?
. Following should also work
endpoint: "http://rtb.iqzone.com?pid={{.SourceId}}&host={{.Host}}&pbs=1"
Code coverage summaryNote:
iqxRefer here for heat map coverage report
|
@@ -291,6 +292,7 @@ func newAdapterBuilders() map[openrtb_ext.BidderName]adapters.Builder { | |||
openrtb_ext.BidderInteractiveoffers: interactiveoffers.Builder, | |||
openrtb_ext.BidderInvibes: invibes.Builder, | |||
openrtb_ext.BidderIQZone: iqzone.Builder, | |||
openrtb_ext.BidderIQX: iqx.Builder, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nitpick :- this should be moved above openrtb_ext.BidderIQZone: iqzone.Builder,
@@ -0,0 +1,19 @@ | |||
endpoint: "http://rtb.iqzone.com?pid={{.SourceId}}&host={{.Host}}&pbs=1" | |||
maintainer: | |||
email: "[email protected]" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@IQzoneIT We have sent an email to [email protected] to verify the maintainer email address as part of the onboarding process. Please revert back to that email with "Received" message to complete the verification.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Sonali-More-Xandr done
Code coverage summaryNote:
iqxRefer here for heat map coverage report
|
@@ -0,0 +1,19 @@ | |||
endpoint: "http://rtb.iqzone.com?pid={{.SourceId}}&host={{.Host}}&pbs=1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
endpoint is reachable
adapters/iqx/iqx.go
Outdated
Message: fmt.Sprintf("Bid[%d].Ext.Prebid.Type expects one of the following values: 'banner', 'native', 'video', 'audio', got '%s'", bidId, bidExt.Prebid.Type), | ||
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As per static/bidder-info/iqx.yaml, audio
is not supported by adapter. Should remove audio
from error message
Code coverage summaryNote:
iqxRefer here for heat map coverage report
|
@onkarvhanumante done |
Code coverage summaryNote:
iqxRefer here for heat map coverage report
|
adapters/iqx/iqx.go
Outdated
case openrtb2.MarkupNative: | ||
return openrtb_ext.BidTypeNative, nil | ||
default: | ||
return "", fmt.Errorf("failed to parse bid mType for impression \"%s\"", bid.ImpID) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if bid.ImpID
is 2 then this will result in "failed to parse bid mType for impression \"2\"
. From this error message it is unclear whether 2 is mType value or index from imp array. How about refactoring error message to - failed to parse bid mtype for impression id \"2"\
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@onkarvhanumante done
Code coverage summaryNote:
iqxRefer here for heat map coverage report
|
Co-authored-by: Dmytro Shyrokov <[email protected]>
Dev-docs PR: prebid/prebid.github.io#4902