Skip to content

Add GAM interceptor integration - backend #248

@aram356

Description

@aram356

Description

Add server-side GAM (Google Ad Manager) interceptor integration that injects configuration into HTML.

Changes

  • Add GamIntegrationConfig with enabled, bidders, and force_render options
  • Implement IntegrationHeadInjector to inject GAM config script into <head>
  • Register GAM integration in the integration builder system
  • Add unit tests for config script generation

Configuration

[integrations.gam]
enabled = true
bidders = ["mocktioneer"]  # Only intercept these bidders, empty = all
force_render = false       # Force render even if GAM has a line item

Why

The GAM interceptor allows Prebid creatives to render when GAM doesn't have matching line items configured.

Related

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions