Skip to content

Conversation

@marki1an
Copy link
Collaborator

@marki1an marki1an commented Nov 25, 2024

🔧 Type of changes

  • new bid adapter
  • update bid adapter
  • new feature
  • new analytics adapter
  • new module
  • bugfix
  • documentation
  • configuration
  • tech debt (test coverage, refactorings, etc.)

✨ What's the context?

What's the context for the changes? Are there any

🧠 Rationale behind the change

Why did you choose to make these changes? Were there any trade-offs you had to consider?

🔎 New Bid Adapter Checklist

  • verify email contact works
  • NO fully dynamic hosts
  • geographic host parameters are NOT required
  • NO direct use of HTTP is prohibited - implement an existing Bidder interface that will do all the job
  • if the ORTB is just forwarded to the endpoint, use the generic adapter - define the new adapter as the alias of the generic adapter
  • cover an adapter configuration with an integration test

🧪 Test plan

How do you know the changes are safe to ship to production?

🏎 Quality check

  • Are your changes following our code style guidelines?
  • Are there any breaking changes in your code?
  • Does your test coverage exceed 90%?
  • Are there any erroneous console logs, debuggers or leftover code in your changes?

@marki1an marki1an added the tests Functional or other tests label Nov 25, 2024
@marki1an marki1an self-assigned this Nov 25, 2024
@osulzhenko osulzhenko added the do not merge Not the time for merging yet label Nov 25, 2024
osulzhenko
osulzhenko previously approved these changes Nov 26, 2024
@osulzhenko osulzhenko self-requested a review December 3, 2024 10:03
@osulzhenko osulzhenko removed the do not merge Not the time for merging yet label Dec 3, 2024
assert bidderRequest.user.ext.consentedProvidersSettings.consentedProviders == randomAddtlConsent
}

def "PBS should leave requested user.ext.{consented_providers_settings/ConsentedProvidersSettings}.consented_providers as is"() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

PBS should process original user.ext.{consented_providers_settings/ConsentedProvidersSettings}.consented_providers when ampRequest doesn't contain addtl_consent

UserExtPrebid prebid
ConsentedProvidersSettings consentedProvidersSettings
@JsonProperty("ConsentedProvidersSettings")
ConsentedProvidersSettings consentedProvidersSettingsKebabCase
Copy link
Collaborator

Choose a reason for hiding this comment

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

ConsentedProvidersSettings consentedProvidersSettingsCamelCase

assert bidderRequest.user.ext.consentedProvidersSettings.consentedProviders == consentProviders
}

def "PBS shouldn't pass addtl_consent to user.ext.{consented_providers_settings/ConsentedProvidersSettings}.consented_providers"() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

PBS should left user.ext.{consented_providers_settings/ConsentedProvidersSettings}.consented_providers empty when addtl_consent and original fields are empty

@CTMBNara CTMBNara merged commit b3795a0 into master Dec 4, 2024
7 checks passed
@CTMBNara CTMBNara deleted the tests/for-consented_providers_settings-field branch December 4, 2024 11:41
sergseven pushed a commit to openx/prebid-server-java that referenced this pull request Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests Functional or other tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants