Open bretg opened 1 month ago
Discussed in committee. We agreed that in the long term, it makes sense to migrate analytics adapters to just be modules in a new hook, but that's bigger than needed for this project.
So for now, here's a proposed account-level config, based on what's already supported as described in https://github.com/prebid/prebid-server-java/blob/master/docs/application-settings.md:
So the proposal is to add an enabled
flag there:
{
analytics: {
modules: {
greenbids: {
enabled: true, // this is the new thing. PBS-core looks for this and doesn't call the module if
pbuid: "PUBID_FROM_GREENBIDS", // this should get merged into ext.prebid.analytics.greenbids with the request taking precedence.
greenbidsSampling: 1.0 // this should get merged into ext.prebid.analytics.greenbids with the request taking precedence.
}
}
}
Approved.
Global analytics adapters can be enabled at the host level. Vendor-specific analytics would be enabled per account.
Analytics adapters don't currently support being configured per account like a proper module.
Since many PBS instances are multi-tenant, it's important that publishers trust that their traffic is not be analyzed by an analytics adapter being used by a different publisher.
Requirements: