Skip to content

Conversation

@sigma-software-prebid
Copy link
Contributor

🔧 Type of changes

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

✨ What's the context?

#4463

🧠 Rationale behind the change

An alias should not inherit the GVL ID from the parent by default. There should be a way to detect GVL ID presence in the alias config. If not provided, inherit from the parent. If set to 0, that indicates no GVL ID and do not inherit from the parent.

In scope of this change GVLVendorID's type has been changed to pointer.

🧪 Test plan

Functionality is covered by TestAliasGVLVendorIDInheritance unit test in config/bidderinfo_test.go.

aliasBidderInfo.ExtraAdapterInfo = parentBidderInfo.ExtraAdapterInfo
}
if aliasBidderInfo.GVLVendorID == 0 {
if aliasBidderInfo.GVLVendorID == nil {
Copy link
Contributor

Choose a reason for hiding this comment

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

Wouldn't this still have the behavior of inheriting the GVL ID from the parent by default?

Copy link
Contributor Author

@sigma-software-prebid sigma-software-prebid Dec 22, 2025

Choose a reason for hiding this comment

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

@SyntaxNode According to the requirements in #4463, we now will have 3 cases:

  1. If we do not have GVL ID in configs and it is nil then we inherit from parent (default behavior).
  2. If we have GVL ID == 0 then we do not inherit from parent and use zero as value.
  3. If GVL ID != 0 meaning it is present and is not equal to zero then we have own value and we use it (also do not inherit from parent).

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.

2 participants