Skip to content
This repository has been archived by the owner on Dec 22, 2022. It is now read-only.

Commit

Permalink
adding yieldmo vendor id to usersync (prebid#1166)
Browse files Browse the repository at this point in the history
  • Loading branch information
ym-winston authored and hhhjort committed Jan 15, 2020
1 parent 79eed01 commit 51067eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion adapters/yieldmo/usersync.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ import (
)

func NewYieldmoSyncer(temp *template.Template) usersync.Usersyncer {
return adapters.NewSyncer("yieldmo", 0, temp, adapters.SyncTypeRedirect)
return adapters.NewSyncer("yieldmo", 173, temp, adapters.SyncTypeRedirect)
}
2 changes: 1 addition & 1 deletion adapters/yieldmo/usersync_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ func TestYieldmoSyncer(t *testing.T) {
assert.NoError(t, err)
assert.Equal(t, "//ads.yieldmo.com/pbsync?gdpr=0&gdpr_consent=&us_privacy=&redirectUri=http%3A%2F%2Flocalhost%2F%2Fsetuid%3Fbidder%3Dyieldmo%26gdpr%3D0%26gdpr_consent%3D%26uid%3D%24UID", syncInfo.URL)
assert.Equal(t, "redirect", syncInfo.Type)
assert.EqualValues(t, 0, syncer.GDPRVendorID())
assert.EqualValues(t, 173, syncer.GDPRVendorID())
assert.False(t, syncInfo.SupportCORS)
}

0 comments on commit 51067eb

Please sign in to comment.