From c7d9008828eddd34f76be32c90a1caa9ee03abe3 Mon Sep 17 00:00:00 2001 From: Avinash Kapre Date: Thu, 7 Mar 2024 11:33:28 +0530 Subject: [PATCH] UOE-10197: Support Adunit config for AMP(in-banner-video) --- .../pubmatic/openwrap/models/adunitconfig/adunitconfig.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/pubmatic/openwrap/models/adunitconfig/adunitconfig.go b/modules/pubmatic/openwrap/models/adunitconfig/adunitconfig.go index bbe3bdb4807..02a8edc3d3b 100644 --- a/modules/pubmatic/openwrap/models/adunitconfig/adunitconfig.go +++ b/modules/pubmatic/openwrap/models/adunitconfig/adunitconfig.go @@ -53,8 +53,9 @@ type NativeConfig struct { } type Video struct { - Enabled *bool `json:"enabled,omitempty"` - Config *VideoConfig `json:"config,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + Amptrafficpercentage *int `json:"amptrafficpercentage,omitempty"` + Config *VideoConfig `json:"config,omitempty"` } // Struct for UniversalPixel