Skip to content

Conversation

@mdanylov-sigma
Copy link
Collaborator

Aligns with iOS implementation, more details in the #1194

adUnitConfiguration.setImpOrtbConfig(ortbConfig);
}

@Nullable
Copy link
Collaborator

Choose a reason for hiding this comment

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

PrebidDisplayView is used only as an internal class. So we don't need to pass the global config params to it. setImpOrtbConfig can also be removed.

/**
* Sets the global OpenRTB configuration string for the ad unit. It takes precedence over `Targeting.setGlobalOrtbConfig`.
* Expected format: {@code "{"new_field": "value"}"}.
* @param ortbConfig The global OpenRTB JSON configuration string to set. Can be `nil` to clear the configuration.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Refactor nil to null in all setGlobalOrtbConfig.

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.

3 participants