Skip to content
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

UOE-11098: Pass user.ext.sessionduration and user.ext.impdepth ORTB request to OW partners #918

Open
wants to merge 26 commits into
base: ci
Choose a base branch
from

Conversation

Pubmatic-Supriya-Patil
Copy link
Collaborator

@Pubmatic-Supriya-Patil Pubmatic-Supriya-Patil commented Sep 23, 2024

Pass user.ext.sessionduration and user.ext.impdepth ORTB request to OW partners

AvinashKapre and others added 22 commits August 30, 2024 11:50
…e not consuming PublisherID Configured at Partner Account Level (#885)
)

* updated kgpv for regex

* added test cases

* resolved comments

* added test cases

* changed adslot logic for testvalue=2

* check for empty kgpv in logger

* resolved review comments
…rap module (#874)

* OTT-1807: discard emptyVAST and invalidVAST bids
OTT-1824: using fastxml for video event injection
RE-3733: Release 12th_Sept_2024
Downmerge 12th September release
* stat for bid recovery

* change buckets

* introduce new stat
@Pubmatic-Supriya-Patil Pubmatic-Supriya-Patil changed the title OTT-11098: Pass user.ext.sessionduration and user.ext.impdepth ORTB request to OW partners UOE-11098: Pass user.ext.sessionduration and user.ext.impdepth ORTB request to OW partners Sep 23, 2024
// ORTBUserExtSessionDuration will read and set ortb User.Ext.sessionduration parameter
func (o *OpenRTB) ORTBUserExtSessionDuration() (err error) {
valStr, ok := o.values.GetString(ORTBUserExtSessionDuration)
if !ok {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can change this to
if !ok || valStr == ""{ returned nil }

}
}

if valStr != "" {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we remove this check and move it in the first if block?

}
userExt := map[string]interface{}{}
if o.ortb.User.Ext != nil {
err = json.Unmarshal(o.ortb.User.Ext, &userExt)
Copy link
Collaborator

Choose a reason for hiding this comment

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

if err = json.Unmarshal(o.ortb.User.Ext, &userExt); err != nil {
        return 
}

Comment on lines 4547 to 4578
func (o *OpenRTB) ORTBUserExtImpDepth() (err error) {
valStr, ok := o.values.GetString(ORTBUserExtImpDepth)
if !ok {
return
}
if o.ortb.User == nil {
o.ortb.User = &openrtb2.User{}
}
userExt := map[string]interface{}{}
if o.ortb.User.Ext != nil {
err = json.Unmarshal(o.ortb.User.Ext, &userExt)
if err != nil {
return
}
}
if valStr != "" {
val, err := strconv.ParseUint(valStr, 10, 64)
if err != nil {
logger.Warn("Invalid imp depth value '%v': %v", valStr, err)
return nil
}
userExt[ORTBExtImpDepth] = int64(val)
}

data, err := json.Marshal(userExt)
if err != nil {
return
}

o.ortb.User.Ext = data
return
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Same comments as above

@@ -48,7 +49,15 @@ func UpdateUserEidsWithValidValues(user *openrtb2.User) {
if err != nil {
return
}
if userExt.SessionDuration < 0 {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we change the type of SessionDuration and ImpDepth to uint instead of having these checks?

Copy link

Code coverage summary

Note:

  • Prebid team doesn't anticipate tests covering code paths that might result in marshal and unmarshal errors
  • Coverage summary encompasses all commits leading up to the latest one, f545c40

vastbidder

Refer here for heat map coverage report

github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:49:		NewBidderMacro			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:55:		init				74.2%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:108:		InitBidRequest			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:114:		LoadImpression			87.5%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:130:		LoadVASTTag			0.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:135:		GetBidderKeys			0.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:157:		SetAdapterConfig		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:162:		GetURI				0.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:175:		GetHeaders			0.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:181:		GetValue			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:213:		MacroTest			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:221:		MacroTimeout			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:229:		MacroWhitelistSeat		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:234:		MacroWhitelistLang		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:239:		MacroBlockedSeat		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:244:		MacroCurrency			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:249:		MacroBlockedCategory		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:254:		MacroBlockedAdvertiser		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:259:		MacroBlockedApp			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:266:		MacroFD				100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:274:		MacroTransactionID		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:282:		MacroPaymentIDChain		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:290:		MacroSchain			92.9%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:319:		MacroCoppa			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:329:		MacroDisplayManager		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:334:		MacroDisplayManagerVersion	100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:339:		MacroInterstitial		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:347:		MacroTagID			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:352:		MacroBidFloor			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:360:		MacroBidFloorCurrency		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:365:		MacroSecure			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:373:		MacroPMP			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:384:		MacroVideoMIMES			66.7%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:392:		MacroVideoMinimumDuration	100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:400:		MacroVideoMaximumDuration	100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:408:		MacroVideoProtocols		80.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:419:		MacroVideoPlayerWidth		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:427:		MacroVideoPlayerHeight		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:435:		MacroVideoStartDelay		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:443:		MacroVideoPlacement		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:451:		MacroVideoLinearity		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:459:		MacroVideoSkip			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:467:		MacroVideoSkipMinimum		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:475:		MacroVideoSkipAfter		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:483:		MacroVideoSequence		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:491:		MacroVideoBlockedAttribute	80.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:502:		MacroVideoMaximumExtended	100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:510:		MacroVideoMinimumBitRate	100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:518:		MacroVideoMaximumBitRate	100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:526:		MacroVideoBoxing		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:534:		MacroVideoPlaybackMethod	80.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:545:		MacroVideoDelivery		80.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:556:		MacroVideoPosition		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:564:		MacroVideoAPI			80.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:577:		MacroSiteID			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:585:		MacroSiteName			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:593:		MacroSitePage			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:601:		MacroSiteReferrer		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:609:		MacroSiteSearch			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:617:		MacroSiteMobile			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:627:		MacroAppID			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:635:		MacroAppName			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:643:		MacroAppBundle			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:651:		MacroAppStoreURL		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:659:		MacroAppVersion			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:667:		MacroAppPaid			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:677:		MacroCategory			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:685:		MacroDomain			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:693:		MacroSectionCategory		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:701:		MacroPageCategory		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:709:		MacroPrivacyPolicy		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:723:		MacroKeywords			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:733:		MacroPubID			66.7%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:741:		MacroPubName			66.7%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:749:		MacroPubDomain			66.7%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:759:		MacroContentID			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:767:		MacroContentEpisode		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:775:		MacroContentTitle		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:783:		MacroContentSeries		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:791:		MacroContentSeason		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:799:		MacroContentArtist		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:807:		MacroContentGenre		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:815:		MacroContentAlbum		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:823:		MacroContentISrc		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:831:		MacroContentURL			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:839:		MacroContentCategory		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:847:		MacroContentProductionQuality	100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:855:		MacroContentVideoQuality	100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:863:		MacroContentContext		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:871:		MacroContentContentRating	100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:879:		MacroContentUserRating		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:887:		MacroContentQAGMediaRating	100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:895:		MacroContentKeywords		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:903:		MacroContentLiveStream		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:911:		MacroContentSourceRelationship	100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:919:		MacroContentLength		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:927:		MacroContentLanguage		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:935:		MacroContentEmbeddable		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:945:		MacroProducerID			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:953:		MacroProducerName		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:963:		MacroUserAgent			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:971:		MacroDNT			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:979:		MacroLMT			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:987:		MacroIP				100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:999:		MacroDeviceType			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:1007:		MacroMake			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:1015:		MacroModel			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:1023:		MacroDeviceOS			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:1031:		MacroDeviceOSVersion		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:1039:		MacroDeviceWidth		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:1047:		MacroDeviceHeight		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:1055:		MacroDeviceJS			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:1063:		MacroDeviceLanguage		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:1071:		MacroDeviceIFA			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:1079:		MacroDeviceIFAType		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:1087:		MacroDeviceDIDSHA1		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:1095:		MacroDeviceDIDMD5		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:1103:		MacroDeviceDPIDSHA1		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:1111:		MacroDeviceDPIDMD5		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:1119:		MacroDeviceMACSHA1		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:1127:		MacroDeviceMACMD5		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:1137:		MacroLatitude			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:1145:		MacroLongitude			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:1153:		MacroCountry			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:1161:		MacroRegion			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:1169:		MacroCity			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:1177:		MacroZip			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:1185:		MacroUTCOffset			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:1195:		MacroUserID			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:1203:		MacroYearOfBirth		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:1211:		MacroGender			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:1221:		MacroGDPRConsent		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:1229:		MacroGDPR			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:1237:		MacroUSPrivacy			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:1247:		MacroCacheBuster		0.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:1253:		MacroKV				100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:1261:		MacroKVM			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:1278:		setDefaultHeaders		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:1320:		setHeaders			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/bidder_macro.go:1328:		getAllHeaders			88.9%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/etree_parser.go:19:		newETreeXMLParser		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/etree_parser.go:23:		SetVASTTag			0.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/etree_parser.go:27:		Parse				73.3%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/etree_parser.go:59:		GetPricingDetails		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/etree_parser.go:84:		GetAdvertiser			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/etree_parser.go:109:		GetCreativeID			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/etree_parser.go:120:		GetDuration			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/etree_parser.go:131:		getAdElement			85.7%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/fastxml_parser.go:20:		newFastXMLParser		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/fastxml_parser.go:24:		SetVASTTag			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/fastxml_parser.go:28:		Parse				73.3%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/fastxml_parser.go:60:		GetPricingDetails		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/fastxml_parser.go:85:		GetAdvertiser			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/fastxml_parser.go:110:	GetCreativeID			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/fastxml_parser.go:121:	GetDuration			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/fastxml_parser.go:132:	getAdElement			85.7%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/ibidder_macro.go:190:		RegisterNewBidderMacro		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/ibidder_macro.go:195:		GetNewBidderMacro		75.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/macro_processor.go:29:	NewMacroProcessor		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/macro_processor.go:38:	SetMacro			0.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/macro_processor.go:43:	SetBidderKeys			0.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/macro_processor.go:48:	processKey			87.5%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/macro_processor.go:113:	Process				90.9%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/macro_processor.go:167:	GetMacroKey			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/macro_processor.go:171:	escape				100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/mapper.go:12:			clone				100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/mapper.go:185:		GetDefaultMapper		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/response_handler.go:23:	newResponseHandler		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/response_handler.go:33:	Validate			66.7%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/response_handler.go:63:	MakeBids			76.9%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/util.go:18:			arrayToString			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/util.go:33:			readImpExt			71.4%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/util.go:46:			normalizeObject			0.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/util.go:66:			normalizeJSON			0.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/util.go:76:			getJSONString			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/util.go:91:			isMap				100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/util.go:96:			getValueFromMap			90.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/util.go:116:			mapToQuery			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/util.go:138:			parseVASTVersion		100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/util.go:172:			parseDuration			91.7%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/vastbidder.go:21:		MakeRequests			61.1%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/vastbidder.go:68:		MakeBids			0.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/vastbidder.go:89:		fastXMLTesting			0.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/vastbidder.go:114:		NewTagBidder			100.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/vastbidder.go:124:		Builder				0.0%
github.com/PubMatic-OpenWrap/prebid-server/v2/adapters/vastbidder/xml_parser.go:22:		getXMLParser			0.0%
total:												(statements)			87.3%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants