From 10dd3e6f17891c8a21c0f231de01af7d65b3738e Mon Sep 17 00:00:00 2001 From: Ankit Pinge Date: Thu, 15 Feb 2024 11:26:43 +0530 Subject: [PATCH 1/2] Added Getvaluesfromadsurl field in adunitconfig --- .../models/adunitconfig/adunitconfig.go | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/modules/pubmatic/openwrap/models/adunitconfig/adunitconfig.go b/modules/pubmatic/openwrap/models/adunitconfig/adunitconfig.go index 7e8ccc78917..bbc6648085b 100644 --- a/modules/pubmatic/openwrap/models/adunitconfig/adunitconfig.go +++ b/modules/pubmatic/openwrap/models/adunitconfig/adunitconfig.go @@ -72,13 +72,14 @@ type AdConfig struct { BidFloorCur *string `json:"bidfloorcur,omitempty"` Floors *openrtb_ext.PriceFloorRules `json:"floors,omitempty"` - Exp *int `json:"exp,omitempty"` - Banner *Banner `json:"banner,omitempty"` - Native *Native `json:"native,omitempty"` - Video *Video `json:"video,omitempty"` - App *openrtb2.App `json:"app,omitempty"` - Device *openrtb2.Device `json:"device,omitempty"` - Transparency *Transparency `json:"transparency,omitempty"` - Regex *bool `json:"regex,omitempty"` - UniversalPixel []UniversalPixel `json:"universalpixel,omitempty"` + Exp *int `json:"exp,omitempty"` + Banner *Banner `json:"banner,omitempty"` + Native *Native `json:"native,omitempty"` + Video *Video `json:"video,omitempty"` + App *openrtb2.App `json:"app,omitempty"` + Device *openrtb2.Device `json:"device,omitempty"` + Transparency *Transparency `json:"transparency,omitempty"` + Regex *bool `json:"regex,omitempty"` + UniversalPixel []UniversalPixel `json:"universalpixel,omitempty"` + Getvaluesfromadsurl bool `json:"getadsurl,omitempty"` } From d89abb35e396d44fb3efffe056a725a7c6e4c646 Mon Sep 17 00:00:00 2001 From: Ankit Pinge Date: Fri, 16 Feb 2024 11:27:52 +0530 Subject: [PATCH 2/2] rename the Getvaluesfromadsurl to EnableGAMUrlLookup --- .../models/adunitconfig/adunitconfig.go | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/modules/pubmatic/openwrap/models/adunitconfig/adunitconfig.go b/modules/pubmatic/openwrap/models/adunitconfig/adunitconfig.go index bbc6648085b..bbe3bdb4807 100644 --- a/modules/pubmatic/openwrap/models/adunitconfig/adunitconfig.go +++ b/modules/pubmatic/openwrap/models/adunitconfig/adunitconfig.go @@ -72,14 +72,14 @@ type AdConfig struct { BidFloorCur *string `json:"bidfloorcur,omitempty"` Floors *openrtb_ext.PriceFloorRules `json:"floors,omitempty"` - Exp *int `json:"exp,omitempty"` - Banner *Banner `json:"banner,omitempty"` - Native *Native `json:"native,omitempty"` - Video *Video `json:"video,omitempty"` - App *openrtb2.App `json:"app,omitempty"` - Device *openrtb2.Device `json:"device,omitempty"` - Transparency *Transparency `json:"transparency,omitempty"` - Regex *bool `json:"regex,omitempty"` - UniversalPixel []UniversalPixel `json:"universalpixel,omitempty"` - Getvaluesfromadsurl bool `json:"getadsurl,omitempty"` + Exp *int `json:"exp,omitempty"` + Banner *Banner `json:"banner,omitempty"` + Native *Native `json:"native,omitempty"` + Video *Video `json:"video,omitempty"` + App *openrtb2.App `json:"app,omitempty"` + Device *openrtb2.Device `json:"device,omitempty"` + Transparency *Transparency `json:"transparency,omitempty"` + Regex *bool `json:"regex,omitempty"` + UniversalPixel []UniversalPixel `json:"universalpixel,omitempty"` + EnableGAMUrlLookup bool `json:"enablegamurllookup,omitempty"` }