Open bretg opened 4 months 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. This needs to default to true or we could into a breaking change scenario. This of course can be set to false at the host level.
{
analytics: {
modules: {
greenbids: {
enabled: true, // Defaults to 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.
done with PBS-Java 3.13
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: