openrtb

package module
v0.0.0-...-9b032ef Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Default_ImpExt_Ampad                       = ImpExt_UNKNOWN_AMP_AD_REQUIREMENT_TYPE
	Default_ImpExt_BillableEventRateAdjustment = float64(1)
	Default_ImpExt_AuctionEnvironment          = ImpExt_SERVER_SIDE_AUCTION
	Default_ImpExt_Ae                          = ImpExt_SERVER_SIDE_AUCTION
)

Default values for ImpExt fields.

View Source
const (
	Default_DealExt_DealType       = DealExt_UNKNOWN_DEAL_TYPE
	Default_DealExt_MustBid        = bool(true)
	Default_DealExt_CreativeSource = DealExt_CREATIVE_SOURCE_ADVERTISER
)

Default values for DealExt fields.

View Source
const (
	Default_ImpExt_BillableEventRateBidAdjustment_BidAdjustment = float32(1)
	Default_ImpExt_BillableEventRateBidAdjustment_CreativeType  = ImpExt_BillableEventRateBidAdjustment_CREATIVE_TYPE_UNKNOWN
)

Default values for ImpExt_BillableEventRateBidAdjustment fields.

View Source
const (
	Default_AppExt_InstalledSdk_Version_Major = int32(-1)
	Default_AppExt_InstalledSdk_Version_Minor = int32(-1)
	Default_AppExt_InstalledSdk_Version_Micro = int32(-1)
)

Default values for AppExt_InstalledSdk_Version fields.

View Source
const (
	Default_BidRequest_At      = AuctionType_SECOND_PRICE
	Default_BidRequest_Allimps = bool(false)
	Default_BidRequest_Cattax  = CategoryTaxonomy_IAB_CONTENT_1_0
	Default_BidRequest_Test    = bool(false)
)

Default values for BidRequest fields.

View Source
const (
	Default_NativeRequest_Plcmtcnt = int32(1)
	Default_NativeRequest_Seq      = int32(0)
)

Default values for NativeRequest fields.

View Source
const (
	Default_BidRequest_Imp_Bidfloor    = float64(0)
	Default_BidRequest_Imp_Bidfloorcur = string("USD")
	Default_BidRequest_Imp_Rwdd        = bool(false)
	Default_BidRequest_Imp_Ssai        = ServerSideAdInsertionType_SERVER_SIDE_AD_INSERTION_TYPE_UNKNOWN
)

Default values for BidRequest_Imp fields.

View Source
const (
	Default_BidRequest_Imp_Video_Minduration   = int32(0)
	Default_BidRequest_Imp_Video_Podseq        = PodSequence_POD_SEQUENCE_ANY
	Default_BidRequest_Imp_Video_Plcmt         = Plcmt_PLCMT_UNKNOWN
	Default_BidRequest_Imp_Video_Sequence      = int32(1)
	Default_BidRequest_Imp_Video_Slotinpod     = SlotPositionInPod_SLOT_POSITION_POD_ANY
	Default_BidRequest_Imp_Video_Boxingallowed = bool(true)
)

Default values for BidRequest_Imp_Video fields.

View Source
const (
	Default_BidRequest_Imp_Audio_Minduration = int32(0)
	Default_BidRequest_Imp_Audio_Podseq      = PodSequence_POD_SEQUENCE_ANY
	Default_BidRequest_Imp_Audio_Sequence    = int32(1)
	Default_BidRequest_Imp_Audio_Slotinpod   = SlotPositionInPod_SLOT_POSITION_POD_ANY
)

Default values for BidRequest_Imp_Audio fields.

View Source
const (
	Default_BidRequest_Imp_Pmp_Deal_Bidfloor    = float64(0)
	Default_BidRequest_Imp_Pmp_Deal_Bidfloorcur = string("USD")
)

Default values for BidRequest_Imp_Pmp_Deal fields.

View Source
const (
	Default_BidExt_ExchangeDealType = BidExt_OPEN_AUCTION
)

Default values for BidExt fields.

View Source
const (
	Default_BidExt_FrequencyCap_TimeRange = int32(1)
)

Default values for BidExt_FrequencyCap fields.

View Source
const (
	Default_BidExt_SKAdNetworkResponse_Fidelity_Fidelity = SKAdNetworkFidelityType_STOREKIT_RENDERED_ADS
)

Default values for BidExt_SKAdNetworkResponse_Fidelity fields.

View Source
const (
	Default_BidExt_SKAdNetworkResponse_SKAdNetworkOptions_AlwaysOpenAppstore = bool(false)
)

Default values for BidExt_SKAdNetworkResponse_SKAdNetworkOptions fields.

View Source
const (
	Default_BidExt_SKAdNetworkResponse_SKOverlay_Dismissible = bool(true)
)

Default values for BidExt_SKAdNetworkResponse_SKOverlay fields.

View Source
const (
	Default_BidRequestExt_BidFeedback_BillableEventRateBidAdjustment = float32(1)
)

Default values for BidRequestExt_BidFeedback fields.

View Source
const (
	Default_BidRequest_App_Cattax = CategoryTaxonomy_IAB_CONTENT_1_0
)

Default values for BidRequest_App fields.

View Source
const (
	Default_BidRequest_Content_Cattax = CategoryTaxonomy_IAB_CONTENT_1_0
)

Default values for BidRequest_Content fields.

View Source
const (
	Default_BidRequest_Content_Producer_Cattax = CategoryTaxonomy_IAB_CONTENT_1_0
)

Default values for BidRequest_Content_Producer fields.

View Source
const (
	Default_BidRequest_Imp_Pmp_PrivateAuction = bool(false)
)

Default values for BidRequest_Imp_Pmp fields.

View Source
const (
	Default_BidRequest_Publisher_Cattax = CategoryTaxonomy_IAB_CONTENT_1_0
)

Default values for BidRequest_Publisher fields.

View Source
const (
	Default_BidRequest_Site_Cattax = CategoryTaxonomy_IAB_CONTENT_1_0
)

Default values for BidRequest_Site fields.

View Source
const (
	Default_BidResponse_SeatBid_Bid_Cattax = CategoryTaxonomy_IAB_CONTENT_1_0
)

Default values for BidResponse_SeatBid_Bid fields.

View Source
const (
	Default_BidResponse_SeatBid_Group = bool(false)
)

Default values for BidResponse_SeatBid fields.

View Source
const (
	Default_DealExt_CreativeConstraints_Skippability = DealExt_CreativeConstraints_ALLOW_SKIPPABLE
)

Default values for DealExt_CreativeConstraints fields.

View Source
const (
	Default_NativeRequestExt_StyleLayoutType = NativeRequestExt_PIXEL
)

Default values for NativeRequestExt fields.

View Source
const (
	Default_NativeRequest_Asset_Required = bool(false)
)

Default values for NativeRequest_Asset fields.

View Source
const (
	Default_NativeResponse_Asset_Required = bool(false)
)

Default values for NativeResponse_Asset fields.

View Source
const (
	Default_SiteExt_PageVisibility = SiteExt_VISIBILITY_STATE_UNKNOWN
)

Default values for SiteExt fields.

View Source
const (
	Default_VideoExt_Inferredplcmt = Plcmt_PLCMT_UNKNOWN
)

Default values for VideoExt fields.

Variables

View Source
var (
	SKAdNetworkFidelityType_name = map[int32]string{
		0: "VIEW_THROUGH_ADS",
		1: "STOREKIT_RENDERED_ADS",
	}
	SKAdNetworkFidelityType_value = map[string]int32{
		"VIEW_THROUGH_ADS":      0,
		"STOREKIT_RENDERED_ADS": 1,
	}
)

Enum value maps for SKAdNetworkFidelityType.

View Source
var (
	ImpExt_AmpAdRequirementType_name = map[int32]string{
		1: "UNKNOWN_AMP_AD_REQUIREMENT_TYPE",
		2: "AMP_AD_NOT_ALLOWED",
		3: "AMP_AD_ALLOWED_AND_NOT_EARLY_RENDERED",
		4: "AMP_AD_ALLOWED_AND_EARLY_RENDERED",
		5: "AMP_AD_REQUIRED",
	}
	ImpExt_AmpAdRequirementType_value = map[string]int32{
		"UNKNOWN_AMP_AD_REQUIREMENT_TYPE":       1,
		"AMP_AD_NOT_ALLOWED":                    2,
		"AMP_AD_ALLOWED_AND_NOT_EARLY_RENDERED": 3,
		"AMP_AD_ALLOWED_AND_EARLY_RENDERED":     4,
		"AMP_AD_REQUIRED":                       5,
	}
)

Enum value maps for ImpExt_AmpAdRequirementType.

View Source
var (
	ImpExt_AuctionEnvironment_name = map[int32]string{
		0: "SERVER_SIDE_AUCTION",
		1: "ON_DEVICE_INTEREST_GROUP_AUCTION",
	}
	ImpExt_AuctionEnvironment_value = map[string]int32{
		"SERVER_SIDE_AUCTION":              0,
		"ON_DEVICE_INTEREST_GROUP_AUCTION": 1,
	}
)

Enum value maps for ImpExt_AuctionEnvironment.

View Source
var (
	ImpExt_BillableEventRateBidAdjustment_CreativeType_name = map[int32]string{
		0: "CREATIVE_TYPE_UNKNOWN",
		1: "HTML_SNIPPET",
		2: "VIDEO_VAST",
		3: "NATIVE",
		4: "SDK_RENDERED",
	}
	ImpExt_BillableEventRateBidAdjustment_CreativeType_value = map[string]int32{
		"CREATIVE_TYPE_UNKNOWN": 0,
		"HTML_SNIPPET":          1,
		"VIDEO_VAST":            2,
		"NATIVE":                3,
		"SDK_RENDERED":          4,
	}
)

Enum value maps for ImpExt_BillableEventRateBidAdjustment_CreativeType.

View Source
var (
	ImpExt_CreativeEnforcementSettings_PolicyEnforcement_name = map[int32]string{
		0: "POLICY_ENFORCEMENT_UNKNOWN",
		1: "POLICY_ENFORCEMENT_PLATFORM_POLICY",
		2: "POLICY_ENFORCEMENT_NETWORK_AND_PLATFORM_POLICY",
	}
	ImpExt_CreativeEnforcementSettings_PolicyEnforcement_value = map[string]int32{
		"POLICY_ENFORCEMENT_UNKNOWN":                     0,
		"POLICY_ENFORCEMENT_PLATFORM_POLICY":             1,
		"POLICY_ENFORCEMENT_NETWORK_AND_PLATFORM_POLICY": 2,
	}
)

Enum value maps for ImpExt_CreativeEnforcementSettings_PolicyEnforcement.

View Source
var (
	ImpExt_CreativeEnforcementSettings_PublisherBlocksEnforcement_name = map[int32]string{
		0: "PUBLISHER_BLOCKS_ENFORCEMENT_UNKNOWN",
		1: "PUBLISHER_BLOCKS_ENFORCEMENT_APPLIES",
		2: "PUBLISHER_BLOCKS_ENFORCEMENT_OVERRIDDEN",
	}
	ImpExt_CreativeEnforcementSettings_PublisherBlocksEnforcement_value = map[string]int32{
		"PUBLISHER_BLOCKS_ENFORCEMENT_UNKNOWN":    0,
		"PUBLISHER_BLOCKS_ENFORCEMENT_APPLIES":    1,
		"PUBLISHER_BLOCKS_ENFORCEMENT_OVERRIDDEN": 2,
	}
)

Enum value maps for ImpExt_CreativeEnforcementSettings_PublisherBlocksEnforcement.

View Source
var (
	ImpExt_AdUnitMapping_FormatType_name = map[int32]string{
		0: "FORMAT_UNKNOWN",
		1: "FORMAT_BANNER",
		2: "FORMAT_INTERSTITIAL",
		3: "FORMAT_NATIVE",
		4: "FORMAT_VIDEO_VAST",
		5: "FORMAT_REWARDED",
		6: "FORMAT_REWARDED_INTERSTITIAL",
		7: "FORMAT_APP_OPEN",
	}
	ImpExt_AdUnitMapping_FormatType_value = map[string]int32{
		"FORMAT_UNKNOWN":               0,
		"FORMAT_BANNER":                1,
		"FORMAT_INTERSTITIAL":          2,
		"FORMAT_NATIVE":                3,
		"FORMAT_VIDEO_VAST":            4,
		"FORMAT_REWARDED":              5,
		"FORMAT_REWARDED_INTERSTITIAL": 6,
		"FORMAT_APP_OPEN":              7,
	}
)

Enum value maps for ImpExt_AdUnitMapping_FormatType.

View Source
var (
	BidExt_ExchangeDealType_name = map[int32]string{
		0: "OPEN_AUCTION",
		1: "PRIVATE_AUCTION",
		2: "PREFERRED_DEAL",
		3: "EXCHANGE_AUCTION_PACKAGE",
	}
	BidExt_ExchangeDealType_value = map[string]int32{
		"OPEN_AUCTION":             0,
		"PRIVATE_AUCTION":          1,
		"PREFERRED_DEAL":           2,
		"EXCHANGE_AUCTION_PACKAGE": 3,
	}
)

Enum value maps for BidExt_ExchangeDealType.

View Source
var (
	BidExt_AppPromotionType_name = map[int32]string{
		0: "UNKNOWN_APP_PROMOTION_TYPE",
		1: "INSTALLS",
		3: "OTHER",
	}
	BidExt_AppPromotionType_value = map[string]int32{
		"UNKNOWN_APP_PROMOTION_TYPE": 0,
		"INSTALLS":                   1,
		"OTHER":                      3,
	}
)

Enum value maps for BidExt_AppPromotionType.

View Source
var (
	BidExt_FrequencyCap_TimeUnit_name = map[int32]string{
		0: "UNKNOWN_TIME_UNIT",
		1: "MINUTE",
		2: "DAY",
		3: "WEEK",
		4: "MONTH",
		5: "INDEFINITE",
	}
	BidExt_FrequencyCap_TimeUnit_value = map[string]int32{
		"UNKNOWN_TIME_UNIT": 0,
		"MINUTE":            1,
		"DAY":               2,
		"WEEK":              3,
		"MONTH":             4,
		"INDEFINITE":        5,
	}
)

Enum value maps for BidExt_FrequencyCap_TimeUnit.

View Source
var (
	NativeRequestExt_LayoutType_name = map[int32]string{
		0: "PIXEL",
		1: "FLUID",
	}
	NativeRequestExt_LayoutType_value = map[string]int32{
		"PIXEL": 0,
		"FLUID": 1,
	}
)

Enum value maps for NativeRequestExt_LayoutType.

View Source
var (
	EventTrackerExt_Context_name = map[int32]string{
		0: "UNKNOWN",
		1: "OMID",
	}
	EventTrackerExt_Context_value = map[string]int32{
		"UNKNOWN": 0,
		"OMID":    1,
	}
)

Enum value maps for EventTrackerExt_Context.

View Source
var (
	SiteExt_AmpPage_name = map[int32]string{
		0: "DIALECT_HTML",
		1: "DIALECT_HTML_AMP",
	}
	SiteExt_AmpPage_value = map[string]int32{
		"DIALECT_HTML":     0,
		"DIALECT_HTML_AMP": 1,
	}
)

Enum value maps for SiteExt_AmpPage.

View Source
var (
	SiteExt_VisibilityState_name = map[int32]string{
		0: "VISIBILITY_STATE_UNKNOWN",
		1: "VISIBILITY_STATE_VISIBLE",
		2: "VISIBILITY_STATE_HIDDEN",
	}
	SiteExt_VisibilityState_value = map[string]int32{
		"VISIBILITY_STATE_UNKNOWN": 0,
		"VISIBILITY_STATE_VISIBLE": 1,
		"VISIBILITY_STATE_HIDDEN":  2,
	}
)

Enum value maps for SiteExt_VisibilityState.

View Source
var (
	SiteExt_NavigationType_name = map[int32]string{
		0: "NAVIGATION_TYPE_UNKNOWN",
		1: "NAVIGATION_TYPE_NAVIGATE",
		2: "NAVIGATION_TYPE_RELOAD",
		3: "NAVIGATION_TYPE_BACK_FORWARD",
		4: "NAVIGATION_TYPE_PRERENDER",
	}
	SiteExt_NavigationType_value = map[string]int32{
		"NAVIGATION_TYPE_UNKNOWN":      0,
		"NAVIGATION_TYPE_NAVIGATE":     1,
		"NAVIGATION_TYPE_RELOAD":       2,
		"NAVIGATION_TYPE_BACK_FORWARD": 3,
		"NAVIGATION_TYPE_PRERENDER":    4,
	}
)

Enum value maps for SiteExt_NavigationType.

View Source
var (
	BidRequestExt_FrequencyCappingScope_name = map[int32]string{
		0: "FREQUENCY_CAPPING_SCOPE_UNKNOWN",
		1: "FREQUENCY_CAPPING_SCOPE_NONE",
		2: "FREQUENCY_CAPPING_SCOPE_BROWSER",
		3: "FREQUENCY_CAPPING_SCOPE_DEVICE",
		4: "FREQUENCY_CAPPING_SCOPE_APP",
		5: "FREQUENCY_CAPPING_SCOPE_SITE",
	}
	BidRequestExt_FrequencyCappingScope_value = map[string]int32{
		"FREQUENCY_CAPPING_SCOPE_UNKNOWN": 0,
		"FREQUENCY_CAPPING_SCOPE_NONE":    1,
		"FREQUENCY_CAPPING_SCOPE_BROWSER": 2,
		"FREQUENCY_CAPPING_SCOPE_DEVICE":  3,
		"FREQUENCY_CAPPING_SCOPE_APP":     4,
		"FREQUENCY_CAPPING_SCOPE_SITE":    5,
	}
)

Enum value maps for BidRequestExt_FrequencyCappingScope.

View Source
var (
	BidRequestExt_BidFeedback_FeedbackType_name = map[int32]string{
		0: "FEEDBACK_TYPE_UNSPECIFIED",
		1: "BID_FEEDBACK",
		2: "INTEREST_GROUP_BUYER_FEEDBACK",
	}
	BidRequestExt_BidFeedback_FeedbackType_value = map[string]int32{
		"FEEDBACK_TYPE_UNSPECIFIED":     0,
		"BID_FEEDBACK":                  1,
		"INTEREST_GROUP_BUYER_FEEDBACK": 2,
	}
)

Enum value maps for BidRequestExt_BidFeedback_FeedbackType.

View Source
var (
	BidRequestExt_PrivacyTreatments_IpGeneralization_name = map[int32]string{
		0: "IP_TRUNCATED",
		2: "IP_REDACTED",
	}
	BidRequestExt_PrivacyTreatments_IpGeneralization_value = map[string]int32{
		"IP_TRUNCATED": 0,
		"IP_REDACTED":  2,
	}
)

Enum value maps for BidRequestExt_PrivacyTreatments_IpGeneralization.

View Source
var (
	BidRequestExt_PrivacyTreatments_UserAgentGeneralization_name = map[int32]string{
		0: "USER_AGENT_FULL",
		1: "USER_AGENT_COARSE",
	}
	BidRequestExt_PrivacyTreatments_UserAgentGeneralization_value = map[string]int32{
		"USER_AGENT_FULL":   0,
		"USER_AGENT_COARSE": 1,
	}
)

Enum value maps for BidRequestExt_PrivacyTreatments_UserAgentGeneralization.

View Source
var (
	BidRequestExt_PrivacyTreatments_NonPersonalizedAdsReason_name = map[int32]string{
		0: "UNKNOWN",
		1: "PUBLISHER_DECLARED_NPA",
		2: "RESTRICT_DATA_PROCESSING",
		3: "USER_OPT_OUT",
	}
	BidRequestExt_PrivacyTreatments_NonPersonalizedAdsReason_value = map[string]int32{
		"UNKNOWN":                  0,
		"PUBLISHER_DECLARED_NPA":   1,
		"RESTRICT_DATA_PROCESSING": 2,
		"USER_OPT_OUT":             3,
	}
)

Enum value maps for BidRequestExt_PrivacyTreatments_NonPersonalizedAdsReason.

View Source
var (
	BidRequestExt_PrivacyTreatments_DeviceStorageRestrictionReason_name = map[int32]string{
		0: "DEVICE_STORAGE_RESTRICTION_UNKNOWN",
		1: "INSUFFICIENT_USER_CONSENT",
	}
	BidRequestExt_PrivacyTreatments_DeviceStorageRestrictionReason_value = map[string]int32{
		"DEVICE_STORAGE_RESTRICTION_UNKNOWN": 0,
		"INSUFFICIENT_USER_CONSENT":          1,
	}
)

Enum value maps for BidRequestExt_PrivacyTreatments_DeviceStorageRestrictionReason.

View Source
var (
	RegsExt_Dsa_DsaSupport_name = map[int32]string{
		0: "NOT_REQUIRED",
		1: "SUPPORTED",
		2: "REQUIRED",
		3: "REQUIRED_BY_ONLINE_PLATFORM",
	}
	RegsExt_Dsa_DsaSupport_value = map[string]int32{
		"NOT_REQUIRED":                0,
		"SUPPORTED":                   1,
		"REQUIRED":                    2,
		"REQUIRED_BY_ONLINE_PLATFORM": 3,
	}
)

Enum value maps for RegsExt_Dsa_DsaSupport.

View Source
var (
	RegsExt_Dsa_PublisherRenderingSupport_name = map[int32]string{
		0: "PUBLISHER_UNABLE_TO_RENDER",
		1: "PUBLISHER_CAN_RENDER",
		2: "PUBLISHER_WILL_RENDER",
	}
	RegsExt_Dsa_PublisherRenderingSupport_value = map[string]int32{
		"PUBLISHER_UNABLE_TO_RENDER": 0,
		"PUBLISHER_CAN_RENDER":       1,
		"PUBLISHER_WILL_RENDER":      2,
	}
)

Enum value maps for RegsExt_Dsa_PublisherRenderingSupport.

View Source
var (
	RegsExt_Dsa_DataToPublisher_name = map[int32]string{
		0: "DO_NOT_SEND",
		1: "OPTIONAL",
		2: "SEND",
	}
	RegsExt_Dsa_DataToPublisher_value = map[string]int32{
		"DO_NOT_SEND": 0,
		"OPTIONAL":    1,
		"SEND":        2,
	}
)

Enum value maps for RegsExt_Dsa_DataToPublisher.

View Source
var (
	DealExt_DealType_name = map[int32]string{
		0: "UNKNOWN_DEAL_TYPE",
		1: "PREFERRED_DEAL",
		2: "PRIVATE_AUCTION",
		3: "PROGRAMMATIC_GUARANTEED",
		4: "AUCTION_PACKAGE",
		5: "MARKETPLACE_PACKAGE",
	}
	DealExt_DealType_value = map[string]int32{
		"UNKNOWN_DEAL_TYPE":       0,
		"PREFERRED_DEAL":          1,
		"PRIVATE_AUCTION":         2,
		"PROGRAMMATIC_GUARANTEED": 3,
		"AUCTION_PACKAGE":         4,
		"MARKETPLACE_PACKAGE":     5,
	}
)

Enum value maps for DealExt_DealType.

View Source
var (
	DealExt_CreativeSourceType_name = map[int32]string{
		0: "CREATIVE_SOURCE_UNKNOWN",
		1: "CREATIVE_SOURCE_ADVERTISER",
		2: "CREATIVE_SOURCE_PUBLISHER",
	}
	DealExt_CreativeSourceType_value = map[string]int32{
		"CREATIVE_SOURCE_UNKNOWN":    0,
		"CREATIVE_SOURCE_ADVERTISER": 1,
		"CREATIVE_SOURCE_PUBLISHER":  2,
	}
)

Enum value maps for DealExt_CreativeSourceType.

View Source
var (
	DealExt_CreativeConstraints_SkippabilityConstraint_name = map[int32]string{
		0: "ALLOW_SKIPPABLE",
		1: "REQUIRE_SKIPPABLE",
		2: "BLOCK_SKIPPABLE",
	}
	DealExt_CreativeConstraints_SkippabilityConstraint_value = map[string]int32{
		"ALLOW_SKIPPABLE":   0,
		"REQUIRE_SKIPPABLE": 1,
		"BLOCK_SKIPPABLE":   2,
	}
)

Enum value maps for DealExt_CreativeConstraints_SkippabilityConstraint.

View Source
var (
	AuctionType_name = map[int32]string{
		1: "FIRST_PRICE",
		2: "SECOND_PRICE",
		3: "FIXED_PRICE",
	}
	AuctionType_value = map[string]int32{
		"FIRST_PRICE":  1,
		"SECOND_PRICE": 2,
		"FIXED_PRICE":  3,
	}
)

Enum value maps for AuctionType.

View Source
var (
	BannerAdType_name = map[int32]string{
		1: "XHTML_TEXT_AD",
		2: "XHTML_BANNER_AD",
		3: "JAVASCRIPT_AD",
		4: "IFRAME",
	}
	BannerAdType_value = map[string]int32{
		"XHTML_TEXT_AD":   1,
		"XHTML_BANNER_AD": 2,
		"JAVASCRIPT_AD":   3,
		"IFRAME":          4,
	}
)

Enum value maps for BannerAdType.

View Source
var (
	CreativeAttribute_name = map[int32]string{
		1:  "AUDIO_AUTO_PLAY",
		2:  "AUDIO_USER_INITIATED",
		3:  "EXPANDABLE_AUTOMATIC",
		4:  "EXPANDABLE_CLICK_INITIATED",
		5:  "EXPANDABLE_ROLLOVER_INITIATED",
		6:  "VIDEO_IN_BANNER_AUTO_PLAY",
		7:  "VIDEO_IN_BANNER_USER_INITIATED",
		8:  "POP",
		9:  "PROVOCATIVE_OR_SUGGESTIVE",
		10: "ANNOYING",
		11: "SURVEYS",
		12: "TEXT_ONLY",
		13: "USER_INTERACTIVE",
		14: "WINDOWS_DIALOG_OR_ALERT_STYLE",
		15: "HAS_AUDIO_ON_OFF_BUTTON",
		16: "AD_CAN_BE_SKIPPED",
		17: "FLASH",
		18: "RESPONSIVE",
	}
	CreativeAttribute_value = map[string]int32{
		"AUDIO_AUTO_PLAY":                1,
		"AUDIO_USER_INITIATED":           2,
		"EXPANDABLE_AUTOMATIC":           3,
		"EXPANDABLE_CLICK_INITIATED":     4,
		"EXPANDABLE_ROLLOVER_INITIATED":  5,
		"VIDEO_IN_BANNER_AUTO_PLAY":      6,
		"VIDEO_IN_BANNER_USER_INITIATED": 7,
		"POP":                            8,
		"PROVOCATIVE_OR_SUGGESTIVE":      9,
		"ANNOYING":                       10,
		"SURVEYS":                        11,
		"TEXT_ONLY":                      12,
		"USER_INTERACTIVE":               13,
		"WINDOWS_DIALOG_OR_ALERT_STYLE":  14,
		"HAS_AUDIO_ON_OFF_BUTTON":        15,
		"AD_CAN_BE_SKIPPED":              16,
		"FLASH":                          17,
		"RESPONSIVE":                     18,
	}
)

Enum value maps for CreativeAttribute.

View Source
var (
	APIFramework_name = map[int32]string{
		1: "VPAID_1",
		2: "VPAID_2",
		3: "MRAID_1",
		4: "ORMMA",
		5: "MRAID_2",
		6: "MRAID_3",
		7: "OMID_1",
		8: "SIMID_1_0",
		9: "SIMID_1_1",
	}
	APIFramework_value = map[string]int32{
		"VPAID_1":   1,
		"VPAID_2":   2,
		"MRAID_1":   3,
		"ORMMA":     4,
		"MRAID_2":   5,
		"MRAID_3":   6,
		"OMID_1":    7,
		"SIMID_1_0": 8,
		"SIMID_1_1": 9,
	}
)

Enum value maps for APIFramework.

View Source
var (
	AdPosition_name = map[int32]string{
		0: "UNKNOWN",
		1: "ABOVE_THE_FOLD",
		2: "LOCKED",
		3: "BELOW_THE_FOLD",
		4: "HEADER",
		5: "FOOTER",
		6: "SIDEBAR",
		7: "AD_POSITION_FULLSCREEN",
	}
	AdPosition_value = map[string]int32{
		"UNKNOWN":                0,
		"ABOVE_THE_FOLD":         1,
		"LOCKED":                 2,
		"BELOW_THE_FOLD":         3,
		"HEADER":                 4,
		"FOOTER":                 5,
		"SIDEBAR":                6,
		"AD_POSITION_FULLSCREEN": 7,
	}
)

Enum value maps for AdPosition.

View Source
var (
	VideoLinearity_name = map[int32]string{
		1: "LINEAR",
		2: "NON_LINEAR",
	}
	VideoLinearity_value = map[string]int32{
		"LINEAR":     1,
		"NON_LINEAR": 2,
	}
)

Enum value maps for VideoLinearity.

View Source
var (
	Protocol_name = map[int32]string{
		1:  "VAST_1_0",
		2:  "VAST_2_0",
		3:  "VAST_3_0",
		4:  "VAST_1_0_WRAPPER",
		5:  "VAST_2_0_WRAPPER",
		6:  "VAST_3_0_WRAPPER",
		7:  "VAST_4_0",
		8:  "VAST_4_0_WRAPPER",
		9:  "DAAST_1_0",
		10: "DAAST_1_0_WRAPPER",
		11: "VAST_4_1",
		12: "VAST_4_1_WRAPPER",
		13: "VAST_4_2",
		14: "VAST_4_2_WRAPPER",
	}
	Protocol_value = map[string]int32{
		"VAST_1_0":          1,
		"VAST_2_0":          2,
		"VAST_3_0":          3,
		"VAST_1_0_WRAPPER":  4,
		"VAST_2_0_WRAPPER":  5,
		"VAST_3_0_WRAPPER":  6,
		"VAST_4_0":          7,
		"VAST_4_0_WRAPPER":  8,
		"DAAST_1_0":         9,
		"DAAST_1_0_WRAPPER": 10,
		"VAST_4_1":          11,
		"VAST_4_1_WRAPPER":  12,
		"VAST_4_2":          13,
		"VAST_4_2_WRAPPER":  14,
	}
)

Enum value maps for Protocol.

View Source
var (
	PlaybackMethod_name = map[int32]string{
		1: "AUTO_PLAY_SOUND_ON",
		2: "AUTO_PLAY_SOUND_OFF",
		3: "CLICK_TO_PLAY",
		4: "MOUSE_OVER",
		5: "ENTER_SOUND_ON",
		6: "ENTER_SOUND_OFF",
		7: "CONTINUOUS",
	}
	PlaybackMethod_value = map[string]int32{
		"AUTO_PLAY_SOUND_ON":  1,
		"AUTO_PLAY_SOUND_OFF": 2,
		"CLICK_TO_PLAY":       3,
		"MOUSE_OVER":          4,
		"ENTER_SOUND_ON":      5,
		"ENTER_SOUND_OFF":     6,
		"CONTINUOUS":          7,
	}
)

Enum value maps for PlaybackMethod.

View Source
var (
	StartDelay_name = map[int32]string{
		0:  "PRE_ROLL",
		-1: "GENERIC_MID_ROLL",
		-2: "GENERIC_POST_ROLL",
	}
	StartDelay_value = map[string]int32{
		"PRE_ROLL":          0,
		"GENERIC_MID_ROLL":  -1,
		"GENERIC_POST_ROLL": -2,
	}
)

Enum value maps for StartDelay.

View Source
var (
	VideoPlacementType_name = map[int32]string{
		0: "UNDEFINED_VIDEO_PLACEMENT",
		1: "IN_STREAM_PLACEMENT",
		2: "IN_BANNER_PLACEMENT",
		3: "IN_ARTICLE_PLACEMENT",
		4: "IN_FEED_PLACEMENT",
		5: "FLOATING_PLACEMENT",
	}
	VideoPlacementType_value = map[string]int32{
		"UNDEFINED_VIDEO_PLACEMENT": 0,
		"IN_STREAM_PLACEMENT":       1,
		"IN_BANNER_PLACEMENT":       2,
		"IN_ARTICLE_PLACEMENT":      3,
		"IN_FEED_PLACEMENT":         4,
		"FLOATING_PLACEMENT":        5,
	}
)

Enum value maps for VideoPlacementType.

View Source
var (
	Plcmt_name = map[int32]string{
		0: "PLCMT_UNKNOWN",
		1: "PLCMT_INSTREAM",
		2: "PLCMT_ACCOMPANYING_CONTENT",
		3: "PLCMT_INTERSTITIAL",
		4: "PLCMT_NO_CONTENT_STANDALONE",
	}
	Plcmt_value = map[string]int32{
		"PLCMT_UNKNOWN":               0,
		"PLCMT_INSTREAM":              1,
		"PLCMT_ACCOMPANYING_CONTENT":  2,
		"PLCMT_INTERSTITIAL":          3,
		"PLCMT_NO_CONTENT_STANDALONE": 4,
	}
)

Enum value maps for Plcmt.

View Source
var (
	PlaybackCessationMode_name = map[int32]string{
		1: "COMPLETION_OR_USER",
		2: "LEAVING_OR_USER",
		3: "LEAVING_CONTINUES_OR_USER",
	}
	PlaybackCessationMode_value = map[string]int32{
		"COMPLETION_OR_USER":        1,
		"LEAVING_OR_USER":           2,
		"LEAVING_CONTINUES_OR_USER": 3,
	}
)

Enum value maps for PlaybackCessationMode.

View Source
var (
	SlotPositionInPod_name = map[int32]string{
		0:  "SLOT_POSITION_POD_ANY",
		-1: "SLOT_POSITION_POD_LAST",
		1:  "SLOT_POSITION_POD_FIRST",
		2:  "SLOT_POSITION_POD_FIRST_OR_LAST",
	}
	SlotPositionInPod_value = map[string]int32{
		"SLOT_POSITION_POD_ANY":           0,
		"SLOT_POSITION_POD_LAST":          -1,
		"SLOT_POSITION_POD_FIRST":         1,
		"SLOT_POSITION_POD_FIRST_OR_LAST": 2,
	}
)

Enum value maps for SlotPositionInPod.

View Source
var (
	PodSequence_name = map[int32]string{
		0:  "POD_SEQUENCE_ANY",
		-1: "POD_SEQUENCE_LAST",
		1:  "POD_SEQUENCE_FIRST",
	}
	PodSequence_value = map[string]int32{
		"POD_SEQUENCE_ANY":   0,
		"POD_SEQUENCE_LAST":  -1,
		"POD_SEQUENCE_FIRST": 1,
	}
)

Enum value maps for PodSequence.

View Source
var (
	ConnectionType_name = map[int32]string{
		0: "CONNECTION_UNKNOWN",
		1: "ETHERNET",
		2: "WIFI",
		3: "CELL_UNKNOWN",
		4: "CELL_2G",
		5: "CELL_3G",
		6: "CELL_4G",
		7: "CELL_5G",
	}
	ConnectionType_value = map[string]int32{
		"CONNECTION_UNKNOWN": 0,
		"ETHERNET":           1,
		"WIFI":               2,
		"CELL_UNKNOWN":       3,
		"CELL_2G":            4,
		"CELL_3G":            5,
		"CELL_4G":            6,
		"CELL_5G":            7,
	}
)

Enum value maps for ConnectionType.

View Source
var (
	ExpandableDirection_name = map[int32]string{
		1: "LEFT",
		2: "RIGHT",
		3: "UP",
		4: "DOWN",
		5: "EXPANDABLE_FULLSCREEN",
		6: "RESIZE_MINIMIZE",
	}
	ExpandableDirection_value = map[string]int32{
		"LEFT":                  1,
		"RIGHT":                 2,
		"UP":                    3,
		"DOWN":                  4,
		"EXPANDABLE_FULLSCREEN": 5,
		"RESIZE_MINIMIZE":       6,
	}
)

Enum value maps for ExpandableDirection.

View Source
var (
	ContentDeliveryMethod_name = map[int32]string{
		1: "STREAMING",
		2: "PROGRESSIVE",
		3: "DOWNLOAD",
	}
	ContentDeliveryMethod_value = map[string]int32{
		"STREAMING":   1,
		"PROGRESSIVE": 2,
		"DOWNLOAD":    3,
	}
)

Enum value maps for ContentDeliveryMethod.

View Source
var (
	ContentContext_name = map[int32]string{
		1: "VIDEO",
		2: "GAME",
		3: "MUSIC",
		4: "APPLICATION",
		5: "TEXT",
		6: "OTHER",
		7: "CONTEXT_UNKNOWN",
	}
	ContentContext_value = map[string]int32{
		"VIDEO":           1,
		"GAME":            2,
		"MUSIC":           3,
		"APPLICATION":     4,
		"TEXT":            5,
		"OTHER":           6,
		"CONTEXT_UNKNOWN": 7,
	}
)

Enum value maps for ContentContext.

View Source
var (
	ProductionQuality_name = map[int32]string{
		0: "QUALITY_UNKNOWN",
		1: "PROFESSIONAL",
		2: "PROSUMER",
		3: "USER_GENERATED",
	}
	ProductionQuality_value = map[string]int32{
		"QUALITY_UNKNOWN": 0,
		"PROFESSIONAL":    1,
		"PROSUMER":        2,
		"USER_GENERATED":  3,
	}
)

Enum value maps for ProductionQuality.

View Source
var (
	LocationType_name = map[int32]string{
		1: "GPS_LOCATION",
		2: "IP",
		3: "USER_PROVIDED",
	}
	LocationType_value = map[string]int32{
		"GPS_LOCATION":  1,
		"IP":            2,
		"USER_PROVIDED": 3,
	}
)

Enum value maps for LocationType.

View Source
var (
	LocationService_name = map[int32]string{
		1: "IP2LOCATION",
		2: "NEUSTAR",
		3: "MAXMIND",
		4: "NETACUITY",
	}
	LocationService_value = map[string]int32{
		"IP2LOCATION": 1,
		"NEUSTAR":     2,
		"MAXMIND":     3,
		"NETACUITY":   4,
	}
)

Enum value maps for LocationService.

View Source
var (
	DeviceType_name = map[int32]string{
		1: "MOBILE",
		2: "PERSONAL_COMPUTER",
		3: "CONNECTED_TV",
		4: "HIGHEND_PHONE",
		5: "TABLET",
		6: "CONNECTED_DEVICE",
		7: "SET_TOP_BOX",
		8: "OOH_DEVICE",
	}
	DeviceType_value = map[string]int32{
		"MOBILE":            1,
		"PERSONAL_COMPUTER": 2,
		"CONNECTED_TV":      3,
		"HIGHEND_PHONE":     4,
		"TABLET":            5,
		"CONNECTED_DEVICE":  6,
		"SET_TOP_BOX":       7,
		"OOH_DEVICE":        8,
	}
)

Enum value maps for DeviceType.

View Source
var (
	CompanionType_name = map[int32]string{
		1: "STATIC",
		2: "HTML",
		3: "COMPANION_IFRAME",
	}
	CompanionType_value = map[string]int32{
		"STATIC":           1,
		"HTML":             2,
		"COMPANION_IFRAME": 3,
	}
)

Enum value maps for CompanionType.

View Source
var (
	QAGMediaRating_name = map[int32]string{
		1: "ALL_AUDIENCES",
		2: "EVERYONE_OVER_12",
		3: "MATURE",
	}
	QAGMediaRating_value = map[string]int32{
		"ALL_AUDIENCES":    1,
		"EVERYONE_OVER_12": 2,
		"MATURE":           3,
	}
)

Enum value maps for QAGMediaRating.

View Source
var (
	NoBidReason_name = map[int32]string{
		0:  "UNKNOWN_ERROR",
		1:  "TECHNICAL_ERROR",
		2:  "INVALID_REQUEST",
		3:  "KNOWN_WEB_SPIDER",
		4:  "SUSPECTED_NONHUMAN_TRAFFIC",
		5:  "CLOUD_DATACENTER_PROXYIP",
		6:  "UNSUPPORTED_DEVICE",
		7:  "BLOCKED_PUBLISHER",
		8:  "UNMATCHED_USER",
		9:  "DAILY_READER_CAP",
		10: "DAILY_DOMAIN_CAP",
	}
	NoBidReason_value = map[string]int32{
		"UNKNOWN_ERROR":              0,
		"TECHNICAL_ERROR":            1,
		"INVALID_REQUEST":            2,
		"KNOWN_WEB_SPIDER":           3,
		"SUSPECTED_NONHUMAN_TRAFFIC": 4,
		"CLOUD_DATACENTER_PROXYIP":   5,
		"UNSUPPORTED_DEVICE":         6,
		"BLOCKED_PUBLISHER":          7,
		"UNMATCHED_USER":             8,
		"DAILY_READER_CAP":           9,
		"DAILY_DOMAIN_CAP":           10,
	}
)

Enum value maps for NoBidReason.

View Source
var (
	LossReason_name = map[int32]string{
		0:   "BID_WON",
		1:   "INTERNAL_ERROR",
		2:   "IMP_EXPIRED",
		3:   "INVALID_BID",
		4:   "INVALID_DEAL_ID",
		5:   "INVALID_AUCTION_ID",
		6:   "INVALID_ADOMAIN",
		7:   "MISSING_MARKUP",
		8:   "MISSING_CREATIVE_ID",
		9:   "MISSING_PRICE",
		10:  "MISSING_MIN_CREATIVE_APPROVAL_DATA",
		100: "BID_BELOW_FLOOR",
		101: "BID_BELOW_DEAL_FLOOR",
		102: "LOST_HIGHER_BID",
		103: "LOST_PMP_DEAL",
		104: "SEAT_BLOCKED",
		200: "CREATIVE_REASON_UNKNOWN",
		201: "CREATIVE_PENDING",
		202: "CREATIVE_DISAPPROVED",
		203: "CREATIVE_SIZE",
		204: "CREATIVE_FORMAT",
		205: "CREATIVE_ADVERTISER_EXCLUSION",
		206: "CREATIVE_APP_EXCLUSION",
		207: "CREATIVE_NOT_SECURE",
		208: "CREATIVE_LANGUAGE_EXCLUSION",
		209: "CREATIVE_CATEGORY_EXCLUSION",
		210: "CREATIVE_ATTRIBUTE_EXCLUSION",
		211: "CREATIVE_ADTYPE_EXCLUSION",
		212: "CREATIVE_ANIMATION_LONG",
		213: "CREATIVE_NOT_ALLOWED_PMP",
	}
	LossReason_value = map[string]int32{
		"BID_WON":                            0,
		"INTERNAL_ERROR":                     1,
		"IMP_EXPIRED":                        2,
		"INVALID_BID":                        3,
		"INVALID_DEAL_ID":                    4,
		"INVALID_AUCTION_ID":                 5,
		"INVALID_ADOMAIN":                    6,
		"MISSING_MARKUP":                     7,
		"MISSING_CREATIVE_ID":                8,
		"MISSING_PRICE":                      9,
		"MISSING_MIN_CREATIVE_APPROVAL_DATA": 10,
		"BID_BELOW_FLOOR":                    100,
		"BID_BELOW_DEAL_FLOOR":               101,
		"LOST_HIGHER_BID":                    102,
		"LOST_PMP_DEAL":                      103,
		"SEAT_BLOCKED":                       104,
		"CREATIVE_REASON_UNKNOWN":            200,
		"CREATIVE_PENDING":                   201,
		"CREATIVE_DISAPPROVED":               202,
		"CREATIVE_SIZE":                      203,
		"CREATIVE_FORMAT":                    204,
		"CREATIVE_ADVERTISER_EXCLUSION":      205,
		"CREATIVE_APP_EXCLUSION":             206,
		"CREATIVE_NOT_SECURE":                207,
		"CREATIVE_LANGUAGE_EXCLUSION":        208,
		"CREATIVE_CATEGORY_EXCLUSION":        209,
		"CREATIVE_ATTRIBUTE_EXCLUSION":       210,
		"CREATIVE_ADTYPE_EXCLUSION":          211,
		"CREATIVE_ANIMATION_LONG":            212,
		"CREATIVE_NOT_ALLOWED_PMP":           213,
	}
)

Enum value maps for LossReason.

View Source
var (
	FeedType_name = map[int32]string{
		1: "MUSIC_SERVICE",
		2: "BROADCAST",
		3: "PODCAST",
	}
	FeedType_value = map[string]int32{
		"MUSIC_SERVICE": 1,
		"BROADCAST":     2,
		"PODCAST":       3,
	}
)

Enum value maps for FeedType.

View Source
var (
	VolumeNormalizationMode_name = map[int32]string{
		0: "NONE",
		1: "AVERAGE_VOLUME",
		2: "PEAK_VOLUME",
		3: "LOUDNESS",
		4: "CUSTOM_VOLUME",
	}
	VolumeNormalizationMode_value = map[string]int32{
		"NONE":           0,
		"AVERAGE_VOLUME": 1,
		"PEAK_VOLUME":    2,
		"LOUDNESS":       3,
		"CUSTOM_VOLUME":  4,
	}
)

Enum value maps for VolumeNormalizationMode.

View Source
var (
	UserAgentSource_name = map[int32]string{
		0: "UNKNOWN_SOURCE",
		1: "CLIENT_HINTS_LOW_ENTROPY",
		2: "CLIENT_HINTS_HIGH_ENTROPY",
		3: "USER_AGENT_STRING",
	}
	UserAgentSource_value = map[string]int32{
		"UNKNOWN_SOURCE":            0,
		"CLIENT_HINTS_LOW_ENTROPY":  1,
		"CLIENT_HINTS_HIGH_ENTROPY": 2,
		"USER_AGENT_STRING":         3,
	}
)

Enum value maps for UserAgentSource.

View Source
var (
	CreativeMarkupType_name = map[int32]string{
		1: "CREATIVE_MARKUP_BANNER",
		2: "CREATIVE_MARKUP_VIDEO",
		3: "CREATIVE_MARKUP_AUDIO",
		4: "CREATIVE_MARKUP_NATIVE",
	}
	CreativeMarkupType_value = map[string]int32{
		"CREATIVE_MARKUP_BANNER": 1,
		"CREATIVE_MARKUP_VIDEO":  2,
		"CREATIVE_MARKUP_AUDIO":  3,
		"CREATIVE_MARKUP_NATIVE": 4,
	}
)

Enum value maps for CreativeMarkupType.

View Source
var (
	ServerSideAdInsertionType_name = map[int32]string{
		0: "SERVER_SIDE_AD_INSERTION_TYPE_UNKNOWN",
		1: "CLIENT_SIDE_ONLY",
		2: "SERVER_SIDE_STITCHED_CLIENT_TRACKER",
		3: "SERVER_SIDE_ONLY",
	}
	ServerSideAdInsertionType_value = map[string]int32{
		"SERVER_SIDE_AD_INSERTION_TYPE_UNKNOWN": 0,
		"CLIENT_SIDE_ONLY":                      1,
		"SERVER_SIDE_STITCHED_CLIENT_TRACKER":   2,
		"SERVER_SIDE_ONLY":                      3,
	}
)

Enum value maps for ServerSideAdInsertionType.

View Source
var (
	AgentType_name = map[int32]string{
		1: "BROWSER_OR_DEVICE",
		2: "IN_APP_IMPRESSION",
		3: "STABLE_ID",
	}
	AgentType_value = map[string]int32{
		"BROWSER_OR_DEVICE": 1,
		"IN_APP_IMPRESSION": 2,
		"STABLE_ID":         3,
	}
)

Enum value maps for AgentType.

View Source
var (
	CategoryTaxonomy_name = map[int32]string{
		1:   "IAB_CONTENT_1_0",
		2:   "IAB_CONTENT_2_0",
		3:   "IAB_PRODUCT_1_0",
		4:   "IAB_AUDIENCE_1_1",
		5:   "IAB_CONTENT_2_1",
		6:   "IAB_CONTENT_2_2",
		600: "CHROME_TOPICS",
	}
	CategoryTaxonomy_value = map[string]int32{
		"IAB_CONTENT_1_0":  1,
		"IAB_CONTENT_2_0":  2,
		"IAB_PRODUCT_1_0":  3,
		"IAB_AUDIENCE_1_1": 4,
		"IAB_CONTENT_2_1":  5,
		"IAB_CONTENT_2_2":  6,
		"CHROME_TOPICS":    600,
	}
)

Enum value maps for CategoryTaxonomy.

View Source
var (
	LayoutId_name = map[int32]string{
		1: "CONTENT_WALL",
		2: "APP_WALL",
		3: "NEWS_FEED",
		4: "CHAT_LIST",
		5: "CAROUSEL",
		6: "CONTENT_STREAM",
		7: "GRID",
	}
	LayoutId_value = map[string]int32{
		"CONTENT_WALL":   1,
		"APP_WALL":       2,
		"NEWS_FEED":      3,
		"CHAT_LIST":      4,
		"CAROUSEL":       5,
		"CONTENT_STREAM": 6,
		"GRID":           7,
	}
)

Enum value maps for LayoutId.

View Source
var (
	AdUnitId_name = map[int32]string{
		1: "PAID_SEARCH_UNIT",
		2: "RECOMMENDATION_WIDGET",
		3: "PROMOTED_LISTING",
		4: "IAB_IN_AD_NATIVE",
		5: "ADUNITID_CUSTOM",
	}
	AdUnitId_value = map[string]int32{
		"PAID_SEARCH_UNIT":      1,
		"RECOMMENDATION_WIDGET": 2,
		"PROMOTED_LISTING":      3,
		"IAB_IN_AD_NATIVE":      4,
		"ADUNITID_CUSTOM":       5,
	}
)

Enum value maps for AdUnitId.

View Source
var (
	ContextType_name = map[int32]string{
		1: "CONTENT",
		2: "SOCIAL",
		3: "PRODUCT",
	}
	ContextType_value = map[string]int32{
		"CONTENT": 1,
		"SOCIAL":  2,
		"PRODUCT": 3,
	}
)

Enum value maps for ContextType.

View Source
var (
	ContextSubtype_name = map[int32]string{
		10: "CONTENT_GENERAL_OR_MIXED",
		11: "CONTENT_ARTICLE",
		12: "CONTENT_VIDEO",
		13: "CONTENT_AUDIO",
		14: "CONTENT_IMAGE",
		15: "CONTENT_USER_GENERATED",
		20: "SOCIAL_GENERAL",
		21: "SOCIAL_EMAIL",
		22: "SOCIAL_CHAT_IM",
		30: "PRODUCT_SELLING",
		31: "PRODUCT_MARKETPLACE",
		32: "PRODUCT_REVIEW",
	}
	ContextSubtype_value = map[string]int32{
		"CONTENT_GENERAL_OR_MIXED": 10,
		"CONTENT_ARTICLE":          11,
		"CONTENT_VIDEO":            12,
		"CONTENT_AUDIO":            13,
		"CONTENT_IMAGE":            14,
		"CONTENT_USER_GENERATED":   15,
		"SOCIAL_GENERAL":           20,
		"SOCIAL_EMAIL":             21,
		"SOCIAL_CHAT_IM":           22,
		"PRODUCT_SELLING":          30,
		"PRODUCT_MARKETPLACE":      31,
		"PRODUCT_REVIEW":           32,
	}
)

Enum value maps for ContextSubtype.

View Source
var (
	PlacementType_name = map[int32]string{
		1: "IN_FEED",
		2: "ATOMIC_UNIT",
		3: "OUTSIDE",
		4: "RECOMMENDATION",
	}
	PlacementType_value = map[string]int32{
		"IN_FEED":        1,
		"ATOMIC_UNIT":    2,
		"OUTSIDE":        3,
		"RECOMMENDATION": 4,
	}
)

Enum value maps for PlacementType.

View Source
var (
	DataAssetType_name = map[int32]string{
		1:  "SPONSORED",
		2:  "DESC",
		3:  "RATING",
		4:  "LIKES",
		5:  "DOWNLOADS",
		6:  "PRICE",
		7:  "SALEPRICE",
		8:  "PHONE",
		9:  "ADDRESS",
		10: "DESC2",
		11: "DISPLAYURL",
		12: "CTATEXT",
	}
	DataAssetType_value = map[string]int32{
		"SPONSORED":  1,
		"DESC":       2,
		"RATING":     3,
		"LIKES":      4,
		"DOWNLOADS":  5,
		"PRICE":      6,
		"SALEPRICE":  7,
		"PHONE":      8,
		"ADDRESS":    9,
		"DESC2":      10,
		"DISPLAYURL": 11,
		"CTATEXT":    12,
	}
)

Enum value maps for DataAssetType.

View Source
var (
	ImageAssetType_name = map[int32]string{
		1: "ICON",
		2: "LOGO",
		3: "MAIN",
	}
	ImageAssetType_value = map[string]int32{
		"ICON": 1,
		"LOGO": 2,
		"MAIN": 3,
	}
)

Enum value maps for ImageAssetType.

View Source
var (
	EventType_name = map[int32]string{
		1: "IMPRESSION",
		2: "VIEWABLE_MRC_50",
		3: "VIEWABLE_MRC_100",
		4: "VIEWABLE_VIDEO_50",
	}
	EventType_value = map[string]int32{
		"IMPRESSION":        1,
		"VIEWABLE_MRC_50":   2,
		"VIEWABLE_MRC_100":  3,
		"VIEWABLE_VIDEO_50": 4,
	}
)

Enum value maps for EventType.

View Source
var (
	EventTrackingMethod_name = map[int32]string{
		1: "IMG",
		2: "JS",
	}
	EventTrackingMethod_value = map[string]int32{
		"IMG": 1,
		"JS":  2,
	}
)

Enum value maps for EventTrackingMethod.

View Source
var (
	BidRequest_Regs_GppSectionId_name = map[int32]string{
		1:  "TCFEUV1",
		2:  "TCFEUV2",
		3:  "GPP_HEADER",
		4:  "GPP_SIGNAL",
		5:  "TCFCA",
		6:  "USPV1",
		7:  "USNAT",
		8:  "USCA",
		9:  "USVA",
		10: "USCO",
		11: "USUT",
		12: "USCT",
	}
	BidRequest_Regs_GppSectionId_value = map[string]int32{
		"TCFEUV1":    1,
		"TCFEUV2":    2,
		"GPP_HEADER": 3,
		"GPP_SIGNAL": 4,
		"TCFCA":      5,
		"USPV1":      6,
		"USNAT":      7,
		"USCA":       8,
		"USVA":       9,
		"USCO":       10,
		"USUT":       11,
		"USCT":       12,
	}
)

Enum value maps for BidRequest_Regs_GppSectionId.

View Source
var (
	// Extension key for AdX App.ext.
	//
	// optional com.google.doubleclick.AppExt app = 1011;
	E_App = &file_openrtb_adx_proto_extTypes[1]
)

Extension fields to BidRequest_App.

View Source
var (
	// optional com.google.doubleclick.BannerExt banner_ext = 1014;
	E_BannerExt = &file_openrtb_adx_proto_extTypes[2]
)

Extension fields to BidRequest_Imp_Banner.

View Source
var (
	// Extension key for AdX Bid.ext.
	//
	// optional com.google.doubleclick.BidExt bid = 1014;
	E_Bid = &file_openrtb_adx_proto_extTypes[4]
)

Extension fields to BidResponse_SeatBid_Bid.

View Source
var (
	// Extension key for the Adx BidRequest.ext
	//
	// optional com.google.doubleclick.BidRequestExt bid_request = 1018;
	E_BidRequest = &file_openrtb_adx_proto_extTypes[9]
)

Extension fields to BidRequest.

View Source
var (
	// Extension key for AdX BidResponse.ext.
	//
	// optional com.google.doubleclick.BidResponseExt bid_response = 1005;
	E_BidResponse = &file_openrtb_adx_proto_extTypes[3]
)

Extension fields to BidResponse.

View Source
var (
	// Extension key for the AdX Data.ext
	//
	// optional com.google.doubleclick.DataExt data = 1000;
	E_Data = &file_openrtb_adx_proto_extTypes[12]
)

Extension fields to BidRequest_Data.

View Source
var (
	// Extension key for AdX Deal.ext.
	//
	// optional com.google.doubleclick.DealExt deal = 1010;
	E_Deal = &file_openrtb_adx_proto_extTypes[15]
)

Extension fields to BidRequest_Imp_Pmp_Deal.

View Source
var (
	// optional com.google.doubleclick.DeviceExt device = 1066;
	E_Device = &file_openrtb_adx_proto_extTypes[13]
)

Extension fields to BidRequest_Device.

View Source
var (
	// Extension key for the AdX EventTracker.ext.
	//
	// optional com.google.doubleclick.EventTrackerExt eventtrackers = 1000;
	E_Eventtrackers = &file_openrtb_adx_proto_extTypes[6]
)

Extension fields to NativeResponse_EventTracker.

View Source
var (
	// Extension key for Geo.ext
	//
	// optional com.google.doubleclick.GeoExt geo = 1004;
	E_Geo = &file_openrtb_adx_proto_extTypes[17]
)

Extension fields to BidRequest_Geo.

View Source
var (
	// Extension key for AdX Imp.ext.
	//
	// optional com.google.doubleclick.ImpExt imp = 1009;
	E_Imp = &file_openrtb_adx_proto_extTypes[0]
)

Extension fields to BidRequest_Imp.

View Source
var (
	// Extension key for the AdX Native.ext.
	//
	// optional com.google.doubleclick.NativeRequestExt native_ext = 1001;
	E_NativeExt = &file_openrtb_adx_proto_extTypes[5]
)

Extension fields to NativeRequest.

View Source
var (
	// Extension key for the AdX Publisher.ext
	//
	// optional com.google.doubleclick.PublisherExt publisher = 1002;
	E_Publisher = &file_openrtb_adx_proto_extTypes[7]
)

Extension fields to BidRequest_Publisher.

View Source
var (
	// Extension key for the Adx Regs.ext
	//
	// optional com.google.doubleclick.RegsExt regs = 1001;
	E_Regs = &file_openrtb_adx_proto_extTypes[14]
)

Extension fields to BidRequest_Regs.

View Source
var (
	// Extension key for the Adx Site.ext
	//
	// optional com.google.doubleclick.SiteExt site = 1010;
	E_Site = &file_openrtb_adx_proto_extTypes[8]
)

Extension fields to BidRequest_Site.

View Source
var (
	// Extension key for Source.ext
	//
	// optional com.google.doubleclick.SourceExt source = 1059;
	E_Source = &file_openrtb_adx_proto_extTypes[16]
)

Extension fields to BidRequest_Source.

View Source
var (
	// Extension key for the AdX User.eids.uids.ext.
	//
	// optional com.google.doubleclick.UIDExt uids = 1001;
	E_Uids = &file_openrtb_adx_proto_extTypes[11]
)

Extension fields to BidRequest_User_EID_UID.

View Source
var (
	// Extension key for the Adx User.ext
	//
	// optional com.google.doubleclick.UserExt user = 1007;
	E_User = &file_openrtb_adx_proto_extTypes[10]
)

Extension fields to BidRequest_User.

View Source
var (
	// Extension key for Video.ext
	//
	// optional com.google.doubleclick.VideoExt video = 1031;
	E_Video = &file_openrtb_adx_proto_extTypes[18]
)

Extension fields to BidRequest_Imp_Video.

View Source
var File_openrtb_adx_proto protoreflect.FileDescriptor
View Source
var File_openrtb_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type APIFramework

type APIFramework int32

OpenRTB 2.0: The following table is a list of API frameworks supported by the publisher. Note that MRAID-1 is a subset of MRAID-2. In OpenRTB 2.1 and prior, value "3" was "MRAID". However, not all MRAID capable APIs understand MRAID-2 features and as such the only safe interpretation of value "3" is MRAID-1. In OpenRTB 2.2, this was made explicit and MRAID-2 has been added as value "5".

const (
	// Video Player-Ad Interface Definition Version 1.0. See
	// https://iabtechlab.com/wp-content/uploads/2016/03/VPAID_1.0_Final.pdf
	APIFramework_VPAID_1 APIFramework = 1
	// Video Player-Ad Interface Definition Version 2.0. See
	// https://iabtechlab.com/wp-content/uploads/2016/04/VPAID_2_0_Final_04-10-2012.pdf
	APIFramework_VPAID_2 APIFramework = 2
	// Mobile Rich Media Ad Interface Definitions Version 1.0. See
	// https://www.iab.com/guidelines/mraid/.
	APIFramework_MRAID_1 APIFramework = 3
	// Open Rich Media Mobile Advertising. See
	// https://code.google.com/archive/p/ormma/
	APIFramework_ORMMA APIFramework = 4
	// Mobile Rich Media Ad Interface Definitions Version 2.0. See
	// https://www.iab.com/guidelines/mraid/.
	APIFramework_MRAID_2 APIFramework = 5
	// Mobile Rich Media Ad Interface Definitions Version 3.0. See
	// https://www.iab.com/guidelines/mraid/.
	APIFramework_MRAID_3 APIFramework = 6
	// Open Measurement Interface Definition Version 1.0. See
	// https://iabtechlab.com/standards/open-measurement-sdk/.
	APIFramework_OMID_1 APIFramework = 7
	// Secure Interactive Media Interface Definition Version 1.0.
	// See https://iabtechlab.com/simid/.
	APIFramework_SIMID_1_0 APIFramework = 8
	// Secure Interactive Media Interface Definition Version 1.1.
	// See https://iabtechlab.com/simid/.
	APIFramework_SIMID_1_1 APIFramework = 9
)

func (APIFramework) Descriptor

func (APIFramework) Enum

func (x APIFramework) Enum() *APIFramework

func (APIFramework) EnumDescriptor deprecated

func (APIFramework) EnumDescriptor() ([]byte, []int)

Deprecated: Use APIFramework.Descriptor instead.

func (APIFramework) Number

func (APIFramework) String

func (x APIFramework) String() string

func (APIFramework) Type

func (*APIFramework) UnmarshalJSON deprecated

func (x *APIFramework) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type AdPosition

type AdPosition int32

OpenRTB 2.0: The following table specifies the position of the ad as a relative measure of visibility or prominence.

This OpenRTB table has values derived from the IAB Quality Assurance Guidelines (QAG). Practitioners should keep in sync with updates to the QAG values as published on IAB.net. Values "3" - "6" apply to apps per the mobile addendum to QAG version 1.5.

const (
	AdPosition_UNKNOWN        AdPosition = 0
	AdPosition_ABOVE_THE_FOLD AdPosition = 1
	// Fixed position.
	AdPosition_LOCKED         AdPosition = 2
	AdPosition_BELOW_THE_FOLD AdPosition = 3
	// Horizontal slot that sticks on the top of the screen when user scrolls.
	AdPosition_HEADER AdPosition = 4
	// Horizontal slot that sticks on the bottom of the screen when user scrolls.
	AdPosition_FOOTER AdPosition = 5
	// Sidebar that sticks on screen when user scrolls.
	AdPosition_SIDEBAR                AdPosition = 6
	AdPosition_AD_POSITION_FULLSCREEN AdPosition = 7
)

func (AdPosition) Descriptor

func (AdPosition) Descriptor() protoreflect.EnumDescriptor

func (AdPosition) Enum

func (x AdPosition) Enum() *AdPosition

func (AdPosition) EnumDescriptor deprecated

func (AdPosition) EnumDescriptor() ([]byte, []int)

Deprecated: Use AdPosition.Descriptor instead.

func (AdPosition) Number

func (x AdPosition) Number() protoreflect.EnumNumber

func (AdPosition) String

func (x AdPosition) String() string

func (AdPosition) Type

func (*AdPosition) UnmarshalJSON deprecated

func (x *AdPosition) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type AdUnitId

type AdUnitId int32

DEPRECATED in OpenRTB Native 1.1, REMOVED in 1.2+.

const (
	AdUnitId_PAID_SEARCH_UNIT      AdUnitId = 1
	AdUnitId_RECOMMENDATION_WIDGET AdUnitId = 2
	AdUnitId_PROMOTED_LISTING      AdUnitId = 3
	AdUnitId_IAB_IN_AD_NATIVE      AdUnitId = 4
	AdUnitId_ADUNITID_CUSTOM       AdUnitId = 5
)

func (AdUnitId) Descriptor

func (AdUnitId) Descriptor() protoreflect.EnumDescriptor

func (AdUnitId) Enum

func (x AdUnitId) Enum() *AdUnitId

func (AdUnitId) EnumDescriptor deprecated

func (AdUnitId) EnumDescriptor() ([]byte, []int)

Deprecated: Use AdUnitId.Descriptor instead.

func (AdUnitId) Number

func (x AdUnitId) Number() protoreflect.EnumNumber

func (AdUnitId) String

func (x AdUnitId) String() string

func (AdUnitId) Type

func (*AdUnitId) UnmarshalJSON deprecated

func (x *AdUnitId) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type AgentType

type AgentType int32

OpenRTB 2.6: The user agent types a user identifier is from. Not supported by Google.

const (
	// An ID which is tied to a specific web browser or device (cookie-based,
	// probabilistic, or other).
	AgentType_BROWSER_OR_DEVICE AgentType = 1
	// In-app impressions, which will typically contain a type of device ID
	// (or rather, the privacy-compliant versions of device IDs).
	AgentType_IN_APP_IMPRESSION AgentType = 2
	// An identifier that is the same across devices.
	AgentType_STABLE_ID AgentType = 3
)

func (AgentType) Descriptor

func (AgentType) Descriptor() protoreflect.EnumDescriptor

func (AgentType) Enum

func (x AgentType) Enum() *AgentType

func (AgentType) EnumDescriptor deprecated

func (AgentType) EnumDescriptor() ([]byte, []int)

Deprecated: Use AgentType.Descriptor instead.

func (AgentType) Number

func (x AgentType) Number() protoreflect.EnumNumber

func (AgentType) String

func (x AgentType) String() string

func (AgentType) Type

func (*AgentType) UnmarshalJSON deprecated

func (x *AgentType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type AppExt

type AppExt struct {
	InstalledSdk []*AppExt_InstalledSdk `protobuf:"bytes,1,rep,name=installed_sdk,json=installedSdk" json:"installed_sdk,omitempty"`
	// The domain of the partner (of the app owner) with ownership
	// of some portion of ad inventory on the app. The partner's ads.txt or
	// app-ads.txt file will be hosted here. More detail at
	// http://iabtechlab.com/wp-content/uploads/2021/03/ctv-app-ads-explainer-guide.pdf
	Inventorypartnerdomain *string `protobuf:"bytes,2,opt,name=inventorypartnerdomain" json:"inventorypartnerdomain,omitempty"`
	// contains filtered or unexported fields
}

func (*AppExt) Descriptor deprecated

func (*AppExt) Descriptor() ([]byte, []int)

Deprecated: Use AppExt.ProtoReflect.Descriptor instead.

func (*AppExt) GetInstalledSdk

func (x *AppExt) GetInstalledSdk() []*AppExt_InstalledSdk

func (*AppExt) GetInventorypartnerdomain

func (x *AppExt) GetInventorypartnerdomain() string

func (*AppExt) ProtoMessage

func (*AppExt) ProtoMessage()

func (*AppExt) ProtoReflect

func (x *AppExt) ProtoReflect() protoreflect.Message

func (*AppExt) Reset

func (x *AppExt) Reset()

func (*AppExt) String

func (x *AppExt) String() string

type AppExt_InstalledSdk

type AppExt_InstalledSdk struct {

	// Identifier for the installed SDK.
	Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// The version of the installed SDK.
	SdkVersion *AppExt_InstalledSdk_Version `protobuf:"bytes,2,opt,name=sdk_version,json=sdkVersion" json:"sdk_version,omitempty"`
	// The version of the adapter that communicates with the installed SDK.
	AdapterVersion *AppExt_InstalledSdk_Version `protobuf:"bytes,3,opt,name=adapter_version,json=adapterVersion" json:"adapter_version,omitempty"`
	// contains filtered or unexported fields
}

Identification of and information about an SDK installed in the publisher's app that the bidder has access to, often because it's the bidder's SDK.

func (*AppExt_InstalledSdk) Descriptor deprecated

func (*AppExt_InstalledSdk) Descriptor() ([]byte, []int)

Deprecated: Use AppExt_InstalledSdk.ProtoReflect.Descriptor instead.

func (*AppExt_InstalledSdk) GetAdapterVersion

func (x *AppExt_InstalledSdk) GetAdapterVersion() *AppExt_InstalledSdk_Version

func (*AppExt_InstalledSdk) GetId

func (x *AppExt_InstalledSdk) GetId() string

func (*AppExt_InstalledSdk) GetSdkVersion

func (*AppExt_InstalledSdk) ProtoMessage

func (*AppExt_InstalledSdk) ProtoMessage()

func (*AppExt_InstalledSdk) ProtoReflect

func (x *AppExt_InstalledSdk) ProtoReflect() protoreflect.Message

func (*AppExt_InstalledSdk) Reset

func (x *AppExt_InstalledSdk) Reset()

func (*AppExt_InstalledSdk) String

func (x *AppExt_InstalledSdk) String() string

type AppExt_InstalledSdk_Version

type AppExt_InstalledSdk_Version struct {
	Major *int32 `protobuf:"varint,1,opt,name=major,def=-1" json:"major,omitempty"`
	Minor *int32 `protobuf:"varint,2,opt,name=minor,def=-1" json:"minor,omitempty"`
	Micro *int32 `protobuf:"varint,3,opt,name=micro,def=-1" json:"micro,omitempty"`
	// contains filtered or unexported fields
}

Semantic version of the installed SDK and the adapter that communicates between the installed SDK and Google's SDK.

func (*AppExt_InstalledSdk_Version) Descriptor deprecated

func (*AppExt_InstalledSdk_Version) Descriptor() ([]byte, []int)

Deprecated: Use AppExt_InstalledSdk_Version.ProtoReflect.Descriptor instead.

func (*AppExt_InstalledSdk_Version) GetMajor

func (x *AppExt_InstalledSdk_Version) GetMajor() int32

func (*AppExt_InstalledSdk_Version) GetMicro

func (x *AppExt_InstalledSdk_Version) GetMicro() int32

func (*AppExt_InstalledSdk_Version) GetMinor

func (x *AppExt_InstalledSdk_Version) GetMinor() int32

func (*AppExt_InstalledSdk_Version) ProtoMessage

func (*AppExt_InstalledSdk_Version) ProtoMessage()

func (*AppExt_InstalledSdk_Version) ProtoReflect

func (*AppExt_InstalledSdk_Version) Reset

func (x *AppExt_InstalledSdk_Version) Reset()

func (*AppExt_InstalledSdk_Version) String

func (x *AppExt_InstalledSdk_Version) String() string

type AuctionType

type AuctionType int32

***** OpenRTB Core enums ****************************************************

const (
	AuctionType_FIRST_PRICE  AuctionType = 1
	AuctionType_SECOND_PRICE AuctionType = 2
	AuctionType_FIXED_PRICE  AuctionType = 3
)

func (AuctionType) Descriptor

func (AuctionType) Enum

func (x AuctionType) Enum() *AuctionType

func (AuctionType) EnumDescriptor deprecated

func (AuctionType) EnumDescriptor() ([]byte, []int)

Deprecated: Use AuctionType.Descriptor instead.

func (AuctionType) Number

func (x AuctionType) Number() protoreflect.EnumNumber

func (AuctionType) String

func (x AuctionType) String() string

func (AuctionType) Type

func (*AuctionType) UnmarshalJSON deprecated

func (x *AuctionType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type BannerAdType

type BannerAdType int32

OpenRTB 2.0: types of ads that can be accepted by the exchange unless restricted by publisher site settings.

const (
	// "Usually mobile".
	BannerAdType_XHTML_TEXT_AD BannerAdType = 1
	// "Usually mobile".
	BannerAdType_XHTML_BANNER_AD BannerAdType = 2
	// Javascript must be valid XHTML (ie, script tags included).
	BannerAdType_JAVASCRIPT_AD BannerAdType = 3
	// Iframe.
	BannerAdType_IFRAME BannerAdType = 4
)

func (BannerAdType) Descriptor

func (BannerAdType) Enum

func (x BannerAdType) Enum() *BannerAdType

func (BannerAdType) EnumDescriptor deprecated

func (BannerAdType) EnumDescriptor() ([]byte, []int)

Deprecated: Use BannerAdType.Descriptor instead.

func (BannerAdType) Number

func (BannerAdType) String

func (x BannerAdType) String() string

func (BannerAdType) Type

func (*BannerAdType) UnmarshalJSON deprecated

func (x *BannerAdType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type BannerExt

type BannerExt struct {

	// This field contains information about a banner impression's flexible ad
	// size ranges, if supported, and is unset otherwise.
	Flexslot *BannerExt_FlexSlot `protobuf:"bytes,2,opt,name=flexslot" json:"flexslot,omitempty"`
	// contains filtered or unexported fields
}

func (*BannerExt) Descriptor deprecated

func (*BannerExt) Descriptor() ([]byte, []int)

Deprecated: Use BannerExt.ProtoReflect.Descriptor instead.

func (*BannerExt) GetFlexslot

func (x *BannerExt) GetFlexslot() *BannerExt_FlexSlot

func (*BannerExt) ProtoMessage

func (*BannerExt) ProtoMessage()

func (*BannerExt) ProtoReflect

func (x *BannerExt) ProtoReflect() protoreflect.Message

func (*BannerExt) Reset

func (x *BannerExt) Reset()

func (*BannerExt) String

func (x *BannerExt) String() string

type BannerExt_FlexSlot

type BannerExt_FlexSlot struct {

	// The minimum acceptable ad width in device-independent pixels (DIPS).
	Wmin *int32 `protobuf:"varint,1,opt,name=wmin" json:"wmin,omitempty"`
	// The maximum acceptable ad width in device-independent pixels (DIPS).
	Wmax *int32 `protobuf:"varint,2,opt,name=wmax" json:"wmax,omitempty"`
	// The minimum acceptable ad height in device-independent pixels (DIPS).
	Hmin *int32 `protobuf:"varint,3,opt,name=hmin" json:"hmin,omitempty"`
	// The maximum acceptable ad height in device-independent pixels (DIPS).
	Hmax *int32 `protobuf:"varint,4,opt,name=hmax" json:"hmax,omitempty"`
	// contains filtered or unexported fields
}

Indicates the acceptable ad width and height ranges for impressions which support flexible ad sizes.

func (*BannerExt_FlexSlot) Descriptor deprecated

func (*BannerExt_FlexSlot) Descriptor() ([]byte, []int)

Deprecated: Use BannerExt_FlexSlot.ProtoReflect.Descriptor instead.

func (*BannerExt_FlexSlot) GetHmax

func (x *BannerExt_FlexSlot) GetHmax() int32

func (*BannerExt_FlexSlot) GetHmin

func (x *BannerExt_FlexSlot) GetHmin() int32

func (*BannerExt_FlexSlot) GetWmax

func (x *BannerExt_FlexSlot) GetWmax() int32

func (*BannerExt_FlexSlot) GetWmin

func (x *BannerExt_FlexSlot) GetWmin() int32

func (*BannerExt_FlexSlot) ProtoMessage

func (*BannerExt_FlexSlot) ProtoMessage()

func (*BannerExt_FlexSlot) ProtoReflect

func (x *BannerExt_FlexSlot) ProtoReflect() protoreflect.Message

func (*BannerExt_FlexSlot) Reset

func (x *BannerExt_FlexSlot) Reset()

func (*BannerExt_FlexSlot) String

func (x *BannerExt_FlexSlot) String() string

type BidExt

type BidExt struct {

	// [AdX: BidResponse.Ad.impression_tracking_url]
	ImpressionTrackingUrl []string `protobuf:"bytes,1,rep,name=impression_tracking_url,json=impressionTrackingUrl" json:"impression_tracking_url,omitempty"`
	// [AdX: BidResponse.Ad.ad_choices_destination_url]
	AdChoicesDestinationUrl *string `` /* 127-byte string literal not displayed */
	// The URLs to call when the user clicks on the ad. Currently supported only
	// for native ads and Programmatic Guaranteed deals with publisher-
	// managed creatives. In the publisher managed case, these click trackers
	// will be sent to the bidder server to server. In all other cases, these
	// will be sent from the user's device. For more information on
	// publisher-managed creatives, see
	// https://support.google.com/admanager/answer/9243220.
	// [AdX: BidResponse.Ad.click_tracking_urls]
	ClickTrackingUrls []string                 `protobuf:"bytes,22,rep,name=click_tracking_urls,json=clickTrackingUrls" json:"click_tracking_urls,omitempty"`
	ExchangeDealType  *BidExt_ExchangeDealType `` /* 163-byte string literal not displayed */
	// [AdX: BidResponse.Ad.attribute]
	// See buyer-declarable-creative-attributes.txt in the technical documentation
	// for a list of ids. Note that not all declarable attributes come through in
	// the BidRequest in the various `battr` fields.
	Attribute []int32 `protobuf:"varint,5,rep,packed,name=attribute" json:"attribute,omitempty"`
	// The URL to fetch an AMPHTML ad. Only one of the following should be set:
	// html_snippet, video_url, amp_ad_url, native_ad.
	AmpAdUrl      *string               `protobuf:"bytes,6,opt,name=amp_ad_url,json=ampAdUrl" json:"amp_ad_url,omitempty"`
	SdkRenderedAd *BidExt_SdkRenderedAd `protobuf:"bytes,7,opt,name=sdk_rendered_ad,json=sdkRenderedAd" json:"sdk_rendered_ad,omitempty"`
	// A token set by bidders for troubleshooting which will be included in the
	// real-time feedback for the Bid it is sent in. The contents of the token
	// will not be logged.
	EventNotificationToken *BidExt_EventNotificationToken `protobuf:"bytes,8,opt,name=event_notification_token,json=eventNotificationToken" json:"event_notification_token,omitempty"`
	// All restricted categories for the ads that may be shown from this snippet.
	// See ad-restricted-categories.txt in the technical documentation for a list
	// of ids. If you are bidding with ads in restricted categories, you must
	// always declare them here.
	RestrictedCategory []int32 `protobuf:"varint,9,rep,name=restricted_category,json=restrictedCategory" json:"restricted_category,omitempty"`
	// The billing ID to attribute this impression to. The value must be in the
	// repeated BidRequest.imp.ext.billing_id field sent for this impression.
	// If the length of BidRequest.imp.ext.billing_id is exactly 1
	// and the bidder does not have any active child seats, this field
	// is not required and its contents will be ignored.
	BillingId *int64 `protobuf:"varint,10,opt,name=billing_id,json=billingId" json:"billing_id,omitempty"`
	// Token used to identify end third party buyer information if an
	// exchange as an open bidder is an intermediary. This is obtained from the
	// third party buyer and must be passed to Google unaltered in the bid
	// response.
	ThirdPartyBuyerToken *string `protobuf:"bytes,14,opt,name=third_party_buyer_token,json=thirdPartyBuyerToken" json:"third_party_buyer_token,omitempty"`
	// Buyer declared ID which will be used to break down spend and invalid
	// traffic metrics in IVT transparency reporting in Query Tool. Note that IDs
	// with fewer than 1000 impressions will not be used to break down metrics.
	// IDs longer than 64 bytes will be ignored.
	BuyerReportingId *string                `protobuf:"bytes,17,opt,name=buyer_reporting_id,json=buyerReportingId" json:"buyer_reporting_id,omitempty"`
	Fcap             []*BidExt_FrequencyCap `protobuf:"bytes,18,rep,name=fcap" json:"fcap,omitempty"`
	// [AdX: BidResponse.Ad.skadn]
	Skadn *BidExt_SKAdNetworkResponse `protobuf:"bytes,19,opt,name=skadn" json:"skadn,omitempty"`
	// [AdX: BidResponse.Ad.app_promotion_type]
	// Type of the app promotion corresponding to the advertised app specified
	// in the seatbid.bid.bundle field.
	// If the advertised app is not specified, this field will be ignored.
	//
	// Setting BidResponse.seatbid.bid.bundle field without this field will be
	// treated as if this field were set to OTHER.
	AppPromotionType *BidExt_AppPromotionType `` /* 158-byte string literal not displayed */
	// All bids with the same bid_group_id will be won or lost as a group.
	// Bids must have a non-empty bid_group_id to allow an ad to be played
	// as part of a pod.
	// This field is currently only supported for rewarded video pods requests.
	// Note that if there are multiple bids for the same ad, each bid must have
	// different bid_group_id. For example, if a bidder wants to bid creative_1
	// for first position and last position in the pod and creative_2 for any
	// position and want to ensure either both win at the same time or neither
	// of those wins, bidder needs to submit:
	// {
	//   "seatbid": [
	//     {
	//       "bid": [
	//         {
	//           "crid": "creative_1",
	//           "slotinpod": 1,
	//           "ext": {
	//             "bid_group_id": "group1"
	//           }
	//         },
	//         {
	//           "crid": "creative_1",
	//           "slotinpod": -1,
	//           "ext": {
	//             "bid_group_id": "group2"
	//           }
	//         },
	//         {
	//           "crid": "creative_2",
	//           "slotinpod": 0,
	//           "ext": {
	//             "bid_group_id": "group1"
	//           }
	//         },
	//         {
	//           "crid": "creative_2",
	//           "slotinpod": 0,
	//           "ext": {
	//             "bid_group_id": "group2"
	//           }
	//         }
	//       ]
	//     }
	//   ]
	// }
	BidGroupId *string `protobuf:"bytes,26,opt,name=bid_group_id,json=bidGroupId" json:"bid_group_id,omitempty"`
	// DSA Ad Transparency information provided by the buyer.
	Dsa *BidExt_Dsa `protobuf:"bytes,30,opt,name=dsa" json:"dsa,omitempty"`
	// The URLs that the user could be directed to when clicking on this ad. Do
	// not include URLs for intermediate calls to an ad server that are unrelated
	// to the final landing page. All bids must declare either a click URL using
	// this field, the advertiser domain in the `BidResponse.seatbid.bid.adomain`
	// field, or both. We recommend that bidders use this field, possibly in
	// addition to `BidResponse.seatbid.bid.adomain`, for more accurate
	// enforcement of publisher and user protections, for instance so that your
	// bid is not incorrectly filtered.
	// This field maps to BidResponse.ad.click_through_url.
	Clickurl []string `protobuf:"bytes,32,rep,name=clickurl" json:"clickurl,omitempty"`
	// contains filtered or unexported fields
}

Ad Exchange extensions for the Bid object.

func (*BidExt) Descriptor deprecated

func (*BidExt) Descriptor() ([]byte, []int)

Deprecated: Use BidExt.ProtoReflect.Descriptor instead.

func (*BidExt) GetAdChoicesDestinationUrl

func (x *BidExt) GetAdChoicesDestinationUrl() string

func (*BidExt) GetAmpAdUrl

func (x *BidExt) GetAmpAdUrl() string

func (*BidExt) GetAppPromotionType

func (x *BidExt) GetAppPromotionType() BidExt_AppPromotionType

func (*BidExt) GetAttribute

func (x *BidExt) GetAttribute() []int32

func (*BidExt) GetBidGroupId

func (x *BidExt) GetBidGroupId() string

func (*BidExt) GetBillingId

func (x *BidExt) GetBillingId() int64

func (*BidExt) GetBuyerReportingId

func (x *BidExt) GetBuyerReportingId() string

func (*BidExt) GetClickTrackingUrls

func (x *BidExt) GetClickTrackingUrls() []string

func (*BidExt) GetClickurl

func (x *BidExt) GetClickurl() []string

func (*BidExt) GetDsa

func (x *BidExt) GetDsa() *BidExt_Dsa

func (*BidExt) GetEventNotificationToken

func (x *BidExt) GetEventNotificationToken() *BidExt_EventNotificationToken

func (*BidExt) GetExchangeDealType

func (x *BidExt) GetExchangeDealType() BidExt_ExchangeDealType

func (*BidExt) GetFcap

func (x *BidExt) GetFcap() []*BidExt_FrequencyCap

func (*BidExt) GetImpressionTrackingUrl

func (x *BidExt) GetImpressionTrackingUrl() []string

func (*BidExt) GetRestrictedCategory

func (x *BidExt) GetRestrictedCategory() []int32

func (*BidExt) GetSdkRenderedAd

func (x *BidExt) GetSdkRenderedAd() *BidExt_SdkRenderedAd

func (*BidExt) GetSkadn

func (x *BidExt) GetSkadn() *BidExt_SKAdNetworkResponse

func (*BidExt) GetThirdPartyBuyerToken

func (x *BidExt) GetThirdPartyBuyerToken() string

func (*BidExt) ProtoMessage

func (*BidExt) ProtoMessage()

func (*BidExt) ProtoReflect

func (x *BidExt) ProtoReflect() protoreflect.Message

func (*BidExt) Reset

func (x *BidExt) Reset()

func (*BidExt) String

func (x *BidExt) String() string

type BidExt_AppPromotionType

type BidExt_AppPromotionType int32

Possible types of app promotion.

const (
	BidExt_UNKNOWN_APP_PROMOTION_TYPE BidExt_AppPromotionType = 0
	// For encouraging new users to download and install the advertised app.
	// Clicking this ad will show the app store listing as an overlay (for
	// supported formats), without leaving the publisher app.
	// Click through URL for this ad points to the app store listing.
	BidExt_INSTALLS BidExt_AppPromotionType = 1
	// Other types of app promotion that do not fall into the categories
	// above. No features specific to app promotion types will apply.
	BidExt_OTHER BidExt_AppPromotionType = 3
)

func (BidExt_AppPromotionType) Descriptor

func (BidExt_AppPromotionType) Enum

func (BidExt_AppPromotionType) EnumDescriptor deprecated

func (BidExt_AppPromotionType) EnumDescriptor() ([]byte, []int)

Deprecated: Use BidExt_AppPromotionType.Descriptor instead.

func (BidExt_AppPromotionType) Number

func (BidExt_AppPromotionType) String

func (x BidExt_AppPromotionType) String() string

func (BidExt_AppPromotionType) Type

func (*BidExt_AppPromotionType) UnmarshalJSON deprecated

func (x *BidExt_AppPromotionType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type BidExt_Dsa

type BidExt_Dsa struct {

	// Free text string describing the name of the advertiser on whose behalf
	// the ad is shown. Bids will not be accepted if this value is longer
	// than 100 characters.
	Behalf *string `protobuf:"bytes,1,opt,name=behalf" json:"behalf,omitempty"`
	// Free text string describing the advertiser who paid for the ad. Must
	// always be included even if it's the same as what is listed in the
	// displayed_on_behalf attribute. Bids will not be accepted if this value
	// is longer than 100 characters.
	Paid *string `protobuf:"bytes,2,opt,name=paid" json:"paid,omitempty"`
	// Indicates that the buyer will render their own DSA transparency
	// information inside the creative.
	Adrender *bool `protobuf:"varint,3,opt,name=adrender" json:"adrender,omitempty"`
	// contains filtered or unexported fields
}

The Digital Services Act (DSA) transparency declarations. See https://support.google.com/admanager/answer/14335032.

func (*BidExt_Dsa) Descriptor deprecated

func (*BidExt_Dsa) Descriptor() ([]byte, []int)

Deprecated: Use BidExt_Dsa.ProtoReflect.Descriptor instead.

func (*BidExt_Dsa) GetAdrender

func (x *BidExt_Dsa) GetAdrender() bool

func (*BidExt_Dsa) GetBehalf

func (x *BidExt_Dsa) GetBehalf() string

func (*BidExt_Dsa) GetPaid

func (x *BidExt_Dsa) GetPaid() string

func (*BidExt_Dsa) ProtoMessage

func (*BidExt_Dsa) ProtoMessage()

func (*BidExt_Dsa) ProtoReflect

func (x *BidExt_Dsa) ProtoReflect() protoreflect.Message

func (*BidExt_Dsa) Reset

func (x *BidExt_Dsa) Reset()

func (*BidExt_Dsa) String

func (x *BidExt_Dsa) String() string

type BidExt_EventNotificationToken

type BidExt_EventNotificationToken struct {

	// The content of the token, which will be ignored if longer than 128
	// bytes.
	Payload *string `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

func (*BidExt_EventNotificationToken) Descriptor deprecated

func (*BidExt_EventNotificationToken) Descriptor() ([]byte, []int)

Deprecated: Use BidExt_EventNotificationToken.ProtoReflect.Descriptor instead.

func (*BidExt_EventNotificationToken) GetPayload

func (x *BidExt_EventNotificationToken) GetPayload() string

func (*BidExt_EventNotificationToken) ProtoMessage

func (*BidExt_EventNotificationToken) ProtoMessage()

func (*BidExt_EventNotificationToken) ProtoReflect

func (*BidExt_EventNotificationToken) Reset

func (x *BidExt_EventNotificationToken) Reset()

func (*BidExt_EventNotificationToken) String

type BidExt_ExchangeDealType

type BidExt_ExchangeDealType int32

[AdX: BidResponse.Ad.AdSlot.exchange_deal_type]

const (
	BidExt_OPEN_AUCTION             BidExt_ExchangeDealType = 0
	BidExt_PRIVATE_AUCTION          BidExt_ExchangeDealType = 1
	BidExt_PREFERRED_DEAL           BidExt_ExchangeDealType = 2
	BidExt_EXCHANGE_AUCTION_PACKAGE BidExt_ExchangeDealType = 3
)

func (BidExt_ExchangeDealType) Descriptor

func (BidExt_ExchangeDealType) Enum

func (BidExt_ExchangeDealType) EnumDescriptor deprecated

func (BidExt_ExchangeDealType) EnumDescriptor() ([]byte, []int)

Deprecated: Use BidExt_ExchangeDealType.Descriptor instead.

func (BidExt_ExchangeDealType) Number

func (BidExt_ExchangeDealType) String

func (x BidExt_ExchangeDealType) String() string

func (BidExt_ExchangeDealType) Type

func (*BidExt_ExchangeDealType) UnmarshalJSON deprecated

func (x *BidExt_ExchangeDealType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type BidExt_FrequencyCap

type BidExt_FrequencyCap struct {

	// An ID that can represent a bidder's use-case for frequency capping; for
	// example, it could represent their campaign, ad, line item, or some
	// other entity. It should not contain any user-specific information or
	// identifiers and should not be longer than 64 characters.
	FcapId *string `protobuf:"bytes,1,opt,name=fcap_id,json=fcapId" json:"fcap_id,omitempty"`
	// The unit of time used to specify the time window for which a frequency
	// cap applies.
	TimeUnit *BidExt_FrequencyCap_TimeUnit `` /* 136-byte string literal not displayed */
	// The length of the time window, in units specified by time_unit, for which
	// the frequency cap applies. For instance, if time_unit=WEEK and
	// time_range=3, then capping is applied for a three week period. If the
	// time_unit=INDEFINITE, this will be ignored.
	TimeRange *int32 `protobuf:"varint,3,opt,name=time_range,json=timeRange,def=1" json:"time_range,omitempty"`
	// The maximum number of impressions allowed to be shown to a user for
	// the provided frequency_cap_id within the time window described by
	// time_unit and time_range.
	MaxImp *int32 `protobuf:"varint,4,opt,name=max_imp,json=maxImp" json:"max_imp,omitempty"`
	// contains filtered or unexported fields
}

Experimental feature; may be subject to change. See https://support.google.com/authorizedbuyers/answer/10890762 for more information.

Specifies frequency capping to be applied to the bid. Impressions for each user are capped at the level specified by fcap_id. A bid will not participate in the auction if an additional impression for the user would violate any of the specified caps. Multiple frequency caps can be specified for the same fcap_id.

A bid is filtered before the auction if the frequency cap is malformed. Instances where the cap is malformed include:

  • fcap_id is empty or is very long
  • max_mpressions or time_range are non-positive
  • there are a large number of frequency caps for a single bid
  • time_unit is not specified

Note that if a subsequent bid with the same fcap_id uses a different duration (represented by time_unit and time_range) then impressions counted against the old frequency cap will not count against the new one and vice versa.

func (*BidExt_FrequencyCap) Descriptor deprecated

func (*BidExt_FrequencyCap) Descriptor() ([]byte, []int)

Deprecated: Use BidExt_FrequencyCap.ProtoReflect.Descriptor instead.

func (*BidExt_FrequencyCap) GetFcapId

func (x *BidExt_FrequencyCap) GetFcapId() string

func (*BidExt_FrequencyCap) GetMaxImp

func (x *BidExt_FrequencyCap) GetMaxImp() int32

func (*BidExt_FrequencyCap) GetTimeRange

func (x *BidExt_FrequencyCap) GetTimeRange() int32

func (*BidExt_FrequencyCap) GetTimeUnit

func (*BidExt_FrequencyCap) ProtoMessage

func (*BidExt_FrequencyCap) ProtoMessage()

func (*BidExt_FrequencyCap) ProtoReflect

func (x *BidExt_FrequencyCap) ProtoReflect() protoreflect.Message

func (*BidExt_FrequencyCap) Reset

func (x *BidExt_FrequencyCap) Reset()

func (*BidExt_FrequencyCap) String

func (x *BidExt_FrequencyCap) String() string

type BidExt_FrequencyCap_TimeUnit

type BidExt_FrequencyCap_TimeUnit int32

The time units for which frequency caps can be enforced.

const (
	BidExt_FrequencyCap_UNKNOWN_TIME_UNIT BidExt_FrequencyCap_TimeUnit = 0
	BidExt_FrequencyCap_MINUTE            BidExt_FrequencyCap_TimeUnit = 1
	BidExt_FrequencyCap_DAY               BidExt_FrequencyCap_TimeUnit = 2
	BidExt_FrequencyCap_WEEK              BidExt_FrequencyCap_TimeUnit = 3
	BidExt_FrequencyCap_MONTH             BidExt_FrequencyCap_TimeUnit = 4
	// When INDEFINITE is used, time_range will be ignored. INDEFINITE means
	// the frequency cap will be applied for a long period of time, (longer
	// than a month) but not necessarily forever.
	BidExt_FrequencyCap_INDEFINITE BidExt_FrequencyCap_TimeUnit = 5
)

func (BidExt_FrequencyCap_TimeUnit) Descriptor

func (BidExt_FrequencyCap_TimeUnit) Enum

func (BidExt_FrequencyCap_TimeUnit) EnumDescriptor deprecated

func (BidExt_FrequencyCap_TimeUnit) EnumDescriptor() ([]byte, []int)

Deprecated: Use BidExt_FrequencyCap_TimeUnit.Descriptor instead.

func (BidExt_FrequencyCap_TimeUnit) Number

func (BidExt_FrequencyCap_TimeUnit) String

func (BidExt_FrequencyCap_TimeUnit) Type

func (*BidExt_FrequencyCap_TimeUnit) UnmarshalJSON deprecated

func (x *BidExt_FrequencyCap_TimeUnit) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type BidExt_SKAdNetworkResponse

type BidExt_SKAdNetworkResponse struct {

	// Version of SKAdNetwork supported by the advertiser. Also used to
	// specify how the signature was generated by the advertiser. This
	// should match the version from BidRequest.imp.ext.skad.version.
	Version *string `protobuf:"bytes,1,opt,name=version" json:"version,omitempty"`
	// Ad network identifier used in signature. This should match one of the
	// items in BidRequest.imp.ext.skad.skadnetids.
	Network *string `protobuf:"bytes,2,opt,name=network" json:"network,omitempty"`
	// Campaign ID compatible with Apple's spec. Used in SKAdNetwork 3.0 and
	// below. Replaced by Source Identifier (`sourceidentifier` field) in
	// SKAdNetwork 4.0 and above.
	Campaign *string `protobuf:"bytes,3,opt,name=campaign" json:"campaign,omitempty"`
	// A four-digit integer that ad networks define to represent the ad
	// campaign. Used in SKAdNetwork 4.0+ and replaces the `campaign` field.
	Sourceidentifier *string `protobuf:"bytes,11,opt,name=sourceidentifier" json:"sourceidentifier,omitempty"`
	// ID of advertiser's app in Apple's app store.
	Itunesitem *string `protobuf:"bytes,4,opt,name=itunesitem" json:"itunesitem,omitempty"`
	// ID of custom product page to display (for iOS 15 or later).
	// If not specified, default product page will be displayed.
	// See https://developer.apple.com/app-store/custom-product-pages/
	// for more details about custom product pages.
	Productpageid *string                                `protobuf:"bytes,12,opt,name=productpageid" json:"productpageid,omitempty"`
	Fidelities    []*BidExt_SKAdNetworkResponse_Fidelity `protobuf:"bytes,9,rep,name=fidelities" json:"fidelities,omitempty"`
	// A unique all-lowercase UUID generated by the advertiser to use for
	// generating the signature.
	// Note:  This field will be deprecated in favor of the
	// BidResponse.bid.ext.skadn.fidelities.nonce field to support multiple
	// fidelity types.
	Nonce *string `protobuf:"bytes,5,opt,name=nonce" json:"nonce,omitempty"`
	// ID of publisher's app in Apple's app store. This should match the ID
	// from BidRequest.imp.ext.skad.sourceapp.
	Sourceapp *string `protobuf:"bytes,6,opt,name=sourceapp" json:"sourceapp,omitempty"`
	// Unix time in millis used at the time of signature generation.
	// Note:  This field will be deprecated in favor of the
	// BidResponse.bid.ext.skadn.fidelities.timestamp field to support multiple
	// fidelity types.
	Timestamp *string `protobuf:"bytes,7,opt,name=timestamp" json:"timestamp,omitempty"`
	// SKAdNetwork signature as specified by Apple.
	// Note:  This field will be deprecated in favor of the
	// BidResponse.bid.ext.skadn.fidelities.signature field to support multiple
	// fidelity types.
	Signature *string                               `protobuf:"bytes,8,opt,name=signature" json:"signature,omitempty"`
	Skoverlay *BidExt_SKAdNetworkResponse_SKOverlay `protobuf:"bytes,13,opt,name=skoverlay" json:"skoverlay,omitempty"`
	// [AdX: BidResponse.Ad.skadn_options]
	SkadnOpts *BidExt_SKAdNetworkResponse_SKAdNetworkOptions `protobuf:"bytes,10,opt,name=skadn_opts,json=skadnOpts" json:"skadn_opts,omitempty"`
	// contains filtered or unexported fields
}

Advertiser's SKAdNetwork information to support app installation attribution for iOS 14 and later. Apple's SKAdNetwork API helps advertisers measure ad-driven app installation by sending a postback to the ad network after a successful install. Ad networks will need to send their network ID and signed advertiser information to allow an install to be attributed to the ad impression. For more info visit: https://developer.apple.com/documentation/storekit/skadnetwork

func (*BidExt_SKAdNetworkResponse) Descriptor deprecated

func (*BidExt_SKAdNetworkResponse) Descriptor() ([]byte, []int)

Deprecated: Use BidExt_SKAdNetworkResponse.ProtoReflect.Descriptor instead.

func (*BidExt_SKAdNetworkResponse) GetCampaign

func (x *BidExt_SKAdNetworkResponse) GetCampaign() string

func (*BidExt_SKAdNetworkResponse) GetFidelities

func (*BidExt_SKAdNetworkResponse) GetItunesitem

func (x *BidExt_SKAdNetworkResponse) GetItunesitem() string

func (*BidExt_SKAdNetworkResponse) GetNetwork

func (x *BidExt_SKAdNetworkResponse) GetNetwork() string

func (*BidExt_SKAdNetworkResponse) GetNonce

func (x *BidExt_SKAdNetworkResponse) GetNonce() string

func (*BidExt_SKAdNetworkResponse) GetProductpageid

func (x *BidExt_SKAdNetworkResponse) GetProductpageid() string

func (*BidExt_SKAdNetworkResponse) GetSignature

func (x *BidExt_SKAdNetworkResponse) GetSignature() string

func (*BidExt_SKAdNetworkResponse) GetSkadnOpts

func (*BidExt_SKAdNetworkResponse) GetSkoverlay

func (*BidExt_SKAdNetworkResponse) GetSourceapp

func (x *BidExt_SKAdNetworkResponse) GetSourceapp() string

func (*BidExt_SKAdNetworkResponse) GetSourceidentifier

func (x *BidExt_SKAdNetworkResponse) GetSourceidentifier() string

func (*BidExt_SKAdNetworkResponse) GetTimestamp

func (x *BidExt_SKAdNetworkResponse) GetTimestamp() string

func (*BidExt_SKAdNetworkResponse) GetVersion

func (x *BidExt_SKAdNetworkResponse) GetVersion() string

func (*BidExt_SKAdNetworkResponse) ProtoMessage

func (*BidExt_SKAdNetworkResponse) ProtoMessage()

func (*BidExt_SKAdNetworkResponse) ProtoReflect

func (*BidExt_SKAdNetworkResponse) Reset

func (x *BidExt_SKAdNetworkResponse) Reset()

func (*BidExt_SKAdNetworkResponse) String

func (x *BidExt_SKAdNetworkResponse) String() string

type BidExt_SKAdNetworkResponse_Fidelity

type BidExt_SKAdNetworkResponse_Fidelity struct {

	// The fidelity type of the attribution to track.
	Fidelity *SKAdNetworkFidelityType `protobuf:"varint,1,opt,name=fidelity,enum=com.google.doubleclick.SKAdNetworkFidelityType,def=1" json:"fidelity,omitempty"`
	// A unique all-lowercase UUID generated by the advertiser to use for
	// generating the signature.
	Nonce *string `protobuf:"bytes,2,opt,name=nonce" json:"nonce,omitempty"`
	// Unix time in millis used at the time of signature generation.
	Timestamp *string `protobuf:"bytes,3,opt,name=timestamp" json:"timestamp,omitempty"`
	// SKAdNetwork signature as specified by Apple.
	Signature *string `protobuf:"bytes,4,opt,name=signature" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

SKAdNetwork API starting from version 2.2 supports multiple ad presentation options specified by the `fidelity-type` parameter of the SKAdNetwork signature. This holds parameters used to generate the signature that would be different for each fidelity type supported. For more info visit: https://developer.apple.com/documentation/storekit/skadnetwork/signing_and_providing_ads

func (*BidExt_SKAdNetworkResponse_Fidelity) Descriptor deprecated

func (*BidExt_SKAdNetworkResponse_Fidelity) Descriptor() ([]byte, []int)

Deprecated: Use BidExt_SKAdNetworkResponse_Fidelity.ProtoReflect.Descriptor instead.

func (*BidExt_SKAdNetworkResponse_Fidelity) GetFidelity

func (*BidExt_SKAdNetworkResponse_Fidelity) GetNonce

func (*BidExt_SKAdNetworkResponse_Fidelity) GetSignature

func (x *BidExt_SKAdNetworkResponse_Fidelity) GetSignature() string

func (*BidExt_SKAdNetworkResponse_Fidelity) GetTimestamp

func (x *BidExt_SKAdNetworkResponse_Fidelity) GetTimestamp() string

func (*BidExt_SKAdNetworkResponse_Fidelity) ProtoMessage

func (*BidExt_SKAdNetworkResponse_Fidelity) ProtoMessage()

func (*BidExt_SKAdNetworkResponse_Fidelity) ProtoReflect

func (*BidExt_SKAdNetworkResponse_Fidelity) Reset

func (*BidExt_SKAdNetworkResponse_Fidelity) String

type BidExt_SKAdNetworkResponse_SKAdNetworkOptions

type BidExt_SKAdNetworkResponse_SKAdNetworkOptions struct {

	// By default, SKAdNetwork attribution will only be initiated if the
	// click-through URL lands on the app store, either as a direct link to
	// the app store or as the final destination of a server-side redirect
	// chain. This option enables GMA SDK to always initiate SKAdNetwork
	// attribution on-click regardless of the detected click's final
	// destination URL. Note that enabling this will launch the app store
	// even for clicks that are not meant to open the app store, for example
	// clicks on Ad Choices icon. For more info, see:
	// https://developers.google.com/authorized-buyers/rtb/skadnetwork
	AlwaysOpenAppstore *bool `protobuf:"varint,1,opt,name=always_open_appstore,json=alwaysOpenAppstore,def=0" json:"always_open_appstore,omitempty"`
	// contains filtered or unexported fields
}

Google Mobile Ads SDK options for SKAdNetwork handling.

func (*BidExt_SKAdNetworkResponse_SKAdNetworkOptions) Descriptor deprecated

Deprecated: Use BidExt_SKAdNetworkResponse_SKAdNetworkOptions.ProtoReflect.Descriptor instead.

func (*BidExt_SKAdNetworkResponse_SKAdNetworkOptions) GetAlwaysOpenAppstore

func (x *BidExt_SKAdNetworkResponse_SKAdNetworkOptions) GetAlwaysOpenAppstore() bool

func (*BidExt_SKAdNetworkResponse_SKAdNetworkOptions) ProtoMessage

func (*BidExt_SKAdNetworkResponse_SKAdNetworkOptions) ProtoReflect

func (*BidExt_SKAdNetworkResponse_SKAdNetworkOptions) Reset

func (*BidExt_SKAdNetworkResponse_SKAdNetworkOptions) String

type BidExt_SKAdNetworkResponse_SKOverlay

type BidExt_SKAdNetworkResponse_SKOverlay struct {

	// Delay in seconds after the ad begins before presenting the overlay.
	// If this field is set to 0, the overlay will be shown immediately
	// after the ad begins. If this field is unset, the overlay will not
	// be shown for the ad.
	Delay *int32 `protobuf:"varint,1,opt,name=delay" json:"delay,omitempty"`
	// Delay in seconds after the endcard shows before presenting the
	// overlay. (This field only applies to rewarded or interstitial video
	// creatives.) If this field is set to 0, the overlay will be shown
	// immediately after the endcard shows. If this field is unset,
	// the overlay will not be shown for the endcard.
	// If both `delay` and `endcarddelay` are set, the overlay will be
	// automatically dismissed when the ad ends, and shown again after
	// the endcard shows.
	Endcarddelay *int32 `protobuf:"varint,2,opt,name=endcarddelay" json:"endcarddelay,omitempty"`
	// Whether this overlay can be dismissed by the user.
	Dismissible *bool `protobuf:"varint,3,opt,name=dismissible,def=1" json:"dismissible,omitempty"`
	// contains filtered or unexported fields
}

These options indicate how to present SKOverlay recommending the advertised app. Supported by iOS 14 and later.

For more info visit: https://developer.apple.com/documentation/storekit/skoverlay

func (*BidExt_SKAdNetworkResponse_SKOverlay) Descriptor deprecated

func (*BidExt_SKAdNetworkResponse_SKOverlay) Descriptor() ([]byte, []int)

Deprecated: Use BidExt_SKAdNetworkResponse_SKOverlay.ProtoReflect.Descriptor instead.

func (*BidExt_SKAdNetworkResponse_SKOverlay) GetDelay

func (*BidExt_SKAdNetworkResponse_SKOverlay) GetDismissible

func (x *BidExt_SKAdNetworkResponse_SKOverlay) GetDismissible() bool

func (*BidExt_SKAdNetworkResponse_SKOverlay) GetEndcarddelay

func (x *BidExt_SKAdNetworkResponse_SKOverlay) GetEndcarddelay() int32

func (*BidExt_SKAdNetworkResponse_SKOverlay) ProtoMessage

func (*BidExt_SKAdNetworkResponse_SKOverlay) ProtoMessage()

func (*BidExt_SKAdNetworkResponse_SKOverlay) ProtoReflect

func (*BidExt_SKAdNetworkResponse_SKOverlay) Reset

func (*BidExt_SKAdNetworkResponse_SKOverlay) String

type BidExt_SdkRenderedAd

type BidExt_SdkRenderedAd struct {

	// The identifier for the SDK that will render the ad. Must match an
	// AppExt.InstalledSdk.id sent in the corresponding bid request.
	Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// Data to pass to the SDK in order to render the ad. This data is opaque
	// to the publisher and to Google.
	RenderingData *string                          `protobuf:"bytes,2,opt,name=rendering_data,json=renderingData" json:"rendering_data,omitempty"`
	DeclaredAd    *BidExt_SdkRenderedAd_DeclaredAd `protobuf:"bytes,6,opt,name=declared_ad,json=declaredAd" json:"declared_ad,omitempty"`
	// contains filtered or unexported fields
}

An ad that will be rendered by an SDK known to the buyer. This can only be used when the BidRequest included an AppExt.InstalledSdk submessage.

func (*BidExt_SdkRenderedAd) Descriptor deprecated

func (*BidExt_SdkRenderedAd) Descriptor() ([]byte, []int)

Deprecated: Use BidExt_SdkRenderedAd.ProtoReflect.Descriptor instead.

func (*BidExt_SdkRenderedAd) GetDeclaredAd

func (*BidExt_SdkRenderedAd) GetId

func (x *BidExt_SdkRenderedAd) GetId() string

func (*BidExt_SdkRenderedAd) GetRenderingData

func (x *BidExt_SdkRenderedAd) GetRenderingData() string

func (*BidExt_SdkRenderedAd) ProtoMessage

func (*BidExt_SdkRenderedAd) ProtoMessage()

func (*BidExt_SdkRenderedAd) ProtoReflect

func (x *BidExt_SdkRenderedAd) ProtoReflect() protoreflect.Message

func (*BidExt_SdkRenderedAd) Reset

func (x *BidExt_SdkRenderedAd) Reset()

func (*BidExt_SdkRenderedAd) String

func (x *BidExt_SdkRenderedAd) String() string

type BidExt_SdkRenderedAd_DeclaredAd

type BidExt_SdkRenderedAd_DeclaredAd struct {

	// Ad content used by SDK to render ad.
	//
	// Types that are assignable to Content:
	//	*BidExt_SdkRenderedAd_DeclaredAd_HtmlSnippet
	//	*BidExt_SdkRenderedAd_DeclaredAd_VideoUrl
	//	*BidExt_SdkRenderedAd_DeclaredAd_VideoVastXml
	//	*BidExt_SdkRenderedAd_DeclaredAd_NativeResponse
	Content isBidExt_SdkRenderedAd_DeclaredAd_Content `protobuf_oneof:"content"`
	// The final landing pages of the SDK-rendered ad.
	ClickThroughUrl []string `protobuf:"bytes,3,rep,name=click_through_url,json=clickThroughUrl" json:"click_through_url,omitempty"`
	// contains filtered or unexported fields
}

Declared ad assets to support creative scanning, classification, and enforcement of ad policy and publisher blocks for ads rendered with a custom SDK.

func (*BidExt_SdkRenderedAd_DeclaredAd) Descriptor deprecated

func (*BidExt_SdkRenderedAd_DeclaredAd) Descriptor() ([]byte, []int)

Deprecated: Use BidExt_SdkRenderedAd_DeclaredAd.ProtoReflect.Descriptor instead.

func (*BidExt_SdkRenderedAd_DeclaredAd) GetClickThroughUrl

func (x *BidExt_SdkRenderedAd_DeclaredAd) GetClickThroughUrl() []string

func (*BidExt_SdkRenderedAd_DeclaredAd) GetContent

func (m *BidExt_SdkRenderedAd_DeclaredAd) GetContent() isBidExt_SdkRenderedAd_DeclaredAd_Content

func (*BidExt_SdkRenderedAd_DeclaredAd) GetHtmlSnippet

func (x *BidExt_SdkRenderedAd_DeclaredAd) GetHtmlSnippet() string

func (*BidExt_SdkRenderedAd_DeclaredAd) GetNativeResponse

func (x *BidExt_SdkRenderedAd_DeclaredAd) GetNativeResponse() *NativeResponse

func (*BidExt_SdkRenderedAd_DeclaredAd) GetVideoUrl

func (x *BidExt_SdkRenderedAd_DeclaredAd) GetVideoUrl() string

func (*BidExt_SdkRenderedAd_DeclaredAd) GetVideoVastXml

func (x *BidExt_SdkRenderedAd_DeclaredAd) GetVideoVastXml() string

func (*BidExt_SdkRenderedAd_DeclaredAd) ProtoMessage

func (*BidExt_SdkRenderedAd_DeclaredAd) ProtoMessage()

func (*BidExt_SdkRenderedAd_DeclaredAd) ProtoReflect

func (*BidExt_SdkRenderedAd_DeclaredAd) Reset

func (*BidExt_SdkRenderedAd_DeclaredAd) String

type BidExt_SdkRenderedAd_DeclaredAd_HtmlSnippet

type BidExt_SdkRenderedAd_DeclaredAd_HtmlSnippet struct {
	// The HTML snippet representative of the SDK-rendered ad.
	HtmlSnippet string `protobuf:"bytes,1,opt,name=html_snippet,json=htmlSnippet,oneof"`
}

type BidExt_SdkRenderedAd_DeclaredAd_NativeResponse

type BidExt_SdkRenderedAd_DeclaredAd_NativeResponse struct {
	// The content of a native ad. Native ads consist of multiple building
	// blocks (such as image and text), which are rendered by the buyer SDK.
	// This field is only required for creative scanning. The assets you
	// include don't need to match assets specified in a native request
	// object (if any) in the bid request. NativeResponse.assets.id is
	// optional and doesn't need to match an asset on the native request
	// object. NativeResponse.assets.img.type is required.
	NativeResponse *NativeResponse `protobuf:"bytes,5,opt,name=native_response,json=nativeResponse,oneof"`
}

type BidExt_SdkRenderedAd_DeclaredAd_VideoUrl

type BidExt_SdkRenderedAd_DeclaredAd_VideoUrl struct {
	// The URL to the VAST asset used in the SDK-rendered ad.
	VideoUrl string `protobuf:"bytes,2,opt,name=video_url,json=videoUrl,oneof"`
}

type BidExt_SdkRenderedAd_DeclaredAd_VideoVastXml

type BidExt_SdkRenderedAd_DeclaredAd_VideoVastXml struct {
	// The VAST document used to render custom SDK-rendered ad. This
	// document should conform to the VAST 2.0 or 3.0 standard.
	VideoVastXml string `protobuf:"bytes,4,opt,name=video_vast_xml,json=videoVastXml,oneof"`
}

type BidRequest

type BidRequest struct {

	// Types that are assignable to DistributionchannelOneof:
	//	*BidRequest_Site_
	//	*BidRequest_App_
	DistributionchannelOneof isBidRequest_DistributionchannelOneof `protobuf_oneof:"distributionchannel_oneof"`
	// Unique ID of the bid request, provided by the exchange.
	// REQUIRED by the OpenRTB specification.
	// Supported by Google.
	Id *string `protobuf:"bytes,1,req,name=id" json:"id,omitempty"`
	// Array of Imp objects (Section 3.2.2) representing the impressions offered.
	// At least 1 Imp object is required.
	// Supported by Google.
	Imp []*BidRequest_Imp `protobuf:"bytes,2,rep,name=imp" json:"imp,omitempty"`
	// Information about the device the impression will be delivered to.
	// Supported by Google.
	Device *BidRequest_Device `protobuf:"bytes,5,opt,name=device" json:"device,omitempty"`
	// A Regs object (Section 3.2.16) that specifies any industry, legal,
	// or governmental regulations in force for this request.
	// Supported by Google.
	Regs *BidRequest_Regs `protobuf:"bytes,14,opt,name=regs" json:"regs,omitempty"`
	// Information about the user of the device or the advertising audience.
	// Supported by Google.
	User *BidRequest_User `protobuf:"bytes,6,opt,name=user" json:"user,omitempty"`
	// Auction type: one of FIRST_PRICE or SECOND_PRICE.
	// Supported by Google.
	At *AuctionType `protobuf:"varint,7,opt,name=at,enum=com.google.openrtb.AuctionType,def=2" json:"at,omitempty"`
	// Maximum time in milliseconds to submit a bid to avoid timeout.
	// This value is commonly communicated offline.
	// Supported by Google.
	Tmax *int32 `protobuf:"varint,8,opt,name=tmax" json:"tmax,omitempty"`
	// Allowlist of buyer seats (for example, advertisers, agencies) that can bid
	// on this impression. IDs of seats and knowledge of the buyer's customers to
	// which they refer must be coordinated between bidders and the exchange a
	// priori. Omission implies no seat restrictions.
	// Supported by Google.
	Wseat []string `protobuf:"bytes,9,rep,name=wseat" json:"wseat,omitempty"`
	// Indicates if Exchange can verify that the impressions offered
	// represent all of the impressions available in context (for example, all on
	// the web page, all video spots such as pre/mid/post roll) to support
	// road-blocking. false = no or unknown, true = yes, the impressions offered
	// represent all that are available.
	// Not supported by Google.
	Allimps *bool `protobuf:"varint,10,opt,name=allimps,def=0" json:"allimps,omitempty"`
	// Array of allowed currencies for bids on this bid request using ISO-4217
	// alpha codes. Recommended only if the exchange accepts multiple currencies.
	// Supported by Google.
	Cur []string `protobuf:"bytes,11,rep,name=cur" json:"cur,omitempty"`
	// Blocked advertiser categories using the IAB content categories.
	// The taxonomy to be used is defined by the cattax field.
	// Supported by Google.
	Bcat []string `protobuf:"bytes,12,rep,name=bcat" json:"bcat,omitempty"`
	// The taxonomy in use for bcat.
	// Not supported by Google.
	Cattax *CategoryTaxonomy `protobuf:"varint,21,opt,name=cattax,enum=com.google.openrtb.CategoryTaxonomy,def=1" json:"cattax,omitempty"`
	// Block list of advertisers by their domains (for example, "ford.com").
	// Not supported by Google.
	Badv []string `protobuf:"bytes,13,rep,name=badv" json:"badv,omitempty"`
	// Block list of applications by their platform-specific exchange
	// independent application identifiers. On Android, these should
	// be bundle or package names (for example, com.foo.mygame).
	// On iOS, these are numeric IDs.
	// Supported by Google.
	Bapp []string `protobuf:"bytes,16,rep,name=bapp" json:"bapp,omitempty"`
	// Indicator of test mode in which auctions are not billable,
	// where false = live mode, true = test mode.
	// Supported by Google.
	Test *bool `protobuf:"varint,15,opt,name=test,def=0" json:"test,omitempty"`
	// Block list of buyer seats (for example, advertisers, agencies) restricted
	// from bidding on this impression. IDs of seats and knowledge
	// of the buyer's customers to which they refer must be
	// coordinated between bidders and the exchange a priori.
	// At most, only one of wseat and bseat should be used in the
	// same request. Omission of both implies no seat restrictions.
	// Supported by Google.
	Bseat []string `protobuf:"bytes,17,rep,name=bseat" json:"bseat,omitempty"`
	// Allowed list of languages for creatives using ISO-639-1-alpha-2.
	// Omission implies no specific restrictions, but buyers would be
	// advised to consider language attribute in the Device and/or
	// Content objects if available.
	// Only one of wlang or wlangb should be present.
	// Supported by Google.
	Wlang []string `protobuf:"bytes,18,rep,name=wlang" json:"wlang,omitempty"`
	// Allowed list of languages for creatives using IETF BCP 47I.
	// Omission implies no specific restrictions, but buyers would be
	// advised to consider language attribute in the Device and/or
	// Content objects if available.
	// Only one of wlang or wlangb should be present.
	// Not supported by Google.
	Wlangb []string `protobuf:"bytes,20,rep,name=wlangb" json:"wlangb,omitempty"`
	// A Source object (Section 3.2.2) that provides data about the
	// inventory source and which entity makes the final decision.
	// Supported by Google.
	Source *BidRequest_Source `protobuf:"bytes,19,opt,name=source" json:"source,omitempty"`
	// contains filtered or unexported fields
}

OpenRTB extensions ("ext" fields in the spec & JSON representation) are represented here by Protocol Buffer extensions. This proto only reserves the range of IDs 100-9999 at every extensible object. Reserved ranges:

100-199:   Reserved for Google.
200-299:   Reserved for IAB's formal standard extensions.
300-999:   Free for use with other exchanges or projects.
1000-1999: Reserved for Google.
2000-9999: Free for use with other exchanges or projects.

OpenRTB 2.0: The top-level bid request object contains a globally unique bid request or auction ID. This id attribute is required as is at least one impression object (Section 3.2.2). Other attributes in this top-level object establish rules and restrictions that apply to all impressions being offered.

There are also several subordinate objects that provide detailed data to potential buyers. Among these are the Site and App objects, which describe the type of published media in which the impression(s) appear. These objects are highly recommended, but only one applies to a given bid request depending on whether the media is browser-based web content or a non-browser application, respectively.

func (*BidRequest) Descriptor deprecated

func (*BidRequest) Descriptor() ([]byte, []int)

Deprecated: Use BidRequest.ProtoReflect.Descriptor instead.

func (*BidRequest) GetAllimps

func (x *BidRequest) GetAllimps() bool

func (*BidRequest) GetApp

func (x *BidRequest) GetApp() *BidRequest_App

func (*BidRequest) GetAt

func (x *BidRequest) GetAt() AuctionType

func (*BidRequest) GetBadv

func (x *BidRequest) GetBadv() []string

func (*BidRequest) GetBapp

func (x *BidRequest) GetBapp() []string

func (*BidRequest) GetBcat

func (x *BidRequest) GetBcat() []string

func (*BidRequest) GetBseat

func (x *BidRequest) GetBseat() []string

func (*BidRequest) GetCattax

func (x *BidRequest) GetCattax() CategoryTaxonomy

func (*BidRequest) GetCur

func (x *BidRequest) GetCur() []string

func (*BidRequest) GetDevice

func (x *BidRequest) GetDevice() *BidRequest_Device

func (*BidRequest) GetDistributionchannelOneof

func (m *BidRequest) GetDistributionchannelOneof() isBidRequest_DistributionchannelOneof

func (*BidRequest) GetId

func (x *BidRequest) GetId() string

func (*BidRequest) GetImp

func (x *BidRequest) GetImp() []*BidRequest_Imp

func (*BidRequest) GetRegs

func (x *BidRequest) GetRegs() *BidRequest_Regs

func (*BidRequest) GetSite

func (x *BidRequest) GetSite() *BidRequest_Site

func (*BidRequest) GetSource

func (x *BidRequest) GetSource() *BidRequest_Source

func (*BidRequest) GetTest

func (x *BidRequest) GetTest() bool

func (*BidRequest) GetTmax

func (x *BidRequest) GetTmax() int32

func (*BidRequest) GetUser

func (x *BidRequest) GetUser() *BidRequest_User

func (*BidRequest) GetWlang

func (x *BidRequest) GetWlang() []string

func (*BidRequest) GetWlangb

func (x *BidRequest) GetWlangb() []string

func (*BidRequest) GetWseat

func (x *BidRequest) GetWseat() []string

func (*BidRequest) ProtoMessage

func (*BidRequest) ProtoMessage()

func (*BidRequest) ProtoReflect

func (x *BidRequest) ProtoReflect() protoreflect.Message

func (*BidRequest) Reset

func (x *BidRequest) Reset()

func (*BidRequest) String

func (x *BidRequest) String() string

type BidRequestExt

type BidRequestExt struct {
	BidFeedback []*BidRequestExt_BidFeedback `protobuf:"bytes,1,rep,name=bid_feedback,json=bidFeedback" json:"bid_feedback,omitempty"`
	// This represents a unique ID for the overall query. In the event
	// that there are multiple callouts for a query, all callout requests for that
	// query will contain the same google_query_id.
	GoogleQueryId     *string                              `protobuf:"bytes,2,opt,name=google_query_id,json=googleQueryId" json:"google_query_id,omitempty"`
	FcapScope         *BidRequestExt_FrequencyCappingScope `` /* 146-byte string literal not displayed */
	PrivacyTreatments *BidRequestExt_PrivacyTreatments     `protobuf:"bytes,5,opt,name=privacy_treatments,json=privacyTreatments" json:"privacy_treatments,omitempty"`
	// contains filtered or unexported fields
}

func (*BidRequestExt) Descriptor deprecated

func (*BidRequestExt) Descriptor() ([]byte, []int)

Deprecated: Use BidRequestExt.ProtoReflect.Descriptor instead.

func (*BidRequestExt) GetBidFeedback

func (x *BidRequestExt) GetBidFeedback() []*BidRequestExt_BidFeedback

func (*BidRequestExt) GetFcapScope

func (*BidRequestExt) GetGoogleQueryId

func (x *BidRequestExt) GetGoogleQueryId() string

func (*BidRequestExt) GetPrivacyTreatments

func (x *BidRequestExt) GetPrivacyTreatments() *BidRequestExt_PrivacyTreatments

func (*BidRequestExt) ProtoMessage

func (*BidRequestExt) ProtoMessage()

func (*BidRequestExt) ProtoReflect

func (x *BidRequestExt) ProtoReflect() protoreflect.Message

func (*BidRequestExt) Reset

func (x *BidRequestExt) Reset()

func (*BidRequestExt) String

func (x *BidRequestExt) String() string

type BidRequestExt_BidFeedback

type BidRequestExt_BidFeedback struct {

	// The unique id from BidRequest.id.
	RequestId *string `protobuf:"bytes,1,opt,name=request_id,json=requestId" json:"request_id,omitempty"`
	// The status code for the ad. See creative-status-codes.txt in the
	// technical documentation for a list of ids.
	CreativeStatusCode *int32 `protobuf:"varint,2,opt,name=creative_status_code,json=creativeStatusCode" json:"creative_status_code,omitempty"`
	// If the bid won the auction, this is the price paid in your account
	// currency. If the bid participated in the auction but was out-bid, this
	// is the CPM that should have been exceeded in order to win. This is not
	// set if the bid was filtered prior to the auction, if the publisher or
	// winning bidder has opted out of price feedback or if your account has
	// opted out of sharing winning prices with other bidders. For first-price
	// auctions, minimum_bid_to_win is populated instead of this field.
	Price *float64 `protobuf:"fixed64,3,opt,name=price" json:"price,omitempty"`
	// The minimum bid value necessary to have the auction, in your account
	// currency. If your bid won the auction, this is the second highest bid
	// that was not filtered (including the floor price). If your bid did not
	// win the auction, this is the winning candidate's bid. This field will
	// only be populated if your bid participated in a first-price auction, and
	// will not be populated if your bid was filtered prior to the auction.
	MinimumBidToWin *float64 `protobuf:"fixed64,6,opt,name=minimum_bid_to_win,json=minimumBidToWin" json:"minimum_bid_to_win,omitempty"`
	// The minimum bid value necessary to have won the server-side component of
	// the overall auction given that there was also an interest group bidding
	// component to the overall auction which ran using the Protected Audience
	// API. The value is expressed in CPM of the buyer account currency. The
	// minimum bid to win for the overall auction, including bids from the
	// server-side and the on-device interest group components, is populated in
	// the minimum_bid_to_win field of the same BidFeedback object.
	Sscminbidtowin *float64 `protobuf:"fixed64,14,opt,name=sscminbidtowin" json:"sscminbidtowin,omitempty"`
	// Billable event rate multiplier that was applied to this bid during
	// ranking. The adjustment reflects the likelihood that your bid would
	// generate a billable event (namely, the ad renders successfully) if it won
	// the auction, relative to the probability that other bids generate a
	// billable event if they won the auction. This adjustment can be larger or
	// smaller than 1. This affects the final ranking in the auction only; in
	// particular, this multiplier does not affect the payment or whether the
	// bid clears any floor price.
	BillableEventRateBidAdjustment *float32 `` /* 159-byte string literal not displayed */
	// When a publisher uses an RTB auction and waterfall-based SDK mediation on
	// the same query, the winner of the real-time auction must also compete in
	// a mediation waterfall (which is ordered by price) to win the impression.
	// If the bid participated in the auction and there was no waterfall, the
	// value of this field is 0. If the bid participated in the auction and
	// there was a waterfall, the value of this field is a price representing a
	// sample bid from the eligible mediation networks that were higher than the
	// auction winner, weighted by expected fill rate. This field can be used
	// in conjunction with minimum_bid_to_win to train bidding models. The CPM
	// is in your account currency.
	SampledMediationCpmAheadOfAuctionWinner *float64 `` /* 183-byte string literal not displayed */
	// The token included in the corresponding bid.
	EventNotificationToken *BidRequestExt_BidFeedback_EventNotificationToken `protobuf:"bytes,4,opt,name=event_notification_token,json=eventNotificationToken" json:"event_notification_token,omitempty"`
	// The creative ID included in the corresponding bid.
	BuyerCreativeId *string `protobuf:"bytes,5,opt,name=buyer_creative_id,json=buyerCreativeId" json:"buyer_creative_id,omitempty"`
	// The type of the BidFeedback message. Google will send separate
	// BidFeedback objects for:
	// a) Each bid submitted on a bid response
	// b) Each buyer submitted on a bid response to particpate in an interest
	// group bidding component of the auction run using the Protected Audience
	// API.
	Feedbacktype *BidRequestExt_BidFeedback_FeedbackType `` /* 139-byte string literal not displayed */
	// Origin of an interest group buyer that was included in the bid response.
	// This field is populated only for feedback where a bidder opted in an
	// interest group buyer to participate in the interest group bidding
	// component of the overall auction run using the Protected Audience API.
	// To learn more about origins, see https://www.rfc-editor.org/rfc/rfc6454.
	// To learn more about interest group bidding and the Protected Audience
	// API, see
	// https://developers.google.com/authorized-buyers/rtb/fledge-origin-trial.
	Buyerorigin *string `protobuf:"bytes,16,opt,name=buyerorigin" json:"buyerorigin,omitempty"`
	// The status code for the submitted interest group buyer. This field is
	// only populated in the feedback for an interest group buyer that a bidder
	// requested to enter into the interest group auction through the bid
	// response. Individual creative status codes of bids submitted by the buyer
	// in the on-device interest group auction are not available. See
	// https://storage.googleapis.com/adx-rtb-dictionaries/interest-group-buyer-status-codes.txt
	// for a list of interest group buyer status codes.
	Igbuyerstatus *int32 `protobuf:"varint,17,opt,name=igbuyerstatus" json:"igbuyerstatus,omitempty"`
	// contains filtered or unexported fields
}

Feedback on bids submitted in previous responses. This is only set if real-time feedback is enabled for your bidder. Contact your account manager if you want to enable real-time feedback.

func (*BidRequestExt_BidFeedback) Descriptor deprecated

func (*BidRequestExt_BidFeedback) Descriptor() ([]byte, []int)

Deprecated: Use BidRequestExt_BidFeedback.ProtoReflect.Descriptor instead.

func (*BidRequestExt_BidFeedback) GetBillableEventRateBidAdjustment

func (x *BidRequestExt_BidFeedback) GetBillableEventRateBidAdjustment() float32

func (*BidRequestExt_BidFeedback) GetBuyerCreativeId

func (x *BidRequestExt_BidFeedback) GetBuyerCreativeId() string

func (*BidRequestExt_BidFeedback) GetBuyerorigin

func (x *BidRequestExt_BidFeedback) GetBuyerorigin() string

func (*BidRequestExt_BidFeedback) GetCreativeStatusCode

func (x *BidRequestExt_BidFeedback) GetCreativeStatusCode() int32

func (*BidRequestExt_BidFeedback) GetEventNotificationToken

func (*BidRequestExt_BidFeedback) GetFeedbacktype

func (*BidRequestExt_BidFeedback) GetIgbuyerstatus

func (x *BidRequestExt_BidFeedback) GetIgbuyerstatus() int32

func (*BidRequestExt_BidFeedback) GetMinimumBidToWin

func (x *BidRequestExt_BidFeedback) GetMinimumBidToWin() float64

func (*BidRequestExt_BidFeedback) GetPrice

func (x *BidRequestExt_BidFeedback) GetPrice() float64

func (*BidRequestExt_BidFeedback) GetRequestId

func (x *BidRequestExt_BidFeedback) GetRequestId() string

func (*BidRequestExt_BidFeedback) GetSampledMediationCpmAheadOfAuctionWinner

func (x *BidRequestExt_BidFeedback) GetSampledMediationCpmAheadOfAuctionWinner() float64

func (*BidRequestExt_BidFeedback) GetSscminbidtowin

func (x *BidRequestExt_BidFeedback) GetSscminbidtowin() float64

func (*BidRequestExt_BidFeedback) ProtoMessage

func (*BidRequestExt_BidFeedback) ProtoMessage()

func (*BidRequestExt_BidFeedback) ProtoReflect

func (*BidRequestExt_BidFeedback) Reset

func (x *BidRequestExt_BidFeedback) Reset()

func (*BidRequestExt_BidFeedback) String

func (x *BidRequestExt_BidFeedback) String() string

type BidRequestExt_BidFeedback_EventNotificationToken

type BidRequestExt_BidFeedback_EventNotificationToken struct {

	// The contents of the token.
	Payload *string `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

func (*BidRequestExt_BidFeedback_EventNotificationToken) Descriptor deprecated

Deprecated: Use BidRequestExt_BidFeedback_EventNotificationToken.ProtoReflect.Descriptor instead.

func (*BidRequestExt_BidFeedback_EventNotificationToken) GetPayload

func (*BidRequestExt_BidFeedback_EventNotificationToken) ProtoMessage

func (*BidRequestExt_BidFeedback_EventNotificationToken) ProtoReflect

func (*BidRequestExt_BidFeedback_EventNotificationToken) Reset

func (*BidRequestExt_BidFeedback_EventNotificationToken) String

type BidRequestExt_BidFeedback_FeedbackType

type BidRequestExt_BidFeedback_FeedbackType int32

Possible types of bid response feedback objects.

const (
	BidRequestExt_BidFeedback_FEEDBACK_TYPE_UNSPECIFIED BidRequestExt_BidFeedback_FeedbackType = 0
	// Feedback for a bid that was submitted on a bid response.
	BidRequestExt_BidFeedback_BID_FEEDBACK BidRequestExt_BidFeedback_FeedbackType = 1
	// Feedback for an interest group buyer submitted on a bid response to
	// particpate in an interest group bidding component of the auction run
	// using the Protected Audience API.
	BidRequestExt_BidFeedback_INTEREST_GROUP_BUYER_FEEDBACK BidRequestExt_BidFeedback_FeedbackType = 2
)

func (BidRequestExt_BidFeedback_FeedbackType) Descriptor

func (BidRequestExt_BidFeedback_FeedbackType) Enum

func (BidRequestExt_BidFeedback_FeedbackType) EnumDescriptor deprecated

func (BidRequestExt_BidFeedback_FeedbackType) EnumDescriptor() ([]byte, []int)

Deprecated: Use BidRequestExt_BidFeedback_FeedbackType.Descriptor instead.

func (BidRequestExt_BidFeedback_FeedbackType) Number

func (BidRequestExt_BidFeedback_FeedbackType) String

func (BidRequestExt_BidFeedback_FeedbackType) Type

func (*BidRequestExt_BidFeedback_FeedbackType) UnmarshalJSON deprecated

func (x *BidRequestExt_BidFeedback_FeedbackType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type BidRequestExt_FrequencyCappingScope

type BidRequestExt_FrequencyCappingScope int32

Experimental feature; may be subject to change. See https://support.google.com/authorizedbuyers/answer/10890762 for more information.

Describes the scope of frequency cap enforcement available for this request. Frequency caps to be enforced for a bid can be specified in the Bid.ext.fcap field.

const (
	// Default value which should not be used, or which can indicate that
	// frequency cap scope could not be reliably determined.
	BidRequestExt_FREQUENCY_CAPPING_SCOPE_UNKNOWN BidRequestExt_FrequencyCappingScope = 0
	// Frequency capping based on bid response specifications is not available
	// for this request. A frequency-capped bid for a bid request with no
	// frequency cap availability will be filtered prior to the auction.
	BidRequestExt_FREQUENCY_CAPPING_SCOPE_NONE BidRequestExt_FrequencyCappingScope = 1
	// Frequency capping enforcement is available across multiple sites within
	// the same browser.
	BidRequestExt_FREQUENCY_CAPPING_SCOPE_BROWSER BidRequestExt_FrequencyCappingScope = 2
	// Frequency capping enforcement is available across multiple apps on the
	// device, excluding browsers.
	BidRequestExt_FREQUENCY_CAPPING_SCOPE_DEVICE BidRequestExt_FrequencyCappingScope = 3
	// Frequency capping enforcement is available within a single app.
	BidRequestExt_FREQUENCY_CAPPING_SCOPE_APP BidRequestExt_FrequencyCappingScope = 4
	// Frequency capping enforcement is available within a single site.
	BidRequestExt_FREQUENCY_CAPPING_SCOPE_SITE BidRequestExt_FrequencyCappingScope = 5
)

func (BidRequestExt_FrequencyCappingScope) Descriptor

func (BidRequestExt_FrequencyCappingScope) Enum

func (BidRequestExt_FrequencyCappingScope) EnumDescriptor deprecated

func (BidRequestExt_FrequencyCappingScope) EnumDescriptor() ([]byte, []int)

Deprecated: Use BidRequestExt_FrequencyCappingScope.Descriptor instead.

func (BidRequestExt_FrequencyCappingScope) Number

func (BidRequestExt_FrequencyCappingScope) String

func (BidRequestExt_FrequencyCappingScope) Type

func (*BidRequestExt_FrequencyCappingScope) UnmarshalJSON deprecated

func (x *BidRequestExt_FrequencyCappingScope) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type BidRequestExt_PrivacyTreatments

type BidRequestExt_PrivacyTreatments struct {

	// Generalization applied to the IP address field populated in the request
	// (either BidRequest.device.ip or BidRequest.device.ipv6).
	Ip *BidRequestExt_PrivacyTreatments_IpGeneralization `` /* 128-byte string literal not displayed */
	// Generalization that was applied to the BidRequest.device.ua and
	// BidRequest.device.sua fields, if any.
	UserAgent                *BidRequestExt_PrivacyTreatments_UserAgentGeneralization   `` /* 166-byte string literal not displayed */
	NonPersonalizedAdsReason []BidRequestExt_PrivacyTreatments_NonPersonalizedAdsReason `` /* 223-byte string literal not displayed */
	// True if publisher grants the permission to allow the bidder to use bid
	// request data to build user profiles for uses such as interest-based ads
	// and remarketing. To use this data to build user profiles, a bidder must
	// also win a given impression.
	// Learn more about data collection controls:
	// https://support.google.com/admanager/answer/11956152
	AllowUserDataCollection *bool `` /* 128-byte string literal not displayed */
	// Indicates the reason why access of local device storage during winning ad
	// rendering and measurement is restricted.
	Storagerestrict *BidRequestExt_PrivacyTreatments_DeviceStorageRestrictionReason `` /* 168-byte string literal not displayed */
	// contains filtered or unexported fields
}

Privacy treatments. Some fields in the bid request can be coarsened or redacted in order to protect user privacy. This message provides information about privacy treatments that apply to an ad opportunity offered through this request.

func (*BidRequestExt_PrivacyTreatments) Descriptor deprecated

func (*BidRequestExt_PrivacyTreatments) Descriptor() ([]byte, []int)

Deprecated: Use BidRequestExt_PrivacyTreatments.ProtoReflect.Descriptor instead.

func (*BidRequestExt_PrivacyTreatments) GetAllowUserDataCollection

func (x *BidRequestExt_PrivacyTreatments) GetAllowUserDataCollection() bool

func (*BidRequestExt_PrivacyTreatments) GetIp

func (*BidRequestExt_PrivacyTreatments) GetNonPersonalizedAdsReason

func (*BidRequestExt_PrivacyTreatments) GetStoragerestrict

func (*BidRequestExt_PrivacyTreatments) GetUserAgent

func (*BidRequestExt_PrivacyTreatments) ProtoMessage

func (*BidRequestExt_PrivacyTreatments) ProtoMessage()

func (*BidRequestExt_PrivacyTreatments) ProtoReflect

func (*BidRequestExt_PrivacyTreatments) Reset

func (*BidRequestExt_PrivacyTreatments) String

type BidRequestExt_PrivacyTreatments_DeviceStorageRestrictionReason

type BidRequestExt_PrivacyTreatments_DeviceStorageRestrictionReason int32

Reasons why on-device storage access could be restricted during the delivery of a winning ad.

const (
	BidRequestExt_PrivacyTreatments_DEVICE_STORAGE_RESTRICTION_UNKNOWN BidRequestExt_PrivacyTreatments_DeviceStorageRestrictionReason = 0
	// This request is subject to user consent requirements to allow for
	// device storage access for advertising use cases such as ads
	// measurement, frequency capping, or profiling, but consent was
	// insufficient or not provided.
	BidRequestExt_PrivacyTreatments_INSUFFICIENT_USER_CONSENT BidRequestExt_PrivacyTreatments_DeviceStorageRestrictionReason = 1
)

func (BidRequestExt_PrivacyTreatments_DeviceStorageRestrictionReason) Descriptor

func (BidRequestExt_PrivacyTreatments_DeviceStorageRestrictionReason) Enum

func (BidRequestExt_PrivacyTreatments_DeviceStorageRestrictionReason) EnumDescriptor deprecated

Deprecated: Use BidRequestExt_PrivacyTreatments_DeviceStorageRestrictionReason.Descriptor instead.

func (BidRequestExt_PrivacyTreatments_DeviceStorageRestrictionReason) Number

func (BidRequestExt_PrivacyTreatments_DeviceStorageRestrictionReason) String

func (BidRequestExt_PrivacyTreatments_DeviceStorageRestrictionReason) Type

func (*BidRequestExt_PrivacyTreatments_DeviceStorageRestrictionReason) UnmarshalJSON deprecated

Deprecated: Do not use.

type BidRequestExt_PrivacyTreatments_IpGeneralization

type BidRequestExt_PrivacyTreatments_IpGeneralization int32

Generalization that can be applied to an IP address field.

const (
	// The IP address field is truncated: IPv4 to /24 or IPv6 to /48.
	// The truncated octets are replaced by zeros so the field still parses
	// as a valid IP address, for example "xxx.yyy.zzz.0" for IPv4.
	BidRequestExt_PrivacyTreatments_IP_TRUNCATED BidRequestExt_PrivacyTreatments_IpGeneralization = 0
	// The IP address field is redacted.
	BidRequestExt_PrivacyTreatments_IP_REDACTED BidRequestExt_PrivacyTreatments_IpGeneralization = 2
)

func (BidRequestExt_PrivacyTreatments_IpGeneralization) Descriptor

func (BidRequestExt_PrivacyTreatments_IpGeneralization) Enum

func (BidRequestExt_PrivacyTreatments_IpGeneralization) EnumDescriptor deprecated

Deprecated: Use BidRequestExt_PrivacyTreatments_IpGeneralization.Descriptor instead.

func (BidRequestExt_PrivacyTreatments_IpGeneralization) Number

func (BidRequestExt_PrivacyTreatments_IpGeneralization) String

func (BidRequestExt_PrivacyTreatments_IpGeneralization) Type

func (*BidRequestExt_PrivacyTreatments_IpGeneralization) UnmarshalJSON deprecated

Deprecated: Do not use.

type BidRequestExt_PrivacyTreatments_NonPersonalizedAdsReason

type BidRequestExt_PrivacyTreatments_NonPersonalizedAdsReason int32

Specifies the reasons that ads returned in response to this request should not be personalized. This signal does not reflect user decisions on surfaces including iOS App Tracking Transparency (https://developer.apple.com/documentation/apptrackingtransparency) or Android advertising ID (https://support.google.com/googleplay/android-developer/answer/6048248). See BidRequest.device.lmt and BidRequest.device.ext.atts fields for more information.

const (
	BidRequestExt_PrivacyTreatments_UNKNOWN BidRequestExt_PrivacyTreatments_NonPersonalizedAdsReason = 0
	// The publisher has declared that this request should serve
	// non-personalized ads independent of other signals.
	// https://support.google.com/admanager/answer/9005435#npa
	BidRequestExt_PrivacyTreatments_PUBLISHER_DECLARED_NPA BidRequestExt_PrivacyTreatments_NonPersonalizedAdsReason = 1
	// The publisher has requested restricted data processing for this
	// request. https://support.google.com/authorizedbuyers/answer/11121285
	BidRequestExt_PrivacyTreatments_RESTRICT_DATA_PROCESSING BidRequestExt_PrivacyTreatments_NonPersonalizedAdsReason = 2
	// The user has opted out of ads personalization.
	BidRequestExt_PrivacyTreatments_USER_OPT_OUT BidRequestExt_PrivacyTreatments_NonPersonalizedAdsReason = 3
)

func (BidRequestExt_PrivacyTreatments_NonPersonalizedAdsReason) Descriptor

func (BidRequestExt_PrivacyTreatments_NonPersonalizedAdsReason) Enum

func (BidRequestExt_PrivacyTreatments_NonPersonalizedAdsReason) EnumDescriptor deprecated

Deprecated: Use BidRequestExt_PrivacyTreatments_NonPersonalizedAdsReason.Descriptor instead.

func (BidRequestExt_PrivacyTreatments_NonPersonalizedAdsReason) Number

func (BidRequestExt_PrivacyTreatments_NonPersonalizedAdsReason) String

func (BidRequestExt_PrivacyTreatments_NonPersonalizedAdsReason) Type

func (*BidRequestExt_PrivacyTreatments_NonPersonalizedAdsReason) UnmarshalJSON deprecated

Deprecated: Do not use.

type BidRequestExt_PrivacyTreatments_UserAgentGeneralization

type BidRequestExt_PrivacyTreatments_UserAgentGeneralization int32

Generalization that can be applied to the BidRequest.device.ua and BidRequest.device.sua fields.

const (
	// The BidRequest.device.ua and BidRequest.device.sua fields are provided
	// in full.
	BidRequestExt_PrivacyTreatments_USER_AGENT_FULL BidRequestExt_PrivacyTreatments_UserAgentGeneralization = 0
	// The BidRequest.device.ua and BidRequest.device.sua fields are
	// generalized, which can include limiting browser and OS version
	// information to major versions only and other changes to protect user
	// privacy.
	BidRequestExt_PrivacyTreatments_USER_AGENT_COARSE BidRequestExt_PrivacyTreatments_UserAgentGeneralization = 1
)

func (BidRequestExt_PrivacyTreatments_UserAgentGeneralization) Descriptor

func (BidRequestExt_PrivacyTreatments_UserAgentGeneralization) Enum

func (BidRequestExt_PrivacyTreatments_UserAgentGeneralization) EnumDescriptor deprecated

Deprecated: Use BidRequestExt_PrivacyTreatments_UserAgentGeneralization.Descriptor instead.

func (BidRequestExt_PrivacyTreatments_UserAgentGeneralization) Number

func (BidRequestExt_PrivacyTreatments_UserAgentGeneralization) String

func (BidRequestExt_PrivacyTreatments_UserAgentGeneralization) Type

func (*BidRequestExt_PrivacyTreatments_UserAgentGeneralization) UnmarshalJSON deprecated

Deprecated: Do not use.

type BidRequest_App

type BidRequest_App struct {

	// Application ID on the exchange.
	// Not supported by Google.
	Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// Application name (may be aliased at publisher's request). App names for
	// SDK-less requests (mostly from connected TVs) can be provided by the
	// publisher directly in the request.
	// Supported by Google.
	Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// Domain of the application. For example, "mygame.foo.com".
	// Not supported by Google.
	Domain *string `protobuf:"bytes,3,opt,name=domain" json:"domain,omitempty"`
	// The taxonomy in use for cat, sectioncat and pagecat.
	// Not supported by Google.
	Cattax *CategoryTaxonomy `protobuf:"varint,17,opt,name=cattax,enum=com.google.openrtb.CategoryTaxonomy,def=1" json:"cattax,omitempty"`
	// Array of IAB content categories of the app.
	// The taxonomy to be used is defined by the cattax field.
	// Not supported by Google.
	Cat []string `protobuf:"bytes,4,rep,name=cat" json:"cat,omitempty"`
	// Array of IAB content categories that describe the current section
	// of the app.
	// The taxonomy to be used is defined by the cattax field.
	// Not supported by Google.
	Sectioncat []string `protobuf:"bytes,5,rep,name=sectioncat" json:"sectioncat,omitempty"`
	// Array of IAB content categories that describe the current page or view
	// of the app.
	// The taxonomy to be used is defined by the cattax field.
	// Not supported by Google.
	Pagecat []string `protobuf:"bytes,6,rep,name=pagecat" json:"pagecat,omitempty"`
	// Version of the application specified in the bundle field (for example,
	// "2.0.1").
	// Supported by Google.
	Ver *string `protobuf:"bytes,7,opt,name=ver" json:"ver,omitempty"`
	// A platform-specific application identifier intended to be
	// unique to the app and independent of the exchange. On Android,
	// this should be a bundle or package name (for example, com.foo.mygame).
	// On iOS, it is a numeric ID. For SDK-less requests (mostly from connected
	// TVs), it can be provided by the publisher directly in the request.
	// Supported by Google.
	Bundle *string `protobuf:"bytes,8,opt,name=bundle" json:"bundle,omitempty"`
	// Indicates if the app has a privacy policy.
	// Not supported by Google.
	Privacypolicy *bool `protobuf:"varint,9,opt,name=privacypolicy" json:"privacypolicy,omitempty"`
	// false = app is free, true = the app is a paid version.
	// Not supported by Google.
	Paid *bool `protobuf:"varint,10,opt,name=paid" json:"paid,omitempty"`
	// Details about the Publisher (Section 3.2.8) of the app.
	// Supported by Google.
	Publisher *BidRequest_Publisher `protobuf:"bytes,11,opt,name=publisher" json:"publisher,omitempty"`
	// Details about the Content (Section 3.2.9) within the app.
	// Supported by Google.
	Content *BidRequest_Content `protobuf:"bytes,12,opt,name=content" json:"content,omitempty"`
	// Comma separated list of keywords about the app.
	// Not supported by Google.
	Keywords *string `protobuf:"bytes,13,opt,name=keywords" json:"keywords,omitempty"`
	// App store URL for an installed app; for QAG 1.5 compliance.
	// Supported by Google.
	Storeurl *string `protobuf:"bytes,16,opt,name=storeurl" json:"storeurl,omitempty"`
	// contains filtered or unexported fields
}

OpenRTB 2.0: This object should be included if the ad supported content is a non-browser application (typically in mobile) as opposed to a website. A bid request must not contain both an App and a Site object. At a minimum, it is useful to provide an App ID or bundle, but this is not strictly required.

func (*BidRequest_App) Descriptor deprecated

func (*BidRequest_App) Descriptor() ([]byte, []int)

Deprecated: Use BidRequest_App.ProtoReflect.Descriptor instead.

func (*BidRequest_App) GetBundle

func (x *BidRequest_App) GetBundle() string

func (*BidRequest_App) GetCat

func (x *BidRequest_App) GetCat() []string

func (*BidRequest_App) GetCattax

func (x *BidRequest_App) GetCattax() CategoryTaxonomy

func (*BidRequest_App) GetContent

func (x *BidRequest_App) GetContent() *BidRequest_Content

func (*BidRequest_App) GetDomain

func (x *BidRequest_App) GetDomain() string

func (*BidRequest_App) GetId

func (x *BidRequest_App) GetId() string

func (*BidRequest_App) GetKeywords

func (x *BidRequest_App) GetKeywords() string

func (*BidRequest_App) GetName

func (x *BidRequest_App) GetName() string

func (*BidRequest_App) GetPagecat

func (x *BidRequest_App) GetPagecat() []string

func (*BidRequest_App) GetPaid

func (x *BidRequest_App) GetPaid() bool

func (*BidRequest_App) GetPrivacypolicy

func (x *BidRequest_App) GetPrivacypolicy() bool

func (*BidRequest_App) GetPublisher

func (x *BidRequest_App) GetPublisher() *BidRequest_Publisher

func (*BidRequest_App) GetSectioncat

func (x *BidRequest_App) GetSectioncat() []string

func (*BidRequest_App) GetStoreurl

func (x *BidRequest_App) GetStoreurl() string

func (*BidRequest_App) GetVer

func (x *BidRequest_App) GetVer() string

func (*BidRequest_App) ProtoMessage

func (*BidRequest_App) ProtoMessage()

func (*BidRequest_App) ProtoReflect

func (x *BidRequest_App) ProtoReflect() protoreflect.Message

func (*BidRequest_App) Reset

func (x *BidRequest_App) Reset()

func (*BidRequest_App) String

func (x *BidRequest_App) String() string

type BidRequest_App_

type BidRequest_App_ struct {
	// Information about the publisher's app
	// (non-browser applications). Only applicable and recommended for apps.
	// Supported by Google.
	App *BidRequest_App `protobuf:"bytes,4,opt,name=app,oneof"`
}

type BidRequest_Content

type BidRequest_Content struct {

	// ID uniquely identifying the content.
	// Not supported by Google.
	Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// Content episode number (typically applies to video content).
	// Not supported by Google.
	Episode *int32 `protobuf:"varint,2,opt,name=episode" json:"episode,omitempty"`
	// Content title.
	// Video Examples: "Search Committee" (television), "A New Hope" (movie),
	// or "Endgame" (made for web).
	// Non-Video Example: "Why an Antarctic Glacier Is Melting So Quickly"
	// (Time magazine article).
	// Not supported by Google.
	Title *string `protobuf:"bytes,3,opt,name=title" json:"title,omitempty"`
	// Content series.
	// Video Examples: "The Office" (television), "Star Wars" (movie),
	// or "Arby 'N' The Chief" (made for web).
	// Non-Video Example: "Ecocentric" (Time Magazine blog).
	// Not supported by Google.
	Series *string `protobuf:"bytes,4,opt,name=series" json:"series,omitempty"`
	// Content season; typically for video content (for example, "Season 3").
	// Not supported by Google.
	Season *string `protobuf:"bytes,5,opt,name=season" json:"season,omitempty"`
	// Artist credited with the content.
	// Not supported by Google.
	Artist *string `protobuf:"bytes,21,opt,name=artist" json:"artist,omitempty"`
	// Genre that best describes the content (for example, rock, pop, etc).
	// Not supported by Google.
	Genre *string `protobuf:"bytes,22,opt,name=genre" json:"genre,omitempty"`
	// Album to which the content belongs; typically for audio.
	// Not supported by Google.
	Album *string `protobuf:"bytes,23,opt,name=album" json:"album,omitempty"`
	// International Standard Recording Code conforming to ISO-3901.
	// Not supported by Google.
	Isrc *string `protobuf:"bytes,24,opt,name=isrc" json:"isrc,omitempty"`
	// Details about the content Producer (Section 3.2.10).
	// Supported by Google.
	Producer *BidRequest_Content_Producer `protobuf:"bytes,15,opt,name=producer" json:"producer,omitempty"`
	// URL of the content, for buy-side contextualization or review.
	// Supported by Google.
	Url *string `protobuf:"bytes,6,opt,name=url" json:"url,omitempty"`
	// The taxonomy in use for cat.
	// Not supported by Google.
	Cattax *CategoryTaxonomy `protobuf:"varint,27,opt,name=cattax,enum=com.google.openrtb.CategoryTaxonomy,def=1" json:"cattax,omitempty"`
	// Array of IAB content categories that describe the content.
	// The taxonomy to be used is defined by the cattax field.
	// Not supported by Google.
	Cat []string `protobuf:"bytes,7,rep,name=cat" json:"cat,omitempty"`
	// Production quality.
	// Supported by Google.
	Prodq *ProductionQuality `protobuf:"varint,25,opt,name=prodq,enum=com.google.openrtb.ProductionQuality" json:"prodq,omitempty"`
	// Type of content (for example, game, video or text).
	// Not supported by Google.
	Context *ContentContext `protobuf:"varint,20,opt,name=context,enum=com.google.openrtb.ContentContext" json:"context,omitempty"`
	// Content rating.
	// Possible values: "DV-G", "DV-PG", "DV-T", "DV-MA".
	// Supported by Google.
	Contentrating *string `protobuf:"bytes,10,opt,name=contentrating" json:"contentrating,omitempty"`
	// User rating of the content (for example, number of stars or likes).
	// Supported by Google.
	Userrating *string `protobuf:"bytes,11,opt,name=userrating" json:"userrating,omitempty"`
	// Media rating per QAG guidelines.
	// Not supported by Google.
	Qagmediarating *QAGMediaRating `protobuf:"varint,17,opt,name=qagmediarating,enum=com.google.openrtb.QAGMediaRating" json:"qagmediarating,omitempty"`
	// Comma separated list of keywords describing the content.
	// Not supported by Google.
	Keywords *string `protobuf:"bytes,9,opt,name=keywords" json:"keywords,omitempty"`
	// false = not live, true = content is live (for example, stream, live
	// blog).
	// Supported by Google.
	Livestream *bool `protobuf:"varint,13,opt,name=livestream" json:"livestream,omitempty"`
	// false = indirect, true = direct.
	// Not supported by Google.
	Sourcerelationship *bool `protobuf:"varint,14,opt,name=sourcerelationship" json:"sourcerelationship,omitempty"`
	// Length of content in seconds; appropriate for video or audio.
	// Supported by Google.
	Len *int32 `protobuf:"varint,16,opt,name=len" json:"len,omitempty"`
	// Content language using ISO-639-1-alpha-2.
	// Only one of language or langb should be present.
	// Supported by Google.
	Language *string `protobuf:"bytes,19,opt,name=language" json:"language,omitempty"`
	// Content language using IETF BCP 47.
	// Only one of language or langb should be present.
	// Not supported by Google.
	Langb *string `protobuf:"bytes,29,opt,name=langb" json:"langb,omitempty"`
	// Indicator of whether or not the content is embeddable (for example, an
	// embeddable video player).
	// Not supported by Google.
	Embeddable *bool `protobuf:"varint,18,opt,name=embeddable" json:"embeddable,omitempty"`
	// Additional content data. Each object represents a different data source.
	// Supported by Google. Used for Publisher Provided Signals:
	// https://support.google.com/admanager/answer/12451124
	Data []*BidRequest_Data `protobuf:"bytes,28,rep,name=data" json:"data,omitempty"`
	// Details about the network the content is on.
	// Not supported by Google.
	Network *BidRequest_Content_Network `protobuf:"bytes,30,opt,name=network" json:"network,omitempty"`
	// Details about the channel the content is on.
	// Not supported by Google.
	Channel *BidRequest_Content_Channel `protobuf:"bytes,31,opt,name=channel" json:"channel,omitempty"`
	// DEPRECATED in OpenRTB 2.4+. Prefer the field <code>prodq</code>.
	// Video quality per IAB's classification.
	// Not supported by Google.
	//
	// Deprecated: Marked as deprecated in openrtb.proto.
	Videoquality *ProductionQuality `protobuf:"varint,8,opt,name=videoquality,enum=com.google.openrtb.ProductionQuality" json:"videoquality,omitempty"`
	// contains filtered or unexported fields
}

OpenRTB 2.0: This object describes the content in which the impression will appear, which may be syndicated or non-syndicated content. This object may be useful when syndicated content contains impressions and does not necessarily match the publisher's general content. The exchange might or might not have knowledge of the page where the content is running, as a result of the syndication method. For example might be a video impression embedded in an iframe on an unknown web property or device.

func (*BidRequest_Content) Descriptor deprecated

func (*BidRequest_Content) Descriptor() ([]byte, []int)

Deprecated: Use BidRequest_Content.ProtoReflect.Descriptor instead.

func (*BidRequest_Content) GetAlbum

func (x *BidRequest_Content) GetAlbum() string

func (*BidRequest_Content) GetArtist

func (x *BidRequest_Content) GetArtist() string

func (*BidRequest_Content) GetCat

func (x *BidRequest_Content) GetCat() []string

func (*BidRequest_Content) GetCattax

func (x *BidRequest_Content) GetCattax() CategoryTaxonomy

func (*BidRequest_Content) GetChannel

func (*BidRequest_Content) GetContentrating

func (x *BidRequest_Content) GetContentrating() string

func (*BidRequest_Content) GetContext

func (x *BidRequest_Content) GetContext() ContentContext

func (*BidRequest_Content) GetData

func (x *BidRequest_Content) GetData() []*BidRequest_Data

func (*BidRequest_Content) GetEmbeddable

func (x *BidRequest_Content) GetEmbeddable() bool

func (*BidRequest_Content) GetEpisode

func (x *BidRequest_Content) GetEpisode() int32

func (*BidRequest_Content) GetGenre

func (x *BidRequest_Content) GetGenre() string

func (*BidRequest_Content) GetId

func (x *BidRequest_Content) GetId() string

func (*BidRequest_Content) GetIsrc

func (x *BidRequest_Content) GetIsrc() string

func (*BidRequest_Content) GetKeywords

func (x *BidRequest_Content) GetKeywords() string

func (*BidRequest_Content) GetLangb

func (x *BidRequest_Content) GetLangb() string

func (*BidRequest_Content) GetLanguage

func (x *BidRequest_Content) GetLanguage() string

func (*BidRequest_Content) GetLen

func (x *BidRequest_Content) GetLen() int32

func (*BidRequest_Content) GetLivestream

func (x *BidRequest_Content) GetLivestream() bool

func (*BidRequest_Content) GetNetwork

func (*BidRequest_Content) GetProdq

func (x *BidRequest_Content) GetProdq() ProductionQuality

func (*BidRequest_Content) GetProducer

func (*BidRequest_Content) GetQagmediarating

func (x *BidRequest_Content) GetQagmediarating() QAGMediaRating

func (*BidRequest_Content) GetSeason

func (x *BidRequest_Content) GetSeason() string

func (*BidRequest_Content) GetSeries

func (x *BidRequest_Content) GetSeries() string

func (*BidRequest_Content) GetSourcerelationship

func (x *BidRequest_Content) GetSourcerelationship() bool

func (*BidRequest_Content) GetTitle

func (x *BidRequest_Content) GetTitle() string

func (*BidRequest_Content) GetUrl

func (x *BidRequest_Content) GetUrl() string

func (*BidRequest_Content) GetUserrating

func (x *BidRequest_Content) GetUserrating() string

func (*BidRequest_Content) GetVideoquality deprecated

func (x *BidRequest_Content) GetVideoquality() ProductionQuality

Deprecated: Marked as deprecated in openrtb.proto.

func (*BidRequest_Content) ProtoMessage

func (*BidRequest_Content) ProtoMessage()

func (*BidRequest_Content) ProtoReflect

func (x *BidRequest_Content) ProtoReflect() protoreflect.Message

func (*BidRequest_Content) Reset

func (x *BidRequest_Content) Reset()

func (*BidRequest_Content) String

func (x *BidRequest_Content) String() string

type BidRequest_Content_Channel

type BidRequest_Content_Channel struct {

	// A unique identifier assigned by the publisher, for example "ch-456".
	// This may not be a unique identifier across all supply sources.
	// Not supported by Google.
	Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// Channel the content is on (e.g., a local channel like "WABC-TV").
	// Not supported by Google.
	Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// The primary domain of the channel (e.g. "abc7ny.com" in the
	// case of the local channel WABC-TV). It is recommended to
	// include the top private domain (PSL+1) for DSP targeting
	// normalization purposes.
	// Not supported by Google.
	Domain *string `protobuf:"bytes,3,opt,name=domain" json:"domain,omitempty"`
	// contains filtered or unexported fields
}

This object describes the channel an ad will be displayed on. A Channel is defined as the entity that curates a content library, or stream within a brand name for viewers. Examples are specific view selectable 'channels' within linear and streaming television (MTV, HGTV, CNN, BBC One, etc) or a specific stream of audio content commonly called 'stations.' Name is a human-readable field while domain and id can be used for reporting and targeting purposes.

func (*BidRequest_Content_Channel) Descriptor deprecated

func (*BidRequest_Content_Channel) Descriptor() ([]byte, []int)

Deprecated: Use BidRequest_Content_Channel.ProtoReflect.Descriptor instead.

func (*BidRequest_Content_Channel) GetDomain

func (x *BidRequest_Content_Channel) GetDomain() string

func (*BidRequest_Content_Channel) GetId

func (*BidRequest_Content_Channel) GetName

func (x *BidRequest_Content_Channel) GetName() string

func (*BidRequest_Content_Channel) ProtoMessage

func (*BidRequest_Content_Channel) ProtoMessage()

func (*BidRequest_Content_Channel) ProtoReflect

func (*BidRequest_Content_Channel) Reset

func (x *BidRequest_Content_Channel) Reset()

func (*BidRequest_Content_Channel) String

func (x *BidRequest_Content_Channel) String() string

type BidRequest_Content_Network

type BidRequest_Content_Network struct {

	// A unique identifier assigned by the publisher, for example "net-123".
	// This may not be a unique identifier across all supply sources.
	// Not supported by Google.
	Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// Network the content is on (e.g., a TV network like "ABC").
	// Not supported by Google.
	Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// The primary domain of the network (e.g. "abc.com" in the case
	// of the network ABC). It is recommended to include the top
	// private domain (PSL+1) for DSP targeting normalization purposes.
	// Not supported by Google.
	Domain *string `protobuf:"bytes,3,opt,name=domain" json:"domain,omitempty"`
	// contains filtered or unexported fields
}

This object describes the network an ad will be displayed on. A Network is defined as the parent entity of the Channel object's entity for the purposes of organizing Channels. Examples are companies that own and/or license a collection of content channels (Viacom, Discovery, CBS, WarnerMedia, Turner and others), or studio that creates such content and self-distributes content. Name is a human-readable field while domain and id can be used for reporting and targeting purposes.

func (*BidRequest_Content_Network) Descriptor deprecated

func (*BidRequest_Content_Network) Descriptor() ([]byte, []int)

Deprecated: Use BidRequest_Content_Network.ProtoReflect.Descriptor instead.

func (*BidRequest_Content_Network) GetDomain

func (x *BidRequest_Content_Network) GetDomain() string

func (*BidRequest_Content_Network) GetId

func (*BidRequest_Content_Network) GetName

func (x *BidRequest_Content_Network) GetName() string

func (*BidRequest_Content_Network) ProtoMessage

func (*BidRequest_Content_Network) ProtoMessage()

func (*BidRequest_Content_Network) ProtoReflect

func (*BidRequest_Content_Network) Reset

func (x *BidRequest_Content_Network) Reset()

func (*BidRequest_Content_Network) String

func (x *BidRequest_Content_Network) String() string

type BidRequest_Content_Producer

type BidRequest_Content_Producer struct {

	// Content producer or originator ID. Useful if content is syndicated,
	// and may be posted on a site using embed tags.
	// Not supported by Google.
	Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// Content producer or originator name (for example, "Warner Bros").
	// Not supported by Google.
	Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// The taxonomy in use for cat.
	// Not supported by Google.
	Cattax *CategoryTaxonomy `protobuf:"varint,5,opt,name=cattax,enum=com.google.openrtb.CategoryTaxonomy,def=1" json:"cattax,omitempty"`
	// Array of IAB content categories that describe the content producer.
	// The taxonomy to be used is defined by the cattax field.
	// Not supported by Google.
	Cat []string `protobuf:"bytes,3,rep,name=cat" json:"cat,omitempty"`
	// Highest level domain of the content producer (for example,
	// "producer.com").
	// Supported by Google.
	Domain *string `protobuf:"bytes,4,opt,name=domain" json:"domain,omitempty"`
	// contains filtered or unexported fields
}

OpenRTB 2.0: This object defines the producer of the content in which the ad will be shown. This is particularly useful when the content is syndicated and may be distributed through different publishers and thus when the producer and publisher are not necessarily the same entity.

func (*BidRequest_Content_Producer) Descriptor deprecated

func (*BidRequest_Content_Producer) Descriptor() ([]byte, []int)

Deprecated: Use BidRequest_Content_Producer.ProtoReflect.Descriptor instead.

func (*BidRequest_Content_Producer) GetCat

func (x *BidRequest_Content_Producer) GetCat() []string

func (*BidRequest_Content_Producer) GetCattax

func (*BidRequest_Content_Producer) GetDomain

func (x *BidRequest_Content_Producer) GetDomain() string

func (*BidRequest_Content_Producer) GetId

func (*BidRequest_Content_Producer) GetName

func (x *BidRequest_Content_Producer) GetName() string

func (*BidRequest_Content_Producer) ProtoMessage

func (*BidRequest_Content_Producer) ProtoMessage()

func (*BidRequest_Content_Producer) ProtoReflect

func (*BidRequest_Content_Producer) Reset

func (x *BidRequest_Content_Producer) Reset()

func (*BidRequest_Content_Producer) String

func (x *BidRequest_Content_Producer) String() string

type BidRequest_Data

type BidRequest_Data struct {

	// The Google assigned ID of the data provider. Only set for Data segments
	// from Publisher Provided Signals. For the list of data providers, see
	// https://storage.googleapis.com/adx-rtb-dictionaries/data_providers.txt.
	// Supported by Google.
	Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// Exchange-specific name for the data provider.
	// Not supported by Google.
	Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// Array of Segment (Section 3.2.15) objects that contain the actual
	// data values.
	// Supported by Google.
	Segment []*BidRequest_Data_Segment `protobuf:"bytes,3,rep,name=segment" json:"segment,omitempty"`
	// contains filtered or unexported fields
}

OpenRTB 2.0: The data and segment objects together allow additional data about the user to be specified. This data may be from multiple sources whether from the exchange itself or third party providers as specified by the id field. A bid request can mix data objects from multiple providers or can have multiple data objects. The specific data providers in use should be published by the exchange a priori to its bidders.

Google: This is used to send Publisher Provided Signals and Topics to bidders.

func (*BidRequest_Data) Descriptor deprecated

func (*BidRequest_Data) Descriptor() ([]byte, []int)

Deprecated: Use BidRequest_Data.ProtoReflect.Descriptor instead.

func (*BidRequest_Data) GetId

func (x *BidRequest_Data) GetId() string

func (*BidRequest_Data) GetName

func (x *BidRequest_Data) GetName() string

func (*BidRequest_Data) GetSegment

func (x *BidRequest_Data) GetSegment() []*BidRequest_Data_Segment

func (*BidRequest_Data) ProtoMessage

func (*BidRequest_Data) ProtoMessage()

func (*BidRequest_Data) ProtoReflect

func (x *BidRequest_Data) ProtoReflect() protoreflect.Message

func (*BidRequest_Data) Reset

func (x *BidRequest_Data) Reset()

func (*BidRequest_Data) String

func (x *BidRequest_Data) String() string

type BidRequest_Data_Segment

type BidRequest_Data_Segment struct {

	// ID of the data segment specific to the data provider.
	// Supported by Google.
	Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// Name of the data segment specific to the data provider.
	// Not supported by Google.
	Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// String representation of the data segment value.
	// Not supported by Google.
	Value *string `protobuf:"bytes,3,opt,name=value" json:"value,omitempty"`
	// contains filtered or unexported fields
}

OpenRTB 2.0: Segment objects are essentially key-value pairs that convey specific units of data about the user. The parent Data object is a collection of such values from a given data provider. The specific segment names and value options must be published by the exchange a priori to its bidders.

func (*BidRequest_Data_Segment) Descriptor deprecated

func (*BidRequest_Data_Segment) Descriptor() ([]byte, []int)

Deprecated: Use BidRequest_Data_Segment.ProtoReflect.Descriptor instead.

func (*BidRequest_Data_Segment) GetId

func (x *BidRequest_Data_Segment) GetId() string

func (*BidRequest_Data_Segment) GetName

func (x *BidRequest_Data_Segment) GetName() string

func (*BidRequest_Data_Segment) GetValue

func (x *BidRequest_Data_Segment) GetValue() string

func (*BidRequest_Data_Segment) ProtoMessage

func (*BidRequest_Data_Segment) ProtoMessage()

func (*BidRequest_Data_Segment) ProtoReflect

func (x *BidRequest_Data_Segment) ProtoReflect() protoreflect.Message

func (*BidRequest_Data_Segment) Reset

func (x *BidRequest_Data_Segment) Reset()

func (*BidRequest_Data_Segment) String

func (x *BidRequest_Data_Segment) String() string

type BidRequest_Device

type BidRequest_Device struct {

	// Location of the device assumed to be the user's current location defined
	// by a Geo object (Section 3.2.12).
	// Supported by Google.
	Geo *BidRequest_Geo `protobuf:"bytes,4,opt,name=geo" json:"geo,omitempty"`
	// Standard "Do Not Track" option as set in the header by the browser,
	// where false = tracking is unrestricted, true = do not track.
	// Not supported by Google.
	Dnt *bool `protobuf:"varint,1,opt,name=dnt" json:"dnt,omitempty"`
	// "Limit Ad Tracking" is a commercially endorsed signal based on the
	// operating system or device settings, where `false` indicates that
	// tracking is unrestricted and `true` indicates that tracking must be
	// limited per commercial guidelines.
	//
	// This signal reflects user decisions on surfaces including iOS App
	// Tracking Transparency:
	// https://developer.apple.com/documentation/apptrackingtransparency
	// See also lmt and App Tracking Transparency guidance:
	// https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/extensions/community_extensions/skadnetwork.md#dnt-lmt-and-app-tracking-transparency-guidance
	// and Android advertising ID:
	// https://support.google.com/googleplay/android-developer/answer/6048248
	//
	// Supported by Google.
	Lmt *bool `protobuf:"varint,23,opt,name=lmt" json:"lmt,omitempty"`
	// Browser user agent string. Certain data may be redacted or replaced.
	// Supported by Google.
	Ua *string `protobuf:"bytes,2,opt,name=ua" json:"ua,omitempty"`
	// Structured user agent information. If both Device.ua and Device.sua are
	// present in the bid request, Device.sua should be considered the more
	// accurate representation of the device attributes. This is because
	// Device.ua may contain a frozen or reduced user agent string.
	// Supported by Google.
	Sua *BidRequest_Device_UserAgent `protobuf:"bytes,31,opt,name=sua" json:"sua,omitempty"`
	// IPv4 address closest to device.
	// Supported by Google. Truncated to the first 3 octets: "X.X.X.0".
	Ip *string `protobuf:"bytes,3,opt,name=ip" json:"ip,omitempty"`
	// IPv6 address closest to device.
	// Supported by Google. Truncated to the first 6 octets: "X:X:X:::::".
	Ipv6 *string `protobuf:"bytes,9,opt,name=ipv6" json:"ipv6,omitempty"`
	// The general type of device.
	// Supported by Google.
	Devicetype *DeviceType `protobuf:"varint,18,opt,name=devicetype,enum=com.google.openrtb.DeviceType" json:"devicetype,omitempty"`
	// Device make (for example, "Apple" or "Samsung").
	// Supported by Google.
	Make *string `protobuf:"bytes,12,opt,name=make" json:"make,omitempty"`
	// Device model (for example, "pixel 7 pro"). For iPhone/iPad, this
	// field contains Apple's model identifier string (such as "iPhone12,1" and
	// "iPad13,8") if available. Otherwise this field contains the generic model
	// (either "iphone" or "ipad").
	// Supported by Google.
	Model *string `protobuf:"bytes,13,opt,name=model" json:"model,omitempty"`
	// Device operating system (for example, "iOS").
	// Supported by Google.
	Os *string `protobuf:"bytes,14,opt,name=os" json:"os,omitempty"`
	// Device operating system version (for example, "3.1.2").
	// Supported by Google.
	Osv *string `protobuf:"bytes,15,opt,name=osv" json:"osv,omitempty"`
	// Hardware version of the device. For iPhone/iPad, this field contains
	// Apple's model identifier string (such as "iPhone12,1" and "iPad13,8") if
	// available.
	// Supported by Google.
	Hwv *string `protobuf:"bytes,24,opt,name=hwv" json:"hwv,omitempty"`
	// Physical width of the screen in pixels.
	// Supported by Google.
	W *int32 `protobuf:"varint,25,opt,name=w" json:"w,omitempty"`
	// Physical height of the screen in pixels.
	// Supported by Google.
	H *int32 `protobuf:"varint,26,opt,name=h" json:"h,omitempty"`
	// Screen size as pixels per linear inch.
	// Not supported by Google.
	Ppi *int32 `protobuf:"varint,27,opt,name=ppi" json:"ppi,omitempty"`
	// The ratio of physical pixels to device independent pixels.
	// Supported by Google.
	Pxratio *float64 `protobuf:"fixed64,28,opt,name=pxratio" json:"pxratio,omitempty"`
	// Support for JavaScript.
	// Not supported by Google.
	Js *bool `protobuf:"varint,16,opt,name=js" json:"js,omitempty"`
	// Indicates if the geolocation API will be available to JavaScript
	// code running in the banner.
	// Not supported by Google.
	Geofetch *bool `protobuf:"varint,29,opt,name=geofetch" json:"geofetch,omitempty"`
	// Version of Flash supported by the browser.
	// Not supported by Google.
	Flashver *string `protobuf:"bytes,19,opt,name=flashver" json:"flashver,omitempty"`
	// Browser language using ISO-639-1-alpha-2.
	// Only one of language or langb should be present.
	// Not supported by Google.
	Language *string `protobuf:"bytes,11,opt,name=language" json:"language,omitempty"`
	// Browser language using IETF BCP 47.
	// Only one of language or langb should be present.
	// Not supported by Google.
	Langb *string `protobuf:"bytes,32,opt,name=langb" json:"langb,omitempty"`
	// Carrier or ISP (for example, "VERIZON") using exchange curated string
	// names which should be published to bidders a priori.
	// Supported by Google.
	Carrier *string `protobuf:"bytes,10,opt,name=carrier" json:"carrier,omitempty"`
	// Mobile carrier as the concatenated MCC-MNC code (for example,
	// "310-005" identifies Verizon Wireless CDMA in the USA).
	// Refer to https://en.wikipedia.org/wiki/Mobile_country_code
	// for further examples. Note that the dash between the MCC
	// and MNC parts is required to remove parsing ambiguity.
	// The MCC-MNC values represent the SIM installed on the device and
	// do not change when a device is roaming. Roaming may be inferred by
	// a combination of the MCC-MNC, geo, IP and other data signals.
	// Not supported by Google.
	Mccmnc *string `protobuf:"bytes,30,opt,name=mccmnc" json:"mccmnc,omitempty"`
	// Network connection type.
	//
	// Google: For 5G connection type, we send CELL_4G instead of CELL_5G.
	// Supported by Google.
	Connectiontype *ConnectionType `protobuf:"varint,17,opt,name=connectiontype,enum=com.google.openrtb.ConnectionType" json:"connectiontype,omitempty"`
	// ID sanctioned for advertiser use in the clear (meaning, not hashed).
	// Supported by Google.
	Ifa *string `protobuf:"bytes,20,opt,name=ifa" json:"ifa,omitempty"`
	// DEPRECATED in OpenRTB 2.6+. No replacement.
	// Hardware device ID (for example, IMEI); hashed through SHA1.
	// Not supported by Google.
	//
	// Deprecated: Marked as deprecated in openrtb.proto.
	Didsha1 *string `protobuf:"bytes,5,opt,name=didsha1" json:"didsha1,omitempty"`
	// DEPRECATED in OpenRTB 2.6+. No replacement.
	// Hardware device ID (for example, IMEI); hashed through MD5.
	// Not supported by Google.
	//
	// Deprecated: Marked as deprecated in openrtb.proto.
	Didmd5 *string `protobuf:"bytes,6,opt,name=didmd5" json:"didmd5,omitempty"`
	// DEPRECATED in OpenRTB 2.6+. No replacement.
	// Platform device ID (for example, Android ID); hashed through SHA1.
	// Not supported by Google.
	//
	// Deprecated: Marked as deprecated in openrtb.proto.
	Dpidsha1 *string `protobuf:"bytes,7,opt,name=dpidsha1" json:"dpidsha1,omitempty"`
	// DEPRECATED in OpenRTB 2.6+. No replacement.
	// Platform device ID (for example, Android ID); hashed through MD5.
	// Supported by Google.
	//
	// Deprecated: Marked as deprecated in openrtb.proto.
	Dpidmd5 *string `protobuf:"bytes,8,opt,name=dpidmd5" json:"dpidmd5,omitempty"`
	// DEPRECATED in OpenRTB 2.6+. No replacement.
	// MAC address of the device; hashed through SHA1.
	// Not supported by Google.
	//
	// Deprecated: Marked as deprecated in openrtb.proto.
	Macsha1 *string `protobuf:"bytes,21,opt,name=macsha1" json:"macsha1,omitempty"`
	// DEPRECATED in OpenRTB 2.6+. No replacement.
	// MAC address of the device; hashed through MD5.
	// Not supported by Google.
	//
	// Deprecated: Marked as deprecated in openrtb.proto.
	Macmd5 *string `protobuf:"bytes,22,opt,name=macmd5" json:"macmd5,omitempty"`
	// contains filtered or unexported fields
}

OpenRTB 2.0: This object provides information pertaining to the device through which the user is interacting. Device information includes its hardware, platform, location, and carrier data. The device can refer to a mobile handset, a desktop computer, set top box, or other digital device.

func (*BidRequest_Device) Descriptor deprecated

func (*BidRequest_Device) Descriptor() ([]byte, []int)

Deprecated: Use BidRequest_Device.ProtoReflect.Descriptor instead.

func (*BidRequest_Device) GetCarrier

func (x *BidRequest_Device) GetCarrier() string

func (*BidRequest_Device) GetConnectiontype

func (x *BidRequest_Device) GetConnectiontype() ConnectionType

func (*BidRequest_Device) GetDevicetype

func (x *BidRequest_Device) GetDevicetype() DeviceType

func (*BidRequest_Device) GetDidmd5 deprecated

func (x *BidRequest_Device) GetDidmd5() string

Deprecated: Marked as deprecated in openrtb.proto.

func (*BidRequest_Device) GetDidsha1 deprecated

func (x *BidRequest_Device) GetDidsha1() string

Deprecated: Marked as deprecated in openrtb.proto.

func (*BidRequest_Device) GetDnt

func (x *BidRequest_Device) GetDnt() bool

func (*BidRequest_Device) GetDpidmd5 deprecated

func (x *BidRequest_Device) GetDpidmd5() string

Deprecated: Marked as deprecated in openrtb.proto.

func (*BidRequest_Device) GetDpidsha1 deprecated

func (x *BidRequest_Device) GetDpidsha1() string

Deprecated: Marked as deprecated in openrtb.proto.

func (*BidRequest_Device) GetFlashver

func (x *BidRequest_Device) GetFlashver() string

func (*BidRequest_Device) GetGeo

func (x *BidRequest_Device) GetGeo() *BidRequest_Geo

func (*BidRequest_Device) GetGeofetch

func (x *BidRequest_Device) GetGeofetch() bool

func (*BidRequest_Device) GetH

func (x *BidRequest_Device) GetH() int32

func (*BidRequest_Device) GetHwv

func (x *BidRequest_Device) GetHwv() string

func (*BidRequest_Device) GetIfa

func (x *BidRequest_Device) GetIfa() string

func (*BidRequest_Device) GetIp

func (x *BidRequest_Device) GetIp() string

func (*BidRequest_Device) GetIpv6

func (x *BidRequest_Device) GetIpv6() string

func (*BidRequest_Device) GetJs

func (x *BidRequest_Device) GetJs() bool

func (*BidRequest_Device) GetLangb

func (x *BidRequest_Device) GetLangb() string

func (*BidRequest_Device) GetLanguage

func (x *BidRequest_Device) GetLanguage() string

func (*BidRequest_Device) GetLmt

func (x *BidRequest_Device) GetLmt() bool

func (*BidRequest_Device) GetMacmd5 deprecated

func (x *BidRequest_Device) GetMacmd5() string

Deprecated: Marked as deprecated in openrtb.proto.

func (*BidRequest_Device) GetMacsha1 deprecated

func (x *BidRequest_Device) GetMacsha1() string

Deprecated: Marked as deprecated in openrtb.proto.

func (*BidRequest_Device) GetMake

func (x *BidRequest_Device) GetMake() string

func (*BidRequest_Device) GetMccmnc

func (x *BidRequest_Device) GetMccmnc() string

func (*BidRequest_Device) GetModel

func (x *BidRequest_Device) GetModel() string

func (*BidRequest_Device) GetOs

func (x *BidRequest_Device) GetOs() string

func (*BidRequest_Device) GetOsv

func (x *BidRequest_Device) GetOsv() string

func (*BidRequest_Device) GetPpi

func (x *BidRequest_Device) GetPpi() int32

func (*BidRequest_Device) GetPxratio

func (x *BidRequest_Device) GetPxratio() float64

func (*BidRequest_Device) GetSua

func (*BidRequest_Device) GetUa

func (x *BidRequest_Device) GetUa() string

func (*BidRequest_Device) GetW

func (x *BidRequest_Device) GetW() int32

func (*BidRequest_Device) ProtoMessage

func (*BidRequest_Device) ProtoMessage()

func (*BidRequest_Device) ProtoReflect

func (x *BidRequest_Device) ProtoReflect() protoreflect.Message

func (*BidRequest_Device) Reset

func (x *BidRequest_Device) Reset()

func (*BidRequest_Device) String

func (x *BidRequest_Device) String() string

type BidRequest_Device_UserAgent

type BidRequest_Device_UserAgent struct {

	// Each BrandVersion object identifies a browser or similar software
	// component. Exchanges should send brands and versions derived from
	// the Sec-CH-UA-Full-Version-List header.
	// Not supported by Google.
	Browsers []*BidRequest_Device_UserAgent_BrandVersion `protobuf:"bytes,1,rep,name=browsers" json:"browsers,omitempty"`
	// Identifies the user agent's execution platform / OS. Exchanges should
	// send a brand derived from the Sec-CH-UA-Platform header, and version
	// derived from the Sec-CH-UAPlatform-Version header.
	// Not supported by Google.
	Platform *BidRequest_Device_UserAgent_BrandVersion `protobuf:"bytes,2,opt,name=platform" json:"platform,omitempty"`
	// true if the agent prefers a "mobile" version of the content if
	// available, meaning optimized for small screens or touch input. false if
	// the agent prefers the "desktop" or "full" content. Exchanges should
	// derive this value from the Sec-CH-UAMobile header.
	// Not supported by Google.
	Mobile *bool `protobuf:"varint,3,opt,name=mobile" json:"mobile,omitempty"`
	// Device's major binary architecture, for example, "x86" or "arm".
	// Exchanges should retrieve this value from the Sec-CH-UA-Arch header.
	// Not supported by Google.
	Architecture *string `protobuf:"bytes,4,opt,name=architecture" json:"architecture,omitempty"`
	// Device's bitness, for example, "64" for 64-bit architecture. Exchanges
	// should retrieve this value from the Sec-CH-UA-Bitness header.
	// Not supported by Google.
	Bitness *string `protobuf:"bytes,5,opt,name=bitness" json:"bitness,omitempty"`
	// Device model. Exchanges should retrieve this value from the
	// Sec-CH-UAModel header.
	// Not supported by Google.
	Model *string `protobuf:"bytes,6,opt,name=model" json:"model,omitempty"`
	// The source of data for the User Agent information.
	// Supported by Google.
	Source *UserAgentSource `protobuf:"varint,7,opt,name=source,enum=com.google.openrtb.UserAgentSource" json:"source,omitempty"`
	// contains filtered or unexported fields
}

Structured user agent information, which can be used when a client supports User-Agent Client Hints: https://wicg.github.io/ua-client-hints/

Note: When available, fields are sourced from Client Hints HTTP headers or equivalent JavaScript accessors from the NavigatorUAData interface. For agents that have no support for User-Agent Client Hints, an exchange can also extract information from the parsed User-Agent header, so this object can always be used as the source of the user agent information.

func (*BidRequest_Device_UserAgent) Descriptor deprecated

func (*BidRequest_Device_UserAgent) Descriptor() ([]byte, []int)

Deprecated: Use BidRequest_Device_UserAgent.ProtoReflect.Descriptor instead.

func (*BidRequest_Device_UserAgent) GetArchitecture

func (x *BidRequest_Device_UserAgent) GetArchitecture() string

func (*BidRequest_Device_UserAgent) GetBitness

func (x *BidRequest_Device_UserAgent) GetBitness() string

func (*BidRequest_Device_UserAgent) GetBrowsers

func (*BidRequest_Device_UserAgent) GetMobile

func (x *BidRequest_Device_UserAgent) GetMobile() bool

func (*BidRequest_Device_UserAgent) GetModel

func (x *BidRequest_Device_UserAgent) GetModel() string

func (*BidRequest_Device_UserAgent) GetPlatform

func (*BidRequest_Device_UserAgent) GetSource

func (*BidRequest_Device_UserAgent) ProtoMessage

func (*BidRequest_Device_UserAgent) ProtoMessage()

func (*BidRequest_Device_UserAgent) ProtoReflect

func (*BidRequest_Device_UserAgent) Reset

func (x *BidRequest_Device_UserAgent) Reset()

func (*BidRequest_Device_UserAgent) String

func (x *BidRequest_Device_UserAgent) String() string

type BidRequest_Device_UserAgent_BrandVersion

type BidRequest_Device_UserAgent_BrandVersion struct {

	// A brand identifier, for example, "Chrome" or "Windows". The value may
	// be sourced from the User-Agent Client Hints headers, representing
	// either the user agent brand (from the Sec-CH-UA-Full-Version header)
	// or the platform brand (from the Sec-CH-UA-Platform header).
	// Not supported by Google.
	Brand *string `protobuf:"bytes,1,opt,name=brand" json:"brand,omitempty"`
	// A sequence of version components, in descending hierarchical order
	// (major, minor, micro, ...).
	// Not supported by Google.
	Version []string `protobuf:"bytes,2,rep,name=version" json:"version,omitempty"`
	// contains filtered or unexported fields
}

Identifies a device's browser or similar software component, and the user agent's execution platform or operating system.

func (*BidRequest_Device_UserAgent_BrandVersion) Descriptor deprecated

func (*BidRequest_Device_UserAgent_BrandVersion) Descriptor() ([]byte, []int)

Deprecated: Use BidRequest_Device_UserAgent_BrandVersion.ProtoReflect.Descriptor instead.

func (*BidRequest_Device_UserAgent_BrandVersion) GetBrand

func (*BidRequest_Device_UserAgent_BrandVersion) GetVersion

func (*BidRequest_Device_UserAgent_BrandVersion) ProtoMessage

func (*BidRequest_Device_UserAgent_BrandVersion) ProtoReflect

func (*BidRequest_Device_UserAgent_BrandVersion) Reset

func (*BidRequest_Device_UserAgent_BrandVersion) String

type BidRequest_Geo

type BidRequest_Geo struct {

	// Approximate latitude from -90.0 to +90.0, where negative is south.
	// Supported by Google.
	Lat *float64 `protobuf:"fixed64,1,opt,name=lat" json:"lat,omitempty"`
	// Approximate longitude from -180.0 to +180.0, where negative is west.
	// Supported by Google.
	Lon *float64 `protobuf:"fixed64,2,opt,name=lon" json:"lon,omitempty"`
	// Country using ISO-3166-1 Alpha-3.
	// Supported by Google.
	Country *string `protobuf:"bytes,3,opt,name=country" json:"country,omitempty"`
	// Region code using ISO-3166-2; 2-letter state code if USA.
	// Supported by Google.
	Region *string `protobuf:"bytes,4,opt,name=region" json:"region,omitempty"`
	// Region of a country using FIPS 10-4 notation. While OpenRTB supports
	// this attribute, it has been withdrawn by NIST in 2008.
	// Not supported by Google.
	Regionfips104 *string `protobuf:"bytes,5,opt,name=regionfips104" json:"regionfips104,omitempty"`
	// Google metro code; similar to but not exactly Nielsen DMAs.
	// See Appendix A for a link to the codes.
	// (http://code.google.com/apis/adwords/docs/appendix/metrocodes.html).
	// Supported by Google.
	Metro *string `protobuf:"bytes,6,opt,name=metro" json:"metro,omitempty"`
	// City using United Nations Code for Trade & Transport Locations.
	// See Appendix A for a link to the codes.
	// (http://www.unece.org/cefact/locode/service/location.htm).
	// Supported by Google.
	City *string `protobuf:"bytes,7,opt,name=city" json:"city,omitempty"`
	// Zip/postal code.
	// Supported by Google.
	Zip *string `protobuf:"bytes,8,opt,name=zip" json:"zip,omitempty"`
	// Source of location data; recommended when passing lat/lon.
	// Supported by Google.
	Type *LocationType `protobuf:"varint,9,opt,name=type,enum=com.google.openrtb.LocationType" json:"type,omitempty"`
	// Estimated location accuracy in meters; recommended when lat/lon are
	// specified and derived from a device's location services (for example,
	// type = 1). Note that this is the accuracy as reported from the device.
	// Consult OS specific documentation (for example, Android, iOS) for exact
	// interpretation.
	//
	// Google: The radius in meters of a circle approximating the location of a
	// device, where the center point is defined by lat/lon. This field is
	// populated based on coarse IP-based geolocation.
	// Supported by Google.
	Accuracy *int32 `protobuf:"varint,11,opt,name=accuracy" json:"accuracy,omitempty"`
	// Number of seconds since this geolocation fix was established.
	// Note that devices may cache location data across multiple fetches.
	// Ideally, this value should be from the time the actual fix was taken.
	// Not supported by Google.
	Lastfix *int32 `protobuf:"varint,12,opt,name=lastfix" json:"lastfix,omitempty"`
	// Service or provider used to determine geolocation from IP
	// address if applicable (for example, type = 2).
	// Not supported by Google.
	Ipservice *LocationService `protobuf:"varint,13,opt,name=ipservice,enum=com.google.openrtb.LocationService" json:"ipservice,omitempty"`
	// Local time as the number +/- of minutes from UTC.
	// Supported by Google.
	Utcoffset *int32 `protobuf:"varint,10,opt,name=utcoffset" json:"utcoffset,omitempty"`
	// contains filtered or unexported fields
}

OpenRTB 2.0: This object encapsulates various methods for specifying a geographic location. When subordinate to a Device object, it indicates the location of the device which can also be interpreted as the user's current location. When subordinate to a User object, it indicates the location of the user's home base (for example, not necessarily their current location).

Google: In Google's implementation of OpenRTB, coarse geolocation information is approximated based on the IP address of the device the ad request originated from. This information will typically–but not always–be included in the bid request with lat/lon representing the center point of a circle, where accuracy is its radius. To learn more about geolocation, see the geotargeting guide: https://developers.google.com/authorized-buyers/rtb/geotargeting.

func (*BidRequest_Geo) Descriptor deprecated

func (*BidRequest_Geo) Descriptor() ([]byte, []int)

Deprecated: Use BidRequest_Geo.ProtoReflect.Descriptor instead.

func (*BidRequest_Geo) GetAccuracy

func (x *BidRequest_Geo) GetAccuracy() int32

func (*BidRequest_Geo) GetCity

func (x *BidRequest_Geo) GetCity() string

func (*BidRequest_Geo) GetCountry

func (x *BidRequest_Geo) GetCountry() string

func (*BidRequest_Geo) GetIpservice

func (x *BidRequest_Geo) GetIpservice() LocationService

func (*BidRequest_Geo) GetLastfix

func (x *BidRequest_Geo) GetLastfix() int32

func (*BidRequest_Geo) GetLat

func (x *BidRequest_Geo) GetLat() float64

func (*BidRequest_Geo) GetLon

func (x *BidRequest_Geo) GetLon() float64

func (*BidRequest_Geo) GetMetro

func (x *BidRequest_Geo) GetMetro() string

func (*BidRequest_Geo) GetRegion

func (x *BidRequest_Geo) GetRegion() string

func (*BidRequest_Geo) GetRegionfips104

func (x *BidRequest_Geo) GetRegionfips104() string

func (*BidRequest_Geo) GetType

func (x *BidRequest_Geo) GetType() LocationType

func (*BidRequest_Geo) GetUtcoffset

func (x *BidRequest_Geo) GetUtcoffset() int32

func (*BidRequest_Geo) GetZip

func (x *BidRequest_Geo) GetZip() string

func (*BidRequest_Geo) ProtoMessage

func (*BidRequest_Geo) ProtoMessage()

func (*BidRequest_Geo) ProtoReflect

func (x *BidRequest_Geo) ProtoReflect() protoreflect.Message

func (*BidRequest_Geo) Reset

func (x *BidRequest_Geo) Reset()

func (*BidRequest_Geo) String

func (x *BidRequest_Geo) String() string

type BidRequest_Imp

type BidRequest_Imp struct {

	// A unique identifier for this impression within the context of the bid
	// request (typically, value starts with 1, and increments up to n
	// for n impressions).
	// Supported by Google.
	Id *string `protobuf:"bytes,1,req,name=id" json:"id,omitempty"`
	// A Banner object (Section 3.2.3); required if this impression is
	// offered as a banner ad opportunity.
	// Supported by Google.
	Banner *BidRequest_Imp_Banner `protobuf:"bytes,2,opt,name=banner" json:"banner,omitempty"`
	// A Video object (Section 3.2.4); required if this impression is
	// offered as a video ad opportunity.
	// Supported by Google.
	Video *BidRequest_Imp_Video `protobuf:"bytes,3,opt,name=video" json:"video,omitempty"`
	// An Audio object; required if this impression is offered
	// as an audio ad opportunity.
	// Supported by Google.
	Audio *BidRequest_Imp_Audio `protobuf:"bytes,15,opt,name=audio" json:"audio,omitempty"`
	// Name of ad mediation partner, SDK technology, or player responsible
	// for rendering ad (typically video or mobile). Used by some ad servers
	// to customize ad code by partner. Recommended for video and/or apps.
	// Supported by Google.
	Displaymanager *string `protobuf:"bytes,4,opt,name=displaymanager" json:"displaymanager,omitempty"`
	// Version of ad mediation partner, SDK technology, or player responsible
	// for rendering ad (typically video or mobile). Used by some ad servers
	// to customize ad code by partner. Recommended for video and/or apps.
	// Supported by Google.
	Displaymanagerver *string `protobuf:"bytes,5,opt,name=displaymanagerver" json:"displaymanagerver,omitempty"`
	// true = the ad is interstitial or full screen, false = not interstitial.
	// Supported by Google.
	Instl *bool `protobuf:"varint,6,opt,name=instl" json:"instl,omitempty"`
	// Identifier for specific ad placement or ad tag that was used to
	// initiate the auction. This can be useful for debugging of any issues,
	// or for optimization by the buyer.
	// Supported by Google.
	Tagid *string `protobuf:"bytes,7,opt,name=tagid" json:"tagid,omitempty"`
	// Minimum bid for this impression expressed in CPM.
	// Supported by Google.
	Bidfloor *float64 `protobuf:"fixed64,8,opt,name=bidfloor,def=0" json:"bidfloor,omitempty"`
	// The currency in which the bid floor is expressed. Specified using
	// ISO 4217 alpha codes.
	// Supported by Google.
	Bidfloorcur *string `protobuf:"bytes,9,opt,name=bidfloorcur,def=USD" json:"bidfloorcur,omitempty"`
	// Indicates the type of browser opened upon clicking the
	// creative in an app, where false = embedded, true = native.
	// Note that the Safari View Controller in iOS 9.x devices is considered
	// a native browser for purposes of this attribute.
	// Supported by Google.
	Clickbrowser *bool `protobuf:"varint,16,opt,name=clickbrowser" json:"clickbrowser,omitempty"`
	// Indicates if the impression requires secure HTTPS URL creative
	// assets and markup. If omitted, the secure state is unknown, but
	// non-secure HTTP support can be assumed.
	// Supported by Google.
	Secure *bool `protobuf:"varint,12,opt,name=secure" json:"secure,omitempty"`
	// Array of exchange-specific names of supported iframe busters.
	// Not supported by Google.
	Iframebuster []string `protobuf:"bytes,10,rep,name=iframebuster" json:"iframebuster,omitempty"`
	// Indicates whether the user receives a reward for viewing the ad.
	// Typically video ad implementations allow users to read an additional news
	// article for free, receive an extra life in a game, or get a sponsored
	// ad-free music session. The reward is typically distributed after the
	// video ad is completed.
	// Supported by Google.
	Rwdd *bool `protobuf:"varint,18,opt,name=rwdd,def=0" json:"rwdd,omitempty"`
	// Indicates if server-side ad insertion (e.g., stitching an ad into an
	// audio or video stream) is in use and the impact of this on asset
	// and tracker retrieval.
	// Not supported by Google.
	Ssai *ServerSideAdInsertionType `protobuf:"varint,19,opt,name=ssai,enum=com.google.openrtb.ServerSideAdInsertionType,def=0" json:"ssai,omitempty"`
	// A Pmp object (Section 3.2.17) containing any private marketplace deals
	// in effect for this impression.
	// Supported by Google.
	Pmp *BidRequest_Imp_Pmp `protobuf:"bytes,11,opt,name=pmp" json:"pmp,omitempty"`
	// A Native object (Section 3.2.5); required if this impression is
	// offered as a native ad opportunity.
	// Supported by Google.
	Native *BidRequest_Imp_Native `protobuf:"bytes,13,opt,name=native" json:"native,omitempty"`
	// Advisory as to the number of seconds that may elapse
	// between the auction and the actual impression.
	// Supported by Google.
	Exp *int32 `protobuf:"varint,14,opt,name=exp" json:"exp,omitempty"`
	// An array of Metric object.
	// Supported by Google.
	Metric []*BidRequest_Imp_Metric `protobuf:"bytes,17,rep,name=metric" json:"metric,omitempty"`
	// Details about ad slots being refreshed automatically.
	// Supported by Google.
	Refresh *BidRequest_Imp_Refresh `protobuf:"bytes,20,opt,name=refresh" json:"refresh,omitempty"`
	// contains filtered or unexported fields
}

OpenRTB 2.0: This object describes an ad placement or impression being auctioned. A single bid request can include multiple Imp objects, a use case for which might be an exchange that supports selling all ad positions on a given page. Each Imp object has a required ID so that bids can reference them individually.

The presence of Banner (Section 3.2.3), Video (Section 3.2.4), and/or Native (Section 3.2.5) objects subordinate to the Imp object indicates the type of impression being offered. The publisher can choose one such type which is the typical case or mix them at their discretion. Any given bid for the impression must conform to one of the offered types.

func (*BidRequest_Imp) Descriptor deprecated

func (*BidRequest_Imp) Descriptor() ([]byte, []int)

Deprecated: Use BidRequest_Imp.ProtoReflect.Descriptor instead.

func (*BidRequest_Imp) GetAudio

func (x *BidRequest_Imp) GetAudio() *BidRequest_Imp_Audio

func (*BidRequest_Imp) GetBanner

func (x *BidRequest_Imp) GetBanner() *BidRequest_Imp_Banner

func (*BidRequest_Imp) GetBidfloor

func (x *BidRequest_Imp) GetBidfloor() float64

func (*BidRequest_Imp) GetBidfloorcur

func (x *BidRequest_Imp) GetBidfloorcur() string

func (*BidRequest_Imp) GetClickbrowser

func (x *BidRequest_Imp) GetClickbrowser() bool

func (*BidRequest_Imp) GetDisplaymanager

func (x *BidRequest_Imp) GetDisplaymanager() string

func (*BidRequest_Imp) GetDisplaymanagerver

func (x *BidRequest_Imp) GetDisplaymanagerver() string

func (*BidRequest_Imp) GetExp

func (x *BidRequest_Imp) GetExp() int32

func (*BidRequest_Imp) GetId

func (x *BidRequest_Imp) GetId() string

func (*BidRequest_Imp) GetIframebuster

func (x *BidRequest_Imp) GetIframebuster() []string

func (*BidRequest_Imp) GetInstl

func (x *BidRequest_Imp) GetInstl() bool

func (*BidRequest_Imp) GetMetric

func (x *BidRequest_Imp) GetMetric() []*BidRequest_Imp_Metric

func (*BidRequest_Imp) GetNative

func (x *BidRequest_Imp) GetNative() *BidRequest_Imp_Native

func (*BidRequest_Imp) GetPmp

func (x *BidRequest_Imp) GetPmp() *BidRequest_Imp_Pmp

func (*BidRequest_Imp) GetRefresh

func (x *BidRequest_Imp) GetRefresh() *BidRequest_Imp_Refresh

func (*BidRequest_Imp) GetRwdd

func (x *BidRequest_Imp) GetRwdd() bool

func (*BidRequest_Imp) GetSecure

func (x *BidRequest_Imp) GetSecure() bool

func (*BidRequest_Imp) GetSsai

func (*BidRequest_Imp) GetTagid

func (x *BidRequest_Imp) GetTagid() string

func (*BidRequest_Imp) GetVideo

func (x *BidRequest_Imp) GetVideo() *BidRequest_Imp_Video

func (*BidRequest_Imp) ProtoMessage

func (*BidRequest_Imp) ProtoMessage()

func (*BidRequest_Imp) ProtoReflect

func (x *BidRequest_Imp) ProtoReflect() protoreflect.Message

func (*BidRequest_Imp) Reset

func (x *BidRequest_Imp) Reset()

func (*BidRequest_Imp) String

func (x *BidRequest_Imp) String() string

type BidRequest_Imp_Audio

type BidRequest_Imp_Audio struct {

	// Content MIME types supported (for example, "audio/mp4").
	// REQUIRED by the OpenRTB specification: at least 1 element.
	// Supported by Google.
	Mimes []string `protobuf:"bytes,1,rep,name=mimes" json:"mimes,omitempty"`
	// Minimum audio ad duration in seconds.
	// This field is mutually exclusive with rqddurs; only one of minduration
	// and rqddurs may be in a bid request.
	// Supported by Google.
	Minduration *int32 `protobuf:"varint,2,opt,name=minduration,def=0" json:"minduration,omitempty"`
	// Maximum audio ad duration in seconds.
	// This field is mutually exclusive with rqddurs; only one of maxduration
	// and rqddurs may be in a bid request.
	// Supported by Google.
	Maxduration *int32 `protobuf:"varint,3,opt,name=maxduration" json:"maxduration,omitempty"`
	// Indicates the total amount of time in seconds that advertisers may
	// fill for a "dynamic" audio ad pod, or the dynamic portion of a
	// "hybrid" ad pod. This field is required only for the dynamic
	// portion(s) of audio ad pods. This field refers to the length of the
	// entire ad break, whereas minduration/maxduration/rqddurs are
	// constraints relating to the slots that make up the pod.
	// Not supported by Google.
	Poddur *int32 `protobuf:"varint,25,opt,name=poddur" json:"poddur,omitempty"`
	// Array of supported audio protocols.
	// Supported by Google.
	Protocols []Protocol `protobuf:"varint,4,rep,packed,name=protocols,enum=com.google.openrtb.Protocol" json:"protocols,omitempty"`
	// Indicates the start delay in seconds for pre-roll, mid-roll, or
	// post-roll ad placements.
	// Refer to enum StartDelay for generic values.
	// Supported by Google.
	Startdelay *int32 `protobuf:"varint,5,opt,name=startdelay" json:"startdelay,omitempty"`
	// Precise acceptable durations for audio creatives in seconds.
	// This field specifically targets the live audio/radio use case where
	// non-exact ad durations would result in undesirable ‘dead air’.
	// This field is mutually exclusive with minduration and
	// maxduration; if rqddurs is specified, minduration and
	// maxduration must not be specified and the other way around.
	// Not supported by Google.
	Rqddurs []int32 `protobuf:"varint,26,rep,packed,name=rqddurs" json:"rqddurs,omitempty"`
	// Unique identifier indicating that an impression opportunity
	// belongs to an audio ad pod. If multiple impression opportunities
	// within a bid request share the same podid, this indicates that
	// those impression opportunities belong to the same audio ad pod.
	// Not supported by Google.
	Podid *string `protobuf:"bytes,27,opt,name=podid" json:"podid,omitempty"`
	// The sequence (position) of the audio ad pod within a content stream.
	// Not supported by Google.
	Podseq *PodSequence `protobuf:"varint,28,opt,name=podseq,enum=com.google.openrtb.PodSequence,def=0" json:"podseq,omitempty"`
	// DEPRECATED in OpenRTB 2.6+; prefer the field podseq.
	// If multiple ad impressions are offered in the same bid request,
	// the sequence number will allow for the coordinated delivery of
	// multiple creatives.
	// Not supported by Google.
	//
	// Deprecated: Marked as deprecated in openrtb.proto.
	Sequence *int32 `protobuf:"varint,6,opt,name=sequence,def=1" json:"sequence,omitempty"`
	// For audio ad pods, this value indicates that the seller can
	// guarantee delivery against the indicated sequence.
	// Not supported by Google.
	Slotinpod *SlotPositionInPod `protobuf:"varint,29,opt,name=slotinpod,enum=com.google.openrtb.SlotPositionInPod,def=0" json:"slotinpod,omitempty"`
	// Minimum CPM per second. This is a price floor for the
	// "dynamic" portion of an audio ad pod, relative to the duration
	// of bids an advertiser may submit.
	// Not supported by Google.
	Mincpmpersec *float64 `protobuf:"fixed64,30,opt,name=mincpmpersec" json:"mincpmpersec,omitempty"`
	// Blocked creative attributes. See the full list of available attributes:
	// https://github.com/InteractiveAdvertisingBureau/AdCOM/blob/main/AdCOM%20v1.0%20FINAL.md#list--creative-attributes-
	// Supported by Google.
	Battr []CreativeAttribute `protobuf:"varint,7,rep,packed,name=battr,enum=com.google.openrtb.CreativeAttribute" json:"battr,omitempty"`
	// Maximum extended video ad duration, if extension is allowed.
	// If blank or 0, extension is not allowed. If -1, extension is allowed,
	// and there is no time limit imposed. If greater than 0, then the value
	// represents the number of seconds of extended play supported beyond
	// the maxduration value.
	// Not supported by Google.
	Maxextended *int32 `protobuf:"varint,8,opt,name=maxextended" json:"maxextended,omitempty"`
	// Minimum bit rate in Kbps.
	// Not supported by Google.
	Minbitrate *int32 `protobuf:"varint,9,opt,name=minbitrate" json:"minbitrate,omitempty"`
	// Maximum bit rate in Kbps.
	// Not supported by Google.
	Maxbitrate *int32 `protobuf:"varint,10,opt,name=maxbitrate" json:"maxbitrate,omitempty"`
	// Supported delivery methods (for example, streaming, progressive).
	// Supported by Google.
	Delivery []ContentDeliveryMethod `protobuf:"varint,11,rep,packed,name=delivery,enum=com.google.openrtb.ContentDeliveryMethod" json:"delivery,omitempty"`
	// Array of Banner objects if companion ads are available.
	// Supported by Google.
	Companionad []*BidRequest_Imp_Banner `protobuf:"bytes,12,rep,name=companionad" json:"companionad,omitempty"`
	// List of supported API frameworks for this impression.
	// If an API is not explicitly listed, it is assumed not to be supported.
	// Supported by Google.
	Api []APIFramework `protobuf:"varint,13,rep,packed,name=api,enum=com.google.openrtb.APIFramework" json:"api,omitempty"`
	// Supported DAAST companion ad types. Recommended if companion Banner
	// objects are included through the companionad array.
	// Supported by Google.
	Companiontype []CompanionType `protobuf:"varint,20,rep,packed,name=companiontype,enum=com.google.openrtb.CompanionType" json:"companiontype,omitempty"`
	// The maximum number of ads that can be played in an ad pod.
	// Not supported by Google.
	Maxseq *int32 `protobuf:"varint,21,opt,name=maxseq" json:"maxseq,omitempty"`
	// Type of audio feed.
	// Supported by Google.
	Feed *FeedType `protobuf:"varint,22,opt,name=feed,enum=com.google.openrtb.FeedType" json:"feed,omitempty"`
	// Indicates if the ad is stitched with audio content or delivered
	// independently.
	// Not supported by Google.
	Stitched *bool `protobuf:"varint,23,opt,name=stitched" json:"stitched,omitempty"`
	// Volume normalization mode.
	// Not supported by Google.
	Nvol *VolumeNormalizationMode `protobuf:"varint,24,opt,name=nvol,enum=com.google.openrtb.VolumeNormalizationMode" json:"nvol,omitempty"`
	// contains filtered or unexported fields
}

This object represents an audio type impression. Many of the fields are non-essential for minimally viable transactions, but are included to offer fine control when needed. Audio in OpenRTB generally assumes compliance with the DAAST standard. As such, the notion of companion ads is supported by optionally including an array of Banner objects that define these companion ads.

The presence of a Audio as a subordinate of the Imp object indicates that this impression is offered as an audio type impression. At the publisher's discretion, that same impression may also be offered as banner, video, and/or native by also including as Imp subordinates objects of those types. However, any given bid for the impression must conform to one of the offered types.

func (*BidRequest_Imp_Audio) Descriptor deprecated

func (*BidRequest_Imp_Audio) Descriptor() ([]byte, []int)

Deprecated: Use BidRequest_Imp_Audio.ProtoReflect.Descriptor instead.

func (*BidRequest_Imp_Audio) GetApi

func (x *BidRequest_Imp_Audio) GetApi() []APIFramework

func (*BidRequest_Imp_Audio) GetBattr

func (x *BidRequest_Imp_Audio) GetBattr() []CreativeAttribute

func (*BidRequest_Imp_Audio) GetCompanionad

func (x *BidRequest_Imp_Audio) GetCompanionad() []*BidRequest_Imp_Banner

func (*BidRequest_Imp_Audio) GetCompaniontype

func (x *BidRequest_Imp_Audio) GetCompaniontype() []CompanionType

func (*BidRequest_Imp_Audio) GetDelivery

func (x *BidRequest_Imp_Audio) GetDelivery() []ContentDeliveryMethod

func (*BidRequest_Imp_Audio) GetFeed

func (x *BidRequest_Imp_Audio) GetFeed() FeedType

func (*BidRequest_Imp_Audio) GetMaxbitrate

func (x *BidRequest_Imp_Audio) GetMaxbitrate() int32

func (*BidRequest_Imp_Audio) GetMaxduration

func (x *BidRequest_Imp_Audio) GetMaxduration() int32

func (*BidRequest_Imp_Audio) GetMaxextended

func (x *BidRequest_Imp_Audio) GetMaxextended() int32

func (*BidRequest_Imp_Audio) GetMaxseq

func (x *BidRequest_Imp_Audio) GetMaxseq() int32

func (*BidRequest_Imp_Audio) GetMimes

func (x *BidRequest_Imp_Audio) GetMimes() []string

func (*BidRequest_Imp_Audio) GetMinbitrate

func (x *BidRequest_Imp_Audio) GetMinbitrate() int32

func (*BidRequest_Imp_Audio) GetMincpmpersec

func (x *BidRequest_Imp_Audio) GetMincpmpersec() float64

func (*BidRequest_Imp_Audio) GetMinduration

func (x *BidRequest_Imp_Audio) GetMinduration() int32

func (*BidRequest_Imp_Audio) GetNvol

func (*BidRequest_Imp_Audio) GetPoddur

func (x *BidRequest_Imp_Audio) GetPoddur() int32

func (*BidRequest_Imp_Audio) GetPodid

func (x *BidRequest_Imp_Audio) GetPodid() string

func (*BidRequest_Imp_Audio) GetPodseq

func (x *BidRequest_Imp_Audio) GetPodseq() PodSequence

func (*BidRequest_Imp_Audio) GetProtocols

func (x *BidRequest_Imp_Audio) GetProtocols() []Protocol

func (*BidRequest_Imp_Audio) GetRqddurs

func (x *BidRequest_Imp_Audio) GetRqddurs() []int32

func (*BidRequest_Imp_Audio) GetSequence deprecated

func (x *BidRequest_Imp_Audio) GetSequence() int32

Deprecated: Marked as deprecated in openrtb.proto.

func (*BidRequest_Imp_Audio) GetSlotinpod

func (x *BidRequest_Imp_Audio) GetSlotinpod() SlotPositionInPod

func (*BidRequest_Imp_Audio) GetStartdelay

func (x *BidRequest_Imp_Audio) GetStartdelay() int32

func (*BidRequest_Imp_Audio) GetStitched

func (x *BidRequest_Imp_Audio) GetStitched() bool

func (*BidRequest_Imp_Audio) ProtoMessage

func (*BidRequest_Imp_Audio) ProtoMessage()

func (*BidRequest_Imp_Audio) ProtoReflect

func (x *BidRequest_Imp_Audio) ProtoReflect() protoreflect.Message

func (*BidRequest_Imp_Audio) Reset

func (x *BidRequest_Imp_Audio) Reset()

func (*BidRequest_Imp_Audio) String

func (x *BidRequest_Imp_Audio) String() string

type BidRequest_Imp_Banner

type BidRequest_Imp_Banner struct {

	// Exact width in device-independent pixels (DIPS); recommended if no
	// format objects are specified.
	// Supported by Google.
	W *int32 `protobuf:"varint,1,opt,name=w" json:"w,omitempty"`
	// Exact height in device-independent pixels (DIPS); recommended if no
	// format objects are specified.
	// Supported by Google.
	H *int32 `protobuf:"varint,2,opt,name=h" json:"h,omitempty"`
	// Array of format objects representing the banner sizes permitted.
	// If none are specified, then use of the h and w attributes
	// is highly recommended.
	// Supported by Google.
	Format []*BidRequest_Imp_Banner_Format `protobuf:"bytes,15,rep,name=format" json:"format,omitempty"`
	// Unique identifier for this banner object. Recommended when Banner
	// objects are used with a Video object (Section 3.2.4) to represent
	// an array of companion ads. Values usually start at 1 and increase
	// with each object; should be unique within an impression.
	// Not supported by Google.
	Id *string `protobuf:"bytes,3,opt,name=id" json:"id,omitempty"`
	// Ad position on screen.
	// Supported by Google.
	Pos *AdPosition `protobuf:"varint,4,opt,name=pos,enum=com.google.openrtb.AdPosition" json:"pos,omitempty"`
	// Blocked banner ad types.
	// Not supported by Google.
	Btype []BannerAdType `protobuf:"varint,5,rep,packed,name=btype,enum=com.google.openrtb.BannerAdType" json:"btype,omitempty"`
	// Blocked creative attributes. See the full list of available attributes:
	// https://github.com/InteractiveAdvertisingBureau/AdCOM/blob/main/AdCOM%20v1.0%20FINAL.md#list--creative-attributes-
	// Supported by Google.
	Battr []CreativeAttribute `protobuf:"varint,6,rep,packed,name=battr,enum=com.google.openrtb.CreativeAttribute" json:"battr,omitempty"`
	// Allowlist of content MIME types supported. Popular MIME types include,
	// but are not limited to "image/jpg", "image/gif" and
	// "application/x-shockwave-flash".
	// Supported by Google.
	Mimes []string `protobuf:"bytes,7,rep,name=mimes" json:"mimes,omitempty"`
	// Specify if the banner is delivered in the top frame (true)
	// or in an iframe (false).
	// Supported by Google.
	Topframe *bool `protobuf:"varint,8,opt,name=topframe" json:"topframe,omitempty"`
	// Directions in which the banner may expand.
	// Supported by Google.
	Expdir []ExpandableDirection `protobuf:"varint,9,rep,packed,name=expdir,enum=com.google.openrtb.ExpandableDirection" json:"expdir,omitempty"`
	// List of supported API frameworks for this impression.
	// If an API is not explicitly listed, it is assumed not to be supported.
	// Supported by Google.
	Api []APIFramework `protobuf:"varint,10,rep,packed,name=api,enum=com.google.openrtb.APIFramework" json:"api,omitempty"`
	// Relevant only for Banner objects used with a Video object
	// (Section 3.2.7) in an array of companion ads. Indicates the
	// companion banner rendering mode relative to the associated
	// video, where false = concurrent, true = end-card.
	// Supported by Google.
	Vcm *bool `protobuf:"varint,16,opt,name=vcm" json:"vcm,omitempty"`
	// DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
	// Maximum width in device independent pixels (DIPS).
	// Supported by Google.
	//
	// Deprecated: Marked as deprecated in openrtb.proto.
	Wmax *int32 `protobuf:"varint,11,opt,name=wmax" json:"wmax,omitempty"`
	// DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
	// Maximum height in device independent pixels (DIPS).
	// Supported by Google.
	//
	// Deprecated: Marked as deprecated in openrtb.proto.
	Hmax *int32 `protobuf:"varint,12,opt,name=hmax" json:"hmax,omitempty"`
	// DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
	// Minimum width in device independent pixels (DIPS).
	// Supported by Google.
	//
	// Deprecated: Marked as deprecated in openrtb.proto.
	Wmin *int32 `protobuf:"varint,13,opt,name=wmin" json:"wmin,omitempty"`
	// DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
	// Minimum height in device independent pixels (DIPS).
	// Supported by Google.
	//
	// Deprecated: Marked as deprecated in openrtb.proto.
	Hmin *int32 `protobuf:"varint,14,opt,name=hmin" json:"hmin,omitempty"`
	// contains filtered or unexported fields
}

OpenRTB 2.0: This object represents the most general type of impression. Although the term "banner" may have very specific meaning in other contexts, here it can be many things including a simple static image, an expandable ad unit, or even in-banner video (refer to the Video object in Section 3.2.4 for the more generalized and full featured video ad units). An array of Banner objects can also appear within the Video to describe optional companion ads defined in the VAST specification.

The presence of a Banner as a subordinate of the Imp object indicates that this impression is offered as a banner type impression. At the publisher's discretion, that same impression may also be offered as video and/or native by also including as Imp subordinates the Video and/or Native objects, respectively. However, any given bid for the impression must conform to one of the offered types.

func (*BidRequest_Imp_Banner) Descriptor deprecated

func (*BidRequest_Imp_Banner) Descriptor() ([]byte, []int)

Deprecated: Use BidRequest_Imp_Banner.ProtoReflect.Descriptor instead.

func (*BidRequest_Imp_Banner) GetApi

func (x *BidRequest_Imp_Banner) GetApi() []APIFramework

func (*BidRequest_Imp_Banner) GetBattr

func (x *BidRequest_Imp_Banner) GetBattr() []CreativeAttribute

func (*BidRequest_Imp_Banner) GetBtype

func (x *BidRequest_Imp_Banner) GetBtype() []BannerAdType

func (*BidRequest_Imp_Banner) GetExpdir

func (x *BidRequest_Imp_Banner) GetExpdir() []ExpandableDirection

func (*BidRequest_Imp_Banner) GetFormat

func (*BidRequest_Imp_Banner) GetH

func (x *BidRequest_Imp_Banner) GetH() int32

func (*BidRequest_Imp_Banner) GetHmax deprecated

func (x *BidRequest_Imp_Banner) GetHmax() int32

Deprecated: Marked as deprecated in openrtb.proto.

func (*BidRequest_Imp_Banner) GetHmin deprecated

func (x *BidRequest_Imp_Banner) GetHmin() int32

Deprecated: Marked as deprecated in openrtb.proto.

func (*BidRequest_Imp_Banner) GetId

func (x *BidRequest_Imp_Banner) GetId() string

func (*BidRequest_Imp_Banner) GetMimes

func (x *BidRequest_Imp_Banner) GetMimes() []string

func (*BidRequest_Imp_Banner) GetPos

func (x *BidRequest_Imp_Banner) GetPos() AdPosition

func (*BidRequest_Imp_Banner) GetTopframe

func (x *BidRequest_Imp_Banner) GetTopframe() bool

func (*BidRequest_Imp_Banner) GetVcm

func (x *BidRequest_Imp_Banner) GetVcm() bool

func (*BidRequest_Imp_Banner) GetW

func (x *BidRequest_Imp_Banner) GetW() int32

func (*BidRequest_Imp_Banner) GetWmax deprecated

func (x *BidRequest_Imp_Banner) GetWmax() int32

Deprecated: Marked as deprecated in openrtb.proto.

func (*BidRequest_Imp_Banner) GetWmin deprecated

func (x *BidRequest_Imp_Banner) GetWmin() int32

Deprecated: Marked as deprecated in openrtb.proto.

func (*BidRequest_Imp_Banner) ProtoMessage

func (*BidRequest_Imp_Banner) ProtoMessage()

func (*BidRequest_Imp_Banner) ProtoReflect

func (x *BidRequest_Imp_Banner) ProtoReflect() protoreflect.Message

func (*BidRequest_Imp_Banner) Reset

func (x *BidRequest_Imp_Banner) Reset()

func (*BidRequest_Imp_Banner) String

func (x *BidRequest_Imp_Banner) String() string

type BidRequest_Imp_Banner_Format

type BidRequest_Imp_Banner_Format struct {

	// Width in device independent pixels (DIPS).
	// Supported by Google.
	W *int32 `protobuf:"varint,1,opt,name=w" json:"w,omitempty"`
	// Height in device independent pixels (DIPS).
	// Supported by Google.
	H *int32 `protobuf:"varint,2,opt,name=h" json:"h,omitempty"`
	// Relative width when expressing size as a ratio.
	// Not supported by Google.
	Wratio *int32 `protobuf:"varint,3,opt,name=wratio" json:"wratio,omitempty"`
	// Relative height when expressing size as a ratio.
	// Not supported by Google.
	Hratio *int32 `protobuf:"varint,4,opt,name=hratio" json:"hratio,omitempty"`
	// The minimum width in device independent pixels (DIPS) at
	// which the ad will be displayed when the size is expressed as a ratio.
	// Not supported by Google.
	Wmin *int32 `protobuf:"varint,5,opt,name=wmin" json:"wmin,omitempty"`
	// contains filtered or unexported fields
}

OpenRTB 2.4: This object represents an allowed size ( height and width combination) for a banner impression. These are typically used in an array for an impression where multiple sizes are permitted.

func (*BidRequest_Imp_Banner_Format) Descriptor deprecated

func (*BidRequest_Imp_Banner_Format) Descriptor() ([]byte, []int)

Deprecated: Use BidRequest_Imp_Banner_Format.ProtoReflect.Descriptor instead.

func (*BidRequest_Imp_Banner_Format) GetH

func (*BidRequest_Imp_Banner_Format) GetHratio

func (x *BidRequest_Imp_Banner_Format) GetHratio() int32

func (*BidRequest_Imp_Banner_Format) GetW

func (*BidRequest_Imp_Banner_Format) GetWmin

func (x *BidRequest_Imp_Banner_Format) GetWmin() int32

func (*BidRequest_Imp_Banner_Format) GetWratio

func (x *BidRequest_Imp_Banner_Format) GetWratio() int32

func (*BidRequest_Imp_Banner_Format) ProtoMessage

func (*BidRequest_Imp_Banner_Format) ProtoMessage()

func (*BidRequest_Imp_Banner_Format) ProtoReflect

func (*BidRequest_Imp_Banner_Format) Reset

func (x *BidRequest_Imp_Banner_Format) Reset()

func (*BidRequest_Imp_Banner_Format) String

type BidRequest_Imp_Metric

type BidRequest_Imp_Metric struct {

	// Type of metric being presented using exchange curated string
	// names which should be published to bidders a priori.
	// REQUIRED by the OpenRTB specification.
	// Supported by Google.
	Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
	// Number representing the value of the metric.
	// Probabilities must be in the range 0.0 - 1.0.
	// REQUIRED by the OpenRTB specification.
	// Supported by Google.
	Value *float64 `protobuf:"fixed64,2,opt,name=value" json:"value,omitempty"`
	// Source of the value using exchange curated string names
	// which should be published to bidders a priori.
	// If the exchange itself is the source versus a third party,
	// "EXCHANGE" is recommended.
	// Supported by Google.
	Vendor *string `protobuf:"bytes,3,opt,name=vendor" json:"vendor,omitempty"`
	// contains filtered or unexported fields
}

OpenRTB 2.5: This object is associated with an impression as an array of metrics. These metrics can offer insight into the impression to assist with decisioning such as average recent viewability, click-through rate, or another metric. Each metric is identified by its type, reports the value of the metric, and optionally identifies the source or vendor measuring the value.

func (*BidRequest_Imp_Metric) Descriptor deprecated

func (*BidRequest_Imp_Metric) Descriptor() ([]byte, []int)

Deprecated: Use BidRequest_Imp_Metric.ProtoReflect.Descriptor instead.

func (*BidRequest_Imp_Metric) GetType

func (x *BidRequest_Imp_Metric) GetType() string

func (*BidRequest_Imp_Metric) GetValue

func (x *BidRequest_Imp_Metric) GetValue() float64

func (*BidRequest_Imp_Metric) GetVendor

func (x *BidRequest_Imp_Metric) GetVendor() string

func (*BidRequest_Imp_Metric) ProtoMessage

func (*BidRequest_Imp_Metric) ProtoMessage()

func (*BidRequest_Imp_Metric) ProtoReflect

func (x *BidRequest_Imp_Metric) ProtoReflect() protoreflect.Message

func (*BidRequest_Imp_Metric) Reset

func (x *BidRequest_Imp_Metric) Reset()

func (*BidRequest_Imp_Metric) String

func (x *BidRequest_Imp_Metric) String() string

type BidRequest_Imp_Native

type BidRequest_Imp_Native struct {

	// Types that are assignable to RequestOneof:
	//	*BidRequest_Imp_Native_Request
	//	*BidRequest_Imp_Native_RequestNative
	RequestOneof isBidRequest_Imp_Native_RequestOneof `protobuf_oneof:"request_oneof"`
	// Version of the Native Ad Specification to which request complies.
	Ver *string `protobuf:"bytes,2,opt,name=ver" json:"ver,omitempty"`
	// List of supported API frameworks for this impression.
	// If an API is not explicitly listed, it is assumed not to be supported.
	Api []APIFramework `protobuf:"varint,3,rep,packed,name=api,enum=com.google.openrtb.APIFramework" json:"api,omitempty"`
	// Blocked creative attributes. See the full list of available attributes:
	// https://github.com/InteractiveAdvertisingBureau/AdCOM/blob/main/AdCOM%20v1.0%20FINAL.md#list--creative-attributes-
	Battr []CreativeAttribute `protobuf:"varint,4,rep,packed,name=battr,enum=com.google.openrtb.CreativeAttribute" json:"battr,omitempty"`
	// contains filtered or unexported fields
}

OpenRTB 2.3: This object represents a native type impression. Native ad units are intended to blend seamlessly into the surrounding content (for example, a sponsored Twitter or Facebook post). As such, the response must be well-structured to afford the publisher fine-grained control over rendering.

The Native Subcommittee has developed a companion specification to OpenRTB called the Native Ad Specification. It defines the request parameters and response markup structure of native ad units. This object provides the means of transporting request parameters as an opaque string so that the specific parameters can evolve separately under the auspices of the Native Ad Specification. Similarly, the ad markup served will be structured according to that specification.

The presence of a Native as a subordinate of the Imp object indicates that this impression is offered as a native type impression. At the publisher's discretion, that same impression may also be offered as banner and/or video by also including as Imp subordinates the Banner and/or Video objects, respectively. However, any given bid for the impression must conform to one of the offered types.

func (*BidRequest_Imp_Native) Descriptor deprecated

func (*BidRequest_Imp_Native) Descriptor() ([]byte, []int)

Deprecated: Use BidRequest_Imp_Native.ProtoReflect.Descriptor instead.

func (*BidRequest_Imp_Native) GetApi

func (x *BidRequest_Imp_Native) GetApi() []APIFramework

func (*BidRequest_Imp_Native) GetBattr

func (x *BidRequest_Imp_Native) GetBattr() []CreativeAttribute

func (*BidRequest_Imp_Native) GetRequest

func (x *BidRequest_Imp_Native) GetRequest() string

func (*BidRequest_Imp_Native) GetRequestNative

func (x *BidRequest_Imp_Native) GetRequestNative() *NativeRequest

func (*BidRequest_Imp_Native) GetRequestOneof

func (m *BidRequest_Imp_Native) GetRequestOneof() isBidRequest_Imp_Native_RequestOneof

func (*BidRequest_Imp_Native) GetVer

func (x *BidRequest_Imp_Native) GetVer() string

func (*BidRequest_Imp_Native) ProtoMessage

func (*BidRequest_Imp_Native) ProtoMessage()

func (*BidRequest_Imp_Native) ProtoReflect

func (x *BidRequest_Imp_Native) ProtoReflect() protoreflect.Message

func (*BidRequest_Imp_Native) Reset

func (x *BidRequest_Imp_Native) Reset()

func (*BidRequest_Imp_Native) String

func (x *BidRequest_Imp_Native) String() string

type BidRequest_Imp_Native_Request

type BidRequest_Imp_Native_Request struct {
	// Request payload complying with the Native Ad Specification.
	// Exactly one of {request, request_native} should be used;
	// this is the OpenRTB-compliant field for JSON serialization.
	Request string `protobuf:"bytes,1,opt,name=request,oneof"`
}

type BidRequest_Imp_Native_RequestNative

type BidRequest_Imp_Native_RequestNative struct {
	// Request payload complying with the Native Ad Specification.
	// Exactly one of {request, request_native} should be used;
	// this is an alternate field preferred for Protobuf serialization.
	RequestNative *NativeRequest `protobuf:"bytes,50,opt,name=request_native,json=requestNative,oneof"`
}

type BidRequest_Imp_Pmp

type BidRequest_Imp_Pmp struct {

	// Indicator of auction eligibility to seats named in the Direct Deals
	// object, where false = all bids are accepted, true = bids are restricted
	// to the deals specified and the terms thereof.
	// Supported by Google.
	PrivateAuction *bool `protobuf:"varint,1,opt,name=private_auction,json=privateAuction,def=0" json:"private_auction,omitempty"`
	// Array of Deal (Section 3.2.18) objects that convey the specific deals
	// applicable to this impression.
	// Supported by Google.
	Deals []*BidRequest_Imp_Pmp_Deal `protobuf:"bytes,2,rep,name=deals" json:"deals,omitempty"`
	// contains filtered or unexported fields
}

OpenRTB 2.2: This object is the private marketplace container for direct deals between buyers and sellers that may pertain to this impression. The actual deals are represented as a collection of Deal objects. Refer to Section 7.2 for more details.

func (*BidRequest_Imp_Pmp) Descriptor deprecated

func (*BidRequest_Imp_Pmp) Descriptor() ([]byte, []int)

Deprecated: Use BidRequest_Imp_Pmp.ProtoReflect.Descriptor instead.

func (*BidRequest_Imp_Pmp) GetDeals

func (*BidRequest_Imp_Pmp) GetPrivateAuction

func (x *BidRequest_Imp_Pmp) GetPrivateAuction() bool

func (*BidRequest_Imp_Pmp) ProtoMessage

func (*BidRequest_Imp_Pmp) ProtoMessage()

func (*BidRequest_Imp_Pmp) ProtoReflect

func (x *BidRequest_Imp_Pmp) ProtoReflect() protoreflect.Message

func (*BidRequest_Imp_Pmp) Reset

func (x *BidRequest_Imp_Pmp) Reset()

func (*BidRequest_Imp_Pmp) String

func (x *BidRequest_Imp_Pmp) String() string

type BidRequest_Imp_Pmp_Deal

type BidRequest_Imp_Pmp_Deal struct {

	// A unique identifier for the direct deal.
	// REQUIRED by the OpenRTB specification.
	// Supported by Google.
	Id *string `protobuf:"bytes,1,req,name=id" json:"id,omitempty"`
	// Minimum bid for this deal expressed in CPM.
	// Supported by Google.
	Bidfloor *float64 `protobuf:"fixed64,2,opt,name=bidfloor,def=0" json:"bidfloor,omitempty"`
	// The currency in which the deal floor is expressed. Specified using
	// ISO 4217 alpha codes.
	// Supported by Google.
	Bidfloorcur *string `protobuf:"bytes,3,opt,name=bidfloorcur,def=USD" json:"bidfloorcur,omitempty"`
	// Allowlist of buyer seats (for example, advertisers, agencies) that
	// can bid on this deal. IDs of seats and knowledge of the buyer's
	// customers to which they refer must be coordinated between bidders and
	// the exchange a priori. Omission implies no seat restrictions.
	// Supported by Google.
	Wseat []string `protobuf:"bytes,4,rep,name=wseat" json:"wseat,omitempty"`
	// Array of advertiser domains (for example, advertiser.com) allowed to
	// bid on this deal. Omission implies no advertiser restrictions.
	// Not supported by Google.
	Wadomain []string `protobuf:"bytes,5,rep,name=wadomain" json:"wadomain,omitempty"`
	// Optional override of the overall auction type of the bid request.
	// Supports the additional value FIXED_PRICE: the value passed in
	// bidfloor is the agreed upon deal price.
	// Supported by Google.
	At *AuctionType `protobuf:"varint,6,opt,name=at,enum=com.google.openrtb.AuctionType" json:"at,omitempty"`
	// contains filtered or unexported fields
}

OpenRTB 2.2: This object constitutes a specific deal that was struck a priori between a buyer and a seller. Its presence with the Pmp collection indicates that this impression is available under the terms of that deal. Refer to Section 7.2 for more details.

func (*BidRequest_Imp_Pmp_Deal) Descriptor deprecated

func (*BidRequest_Imp_Pmp_Deal) Descriptor() ([]byte, []int)

Deprecated: Use BidRequest_Imp_Pmp_Deal.ProtoReflect.Descriptor instead.

func (*BidRequest_Imp_Pmp_Deal) GetAt

func (*BidRequest_Imp_Pmp_Deal) GetBidfloor

func (x *BidRequest_Imp_Pmp_Deal) GetBidfloor() float64

func (*BidRequest_Imp_Pmp_Deal) GetBidfloorcur

func (x *BidRequest_Imp_Pmp_Deal) GetBidfloorcur() string

func (*BidRequest_Imp_Pmp_Deal) GetId

func (x *BidRequest_Imp_Pmp_Deal) GetId() string

func (*BidRequest_Imp_Pmp_Deal) GetWadomain

func (x *BidRequest_Imp_Pmp_Deal) GetWadomain() []string

func (*BidRequest_Imp_Pmp_Deal) GetWseat

func (x *BidRequest_Imp_Pmp_Deal) GetWseat() []string

func (*BidRequest_Imp_Pmp_Deal) ProtoMessage

func (*BidRequest_Imp_Pmp_Deal) ProtoMessage()

func (*BidRequest_Imp_Pmp_Deal) ProtoReflect

func (x *BidRequest_Imp_Pmp_Deal) ProtoReflect() protoreflect.Message

func (*BidRequest_Imp_Pmp_Deal) Reset

func (x *BidRequest_Imp_Pmp_Deal) Reset()

func (*BidRequest_Imp_Pmp_Deal) String

func (x *BidRequest_Imp_Pmp_Deal) String() string

type BidRequest_Imp_Refresh

type BidRequest_Imp_Refresh struct {

	// Describes the mechanics of how an ad placement automatically refreshes.
	// Supported by Google.
	Refsettings []*BidRequest_Imp_Refresh_RefSettings `protobuf:"bytes,1,rep,name=refsettings" json:"refsettings,omitempty"`
	// The number of times this ad slot had been refreshed since last page
	// load.
	// Supported by Google.
	Count *int32 `protobuf:"varint,2,opt,name=count" json:"count,omitempty"`
	// contains filtered or unexported fields
}

Details on automatic ad slot refreshes: frequency, triggers, and refresh count since last page load for this specific slot.

func (*BidRequest_Imp_Refresh) Descriptor deprecated

func (*BidRequest_Imp_Refresh) Descriptor() ([]byte, []int)

Deprecated: Use BidRequest_Imp_Refresh.ProtoReflect.Descriptor instead.

func (*BidRequest_Imp_Refresh) GetCount

func (x *BidRequest_Imp_Refresh) GetCount() int32

func (*BidRequest_Imp_Refresh) GetRefsettings

func (*BidRequest_Imp_Refresh) ProtoMessage

func (*BidRequest_Imp_Refresh) ProtoMessage()

func (*BidRequest_Imp_Refresh) ProtoReflect

func (x *BidRequest_Imp_Refresh) ProtoReflect() protoreflect.Message

func (*BidRequest_Imp_Refresh) Reset

func (x *BidRequest_Imp_Refresh) Reset()

func (*BidRequest_Imp_Refresh) String

func (x *BidRequest_Imp_Refresh) String() string

type BidRequest_Imp_Refresh_RefSettings

type BidRequest_Imp_Refresh_RefSettings struct {

	// The type of the declared auto refresh. Refer to List: Auto Refresh
	// Trigger in AdCOM 1.0:
	// https://github.com/InteractiveAdvertisingBureau/AdCOM/blob/develop/AdCOM%20v1.0%20FINAL.md#list-auto-refresh-triggers-.
	// Supported by Google.
	Reftype *int32 `protobuf:"varint,1,opt,name=reftype" json:"reftype,omitempty"`
	// The minimum refresh interval in seconds. This applies to all refresh
	// types. This is the (uninterrupted) time the ad creative will be
	// rendered before refreshing to the next creative. If the field is
	// absent, the exposure time is unknown. This field does not account for
	// viewability or external factors such as a user leaving a page.
	// Supported by Google.
	Minint *int32 `protobuf:"varint,2,opt,name=minint" json:"minint,omitempty"`
	// contains filtered or unexported fields
}

Information on how often and what triggers an ad slot being refreshed.

func (*BidRequest_Imp_Refresh_RefSettings) Descriptor deprecated

func (*BidRequest_Imp_Refresh_RefSettings) Descriptor() ([]byte, []int)

Deprecated: Use BidRequest_Imp_Refresh_RefSettings.ProtoReflect.Descriptor instead.

func (*BidRequest_Imp_Refresh_RefSettings) GetMinint

func (*BidRequest_Imp_Refresh_RefSettings) GetReftype

func (x *BidRequest_Imp_Refresh_RefSettings) GetReftype() int32

func (*BidRequest_Imp_Refresh_RefSettings) ProtoMessage

func (*BidRequest_Imp_Refresh_RefSettings) ProtoMessage()

func (*BidRequest_Imp_Refresh_RefSettings) ProtoReflect

func (*BidRequest_Imp_Refresh_RefSettings) Reset

func (*BidRequest_Imp_Refresh_RefSettings) String

type BidRequest_Imp_Video

type BidRequest_Imp_Video struct {

	// Allowlist of content MIME types supported. Popular MIME types include,
	// but are not limited to "image/jpg", "image/gif" and
	// "application/x-shockwave-flash".
	// REQUIRED by the OpenRTB specification: at least 1 element.
	// Supported by Google.
	Mimes []string `protobuf:"bytes,1,rep,name=mimes" json:"mimes,omitempty"`
	// Minimum video ad duration in seconds.
	// This field is mutually exclusive with rqddurs; only one of
	// minduration and rqddurs may be in a bid request.
	// Supported by Google.
	Minduration *int32 `protobuf:"varint,3,opt,name=minduration,def=0" json:"minduration,omitempty"`
	// Maximum video ad duration in seconds.
	// This field is mutually exclusive with rqddurs; only one of
	// maxduration and rqddurs may be in a bid request.
	// Supported by Google.
	Maxduration *int32 `protobuf:"varint,4,opt,name=maxduration" json:"maxduration,omitempty"`
	// Indicates the start delay in seconds for pre-roll, mid-roll, or
	// post-roll ad placements.
	// Refer to enum StartDelay for generic values.
	// Supported by Google.
	Startdelay *int32 `protobuf:"varint,8,opt,name=startdelay" json:"startdelay,omitempty"`
	// Indicates the maximum number of ads that may be served into a
	// "dynamic" video ad pod (where the precise number of ads is not
	// predetermined by the seller).
	// This field is currently only supported by Google for
	// rewarded video pods requests.
	Maxseq *int32 `protobuf:"varint,28,opt,name=maxseq" json:"maxseq,omitempty"`
	// Indicates the total amount of time in seconds that advertisers may
	// fill for a "dynamic" video ad pod, or the dynamic portion of a
	// "hybrid" ad pod. This field is required only for the dynamic
	// portion(s) of video ad pods. This field refers to the length of the
	// entire ad break, whereas minduration/maxduration/rqddurs are
	// constraints relating to the slots that make up the pod.
	// This field is currently only supported for rewarded video pods
	// requests.
	Poddur *int32 `protobuf:"varint,29,opt,name=poddur" json:"poddur,omitempty"`
	// Array of supported video bid response protocols.
	// At least one supported protocol must be specified.
	// Supported by Google.
	Protocols []Protocol `protobuf:"varint,21,rep,packed,name=protocols,enum=com.google.openrtb.Protocol" json:"protocols,omitempty"`
	// Width of the video player in device independent pixels (DIPS).
	// Supported by Google.
	W *int32 `protobuf:"varint,6,opt,name=w" json:"w,omitempty"`
	// Height of the video player in device independent pixels (DIPS).
	// Supported by Google.
	H *int32 `protobuf:"varint,7,opt,name=h" json:"h,omitempty"`
	// Unique identifier indicating that an impression opportunity
	// belongs to a video ad pod. If multiple impression opportunities
	// within a bid request share the same podid, this indicates that
	// those impression opportunities belong to the same video ad pod.
	// Not supported by Google.
	Podid *string `protobuf:"bytes,30,opt,name=podid" json:"podid,omitempty"`
	// The sequence (position) of the video ad pod within a content stream.
	// Not supported by Google.
	Podseq *PodSequence `protobuf:"varint,31,opt,name=podseq,enum=com.google.openrtb.PodSequence,def=0" json:"podseq,omitempty"`
	// Precise acceptable durations for video creatives in
	// seconds. This field specifically targets the Live TV use case
	// where non-exact ad durations would result in undesirable ‘dead air’.
	// This field is mutually exclusive with minduration and maxduration;
	// if rqddurs is specified, minduration and maxduration must not be
	// specified and the other way around.
	// Not supported by Google.
	Rqddurs []int32 `protobuf:"varint,32,rep,packed,name=rqddurs" json:"rqddurs,omitempty"`
	// Deprecated. This will be removed in January 2025 per the IAB here:
	// https://github.com/InteractiveAdvertisingBureau/AdCOM/blob/main/AdCOM%20v1.0%20FINAL.md#list--placement-subtypes---video-
	// Placement type for the impression.
	// Supported by Google.
	//
	// Deprecated: Marked as deprecated in openrtb.proto.
	Placement *VideoPlacementType `protobuf:"varint,26,opt,name=placement,enum=com.google.openrtb.VideoPlacementType" json:"placement,omitempty"`
	// Video placement type declared by the publisher for this impression.
	// Introduced in OpenRTB 2.6 to reflect updated industry definitions
	// around different types of video ad placements. This field supersedes
	// the Video.placement field. May be unset if the publisher did not
	// declare a video placement type.
	// Supported by Google.
	Plcmt *Plcmt `protobuf:"varint,35,opt,name=plcmt,enum=com.google.openrtb.Plcmt,def=0" json:"plcmt,omitempty"`
	// Indicates if the impression must be linear or nonlinear. If none
	// specified, assume all are allowed.
	// Supported by Google.
	Linearity *VideoLinearity `protobuf:"varint,2,opt,name=linearity,enum=com.google.openrtb.VideoLinearity" json:"linearity,omitempty"`
	// Indicates if the player will allow the video to be skipped.
	// If a bidder sends markup/creative that is itself skippable, the
	// Bid object should include the attr array with an element of
	// AD_CAN_BE_SKIPPED indicating skippable video.
	// Supported by Google.
	Skip *bool `protobuf:"varint,23,opt,name=skip" json:"skip,omitempty"`
	// Videos of total duration greater than this number of seconds
	// can be skippable; only applicable if the ad is skippable.
	// Not supported by Google.
	Skipmin *int32 `protobuf:"varint,24,opt,name=skipmin" json:"skipmin,omitempty"`
	// Number of seconds a video must play before skipping is
	// enabled; only applicable if the ad is skippable.
	// Not supported by Google.
	Skipafter *int32 `protobuf:"varint,25,opt,name=skipafter" json:"skipafter,omitempty"`
	// DEPRECATED in OpenRTB 2.6+; prefer the field podseq.
	// If multiple ad impressions are offered in the same bid request,
	// the sequence number will allow for the coordinated delivery of
	// multiple creatives.
	// Not supported by Google.
	//
	// Deprecated: Marked as deprecated in openrtb.proto.
	Sequence *int32 `protobuf:"varint,9,opt,name=sequence,def=1" json:"sequence,omitempty"`
	// For video ad pods, this value indicates that the seller can
	// guarantee delivery against the indicated slot position in the pod.
	// Not supported by Google.
	Slotinpod *SlotPositionInPod `protobuf:"varint,33,opt,name=slotinpod,enum=com.google.openrtb.SlotPositionInPod,def=0" json:"slotinpod,omitempty"`
	// Minimum CPM per second. This is a price floor for the
	// "dynamic" portion of a video ad pod, relative to the duration
	// of bids an advertiser may submit.
	// Not supported by Google.
	Mincpmpersec *float64 `protobuf:"fixed64,34,opt,name=mincpmpersec" json:"mincpmpersec,omitempty"`
	// Blocked creative attributes. See the full list of available attributes:
	// https://github.com/InteractiveAdvertisingBureau/AdCOM/blob/main/AdCOM%20v1.0%20FINAL.md#list--creative-attributes-
	// Supported by Google.
	Battr []CreativeAttribute `protobuf:"varint,10,rep,packed,name=battr,enum=com.google.openrtb.CreativeAttribute" json:"battr,omitempty"`
	// Maximum extended video ad duration, if extension is allowed.
	// If blank or 0, extension is not allowed. If -1, extension is allowed,
	// and there is no time limit imposed. If greater than 0, then the value
	// represents the number of seconds of extended play supported beyond
	// the maxduration value.
	// Not supported by Google.
	Maxextended *int32 `protobuf:"varint,11,opt,name=maxextended" json:"maxextended,omitempty"`
	// Minimum bit rate in Kbps.
	// Not supported by Google.
	Minbitrate *int32 `protobuf:"varint,12,opt,name=minbitrate" json:"minbitrate,omitempty"`
	// Maximum bit rate in Kbps.
	// Not supported by Google.
	Maxbitrate *int32 `protobuf:"varint,13,opt,name=maxbitrate" json:"maxbitrate,omitempty"`
	// Indicates if letter-boxing of 4:3 content into a 16:9 window is
	// allowed.
	// Not supported by Google.
	Boxingallowed *bool `protobuf:"varint,14,opt,name=boxingallowed,def=1" json:"boxingallowed,omitempty"`
	// Playback methods that may be in use. If none are specified, any
	// method may be used. Only one method is typically used in practice.
	// As a result, this array may be converted to an integer in a future
	// version of the specification. It is strongly advised to use only
	// the first element of this array in preparation for this change.
	// Supported by Google.
	Playbackmethod []PlaybackMethod `protobuf:"varint,15,rep,packed,name=playbackmethod,enum=com.google.openrtb.PlaybackMethod" json:"playbackmethod,omitempty"`
	// The event that causes playback to end.
	// Supported by Google.
	Playbackend *PlaybackCessationMode `protobuf:"varint,27,opt,name=playbackend,enum=com.google.openrtb.PlaybackCessationMode" json:"playbackend,omitempty"`
	// Supported delivery methods (for example, streaming, progressive).
	// Supported by Google.
	Delivery []ContentDeliveryMethod `protobuf:"varint,16,rep,packed,name=delivery,enum=com.google.openrtb.ContentDeliveryMethod" json:"delivery,omitempty"`
	// Ad position on screen.
	// Supported by Google.
	Pos *AdPosition `protobuf:"varint,17,opt,name=pos,enum=com.google.openrtb.AdPosition" json:"pos,omitempty"`
	// Array of Banner objects (Section 3.2.3) if companion ads are available.
	// Supported by Google.
	Companionad []*BidRequest_Imp_Banner `protobuf:"bytes,18,rep,name=companionad" json:"companionad,omitempty"`
	// List of supported API frameworks for this impression.
	// If an API is not explicitly listed, it is assumed not to be supported.
	// Supported by Google.
	Api []APIFramework `protobuf:"varint,19,rep,packed,name=api,enum=com.google.openrtb.APIFramework" json:"api,omitempty"`
	// Supported VAST companion ad types. Recommended if companion Banner
	// objects are included through the companionad array.
	// Supported by Google.
	Companiontype []CompanionType `protobuf:"varint,20,rep,packed,name=companiontype,enum=com.google.openrtb.CompanionType" json:"companiontype,omitempty"`
	// DEPRECATED in OpenRTB 2.3+, REMOVED in 2.6.
	// Use the field <code>protocols</code>.
	// Not supported by Google.
	//
	// Deprecated: Marked as deprecated in openrtb.proto.
	Protocol *Protocol `protobuf:"varint,5,opt,name=protocol,enum=com.google.openrtb.Protocol" json:"protocol,omitempty"`
	// contains filtered or unexported fields
}

OpenRTB 2.0: This object represents an in-stream video impression. Many of the fields are non-essential for minimally viable transactions, but are included to offer fine control when needed. Video in OpenRTB generally assumes compliance with the VAST standard. As such, the notion of companion ads is supported by optionally including an array of Banner objects (refer to the Banner object in Section 3.2.3) that define these companion ads.

The presence of a Video as a subordinate of the Imp object indicates that this impression is offered as a video type impression. At the publisher's discretion, that same impression may also be offered as banner and/or native by also including as Imp subordinates the Banner and/or Native objects, respectively. However, any given bid for the impression must conform to one of the offered types.

func (*BidRequest_Imp_Video) Descriptor deprecated

func (*BidRequest_Imp_Video) Descriptor() ([]byte, []int)

Deprecated: Use BidRequest_Imp_Video.ProtoReflect.Descriptor instead.

func (*BidRequest_Imp_Video) GetApi

func (x *BidRequest_Imp_Video) GetApi() []APIFramework

func (*BidRequest_Imp_Video) GetBattr

func (x *BidRequest_Imp_Video) GetBattr() []CreativeAttribute

func (*BidRequest_Imp_Video) GetBoxingallowed

func (x *BidRequest_Imp_Video) GetBoxingallowed() bool

func (*BidRequest_Imp_Video) GetCompanionad

func (x *BidRequest_Imp_Video) GetCompanionad() []*BidRequest_Imp_Banner

func (*BidRequest_Imp_Video) GetCompaniontype

func (x *BidRequest_Imp_Video) GetCompaniontype() []CompanionType

func (*BidRequest_Imp_Video) GetDelivery

func (x *BidRequest_Imp_Video) GetDelivery() []ContentDeliveryMethod

func (*BidRequest_Imp_Video) GetH

func (x *BidRequest_Imp_Video) GetH() int32

func (*BidRequest_Imp_Video) GetLinearity

func (x *BidRequest_Imp_Video) GetLinearity() VideoLinearity

func (*BidRequest_Imp_Video) GetMaxbitrate

func (x *BidRequest_Imp_Video) GetMaxbitrate() int32

func (*BidRequest_Imp_Video) GetMaxduration

func (x *BidRequest_Imp_Video) GetMaxduration() int32

func (*BidRequest_Imp_Video) GetMaxextended

func (x *BidRequest_Imp_Video) GetMaxextended() int32

func (*BidRequest_Imp_Video) GetMaxseq

func (x *BidRequest_Imp_Video) GetMaxseq() int32

func (*BidRequest_Imp_Video) GetMimes

func (x *BidRequest_Imp_Video) GetMimes() []string

func (*BidRequest_Imp_Video) GetMinbitrate

func (x *BidRequest_Imp_Video) GetMinbitrate() int32

func (*BidRequest_Imp_Video) GetMincpmpersec

func (x *BidRequest_Imp_Video) GetMincpmpersec() float64

func (*BidRequest_Imp_Video) GetMinduration

func (x *BidRequest_Imp_Video) GetMinduration() int32

func (*BidRequest_Imp_Video) GetPlacement deprecated

func (x *BidRequest_Imp_Video) GetPlacement() VideoPlacementType

Deprecated: Marked as deprecated in openrtb.proto.

func (*BidRequest_Imp_Video) GetPlaybackend

func (x *BidRequest_Imp_Video) GetPlaybackend() PlaybackCessationMode

func (*BidRequest_Imp_Video) GetPlaybackmethod

func (x *BidRequest_Imp_Video) GetPlaybackmethod() []PlaybackMethod

func (*BidRequest_Imp_Video) GetPlcmt

func (x *BidRequest_Imp_Video) GetPlcmt() Plcmt

func (*BidRequest_Imp_Video) GetPoddur

func (x *BidRequest_Imp_Video) GetPoddur() int32

func (*BidRequest_Imp_Video) GetPodid

func (x *BidRequest_Imp_Video) GetPodid() string

func (*BidRequest_Imp_Video) GetPodseq

func (x *BidRequest_Imp_Video) GetPodseq() PodSequence

func (*BidRequest_Imp_Video) GetPos

func (x *BidRequest_Imp_Video) GetPos() AdPosition

func (*BidRequest_Imp_Video) GetProtocol deprecated

func (x *BidRequest_Imp_Video) GetProtocol() Protocol

Deprecated: Marked as deprecated in openrtb.proto.

func (*BidRequest_Imp_Video) GetProtocols

func (x *BidRequest_Imp_Video) GetProtocols() []Protocol

func (*BidRequest_Imp_Video) GetRqddurs

func (x *BidRequest_Imp_Video) GetRqddurs() []int32

func (*BidRequest_Imp_Video) GetSequence deprecated

func (x *BidRequest_Imp_Video) GetSequence() int32

Deprecated: Marked as deprecated in openrtb.proto.

func (*BidRequest_Imp_Video) GetSkip

func (x *BidRequest_Imp_Video) GetSkip() bool

func (*BidRequest_Imp_Video) GetSkipafter

func (x *BidRequest_Imp_Video) GetSkipafter() int32

func (*BidRequest_Imp_Video) GetSkipmin

func (x *BidRequest_Imp_Video) GetSkipmin() int32

func (*BidRequest_Imp_Video) GetSlotinpod

func (x *BidRequest_Imp_Video) GetSlotinpod() SlotPositionInPod

func (*BidRequest_Imp_Video) GetStartdelay

func (x *BidRequest_Imp_Video) GetStartdelay() int32

func (*BidRequest_Imp_Video) GetW

func (x *BidRequest_Imp_Video) GetW() int32

func (*BidRequest_Imp_Video) ProtoMessage

func (*BidRequest_Imp_Video) ProtoMessage()

func (*BidRequest_Imp_Video) ProtoReflect

func (x *BidRequest_Imp_Video) ProtoReflect() protoreflect.Message

func (*BidRequest_Imp_Video) Reset

func (x *BidRequest_Imp_Video) Reset()

func (*BidRequest_Imp_Video) String

func (x *BidRequest_Imp_Video) String() string

type BidRequest_Publisher

type BidRequest_Publisher struct {

	// Exchange-specific publisher ID.
	// Supported by Google.
	Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// Publisher name (may be aliased at publisher's request).
	// Not supported by Google.
	Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// The taxonomy in use for cat.
	// Not supported by Google.
	Cattax *CategoryTaxonomy `protobuf:"varint,5,opt,name=cattax,enum=com.google.openrtb.CategoryTaxonomy,def=1" json:"cattax,omitempty"`
	// Array of IAB content categories that describe the publisher.
	// The taxonomy to be used is defined by the cattax field.
	// Not supported by Google.
	Cat []string `protobuf:"bytes,3,rep,name=cat" json:"cat,omitempty"`
	// Highest level domain of the publisher (for example, "publisher.com").
	// Not supported by Google.
	Domain *string `protobuf:"bytes,4,opt,name=domain" json:"domain,omitempty"`
	// contains filtered or unexported fields
}

OpenRTB 2.0: This object describes the publisher of the media in which the ad will be displayed. The publisher is typically the seller in an OpenRTB transaction.

func (*BidRequest_Publisher) Descriptor deprecated

func (*BidRequest_Publisher) Descriptor() ([]byte, []int)

Deprecated: Use BidRequest_Publisher.ProtoReflect.Descriptor instead.

func (*BidRequest_Publisher) GetCat

func (x *BidRequest_Publisher) GetCat() []string

func (*BidRequest_Publisher) GetCattax

func (x *BidRequest_Publisher) GetCattax() CategoryTaxonomy

func (*BidRequest_Publisher) GetDomain

func (x *BidRequest_Publisher) GetDomain() string

func (*BidRequest_Publisher) GetId

func (x *BidRequest_Publisher) GetId() string

func (*BidRequest_Publisher) GetName

func (x *BidRequest_Publisher) GetName() string

func (*BidRequest_Publisher) ProtoMessage

func (*BidRequest_Publisher) ProtoMessage()

func (*BidRequest_Publisher) ProtoReflect

func (x *BidRequest_Publisher) ProtoReflect() protoreflect.Message

func (*BidRequest_Publisher) Reset

func (x *BidRequest_Publisher) Reset()

func (*BidRequest_Publisher) String

func (x *BidRequest_Publisher) String() string

type BidRequest_Regs

type BidRequest_Regs struct {

	// Indicates if this request is subject to the COPPA regulations
	// established by the USA FTC.
	// Not supported by Google.
	Coppa *bool `protobuf:"varint,1,opt,name=coppa" json:"coppa,omitempty"`
	// Contains the Global Privacy Platform's consent string. See the Global
	// Privacy Platform specification for more details:
	// https://github.com/InteractiveAdvertisingBureau/Global-Privacy-Platform
	// Not supported by Google.
	Gpp *string `protobuf:"bytes,2,opt,name=gpp" json:"gpp,omitempty"`
	// Array of the section(s) of the string which should be applied for this
	// transaction. Generally will contain one and only one value, but there are
	// edge cases where more than one may apply. GPP Section 3 (Header) and 4
	// (Signal Integrity) do not need to be included. See enum GppSectionId.
	// Not supported by Google.
	GppSid []BidRequest_Regs_GppSectionId `` /* 133-byte string literal not displayed */
	// contains filtered or unexported fields
}

OpenRTB 2.2: This object contains any legal, governmental, or industry regulations that apply to the request. The coppa field signals whether or not the request falls under the United States Federal Trade Commission's regulations for the United States Children's Online Privacy Protection Act ("COPPA"). Refer to Section 7.1 for more information.

func (*BidRequest_Regs) Descriptor deprecated

func (*BidRequest_Regs) Descriptor() ([]byte, []int)

Deprecated: Use BidRequest_Regs.ProtoReflect.Descriptor instead.

func (*BidRequest_Regs) GetCoppa

func (x *BidRequest_Regs) GetCoppa() bool

func (*BidRequest_Regs) GetGpp

func (x *BidRequest_Regs) GetGpp() string

func (*BidRequest_Regs) GetGppSid

func (*BidRequest_Regs) ProtoMessage

func (*BidRequest_Regs) ProtoMessage()

func (*BidRequest_Regs) ProtoReflect

func (x *BidRequest_Regs) ProtoReflect() protoreflect.Message

func (*BidRequest_Regs) Reset

func (x *BidRequest_Regs) Reset()

func (*BidRequest_Regs) String

func (x *BidRequest_Regs) String() string

type BidRequest_Regs_GppSectionId

type BidRequest_Regs_GppSectionId int32

Each section represents a unique privacy signal, usually a unique jurisdiction. Below are the supported discrete sections.

const (
	// EU TCF v1 section (deprecated)
	BidRequest_Regs_TCFEUV1 BidRequest_Regs_GppSectionId = 1
	// EU TCF v2 section (see note below)
	BidRequest_Regs_TCFEUV2 BidRequest_Regs_GppSectionId = 2
	// GPP Header section (REQUIRED, see note below)
	BidRequest_Regs_GPP_HEADER BidRequest_Regs_GppSectionId = 3
	// GPP signal integrity section
	BidRequest_Regs_GPP_SIGNAL BidRequest_Regs_GppSectionId = 4
	// Canadian TCF section
	BidRequest_Regs_TCFCA BidRequest_Regs_GppSectionId = 5
	// USPrivacy String (Unencoded Format)
	BidRequest_Regs_USPV1 BidRequest_Regs_GppSectionId = 6
	// US - national section
	BidRequest_Regs_USNAT BidRequest_Regs_GppSectionId = 7
	// US - California section
	BidRequest_Regs_USCA BidRequest_Regs_GppSectionId = 8
	// US - Virginia section
	BidRequest_Regs_USVA BidRequest_Regs_GppSectionId = 9
	// US - Colorado section
	BidRequest_Regs_USCO BidRequest_Regs_GppSectionId = 10
	// US - Utah section
	BidRequest_Regs_USUT BidRequest_Regs_GppSectionId = 11
	// US - Connecticut section
	BidRequest_Regs_USCT BidRequest_Regs_GppSectionId = 12
)

func (BidRequest_Regs_GppSectionId) Descriptor

func (BidRequest_Regs_GppSectionId) Enum

func (BidRequest_Regs_GppSectionId) EnumDescriptor deprecated

func (BidRequest_Regs_GppSectionId) EnumDescriptor() ([]byte, []int)

Deprecated: Use BidRequest_Regs_GppSectionId.Descriptor instead.

func (BidRequest_Regs_GppSectionId) Number

func (BidRequest_Regs_GppSectionId) String

func (BidRequest_Regs_GppSectionId) Type

func (*BidRequest_Regs_GppSectionId) UnmarshalJSON deprecated

func (x *BidRequest_Regs_GppSectionId) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type BidRequest_Site

type BidRequest_Site struct {

	// Site ID on the exchange.
	// Not supported by Google.
	Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// Site name (may be masked at publisher's request).
	// Not supported by Google.
	Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// Domain of the site, used for advertiser side blocking.
	// For example, "foo.com".
	// Not supported by Google.
	Domain *string `protobuf:"bytes,3,opt,name=domain" json:"domain,omitempty"`
	// The taxonomy in use for cat, sectioncat and pagecat.
	// Not supported by Google.
	Cattax *CategoryTaxonomy `protobuf:"varint,16,opt,name=cattax,enum=com.google.openrtb.CategoryTaxonomy,def=1" json:"cattax,omitempty"`
	// Array of IAB content categories of the site.
	// The taxonomy to be used is defined by the cattax field.
	// Not supported by Google.
	Cat []string `protobuf:"bytes,4,rep,name=cat" json:"cat,omitempty"`
	// Array of IAB content categories that describe the current section
	// of the site.
	// The taxonomy to be used is defined by the cattax field.
	// Not supported by Google.
	Sectioncat []string `protobuf:"bytes,5,rep,name=sectioncat" json:"sectioncat,omitempty"`
	// Array of IAB content categories that describe the current page or view
	// of the site.
	// The taxonomy to be used is defined by the cattax field.
	// Not supported by Google.
	Pagecat []string `protobuf:"bytes,6,rep,name=pagecat" json:"pagecat,omitempty"`
	// URL of the page where the impression will be shown.
	// Supported by Google.
	Page *string `protobuf:"bytes,7,opt,name=page" json:"page,omitempty"`
	// Indicates if the site has a privacy policy.
	// Not supported by Google.
	Privacypolicy *bool `protobuf:"varint,8,opt,name=privacypolicy" json:"privacypolicy,omitempty"`
	// Referrer URL that caused navigation to the current page.
	// Not supported by Google.
	Ref *string `protobuf:"bytes,9,opt,name=ref" json:"ref,omitempty"`
	// Search string that caused navigation to the current page.
	// Not supported by Google.
	Search *string `protobuf:"bytes,10,opt,name=search" json:"search,omitempty"`
	// Details about the Publisher (Section 3.2.8) of the site.
	// Supported by Google.
	Publisher *BidRequest_Publisher `protobuf:"bytes,11,opt,name=publisher" json:"publisher,omitempty"`
	// Details about the Content (Section 3.2.9) within the site.
	// Supported by Google.
	Content *BidRequest_Content `protobuf:"bytes,12,opt,name=content" json:"content,omitempty"`
	// Comma separated list of keywords about this site.
	// Not supported by Google.
	Keywords *string `protobuf:"bytes,13,opt,name=keywords" json:"keywords,omitempty"`
	// Indicates if the site has been programmed to optimize layout
	// when viewed on mobile devices.
	// Supported by Google.
	Mobile *bool `protobuf:"varint,15,opt,name=mobile" json:"mobile,omitempty"`
	// contains filtered or unexported fields
}

OpenRTB 2.0: This object should be included if the ad supported content is a website as opposed to a non-browser application. A bid request must not contain both a Site and an App object. At a minimum, it is useful to provide a site ID or page URL, but this is not strictly required.

func (*BidRequest_Site) Descriptor deprecated

func (*BidRequest_Site) Descriptor() ([]byte, []int)

Deprecated: Use BidRequest_Site.ProtoReflect.Descriptor instead.

func (*BidRequest_Site) GetCat

func (x *BidRequest_Site) GetCat() []string

func (*BidRequest_Site) GetCattax

func (x *BidRequest_Site) GetCattax() CategoryTaxonomy

func (*BidRequest_Site) GetContent

func (x *BidRequest_Site) GetContent() *BidRequest_Content

func (*BidRequest_Site) GetDomain

func (x *BidRequest_Site) GetDomain() string

func (*BidRequest_Site) GetId

func (x *BidRequest_Site) GetId() string

func (*BidRequest_Site) GetKeywords

func (x *BidRequest_Site) GetKeywords() string

func (*BidRequest_Site) GetMobile

func (x *BidRequest_Site) GetMobile() bool

func (*BidRequest_Site) GetName

func (x *BidRequest_Site) GetName() string

func (*BidRequest_Site) GetPage

func (x *BidRequest_Site) GetPage() string

func (*BidRequest_Site) GetPagecat

func (x *BidRequest_Site) GetPagecat() []string

func (*BidRequest_Site) GetPrivacypolicy

func (x *BidRequest_Site) GetPrivacypolicy() bool

func (*BidRequest_Site) GetPublisher

func (x *BidRequest_Site) GetPublisher() *BidRequest_Publisher

func (*BidRequest_Site) GetRef

func (x *BidRequest_Site) GetRef() string

func (*BidRequest_Site) GetSearch

func (x *BidRequest_Site) GetSearch() string

func (*BidRequest_Site) GetSectioncat

func (x *BidRequest_Site) GetSectioncat() []string

func (*BidRequest_Site) ProtoMessage

func (*BidRequest_Site) ProtoMessage()

func (*BidRequest_Site) ProtoReflect

func (x *BidRequest_Site) ProtoReflect() protoreflect.Message

func (*BidRequest_Site) Reset

func (x *BidRequest_Site) Reset()

func (*BidRequest_Site) String

func (x *BidRequest_Site) String() string

type BidRequest_Site_

type BidRequest_Site_ struct {
	// Information about the publisher's website. Only applicable and
	// recommended for websites.
	// Supported by Google.
	Site *BidRequest_Site `protobuf:"bytes,3,opt,name=site,oneof"`
}

type BidRequest_Source

type BidRequest_Source struct {

	// Entity responsible for the final impression sale decision,
	// where false = exchange, true = upstream source
	// Not supported by Google.
	Fd *bool `protobuf:"varint,1,opt,name=fd" json:"fd,omitempty"`
	// Transaction ID that must be common across all participants in
	// this bid request (for example, potentially multiple exchanges).
	// Not supported by Google.
	Tid *string `protobuf:"bytes,2,opt,name=tid" json:"tid,omitempty"`
	// Payment ID chain string containing embedded syntax
	// described in the TAG Payment ID Protocol v1.0.
	// Not supported by Google.
	Pchain *string `protobuf:"bytes,3,opt,name=pchain" json:"pchain,omitempty"`
	// This object represents both the links in the supply chain as
	// well as an indicator whether or not the supply chain is complete.
	// Supported by Google.
	Schain *BidRequest_Source_SupplyChain `protobuf:"bytes,4,opt,name=schain" json:"schain,omitempty"`
	// contains filtered or unexported fields
}

OpenRTB 2.5: This object describes the nature and behavior of the entity that is the source of the bid request upstream from the exchange. The primary purpose of this object is to define post-auction or upstream decisioning when the exchange itself does not control the final decision. A common example of this is header bidding, but it can also apply to upstream server entities such as another RTB exchange, a mediation platform, or an ad server combines direct campaigns with 3rd party demand in decisioning.

func (*BidRequest_Source) Descriptor deprecated

func (*BidRequest_Source) Descriptor() ([]byte, []int)

Deprecated: Use BidRequest_Source.ProtoReflect.Descriptor instead.

func (*BidRequest_Source) GetFd

func (x *BidRequest_Source) GetFd() bool

func (*BidRequest_Source) GetPchain

func (x *BidRequest_Source) GetPchain() string

func (*BidRequest_Source) GetSchain

func (*BidRequest_Source) GetTid

func (x *BidRequest_Source) GetTid() string

func (*BidRequest_Source) ProtoMessage

func (*BidRequest_Source) ProtoMessage()

func (*BidRequest_Source) ProtoReflect

func (x *BidRequest_Source) ProtoReflect() protoreflect.Message

func (*BidRequest_Source) Reset

func (x *BidRequest_Source) Reset()

func (*BidRequest_Source) String

func (x *BidRequest_Source) String() string

type BidRequest_Source_SupplyChain

type BidRequest_Source_SupplyChain struct {

	// Indicates whether the chain contains all nodes involved in the
	// transaction leading back to the owner of the site, app or other medium
	// of the inventory.
	// REQUIRED by the OpenRTB specification.
	// Supported by Google.
	Complete *bool `protobuf:"varint,1,opt,name=complete" json:"complete,omitempty"`
	// Array of SupplyChainNode objects in the order of the chain.
	// In a complete supply chain, the first node represents the initial
	// advertising system and seller ID involved in the transaction, that is,
	// the owner of the site, app, or other medium. In an incomplete
	// supply chain, it represents the first known node. The last node
	// represents the entity sending this bid request.
	// REQUIRED by the OpenRTB specification.
	// Supported by Google.
	Nodes []*BidRequest_Source_SupplyChain_SupplyChainNode `protobuf:"bytes,2,rep,name=nodes" json:"nodes,omitempty"`
	// Version of the supply chain specification in use, in the format
	// of "major.minor". For example, for version 1.0 of the spec,
	// use the string "1.0".
	// REQUIRED by the OpenRTB specification.
	// Supported by Google.
	Ver *string `protobuf:"bytes,3,opt,name=ver" json:"ver,omitempty"`
	// contains filtered or unexported fields
}

This object is composed of a set of nodes where each node represents a specific entity that participates in the transacting of inventory. The entire chain of nodes from beginning to end represents all entities who are involved in the direct flow of payment for inventory. Detailed implementation examples can be found here: https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/supplychainobject.md

func (*BidRequest_Source_SupplyChain) Descriptor deprecated

func (*BidRequest_Source_SupplyChain) Descriptor() ([]byte, []int)

Deprecated: Use BidRequest_Source_SupplyChain.ProtoReflect.Descriptor instead.

func (*BidRequest_Source_SupplyChain) GetComplete

func (x *BidRequest_Source_SupplyChain) GetComplete() bool

func (*BidRequest_Source_SupplyChain) GetNodes

func (*BidRequest_Source_SupplyChain) GetVer

func (*BidRequest_Source_SupplyChain) ProtoMessage

func (*BidRequest_Source_SupplyChain) ProtoMessage()

func (*BidRequest_Source_SupplyChain) ProtoReflect

func (*BidRequest_Source_SupplyChain) Reset

func (x *BidRequest_Source_SupplyChain) Reset()

func (*BidRequest_Source_SupplyChain) String

type BidRequest_Source_SupplyChain_SupplyChainNode

type BidRequest_Source_SupplyChain_SupplyChainNode struct {

	// The canonical domain name of the SSP, Exchange, Header Wrapper, etc
	// system that bidders connect to. This may be the operational domain of
	// the system, if that is different than the parent corporate domain, to
	// facilitate WHOIS and reverse IP lookups to establish clear ownership
	// of the delegate system. This should be the same value as used to
	// identify sellers in an ads.txt file if one exists.
	// REQUIRED by the OpenRTB specification.
	// Supported by Google.
	Asi *string `protobuf:"bytes,1,opt,name=asi" json:"asi,omitempty"`
	// The identifier associated with the seller or reseller account
	// within the advertising system. This must contain the same value
	// used in transactions (OpenRTB bid requests) in the field
	// specified by the SSP/exchange. Typically, in OpenRTB, this is
	// publisher.id. For OpenDirect it is typically the publisher's
	// organization ID. Should be limited to 64 characters in length.
	// REQUIRED by the OpenRTB specification.
	// Supported by Google.
	Sid *string `protobuf:"bytes,2,opt,name=sid" json:"sid,omitempty"`
	// The OpenRTB RequestId of the request as issued by this seller.
	// Not supported by Google.
	Rid *string `protobuf:"bytes,3,opt,name=rid" json:"rid,omitempty"`
	// The name of the company (the legal entity) that has paid for
	// inventory transacted under the given seller_ID. This value is
	// optional and should NOT be included if it exists in the
	// advertising system’s sellers.json file.
	// Supported for SupplyChain nodes upstream of Google if available.
	Name *string `protobuf:"bytes,4,opt,name=name" json:"name,omitempty"`
	// The business domain name of the entity represented by this
	// node. This value is optional and should NOT be included if it
	// exists in the advertising system’s sellers.json file.
	// Supported for SupplyChain nodes upstream of Google if available.
	Domain *string `protobuf:"bytes,5,opt,name=domain" json:"domain,omitempty"`
	// Indicates whether this node will be involved in the flow of payment
	// for the inventory. When set to true, the advertising system in the
	// asi field pays the seller in the sid field, who is responsible for
	// paying the previous node in the chain. When set to false, this node
	// is not involved in the flow of payment for the inventory.
	// For version 1.0 of SupplyChain, this property should always be true.
	// Implementers should ensure that they propagate this field onwards
	// when constructing SupplyChain objects in bid requests sent to a
	// downstream advertising system.
	// Supported by Google.
	Hp *bool `protobuf:"varint,6,opt,name=hp" json:"hp,omitempty"`
	// contains filtered or unexported fields
}

The identity of an entity participating in the supply chain.

func (*BidRequest_Source_SupplyChain_SupplyChainNode) Descriptor deprecated

Deprecated: Use BidRequest_Source_SupplyChain_SupplyChainNode.ProtoReflect.Descriptor instead.

func (*BidRequest_Source_SupplyChain_SupplyChainNode) GetAsi

func (*BidRequest_Source_SupplyChain_SupplyChainNode) GetDomain

func (*BidRequest_Source_SupplyChain_SupplyChainNode) GetHp

func (*BidRequest_Source_SupplyChain_SupplyChainNode) GetName

func (*BidRequest_Source_SupplyChain_SupplyChainNode) GetRid

func (*BidRequest_Source_SupplyChain_SupplyChainNode) GetSid

func (*BidRequest_Source_SupplyChain_SupplyChainNode) ProtoMessage

func (*BidRequest_Source_SupplyChain_SupplyChainNode) ProtoReflect

func (*BidRequest_Source_SupplyChain_SupplyChainNode) Reset

func (*BidRequest_Source_SupplyChain_SupplyChainNode) String

type BidRequest_User

type BidRequest_User struct {

	// Exchange-specific ID for the user. At least one of id or buyeruid
	// is recommended.
	// Supported by Google.
	Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// Buyer-specific ID for the user as mapped by the exchange for the buyer.
	// At least one of buyeruid or id is recommended.
	// Supported by Google. Populated with hosted match data.
	Buyeruid *string `protobuf:"bytes,2,opt,name=buyeruid" json:"buyeruid,omitempty"`
	// DEPRECATED in OpenRTB 2.6+; no replacement.
	// Year of birth as a 4-digit integer.
	// Not supported by Google.
	//
	// Deprecated: Marked as deprecated in openrtb.proto.
	Yob *int32 `protobuf:"varint,3,opt,name=yob" json:"yob,omitempty"`
	// DEPRECATED in OpenRTB 2.6+; no replacement.
	// Gender as "M" male, "F" female, "O" Other. (Null indicates unknown)
	// Not supported by Google.
	//
	// Deprecated: Marked as deprecated in openrtb.proto.
	Gender *string `protobuf:"bytes,4,opt,name=gender" json:"gender,omitempty"`
	// Comma separated list of keywords, interests, or intent.
	// Only one of 'keywords' or 'kwarray' may be present.
	// Not supported by Google.
	Keywords *string `protobuf:"bytes,5,opt,name=keywords" json:"keywords,omitempty"`
	// Array of keywords about the user.
	// Only one of 'keywords' or 'kwarray' may be present.
	// Not supported by Google.
	Kwarray []string `protobuf:"bytes,9,rep,name=kwarray" json:"kwarray,omitempty"`
	// Optional feature to pass bidder data set in the exchange's cookie.
	// The string must be in base85 cookie safe characters and be in any format.
	// Proper JSON encoding must be used to include "escaped" quotation marks.
	// Supported by Google. Populated with hosted match data.
	Customdata *string `protobuf:"bytes,6,opt,name=customdata" json:"customdata,omitempty"`
	// Location of the user's home base defined by a Geo object
	// (Section 3.2.12). This is not necessarily their current location.
	// Not supported by Google.
	Geo *BidRequest_Geo `protobuf:"bytes,7,opt,name=geo" json:"geo,omitempty"`
	// Additional user data. Each Data object (Section 3.2.14) represents a
	// different data source.
	// Supported by Google.
	// Used for Chrome Topics API and for Publisher Provided Signals:
	// https://developers.google.com/authorized-buyers/rtb/topics
	// https://support.google.com/admanager/answer/12451124
	Data []*BidRequest_Data `protobuf:"bytes,8,rep,name=data" json:"data,omitempty"`
	// The web-safe base64-encoded IAB Transparency and Consent Framework (TCF)
	// v2 consent string fetched from the publisher's IAB Consent Management
	// Platform (CMP). The structure of the string is defined by the IAB TCF v2.
	// This field will be populated if the publisher has integrated with a CMP
	// for TCF v2 and that CMP indicates that GDPR applies to this ad request
	// and provides a valid consent string. See
	// https://support.google.com/authorizedbuyers/answer/9789378 for additional
	// information about the Google TCF v2 integration.
	//
	// See the IAB Global Vendor List at
	// https://vendor-list.consensu.org/v2/vendor-list.json for details about
	// the vendors listed in the consent string.
	// Not supported by Google. Google supports the IAB TCFv2 consent string
	// with the extension BidRequest.user.ext.consent.
	Consent *string `protobuf:"bytes,10,opt,name=consent" json:"consent,omitempty"`
	// Data made available by the publisher, such as publisher-provided
	// identifiers.
	// Supported by Google. For Secure Signals, see extension
	// BidRequest.user.ext.eids.
	Eids []*BidRequest_User_EID `protobuf:"bytes,11,rep,name=eids" json:"eids,omitempty"`
	// contains filtered or unexported fields
}

OpenRTB 2.0: This object contains information known or derived about the human user of the device (for example, the audience for advertising). The user id is an exchange artifact and may be subject to rotation or other privacy policies. However, this user ID must be stable long enough to serve reasonably as the basis for frequency capping and retargeting.

func (*BidRequest_User) Descriptor deprecated

func (*BidRequest_User) Descriptor() ([]byte, []int)

Deprecated: Use BidRequest_User.ProtoReflect.Descriptor instead.

func (*BidRequest_User) GetBuyeruid

func (x *BidRequest_User) GetBuyeruid() string

func (*BidRequest_User) GetConsent

func (x *BidRequest_User) GetConsent() string

func (*BidRequest_User) GetCustomdata

func (x *BidRequest_User) GetCustomdata() string

func (*BidRequest_User) GetData

func (x *BidRequest_User) GetData() []*BidRequest_Data

func (*BidRequest_User) GetEids

func (x *BidRequest_User) GetEids() []*BidRequest_User_EID

func (*BidRequest_User) GetGender deprecated

func (x *BidRequest_User) GetGender() string

Deprecated: Marked as deprecated in openrtb.proto.

func (*BidRequest_User) GetGeo

func (x *BidRequest_User) GetGeo() *BidRequest_Geo

func (*BidRequest_User) GetId

func (x *BidRequest_User) GetId() string

func (*BidRequest_User) GetKeywords

func (x *BidRequest_User) GetKeywords() string

func (*BidRequest_User) GetKwarray

func (x *BidRequest_User) GetKwarray() []string

func (*BidRequest_User) GetYob deprecated

func (x *BidRequest_User) GetYob() int32

Deprecated: Marked as deprecated in openrtb.proto.

func (*BidRequest_User) ProtoMessage

func (*BidRequest_User) ProtoMessage()

func (*BidRequest_User) ProtoReflect

func (x *BidRequest_User) ProtoReflect() protoreflect.Message

func (*BidRequest_User) Reset

func (x *BidRequest_User) Reset()

func (*BidRequest_User) String

func (x *BidRequest_User) String() string

type BidRequest_User_EID

type BidRequest_User_EID struct {

	// Source or technology provider responsible for the set of included data.
	// Supported by Google.
	Source *string `protobuf:"bytes,1,opt,name=source" json:"source,omitempty"`
	// Array of extended ID UID objects from the given source.
	// Supported by Google.
	Uids []*BidRequest_User_EID_UID `protobuf:"bytes,2,rep,name=uids" json:"uids,omitempty"`
	// contains filtered or unexported fields
}

Extended data, such as a publisher-provided identifier, that allows buyers to use data made available by the publisher in real-time bidding. This object can contain one or more UIDs from a single source or a technology provider.

func (*BidRequest_User_EID) Descriptor deprecated

func (*BidRequest_User_EID) Descriptor() ([]byte, []int)

Deprecated: Use BidRequest_User_EID.ProtoReflect.Descriptor instead.

func (*BidRequest_User_EID) GetSource

func (x *BidRequest_User_EID) GetSource() string

func (*BidRequest_User_EID) GetUids

func (*BidRequest_User_EID) ProtoMessage

func (*BidRequest_User_EID) ProtoMessage()

func (*BidRequest_User_EID) ProtoReflect

func (x *BidRequest_User_EID) ProtoReflect() protoreflect.Message

func (*BidRequest_User_EID) Reset

func (x *BidRequest_User_EID) Reset()

func (*BidRequest_User_EID) String

func (x *BidRequest_User_EID) String() string

type BidRequest_User_EID_UID

type BidRequest_User_EID_UID struct {

	// The data value, such as a publisher-provided identifier.
	// Supported by Google.
	Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// Type of user agent the ID is from.
	// Not supported by Google.
	Atype *AgentType `protobuf:"varint,2,opt,name=atype,enum=com.google.openrtb.AgentType" json:"atype,omitempty"`
	// contains filtered or unexported fields
}

This object contains a single data item, such as a publisher-provided identifier, provided as part of extended identifiers.

func (*BidRequest_User_EID_UID) Descriptor deprecated

func (*BidRequest_User_EID_UID) Descriptor() ([]byte, []int)

Deprecated: Use BidRequest_User_EID_UID.ProtoReflect.Descriptor instead.

func (*BidRequest_User_EID_UID) GetAtype

func (x *BidRequest_User_EID_UID) GetAtype() AgentType

func (*BidRequest_User_EID_UID) GetId

func (x *BidRequest_User_EID_UID) GetId() string

func (*BidRequest_User_EID_UID) ProtoMessage

func (*BidRequest_User_EID_UID) ProtoMessage()

func (*BidRequest_User_EID_UID) ProtoReflect

func (x *BidRequest_User_EID_UID) ProtoReflect() protoreflect.Message

func (*BidRequest_User_EID_UID) Reset

func (x *BidRequest_User_EID_UID) Reset()

func (*BidRequest_User_EID_UID) String

func (x *BidRequest_User_EID_UID) String() string

type BidResponse

type BidResponse struct {

	// ID of the bid request to which this is a response.
	// REQUIRED by the OpenRTB specification.
	// Supported by Google.
	Id *string `protobuf:"bytes,1,req,name=id" json:"id,omitempty"`
	// Array of seatbid objects; 1+ required if a bid is to be made.
	// Supported by Google.
	Seatbid []*BidResponse_SeatBid `protobuf:"bytes,2,rep,name=seatbid" json:"seatbid,omitempty"`
	// Bidder generated response ID to assist with logging/tracking.
	// Supported by Google.
	Bidid *string `protobuf:"bytes,3,opt,name=bidid" json:"bidid,omitempty"`
	// Bid currency using ISO-4217 alpha codes.
	//
	// Supported by Google. If this field is populated, the specified currency
	// will be used to interpret the bid. Otherwise, the default bidding currency
	// will be used, which is determined in the following priority:
	// 1. The bidder-level currency, if configured in RTB account settings.
	// 2. The buyer-level currency. The buyer will be determined by the billing
	// ID specified in the BidResponse.seatbid.bid.ext.billing_id extension
	// field if it is populated, otherwise it will be based on the sole billing
	// ID sent in the bid request.
	//
	// The currency of a buyer account is set on account creation and can be
	// checked by contacting a Technical Account Manager.
	Cur *string `protobuf:"bytes,4,opt,name=cur" json:"cur,omitempty"`
	// Optional feature to allow a bidder to set data in the exchange's cookie.
	// The string must be in base85 cookie safe characters and be in any format.
	// Proper JSON encoding must be used to include "escaped" quotation marks.
	// Ignored by Google.
	Customdata *string `protobuf:"bytes,5,opt,name=customdata" json:"customdata,omitempty"`
	// Reason for not bidding.
	// Supported by Google.
	Nbr *NoBidReason `protobuf:"varint,6,opt,name=nbr,enum=com.google.openrtb.NoBidReason" json:"nbr,omitempty"`
	// contains filtered or unexported fields
}

OpenRTB 2.0: This object is the top-level bid response object (for example, the unnamed outer JSON object). The id attribute is a reflection of the bid request ID for logging purposes. Similarly, bidid is an optional response tracking ID for bidders. If specified, it can be included in the subsequent win notice call if the bidder wins. At least one seatbid object is required, which contains at least one bid for an impression. Other attributes are optional. To express a "no-bid", the options are to return an empty response with HTTP 204. Alternately if the bidder wants to convey to the exchange a reason for not bidding, just a BidResponse object is returned with a reason code in the nbr attribute.

func (*BidResponse) Descriptor deprecated

func (*BidResponse) Descriptor() ([]byte, []int)

Deprecated: Use BidResponse.ProtoReflect.Descriptor instead.

func (*BidResponse) GetBidid

func (x *BidResponse) GetBidid() string

func (*BidResponse) GetCur

func (x *BidResponse) GetCur() string

func (*BidResponse) GetCustomdata

func (x *BidResponse) GetCustomdata() string

func (*BidResponse) GetId

func (x *BidResponse) GetId() string

func (*BidResponse) GetNbr

func (x *BidResponse) GetNbr() NoBidReason

func (*BidResponse) GetSeatbid

func (x *BidResponse) GetSeatbid() []*BidResponse_SeatBid

func (*BidResponse) ProtoMessage

func (*BidResponse) ProtoMessage()

func (*BidResponse) ProtoReflect

func (x *BidResponse) ProtoReflect() protoreflect.Message

func (*BidResponse) Reset

func (x *BidResponse) Reset()

func (*BidResponse) String

func (x *BidResponse) String() string

type BidResponseExt

type BidResponseExt struct {

	// [AdX: BidResponse.processing_time_ms]
	ProcessingTimeMs *int32 `protobuf:"varint,1,opt,name=processing_time_ms,json=processingTimeMs" json:"processing_time_ms,omitempty"`
	// contains filtered or unexported fields
}

Ad Exchange extensions for the BidResponse object.

func (*BidResponseExt) Descriptor deprecated

func (*BidResponseExt) Descriptor() ([]byte, []int)

Deprecated: Use BidResponseExt.ProtoReflect.Descriptor instead.

func (*BidResponseExt) GetProcessingTimeMs

func (x *BidResponseExt) GetProcessingTimeMs() int32

func (*BidResponseExt) ProtoMessage

func (*BidResponseExt) ProtoMessage()

func (*BidResponseExt) ProtoReflect

func (x *BidResponseExt) ProtoReflect() protoreflect.Message

func (*BidResponseExt) Reset

func (x *BidResponseExt) Reset()

func (*BidResponseExt) String

func (x *BidResponseExt) String() string

type BidResponse_SeatBid

type BidResponse_SeatBid struct {

	// Array of 1+ Bid objects (Section 4.2.3) each related to an impression.
	// Multiple bids can relate to the same impression.
	// Supported by Google.
	Bid []*BidResponse_SeatBid_Bid `protobuf:"bytes,1,rep,name=bid" json:"bid,omitempty"`
	// ID of the buyer seat (for example, advertiser, agency) on whose behalf
	// this bid is made.
	//
	// This ID will be used to breakdown spend and invalid traffic metrics in
	// IVT transparency reporting, given that it is no longer than 64 bytes.
	// Supported by Google.
	Seat *string `protobuf:"bytes,2,opt,name=seat" json:"seat,omitempty"`
	// false = impressions can be won individually;
	// true = impressions must be won or lost as a group.
	// Ignored by Google.
	Group *bool `protobuf:"varint,3,opt,name=group,def=0" json:"group,omitempty"`
	// contains filtered or unexported fields
}

OpenRTB 2.0: A bid response can contain multiple SeatBid objects, each on behalf of a different bidder seat and each containing one or more individual bids. If multiple impressions are presented in the request, the group attribute can be used to specify if a seat is willing to accept any impressions that it can win (default) or if it is only interested in winning any if it can win them all as a group.

func (*BidResponse_SeatBid) Descriptor deprecated

func (*BidResponse_SeatBid) Descriptor() ([]byte, []int)

Deprecated: Use BidResponse_SeatBid.ProtoReflect.Descriptor instead.

func (*BidResponse_SeatBid) GetBid

func (*BidResponse_SeatBid) GetGroup

func (x *BidResponse_SeatBid) GetGroup() bool

func (*BidResponse_SeatBid) GetSeat

func (x *BidResponse_SeatBid) GetSeat() string

func (*BidResponse_SeatBid) ProtoMessage

func (*BidResponse_SeatBid) ProtoMessage()

func (*BidResponse_SeatBid) ProtoReflect

func (x *BidResponse_SeatBid) ProtoReflect() protoreflect.Message

func (*BidResponse_SeatBid) Reset

func (x *BidResponse_SeatBid) Reset()

func (*BidResponse_SeatBid) String

func (x *BidResponse_SeatBid) String() string

type BidResponse_SeatBid_Bid

type BidResponse_SeatBid_Bid struct {

	// Types that are assignable to AdmOneof:
	//	*BidResponse_SeatBid_Bid_Adm
	//	*BidResponse_SeatBid_Bid_AdmNative
	AdmOneof isBidResponse_SeatBid_Bid_AdmOneof `protobuf_oneof:"adm_oneof"`
	// Bidder generated bid ID to assist with logging/tracking.
	// REQUIRED by the OpenRTB specification.
	// Supported by Google.
	Id *string `protobuf:"bytes,1,req,name=id" json:"id,omitempty"`
	// ID of the Imp object in the related bid request.
	// REQUIRED by the OpenRTB specification.
	// Supported by Google.
	Impid *string `protobuf:"bytes,2,req,name=impid" json:"impid,omitempty"`
	// Bid price expressed as CPM although the actual transaction is for a
	// unit impression only. Note that while the type indicates float, integer
	// math is highly recommended when handling currencies
	// (for example, BigDecimal in Java).
	// REQUIRED by the OpenRTB specification.
	// Supported by Google.
	Price *float64 `protobuf:"fixed64,3,req,name=price" json:"price,omitempty"`
	// Win notice URL called by the exchange if the bid wins; optional means
	// of serving ad markup.
	// Ignored by Google.
	Nurl *string `protobuf:"bytes,5,opt,name=nurl" json:"nurl,omitempty"`
	// Billing notice URL called by the exchange when a winning bid
	// becomes billable based on exchange-specific business policy
	// (for example, delivered or viewed).
	// Substitution macros (Section 4.4) may be included.
	// Supported by Google.
	Burl *string `protobuf:"bytes,22,opt,name=burl" json:"burl,omitempty"`
	// Loss notice URL called by the exchange when a bid is known to
	// have been lost. Substitution macros (Section 4.4) may be
	// included. Exchange-specific policy may preclude support for
	// loss notices or the disclosure of winning clearing prices
	// resulting in ${AUCTION_PRICE} macros being removed (meaning,
	// replaced with a zero-length string).
	// Ignored by Google.
	Lurl *string `protobuf:"bytes,23,opt,name=lurl" json:"lurl,omitempty"`
	// ID of a preloaded ad to serve if the bid wins.
	// Ignored by Google.
	Adid *string `protobuf:"bytes,4,opt,name=adid" json:"adid,omitempty"`
	// Advertiser domain for block list checking (for example, "ford.com").
	// This can be an array of for the case of rotating creatives. Exchanges
	// can mandate that only one domain is allowed.
	// Supported by Google.
	Adomain []string `protobuf:"bytes,7,rep,name=adomain" json:"adomain,omitempty"`
	// The store ID of the app in an app store such as Apple App Store, Google
	// Play. See OTT/CTV Store Assigned App Identification Guidelines for
	// more details about expected strings for CTV app stores. For mobile apps
	// in Google Play Store, these should be bundle or package names, such as
	// com.foo.mygame. For apps in Apple App Store, these should be a numeric
	// ID.
	//
	// Google: In addition to this field, set bid.ext.app_promotion_type field
	// to take advantage of features specific to app promotion types.
	// Supported by Google.
	Bundle *string `protobuf:"bytes,14,opt,name=bundle" json:"bundle,omitempty"`
	// URL without cache-busting to an image that is representative of the
	// content of the campaign for ad quality/safety checking.
	// Ignored by Google.
	Iurl *string `protobuf:"bytes,8,opt,name=iurl" json:"iurl,omitempty"`
	// Campaign ID to assist with ad quality checking; the collection of
	// creatives for which iurl should be representative.
	// Ignored by Google.
	Cid *string `protobuf:"bytes,9,opt,name=cid" json:"cid,omitempty"`
	// Creative ID to assist with ad quality checking.
	// Supported by Google.
	Crid *string `protobuf:"bytes,10,opt,name=crid" json:"crid,omitempty"`
	// Tactic ID to enable buyers to label bids for reporting to the
	// exchange the tactic through which their bid was submitted.
	// The specific usage and meaning of the tactic ID should be
	// communicated between buyer and exchanges a priori.
	// Ignored by Google.
	Tactic *string `protobuf:"bytes,24,opt,name=tactic" json:"tactic,omitempty"`
	// The taxonomy in use for cat.
	// Ignored by Google.
	Cattax *CategoryTaxonomy `protobuf:"varint,30,opt,name=cattax,enum=com.google.openrtb.CategoryTaxonomy,def=1" json:"cattax,omitempty"`
	// IAB content categories of the creative.
	// The taxonomy to be used is defined by the cattax field.
	// Supported by Google.
	Cat []string `protobuf:"bytes,15,rep,name=cat" json:"cat,omitempty"`
	// Set of attributes describing the creative.
	// Supported by Google.
	Attr []CreativeAttribute `protobuf:"varint,11,rep,packed,name=attr,enum=com.google.openrtb.CreativeAttribute" json:"attr,omitempty"`
	// List of supported APIs for the markup. If an API is not explicitly
	// listed, it is assumed to be unsupported.
	// Ignored by Google.
	Apis []APIFramework `protobuf:"varint,31,rep,packed,name=apis,enum=com.google.openrtb.APIFramework" json:"apis,omitempty"`
	// DEPRECATED in OpenRTB 2.6+; prefer the field apis.
	// API required by the markup if applicable.
	// Supported by Google.
	//
	// Deprecated: Marked as deprecated in openrtb.proto.
	Api *APIFramework `protobuf:"varint,18,opt,name=api,enum=com.google.openrtb.APIFramework" json:"api,omitempty"`
	// Video response protocol of the markup if applicable.
	// Ignored by Google.
	Protocol *Protocol `protobuf:"varint,19,opt,name=protocol,enum=com.google.openrtb.Protocol" json:"protocol,omitempty"`
	// Creative media rating per QAG guidelines.
	// Ignored by Google.
	Qagmediarating *QAGMediaRating `protobuf:"varint,20,opt,name=qagmediarating,enum=com.google.openrtb.QAGMediaRating" json:"qagmediarating,omitempty"`
	// Language of the creative using ISO-639-1-alpha-2. The nonstandard
	// code "xx" may also be used if the creative has no
	// linguistic content (for example, a banner with just a company logo).
	// Only one of language or langb should be present.
	// Ignored by Google.
	Language *string `protobuf:"bytes,25,opt,name=language" json:"language,omitempty"`
	// Language of the creative using IETF BCP 47.
	// Only one of language or langb should be present.
	// Ignored by Google.
	Langb *string `protobuf:"bytes,29,opt,name=langb" json:"langb,omitempty"`
	// Reference to the deal.id from the bid request if this bid pertains to a
	// private marketplace direct deal.
	// Supported by Google.
	Dealid *string `protobuf:"bytes,13,opt,name=dealid" json:"dealid,omitempty"`
	// Width of the creative in device independent pixels (DIPS).
	// Supported by Google.
	W *int32 `protobuf:"varint,16,opt,name=w" json:"w,omitempty"`
	// Height of the creative in device independent pixels (DIPS).
	// Supported by Google.
	H *int32 `protobuf:"varint,17,opt,name=h" json:"h,omitempty"`
	// Relative width of the creative when expressing size as a ratio.
	// Required for Flex Ads.
	// Ignored by Google.
	Wratio *int32 `protobuf:"varint,26,opt,name=wratio" json:"wratio,omitempty"`
	// Relative height of the creative when expressing size as a ratio.
	// Required for Flex Ads.
	// Ignored by Google.
	Hratio *int32 `protobuf:"varint,27,opt,name=hratio" json:"hratio,omitempty"`
	// Advisory as to the number of seconds the bidder is willing to
	// wait between the auction and the actual impression.
	// Ignored by Google.
	Exp *int32 `protobuf:"varint,21,opt,name=exp" json:"exp,omitempty"`
	// Duration of the video or audio creative in seconds.
	// Ignored by Google.
	Dur *int32 `protobuf:"varint,32,opt,name=dur" json:"dur,omitempty"`
	// Indicates that the bid is only eligible
	// for a specific position within the pod.
	// This field is currently only supported for rewarded video pods
	// requests.
	Slotinpod *SlotPositionInPod `protobuf:"varint,28,opt,name=slotinpod,enum=com.google.openrtb.SlotPositionInPod" json:"slotinpod,omitempty"`
	// Type of the creative markup so that it can properly be
	// associated with the right sub-object of the BidRequest.Imp.
	// Ignored by Google.
	Mtype *CreativeMarkupType `protobuf:"varint,33,opt,name=mtype,enum=com.google.openrtb.CreativeMarkupType" json:"mtype,omitempty"`
	// contains filtered or unexported fields
}

OpenRTB 2.0: A SeatBid object contains one or more Bid objects, each of which relates to a specific impression in the bid request through the impid attribute and constitutes an offer to buy that impression for a given price.

func (*BidResponse_SeatBid_Bid) Descriptor deprecated

func (*BidResponse_SeatBid_Bid) Descriptor() ([]byte, []int)

Deprecated: Use BidResponse_SeatBid_Bid.ProtoReflect.Descriptor instead.

func (*BidResponse_SeatBid_Bid) GetAdid

func (x *BidResponse_SeatBid_Bid) GetAdid() string

func (*BidResponse_SeatBid_Bid) GetAdm

func (x *BidResponse_SeatBid_Bid) GetAdm() string

func (*BidResponse_SeatBid_Bid) GetAdmNative

func (x *BidResponse_SeatBid_Bid) GetAdmNative() *NativeResponse

func (*BidResponse_SeatBid_Bid) GetAdmOneof

func (m *BidResponse_SeatBid_Bid) GetAdmOneof() isBidResponse_SeatBid_Bid_AdmOneof

func (*BidResponse_SeatBid_Bid) GetAdomain

func (x *BidResponse_SeatBid_Bid) GetAdomain() []string

func (*BidResponse_SeatBid_Bid) GetApi deprecated

Deprecated: Marked as deprecated in openrtb.proto.

func (*BidResponse_SeatBid_Bid) GetApis

func (x *BidResponse_SeatBid_Bid) GetApis() []APIFramework

func (*BidResponse_SeatBid_Bid) GetAttr

func (*BidResponse_SeatBid_Bid) GetBundle

func (x *BidResponse_SeatBid_Bid) GetBundle() string

func (*BidResponse_SeatBid_Bid) GetBurl

func (x *BidResponse_SeatBid_Bid) GetBurl() string

func (*BidResponse_SeatBid_Bid) GetCat

func (x *BidResponse_SeatBid_Bid) GetCat() []string

func (*BidResponse_SeatBid_Bid) GetCattax

func (*BidResponse_SeatBid_Bid) GetCid

func (x *BidResponse_SeatBid_Bid) GetCid() string

func (*BidResponse_SeatBid_Bid) GetCrid

func (x *BidResponse_SeatBid_Bid) GetCrid() string

func (*BidResponse_SeatBid_Bid) GetDealid

func (x *BidResponse_SeatBid_Bid) GetDealid() string

func (*BidResponse_SeatBid_Bid) GetDur

func (x *BidResponse_SeatBid_Bid) GetDur() int32

func (*BidResponse_SeatBid_Bid) GetExp

func (x *BidResponse_SeatBid_Bid) GetExp() int32

func (*BidResponse_SeatBid_Bid) GetH

func (x *BidResponse_SeatBid_Bid) GetH() int32

func (*BidResponse_SeatBid_Bid) GetHratio

func (x *BidResponse_SeatBid_Bid) GetHratio() int32

func (*BidResponse_SeatBid_Bid) GetId

func (x *BidResponse_SeatBid_Bid) GetId() string

func (*BidResponse_SeatBid_Bid) GetImpid

func (x *BidResponse_SeatBid_Bid) GetImpid() string

func (*BidResponse_SeatBid_Bid) GetIurl

func (x *BidResponse_SeatBid_Bid) GetIurl() string

func (*BidResponse_SeatBid_Bid) GetLangb

func (x *BidResponse_SeatBid_Bid) GetLangb() string

func (*BidResponse_SeatBid_Bid) GetLanguage

func (x *BidResponse_SeatBid_Bid) GetLanguage() string

func (*BidResponse_SeatBid_Bid) GetLurl

func (x *BidResponse_SeatBid_Bid) GetLurl() string

func (*BidResponse_SeatBid_Bid) GetMtype

func (*BidResponse_SeatBid_Bid) GetNurl

func (x *BidResponse_SeatBid_Bid) GetNurl() string

func (*BidResponse_SeatBid_Bid) GetPrice

func (x *BidResponse_SeatBid_Bid) GetPrice() float64

func (*BidResponse_SeatBid_Bid) GetProtocol

func (x *BidResponse_SeatBid_Bid) GetProtocol() Protocol

func (*BidResponse_SeatBid_Bid) GetQagmediarating

func (x *BidResponse_SeatBid_Bid) GetQagmediarating() QAGMediaRating

func (*BidResponse_SeatBid_Bid) GetSlotinpod

func (x *BidResponse_SeatBid_Bid) GetSlotinpod() SlotPositionInPod

func (*BidResponse_SeatBid_Bid) GetTactic

func (x *BidResponse_SeatBid_Bid) GetTactic() string

func (*BidResponse_SeatBid_Bid) GetW

func (x *BidResponse_SeatBid_Bid) GetW() int32

func (*BidResponse_SeatBid_Bid) GetWratio

func (x *BidResponse_SeatBid_Bid) GetWratio() int32

func (*BidResponse_SeatBid_Bid) ProtoMessage

func (*BidResponse_SeatBid_Bid) ProtoMessage()

func (*BidResponse_SeatBid_Bid) ProtoReflect

func (x *BidResponse_SeatBid_Bid) ProtoReflect() protoreflect.Message

func (*BidResponse_SeatBid_Bid) Reset

func (x *BidResponse_SeatBid_Bid) Reset()

func (*BidResponse_SeatBid_Bid) String

func (x *BidResponse_SeatBid_Bid) String() string

type BidResponse_SeatBid_Bid_Adm

type BidResponse_SeatBid_Bid_Adm struct {
	// Optional means of conveying ad markup in case the bid wins;
	// supersedes the win notice if markup is included in both.
	// For native ad bids, exactly one of {adm, adm_native} should be used.
	// Supported by Google. Standard field, should be used for OpenRTB/JSON.
	Adm string `protobuf:"bytes,6,opt,name=adm,oneof"`
}

type BidResponse_SeatBid_Bid_AdmNative

type BidResponse_SeatBid_Bid_AdmNative struct {
	// Native ad response.
	// For native ad bids, exactly one of {adm, adm_native} should be used.
	// Supported by Google. Extension, should be used for OpenRTB/Protobuf.
	AdmNative *NativeResponse `protobuf:"bytes,50,opt,name=adm_native,json=admNative,oneof"`
}

type CategoryTaxonomy

type CategoryTaxonomy int32

OpenRTB 2.6: The options for taxonomies that can be used to describe content, audience, and ad creative categories.

const (
	// DEPRECATED in OpenRTB 2.6+.
	// IAB Tech Lab Content Category Taxonomy 1.0.
	//
	// Deprecated: Marked as deprecated in openrtb.proto.
	CategoryTaxonomy_IAB_CONTENT_1_0 CategoryTaxonomy = 1
	// DEPRECATED in OpenRTB 2.6+.
	// IAB Tech Lab Content Category Taxonomy 2.0.
	//
	// Deprecated: Marked as deprecated in openrtb.proto.
	CategoryTaxonomy_IAB_CONTENT_2_0 CategoryTaxonomy = 2
	// IAB Tech Lab Ad Product Taxonomy 1.0. See:
	// https://iabtechlab.com/wp-content/uploads/2020/10/IABTL-Ad-Product-Taxonomy-1.0-Final.xlsx
	CategoryTaxonomy_IAB_PRODUCT_1_0 CategoryTaxonomy = 3
	// IAB Tech Lab Audience Taxonomy 1.1. See:
	// https://iabtechlab.com/standards/audience-taxonomy/
	CategoryTaxonomy_IAB_AUDIENCE_1_1 CategoryTaxonomy = 4
	// IAB Tech Lab Content Taxonomy 2.1. See:
	// https://iabtechlab.com/standards/content-taxonomy/
	CategoryTaxonomy_IAB_CONTENT_2_1 CategoryTaxonomy = 5
	// IAB Tech Lab Content Taxonomy 2.2. See:
	// https://iabtechlab.com/standards/content-taxonomy/
	CategoryTaxonomy_IAB_CONTENT_2_2 CategoryTaxonomy = 6
	// Exchange-specific values above 500.
	//
	// Chromium Topics API taxonomy. See:
	// https://github.com/patcg-individual-drafts/topics/blob/main/taxonomy_v1.md
	CategoryTaxonomy_CHROME_TOPICS CategoryTaxonomy = 600
)

func (CategoryTaxonomy) Descriptor

func (CategoryTaxonomy) Enum

func (CategoryTaxonomy) EnumDescriptor deprecated

func (CategoryTaxonomy) EnumDescriptor() ([]byte, []int)

Deprecated: Use CategoryTaxonomy.Descriptor instead.

func (CategoryTaxonomy) Number

func (CategoryTaxonomy) String

func (x CategoryTaxonomy) String() string

func (CategoryTaxonomy) Type

func (*CategoryTaxonomy) UnmarshalJSON deprecated

func (x *CategoryTaxonomy) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type CompanionType

type CompanionType int32

OpenRTB 2.1: The following table lists the options for the video quality. These values are defined by the IAB - http://www.iab.net/media/file/long-form-video-final.pdf.

const (
	CompanionType_STATIC           CompanionType = 1
	CompanionType_HTML             CompanionType = 2
	CompanionType_COMPANION_IFRAME CompanionType = 3
)

func (CompanionType) Descriptor

func (CompanionType) Enum

func (x CompanionType) Enum() *CompanionType

func (CompanionType) EnumDescriptor deprecated

func (CompanionType) EnumDescriptor() ([]byte, []int)

Deprecated: Use CompanionType.Descriptor instead.

func (CompanionType) Number

func (CompanionType) String

func (x CompanionType) String() string

func (CompanionType) Type

func (*CompanionType) UnmarshalJSON deprecated

func (x *CompanionType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type ConnectionType

type ConnectionType int32

OpenRTB 2.0: The following table lists the various options for the type of device connectivity.

const (
	ConnectionType_CONNECTION_UNKNOWN ConnectionType = 0
	// Ethernet; Wired Connection
	ConnectionType_ETHERNET ConnectionType = 1
	// WiFi
	ConnectionType_WIFI ConnectionType = 2
	// Mobile Network - Unknown Generation
	ConnectionType_CELL_UNKNOWN ConnectionType = 3
	// Mobile Network - 2G
	ConnectionType_CELL_2G ConnectionType = 4
	// Mobile Network - 3G
	ConnectionType_CELL_3G ConnectionType = 5
	// Mobile Network - 4G
	ConnectionType_CELL_4G ConnectionType = 6
	// Mobile Network - 5G
	ConnectionType_CELL_5G ConnectionType = 7
)

func (ConnectionType) Descriptor

func (ConnectionType) Enum

func (x ConnectionType) Enum() *ConnectionType

func (ConnectionType) EnumDescriptor deprecated

func (ConnectionType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ConnectionType.Descriptor instead.

func (ConnectionType) Number

func (ConnectionType) String

func (x ConnectionType) String() string

func (ConnectionType) Type

func (*ConnectionType) UnmarshalJSON deprecated

func (x *ConnectionType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type ContentContext

type ContentContext int32

OpenRTB 2.0: The following table lists the various options for indicating the type of content in which the impression will appear.

This OpenRTB table has values derived from the IAB Quality Assurance Guidelines (QAG). Practitioners should keep in sync with updates to the QAG values as published on IAB.net.

const (
	ContentContext_VIDEO           ContentContext = 1
	ContentContext_GAME            ContentContext = 2
	ContentContext_MUSIC           ContentContext = 3
	ContentContext_APPLICATION     ContentContext = 4
	ContentContext_TEXT            ContentContext = 5
	ContentContext_OTHER           ContentContext = 6
	ContentContext_CONTEXT_UNKNOWN ContentContext = 7
)

func (ContentContext) Descriptor

func (ContentContext) Enum

func (x ContentContext) Enum() *ContentContext

func (ContentContext) EnumDescriptor deprecated

func (ContentContext) EnumDescriptor() ([]byte, []int)

Deprecated: Use ContentContext.Descriptor instead.

func (ContentContext) Number

func (ContentContext) String

func (x ContentContext) String() string

func (ContentContext) Type

func (*ContentContext) UnmarshalJSON deprecated

func (x *ContentContext) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type ContentDeliveryMethod

type ContentDeliveryMethod int32

OpenRTB 2.0: The following table lists the various options for the delivery of video content. These values are defined by the IAB - https://github.com/InteractiveAdvertisingBureau/AdCOM/blob/main/AdCOM%20v1.0%20FINAL.md#list--delivery-methods-.

const (
	// Content is transferred continuously by the network; clients receive
	// real-time content for playback while connected. Example: broadcast TV.
	ContentDeliveryMethod_STREAMING ContentDeliveryMethod = 1
	// Content is transferred incrementally as client's playback requires.
	// Example: on-demand movies, podcasts, or music.
	ContentDeliveryMethod_PROGRESSIVE ContentDeliveryMethod = 2
	// Content should be transferred completely prior to use/playback.
	// Example: content downloaded to the user's device for offline
	// consumption.
	ContentDeliveryMethod_DOWNLOAD ContentDeliveryMethod = 3
)

func (ContentDeliveryMethod) Descriptor

func (ContentDeliveryMethod) Enum

func (ContentDeliveryMethod) EnumDescriptor deprecated

func (ContentDeliveryMethod) EnumDescriptor() ([]byte, []int)

Deprecated: Use ContentDeliveryMethod.Descriptor instead.

func (ContentDeliveryMethod) Number

func (ContentDeliveryMethod) String

func (x ContentDeliveryMethod) String() string

func (ContentDeliveryMethod) Type

func (*ContentDeliveryMethod) UnmarshalJSON deprecated

func (x *ContentDeliveryMethod) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type ContextSubtype

type ContextSubtype int32

OpenRTB Native 1.1: Next-level context in which the ad appears. Again this reflects the primary context, and does not imply no presence of other elements. For example, an article is likely to contain images but is still first and foremost an article. SubType should only be combined with the primary context type as indicated (ie for a context type of 1, only context subtypes that start with 1 are valid).

const (
	ContextSubtype_CONTENT_GENERAL_OR_MIXED ContextSubtype = 10
	ContextSubtype_CONTENT_ARTICLE          ContextSubtype = 11
	ContextSubtype_CONTENT_VIDEO            ContextSubtype = 12
	ContextSubtype_CONTENT_AUDIO            ContextSubtype = 13
	ContextSubtype_CONTENT_IMAGE            ContextSubtype = 14
	ContextSubtype_CONTENT_USER_GENERATED   ContextSubtype = 15
	ContextSubtype_SOCIAL_GENERAL           ContextSubtype = 20
	ContextSubtype_SOCIAL_EMAIL             ContextSubtype = 21
	ContextSubtype_SOCIAL_CHAT_IM           ContextSubtype = 22
	ContextSubtype_PRODUCT_SELLING          ContextSubtype = 30
	ContextSubtype_PRODUCT_MARKETPLACE      ContextSubtype = 31
	ContextSubtype_PRODUCT_REVIEW           ContextSubtype = 32
)

func (ContextSubtype) Descriptor

func (ContextSubtype) Enum

func (x ContextSubtype) Enum() *ContextSubtype

func (ContextSubtype) EnumDescriptor deprecated

func (ContextSubtype) EnumDescriptor() ([]byte, []int)

Deprecated: Use ContextSubtype.Descriptor instead.

func (ContextSubtype) Number

func (ContextSubtype) String

func (x ContextSubtype) String() string

func (ContextSubtype) Type

func (*ContextSubtype) UnmarshalJSON deprecated

func (x *ContextSubtype) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type ContextType

type ContextType int32

OpenRTB Native 1.1: The context in which the ad appears - what type of content is surrounding the ad on the page at a high level. This maps directly to the new Deep Dive on In-Feed Ad Units. This denotes the primary context, but does not imply other content may not exist on the page - for example, it's expected that most content platforms have some social components.

const (
	// Content-centric context such as newsfeed, article, image gallery,
	// video gallery, or similar.
	ContextType_CONTENT ContextType = 1
	// Social-centric context such as social network feed, email,
	// chat, or similar.
	ContextType_SOCIAL ContextType = 2
	// Product context such as product listings, details, recommendations,
	// reviews, or similar.
	ContextType_PRODUCT ContextType = 3
)

func (ContextType) Descriptor

func (ContextType) Enum

func (x ContextType) Enum() *ContextType

func (ContextType) EnumDescriptor deprecated

func (ContextType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ContextType.Descriptor instead.

func (ContextType) Number

func (x ContextType) Number() protoreflect.EnumNumber

func (ContextType) String

func (x ContextType) String() string

func (ContextType) Type

func (*ContextType) UnmarshalJSON deprecated

func (x *ContextType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type CreativeAttribute

type CreativeAttribute int32

OpenRTB 2.0: The following table specifies a standard list of creative attributes that can describe an ad being served or serve as restrictions of thereof.

const (
	CreativeAttribute_AUDIO_AUTO_PLAY                CreativeAttribute = 1
	CreativeAttribute_AUDIO_USER_INITIATED           CreativeAttribute = 2
	CreativeAttribute_EXPANDABLE_AUTOMATIC           CreativeAttribute = 3
	CreativeAttribute_EXPANDABLE_CLICK_INITIATED     CreativeAttribute = 4
	CreativeAttribute_EXPANDABLE_ROLLOVER_INITIATED  CreativeAttribute = 5
	CreativeAttribute_VIDEO_IN_BANNER_AUTO_PLAY      CreativeAttribute = 6
	CreativeAttribute_VIDEO_IN_BANNER_USER_INITIATED CreativeAttribute = 7
	// Pop (for example, Over, Under, or upon Exit).
	CreativeAttribute_POP                       CreativeAttribute = 8
	CreativeAttribute_PROVOCATIVE_OR_SUGGESTIVE CreativeAttribute = 9
	// Defined as "Shaky, Flashing, Flickering, Extreme Animation, Smileys".
	CreativeAttribute_ANNOYING  CreativeAttribute = 10
	CreativeAttribute_SURVEYS   CreativeAttribute = 11
	CreativeAttribute_TEXT_ONLY CreativeAttribute = 12
	// For example, embedded games.
	CreativeAttribute_USER_INTERACTIVE              CreativeAttribute = 13
	CreativeAttribute_WINDOWS_DIALOG_OR_ALERT_STYLE CreativeAttribute = 14
	CreativeAttribute_HAS_AUDIO_ON_OFF_BUTTON       CreativeAttribute = 15
	// Ad provides skip button (for example, VPAID-rendered skip button
	// on pre-roll video).
	CreativeAttribute_AD_CAN_BE_SKIPPED CreativeAttribute = 16
	// Adobe Flash
	CreativeAttribute_FLASH CreativeAttribute = 17
	// Responsive, sizeless and fluid. Dynamically resizes to environment.
	CreativeAttribute_RESPONSIVE CreativeAttribute = 18
)

func (CreativeAttribute) Descriptor

func (CreativeAttribute) Enum

func (CreativeAttribute) EnumDescriptor deprecated

func (CreativeAttribute) EnumDescriptor() ([]byte, []int)

Deprecated: Use CreativeAttribute.Descriptor instead.

func (CreativeAttribute) Number

func (CreativeAttribute) String

func (x CreativeAttribute) String() string

func (CreativeAttribute) Type

func (*CreativeAttribute) UnmarshalJSON deprecated

func (x *CreativeAttribute) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type CreativeMarkupType

type CreativeMarkupType int32

OpenRTB 2.6: Creative markup types.

const (
	// Ad markup returned as HTML code in response to the BidRequest.imp.banner
	// object specification.
	CreativeMarkupType_CREATIVE_MARKUP_BANNER CreativeMarkupType = 1
	// VAST URL or inline VAST XML document returned that represents a video ad in
	// response to the BidRequest.imp.video object specification.
	CreativeMarkupType_CREATIVE_MARKUP_VIDEO CreativeMarkupType = 2
	// VAST URL or inline VAST XML document that represents an audio ad returned
	// in response to the BidRequest.imp.audio object specification.
	CreativeMarkupType_CREATIVE_MARKUP_AUDIO CreativeMarkupType = 3
	// Native markup response object returned as per for the BidRequest.imp.native
	// object specification.
	CreativeMarkupType_CREATIVE_MARKUP_NATIVE CreativeMarkupType = 4
)

func (CreativeMarkupType) Descriptor

func (CreativeMarkupType) Enum

func (CreativeMarkupType) EnumDescriptor deprecated

func (CreativeMarkupType) EnumDescriptor() ([]byte, []int)

Deprecated: Use CreativeMarkupType.Descriptor instead.

func (CreativeMarkupType) Number

func (CreativeMarkupType) String

func (x CreativeMarkupType) String() string

func (CreativeMarkupType) Type

func (*CreativeMarkupType) UnmarshalJSON deprecated

func (x *CreativeMarkupType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type DataAssetType

type DataAssetType int32

OpenRTB Native 1.0: Common asset element types of native advertising. This list is non-exhaustive and intended to be extended by the buyers and sellers as the format evolves. An implementing exchange may not support all asset variants or introduce new ones unique to that system.

const (
	// Sponsored By message where response should contain the brand name
	// of the sponsor.
	// Format: Text; Max length: 25 or longer.
	DataAssetType_SPONSORED DataAssetType = 1
	// Descriptive text associated with the product or service being advertised.
	// Format: Text; Max length: 140 or longer.
	DataAssetType_DESC DataAssetType = 2
	// Rating of the product being offered to the user.
	// For example an app's rating in an app store from 0-5.
	// Format: Number (1-5 digits) formatted as string.
	DataAssetType_RATING DataAssetType = 3
	// Number of social ratings or "likes" of product being offered to the user.
	// Format: Number formatted as string.
	DataAssetType_LIKES DataAssetType = 4
	// Number downloads/installs of this product.
	// Format: Number formatted as string.
	DataAssetType_DOWNLOADS DataAssetType = 5
	// Price for product / app / in-app purchase.
	// Value should include currency symbol in localised format.
	// Format: Number formatted as string.
	DataAssetType_PRICE DataAssetType = 6
	// Sale price that can be used together with price to indicate a discounted
	// price compared to a regular price. Value should include currency symbol
	// in localised format.
	// Format: Number formatted as string.
	DataAssetType_SALEPRICE DataAssetType = 7
	// Phone number.
	// Format: Formatted string.
	DataAssetType_PHONE DataAssetType = 8
	// Address.
	// Format: Text.
	DataAssetType_ADDRESS DataAssetType = 9
	// Additional descriptive text associated with the product or service
	// being advertised.
	// Format: Text.
	DataAssetType_DESC2 DataAssetType = 10
	// Display URL for the text ad.
	// Format: Text.
	DataAssetType_DISPLAYURL DataAssetType = 11
	// Text describing a 'call to action' button for the destination URL.
	// Format: Text.
	DataAssetType_CTATEXT DataAssetType = 12
)

func (DataAssetType) Descriptor

func (DataAssetType) Enum

func (x DataAssetType) Enum() *DataAssetType

func (DataAssetType) EnumDescriptor deprecated

func (DataAssetType) EnumDescriptor() ([]byte, []int)

Deprecated: Use DataAssetType.Descriptor instead.

func (DataAssetType) Number

func (DataAssetType) String

func (x DataAssetType) String() string

func (DataAssetType) Type

func (*DataAssetType) UnmarshalJSON deprecated

func (x *DataAssetType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type DataExt

type DataExt struct {

	// Identifies the taxonomy that the segment IDs belong to.
	// Google supports the following taxonomies:
	// https://github.com/InteractiveAdvertisingBureau/Taxonomies/blob/main/Audience%20Taxonomies/Audience%20Taxonomy%201.1.tsv
	// IAB Tech Lab Audience Taxonomy 1.1 = 4
	// https://github.com/InteractiveAdvertisingBureau/Taxonomies/blob/main/Content%20Taxonomies/Content%20Taxonomy%202.2.tsv
	// IAB Tech Lab Content Taxonomy 2.2 = 6
	// https://github.com/InteractiveAdvertisingBureau/Taxonomies/blob/main/Content%20Taxonomies/Content%20Taxonomy%203.0.tsv
	// IAB Tech Lab Content Taxonomy 3.0 = 7
	// https://github.com/patcg-individual-drafts/topics/blob/main/taxonomy_v1.md
	// Chromium Topics API = 600
	// https://github.com/patcg-individual-drafts/topics/blob/main/taxonomy_v2.md
	// Chromium Topics API V2 = 601
	Segtax *int32 `protobuf:"varint,1,opt,name=segtax" json:"segtax,omitempty"`
	// contains filtered or unexported fields
}

func (*DataExt) Descriptor deprecated

func (*DataExt) Descriptor() ([]byte, []int)

Deprecated: Use DataExt.ProtoReflect.Descriptor instead.

func (*DataExt) GetSegtax

func (x *DataExt) GetSegtax() int32

func (*DataExt) ProtoMessage

func (*DataExt) ProtoMessage()

func (*DataExt) ProtoReflect

func (x *DataExt) ProtoReflect() protoreflect.Message

func (*DataExt) Reset

func (x *DataExt) Reset()

func (*DataExt) String

func (x *DataExt) String() string

type DealExt

type DealExt struct {
	DealType *DealExt_DealType `` /* 130-byte string literal not displayed */
	// This field is only applicable to Programmatic Guaranteed deals. The
	// buyer is allowed to skip bidding on the impression if this field is
	// false. When it is true, the buyer is required to bid on this deal for
	// this impression opportunity. This field will always be filled explicitly
	// for the JSON wire format.
	MustBid *bool `protobuf:"varint,2,opt,name=must_bid,json=mustBid,def=1" json:"must_bid,omitempty"`
	// Whether the publisher has exempted this deal from configured blocks. This
	// setting does not override AdX policies or Ad Review Center decisions. See
	// https://support.google.com/authorizedbuyers/answer/6114194 for more
	// information.
	PublisherBlocksOverridden *bool                       `` /* 132-byte string literal not displayed */
	CreativeSource            *DealExt_CreativeSourceType `` /* 158-byte string literal not displayed */
	// Creative constraints for this deal. If this is not set, bidders should
	// refer to the BidRequest-level setting of each field.
	CreativeConstraints *DealExt_CreativeConstraints `protobuf:"bytes,5,opt,name=creative_constraints,json=creativeConstraints" json:"creative_constraints,omitempty"`
	// Indicates the eligible billing IDs for this deal. If this list is not
	// empty, the billing ID selected in `BidResponse.seatbid.bid.ext.billing_id`
	// must be one of these IDs when submitting a bid on this deal. If this list
	// is empty, then the bid on this deal can be attributed to any of the billing
	// IDs in `BidRequest.imp.ext.billing_id`.
	BillingId []int64 `protobuf:"varint,6,rep,packed,name=billing_id,json=billingId" json:"billing_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DealExt) Descriptor deprecated

func (*DealExt) Descriptor() ([]byte, []int)

Deprecated: Use DealExt.ProtoReflect.Descriptor instead.

func (*DealExt) GetBillingId

func (x *DealExt) GetBillingId() []int64

func (*DealExt) GetCreativeConstraints

func (x *DealExt) GetCreativeConstraints() *DealExt_CreativeConstraints

func (*DealExt) GetCreativeSource

func (x *DealExt) GetCreativeSource() DealExt_CreativeSourceType

func (*DealExt) GetDealType

func (x *DealExt) GetDealType() DealExt_DealType

func (*DealExt) GetMustBid

func (x *DealExt) GetMustBid() bool

func (*DealExt) GetPublisherBlocksOverridden

func (x *DealExt) GetPublisherBlocksOverridden() bool

func (*DealExt) ProtoMessage

func (*DealExt) ProtoMessage()

func (*DealExt) ProtoReflect

func (x *DealExt) ProtoReflect() protoreflect.Message

func (*DealExt) Reset

func (x *DealExt) Reset()

func (*DealExt) String

func (x *DealExt) String() string

type DealExt_CreativeConstraints

type DealExt_CreativeConstraints struct {

	// The allowed ad types of the deal. If empty, there are no deal-specific
	// allowed ad type restrictions for the deal. In that case, bidders should
	// refer to the presence of Banner, Video, Audio or Native objects in the
	// BidRequest to check the allowed formats.
	Mtypes []CreativeMarkupType `protobuf:"varint,1,rep,packed,name=mtypes,enum=com.google.openrtb.CreativeMarkupType" json:"mtypes,omitempty"`
	// Whether skippable creatives are allowed. For PROGRAMMATIC_GUARANTEED or
	// PREFERRED_DEAL deals that specifically allow video or audio ad types, it
	// is always set. For the skippability setting of other deal types or open
	// auction bidding, refer to the corresponding BidRequest-level field
	// video.skip.
	Skippability *DealExt_CreativeConstraints_SkippabilityConstraint `` /* 156-byte string literal not displayed */
	// Maximum video ad duration in seconds. For PROGRAMMATIC_GUARANTEED or
	// PREFERRED_DEAL deals that specifically allow video or audio ad types, it
	// is always set. For the allowed max duration of other deal types or open
	// auction bidding, refer to the corresponding BidRequest-level field
	// video.maxduration.
	Maxduration *int32 `protobuf:"varint,3,opt,name=maxduration" json:"maxduration,omitempty"`
	// contains filtered or unexported fields
}

Constraints for creatives that can apply when bidding on a deal.

func (*DealExt_CreativeConstraints) Descriptor deprecated

func (*DealExt_CreativeConstraints) Descriptor() ([]byte, []int)

Deprecated: Use DealExt_CreativeConstraints.ProtoReflect.Descriptor instead.

func (*DealExt_CreativeConstraints) GetMaxduration

func (x *DealExt_CreativeConstraints) GetMaxduration() int32

func (*DealExt_CreativeConstraints) GetMtypes

func (*DealExt_CreativeConstraints) GetSkippability

func (*DealExt_CreativeConstraints) ProtoMessage

func (*DealExt_CreativeConstraints) ProtoMessage()

func (*DealExt_CreativeConstraints) ProtoReflect

func (*DealExt_CreativeConstraints) Reset

func (x *DealExt_CreativeConstraints) Reset()

func (*DealExt_CreativeConstraints) String

func (x *DealExt_CreativeConstraints) String() string

type DealExt_CreativeConstraints_SkippabilityConstraint

type DealExt_CreativeConstraints_SkippabilityConstraint int32

Possible creative skippability requirements.

const (
	// Skippable and non-skippable creatives are allowed.
	DealExt_CreativeConstraints_ALLOW_SKIPPABLE DealExt_CreativeConstraints_SkippabilityConstraint = 0
	// Only skippable creatives are allowed.
	DealExt_CreativeConstraints_REQUIRE_SKIPPABLE DealExt_CreativeConstraints_SkippabilityConstraint = 1
	// Only non-skippable creatives are allowed.
	DealExt_CreativeConstraints_BLOCK_SKIPPABLE DealExt_CreativeConstraints_SkippabilityConstraint = 2
)

func (DealExt_CreativeConstraints_SkippabilityConstraint) Descriptor

func (DealExt_CreativeConstraints_SkippabilityConstraint) Enum

func (DealExt_CreativeConstraints_SkippabilityConstraint) EnumDescriptor deprecated

Deprecated: Use DealExt_CreativeConstraints_SkippabilityConstraint.Descriptor instead.

func (DealExt_CreativeConstraints_SkippabilityConstraint) Number

func (DealExt_CreativeConstraints_SkippabilityConstraint) String

func (DealExt_CreativeConstraints_SkippabilityConstraint) Type

func (*DealExt_CreativeConstraints_SkippabilityConstraint) UnmarshalJSON deprecated

Deprecated: Do not use.

type DealExt_CreativeSourceType

type DealExt_CreativeSourceType int32

Experimental field; subject to change. An enum declaring the host of the creative, which will only be populated for Programmatic Guaranteed deals. Currently, this field should only ever be set to CREATIVE_SOURCE_ADVERTISER.

const (
	DealExt_CREATIVE_SOURCE_UNKNOWN DealExt_CreativeSourceType = 0
	// The creative is hosted by the advertiser, which means the bidder is
	// required to provide a creative in the bid response.
	DealExt_CREATIVE_SOURCE_ADVERTISER DealExt_CreativeSourceType = 1
	// The creative is hosted by the publisher, which means the bidder
	// does not need to include a creative in the bid response.
	// For more information on publisher-hosted creatives, see
	// https://support.google.com/admanager/answer/9243220.
	// This feature isn't currently supported for RTB bidders.
	DealExt_CREATIVE_SOURCE_PUBLISHER DealExt_CreativeSourceType = 2
)

func (DealExt_CreativeSourceType) Descriptor

func (DealExt_CreativeSourceType) Enum

func (DealExt_CreativeSourceType) EnumDescriptor deprecated

func (DealExt_CreativeSourceType) EnumDescriptor() ([]byte, []int)

Deprecated: Use DealExt_CreativeSourceType.Descriptor instead.

func (DealExt_CreativeSourceType) Number

func (DealExt_CreativeSourceType) String

func (DealExt_CreativeSourceType) Type

func (*DealExt_CreativeSourceType) UnmarshalJSON deprecated

func (x *DealExt_CreativeSourceType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type DealExt_DealType

type DealExt_DealType int32

The type of the deal. Note that Authorized Buyers policy overrides apply to all Programmatic Guaranteed and Preferred Deal bids, and do not apply to bids for other deal types.

const (
	DealExt_UNKNOWN_DEAL_TYPE DealExt_DealType = 0
	// Bids are fixed-price and evaluated before the Open Auction. Bidders are
	// not required to bid with Preferred Deals when they are present on the bid
	// request. See https://support.google.com/authorizedbuyers/answer/2604595
	// for more information.
	DealExt_PREFERRED_DEAL DealExt_DealType = 1
	// Bids participate in a Private Auction against a select list of buyers
	// with specific floors. See
	// https://support.google.com/authorizedbuyers/answer/2839853 for more
	// information.
	DealExt_PRIVATE_AUCTION DealExt_DealType = 2
	// Bids are fixed-price and evaluated before the Open Auction. Bidders are
	// expected to bid with Programmatic Guaranteed deals whenever they are
	// present on a bid request and the must_bid field is true in order to
	// ensure that the number of impressions agreed upon for a given deal are
	// served. See https://support.google.com/authorizedbuyers/answer/7174589
	// for more information.
	DealExt_PROGRAMMATIC_GUARANTEED DealExt_DealType = 3
	// The deal ID is an identifier for a collection of Open Auction inventory
	// matching a given set of targeting criteria. See
	// https://support.google.com/authorizedbuyers/answer/7516884 for more
	// information.
	DealExt_AUCTION_PACKAGE DealExt_DealType = 4
	// Package of inventory that a publisher makes available to either all
	// buyers or selected bidders. Bids participate in auction in the same way
	// as private auction candidates. See
	// https://support.google.com/authorizedbuyers/answer/12817370 for more
	// information.
	DealExt_MARKETPLACE_PACKAGE DealExt_DealType = 5
)

func (DealExt_DealType) Descriptor

func (DealExt_DealType) Enum

func (DealExt_DealType) EnumDescriptor deprecated

func (DealExt_DealType) EnumDescriptor() ([]byte, []int)

Deprecated: Use DealExt_DealType.Descriptor instead.

func (DealExt_DealType) Number

func (DealExt_DealType) String

func (x DealExt_DealType) String() string

func (DealExt_DealType) Type

func (*DealExt_DealType) UnmarshalJSON deprecated

func (x *DealExt_DealType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type DeviceExt

type DeviceExt struct {

	// Represents a short-lived user session on CTV/OTT devices,
	// with a maximum session duration of 6 hours.
	// The use of session_id is never allowed for ads personalization.
	// session_id may only be used for frequency capping, competitive exclusions
	// or related purposes. This field is populated with web-safe base64 alphabet.
	SessionId *string `protobuf:"bytes,1,opt,name=session_id,json=sessionId" json:"session_id,omitempty"`
	// (iOS Only) An integer passed to represent the app's app tracking
	// authorization status, where 0 = not determined 1 = restricted 2 = denied
	// 3 = authorized. This value is retrieved from ATTrackingManager and
	// provided as is. See
	// https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/extensions/community_extensions/skadnetwork.md#bid-request-1
	//
	// For more information about iOS's app tracking authorization status, see:
	// https://developer.apple.com/documentation/apptrackingtransparency/attrackingmanager/authorizationstatus
	Atts *int32 `protobuf:"varint,3,opt,name=atts" json:"atts,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceExt) Descriptor deprecated

func (*DeviceExt) Descriptor() ([]byte, []int)

Deprecated: Use DeviceExt.ProtoReflect.Descriptor instead.

func (*DeviceExt) GetAtts

func (x *DeviceExt) GetAtts() int32

func (*DeviceExt) GetSessionId

func (x *DeviceExt) GetSessionId() string

func (*DeviceExt) ProtoMessage

func (*DeviceExt) ProtoMessage()

func (*DeviceExt) ProtoReflect

func (x *DeviceExt) ProtoReflect() protoreflect.Message

func (*DeviceExt) Reset

func (x *DeviceExt) Reset()

func (*DeviceExt) String

func (x *DeviceExt) String() string

type DeviceType

type DeviceType int32

OpenRTB 2.0: The following table lists the type of device from which the impression originated.

OpenRTB version 2.2 of the specification added distinct values for Mobile and Tablet. It is recommended that any bidder adding support for 2.2 treat a value of 1 as an acceptable alias of 4 & 5.

This OpenRTB table has values derived from the IAB Quality Assurance Guidelines (QAG). Practitioners should keep in sync with updates to the QAG values as published on IAB.net.

const (
	// Mobile (OpenRTB 2.2+: obsolete, alias for PHONE or TABLET).
	DeviceType_MOBILE DeviceType = 1
	// Personal Computer.
	DeviceType_PERSONAL_COMPUTER DeviceType = 2
	// Connected TV.
	DeviceType_CONNECTED_TV DeviceType = 3
	// Phone.
	DeviceType_HIGHEND_PHONE DeviceType = 4
	// Tablet.
	DeviceType_TABLET DeviceType = 5
	// Connected device.
	DeviceType_CONNECTED_DEVICE DeviceType = 6
	// Set top box.
	DeviceType_SET_TOP_BOX DeviceType = 7
	// Out-of-home advertising, for example digital billboards.
	DeviceType_OOH_DEVICE DeviceType = 8
)

func (DeviceType) Descriptor

func (DeviceType) Descriptor() protoreflect.EnumDescriptor

func (DeviceType) Enum

func (x DeviceType) Enum() *DeviceType

func (DeviceType) EnumDescriptor deprecated

func (DeviceType) EnumDescriptor() ([]byte, []int)

Deprecated: Use DeviceType.Descriptor instead.

func (DeviceType) Number

func (x DeviceType) Number() protoreflect.EnumNumber

func (DeviceType) String

func (x DeviceType) String() string

func (DeviceType) Type

func (*DeviceType) UnmarshalJSON deprecated

func (x *DeviceType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type EventTrackerExt

type EventTrackerExt struct {
	Context []EventTrackerExt_Context `protobuf:"varint,1,rep,name=context,enum=com.google.doubleclick.EventTrackerExt_Context" json:"context,omitempty"`
	// Parameters associated with the resource that will be passed to the
	// resource when it is loaded. The format of the parameters is dependent
	// on the script vendor.
	VerificationParameters *string `protobuf:"bytes,2,opt,name=verification_parameters,json=verificationParameters" json:"verification_parameters,omitempty"`
	// Used to uniquely identify the verification script provider.
	VendorKey *string `protobuf:"bytes,3,opt,name=vendor_key,json=vendorKey" json:"vendor_key,omitempty"`
	// contains filtered or unexported fields
}

func (*EventTrackerExt) Descriptor deprecated

func (*EventTrackerExt) Descriptor() ([]byte, []int)

Deprecated: Use EventTrackerExt.ProtoReflect.Descriptor instead.

func (*EventTrackerExt) GetContext

func (x *EventTrackerExt) GetContext() []EventTrackerExt_Context

func (*EventTrackerExt) GetVendorKey

func (x *EventTrackerExt) GetVendorKey() string

func (*EventTrackerExt) GetVerificationParameters

func (x *EventTrackerExt) GetVerificationParameters() string

func (*EventTrackerExt) ProtoMessage

func (*EventTrackerExt) ProtoMessage()

func (*EventTrackerExt) ProtoReflect

func (x *EventTrackerExt) ProtoReflect() protoreflect.Message

func (*EventTrackerExt) Reset

func (x *EventTrackerExt) Reset()

func (*EventTrackerExt) String

func (x *EventTrackerExt) String() string

type EventTrackerExt_Context

type EventTrackerExt_Context int32

Additional context provided for rendering.

const (
	EventTrackerExt_UNKNOWN EventTrackerExt_Context = 0
	// Currently not supported.
	EventTrackerExt_OMID EventTrackerExt_Context = 1
)

func (EventTrackerExt_Context) Descriptor

func (EventTrackerExt_Context) Enum

func (EventTrackerExt_Context) EnumDescriptor deprecated

func (EventTrackerExt_Context) EnumDescriptor() ([]byte, []int)

Deprecated: Use EventTrackerExt_Context.Descriptor instead.

func (EventTrackerExt_Context) Number

func (EventTrackerExt_Context) String

func (x EventTrackerExt_Context) String() string

func (EventTrackerExt_Context) Type

func (*EventTrackerExt_Context) UnmarshalJSON deprecated

func (x *EventTrackerExt_Context) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type EventTrackingMethod

type EventTrackingMethod int32

OpenRTB Native 1.2.

const (
	// Image-pixel tracking - URL provided will be insterted as a 1x1 pixel at the
	// time of the event.
	EventTrackingMethod_IMG EventTrackingMethod = 1
	// Javascript-based tracking - URL provided will be insterted as a js tag at
	// the time of the event.
	EventTrackingMethod_JS EventTrackingMethod = 2
)

func (EventTrackingMethod) Descriptor

func (EventTrackingMethod) Enum

func (EventTrackingMethod) EnumDescriptor deprecated

func (EventTrackingMethod) EnumDescriptor() ([]byte, []int)

Deprecated: Use EventTrackingMethod.Descriptor instead.

func (EventTrackingMethod) Number

func (EventTrackingMethod) String

func (x EventTrackingMethod) String() string

func (EventTrackingMethod) Type

func (*EventTrackingMethod) UnmarshalJSON deprecated

func (x *EventTrackingMethod) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type EventType

type EventType int32

OpenRTB Native 1.2.

const (
	// Impression
	EventType_IMPRESSION EventType = 1
	// Visible impression using MRC definition at 50% in view for 1 second.
	EventType_VIEWABLE_MRC_50 EventType = 2
	// 100% in view for 1 second (ie GroupM standard).
	EventType_VIEWABLE_MRC_100 EventType = 3
	// Visible impression for video using MRC definition at 50% in view
	// for 2 seconds.
	EventType_VIEWABLE_VIDEO_50 EventType = 4
)

func (EventType) Descriptor

func (EventType) Descriptor() protoreflect.EnumDescriptor

func (EventType) Enum

func (x EventType) Enum() *EventType

func (EventType) EnumDescriptor deprecated

func (EventType) EnumDescriptor() ([]byte, []int)

Deprecated: Use EventType.Descriptor instead.

func (EventType) Number

func (x EventType) Number() protoreflect.EnumNumber

func (EventType) String

func (x EventType) String() string

func (EventType) Type

func (*EventType) UnmarshalJSON deprecated

func (x *EventType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type ExpandableDirection

type ExpandableDirection int32

OpenRTB 2.0: The following table lists the directions in which an expandable ad may expand, given the positioning of the ad unit on the page and constraints imposed by the content.

const (
	ExpandableDirection_LEFT                  ExpandableDirection = 1
	ExpandableDirection_RIGHT                 ExpandableDirection = 2
	ExpandableDirection_UP                    ExpandableDirection = 3
	ExpandableDirection_DOWN                  ExpandableDirection = 4
	ExpandableDirection_EXPANDABLE_FULLSCREEN ExpandableDirection = 5
	// Resize/Minimize (make smaller).
	ExpandableDirection_RESIZE_MINIMIZE ExpandableDirection = 6
)

func (ExpandableDirection) Descriptor

func (ExpandableDirection) Enum

func (ExpandableDirection) EnumDescriptor deprecated

func (ExpandableDirection) EnumDescriptor() ([]byte, []int)

Deprecated: Use ExpandableDirection.Descriptor instead.

func (ExpandableDirection) Number

func (ExpandableDirection) String

func (x ExpandableDirection) String() string

func (ExpandableDirection) Type

func (*ExpandableDirection) UnmarshalJSON deprecated

func (x *ExpandableDirection) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type FeedType

type FeedType int32

OpenRTB 2.4: The following table lists the types of feeds, typically for audio. These values are defined by the IAB - https://github.com/InteractiveAdvertisingBureau/AdCOM/blob/master/AdCOM%20v1.0%20FINAL.md#list--feed-types-.

const (
	// Music streaming service.
	FeedType_MUSIC_SERVICE FeedType = 1
	// Live content broadcast over the air but also available through online
	// streaming.
	FeedType_BROADCAST FeedType = 2
	// Original, pre-recorded content distributed as episodes in a series.
	FeedType_PODCAST FeedType = 3
)

func (FeedType) Descriptor

func (FeedType) Descriptor() protoreflect.EnumDescriptor

func (FeedType) Enum

func (x FeedType) Enum() *FeedType

func (FeedType) EnumDescriptor deprecated

func (FeedType) EnumDescriptor() ([]byte, []int)

Deprecated: Use FeedType.Descriptor instead.

func (FeedType) Number

func (x FeedType) Number() protoreflect.EnumNumber

func (FeedType) String

func (x FeedType) String() string

func (FeedType) Type

func (*FeedType) UnmarshalJSON deprecated

func (x *FeedType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type GeoExt

type GeoExt struct {

	// The device's approximate geographic location. See the geo-table.csv table
	// available at https://developers.google.com/authorized-buyers/rtb/data for
	// a list of IDs. This field is provisional, intended only to help with
	// migration from the Google Authorized Buyers protocol to OpenRTB; it will
	// be removed in the future. The standard fields in BidRequest.device.geo
	// should be used instead; they contain the same location as the
	// geo_criteria_id and both are subject to the same privacy treatments.
	// See Geotargeting Guide:
	// https://developers.google.com/authorized-buyers/rtb/geotargeting
	GeoCriteriaId *int32 `protobuf:"varint,1,opt,name=geo_criteria_id,json=geoCriteriaId" json:"geo_criteria_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GeoExt) Descriptor deprecated

func (*GeoExt) Descriptor() ([]byte, []int)

Deprecated: Use GeoExt.ProtoReflect.Descriptor instead.

func (*GeoExt) GetGeoCriteriaId

func (x *GeoExt) GetGeoCriteriaId() int32

func (*GeoExt) ProtoMessage

func (*GeoExt) ProtoMessage()

func (*GeoExt) ProtoReflect

func (x *GeoExt) ProtoReflect() protoreflect.Message

func (*GeoExt) Reset

func (x *GeoExt) Reset()

func (*GeoExt) String

func (x *GeoExt) String() string

type ImageAssetType

type ImageAssetType int32

OpenRTB Native 1.0: Common image asset element types of native advertising at the time of writing this spec. This list is non-exhaustive and intended to be extended by the buyers and sellers as the format evolves.

const (
	// Icon image.
	// Max height: at least 50; Aspect ratio: 1:1.
	ImageAssetType_ICON ImageAssetType = 1
	// Logo image for the brand/app.
	//
	// Deprecated: Marked as deprecated in openrtb.proto.
	ImageAssetType_LOGO ImageAssetType = 2
	// Large image preview for the ad.
	// At least one of 2 size variants required:
	// Small Variant: max height: 200+, max width: 200+, 267, or 382,
	//                aspect ratio: 1:1, 4:3, or 1.91:1.
	// Large Variant: max height: 627+, max width: 627+, 836, or 1198,
	//                aspect ratio: 1:1, 4:3, or 1.91:1.
	ImageAssetType_MAIN ImageAssetType = 3
)

func (ImageAssetType) Descriptor

func (ImageAssetType) Enum

func (x ImageAssetType) Enum() *ImageAssetType

func (ImageAssetType) EnumDescriptor deprecated

func (ImageAssetType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ImageAssetType.Descriptor instead.

func (ImageAssetType) Number

func (ImageAssetType) String

func (x ImageAssetType) String() string

func (ImageAssetType) Type

func (*ImageAssetType) UnmarshalJSON deprecated

func (x *ImageAssetType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type ImpExt

type ImpExt struct {

	// The eligible billing IDs to which a billable impression can be attributed.
	// A billing ID for attributing an impression resulting from a winning bid can
	// be specified in `BidResponse.seatbid.bid.ext.billing_id`. These billing IDs
	// can represent the bidder's matching pretargeting configurations, the
	// bidder's deal billing ID, or eligible child seats.
	// [AdX: BidRequest.AdSlot.MatchingAdData.billing_id]
	BillingId []int64 `protobuf:"varint,1,rep,name=billing_id,json=billingId" json:"billing_id,omitempty"`
	// [AdX: BidRequest.publisher_settings_list_id]
	// [AdX: BidRequest.AdSlot.publisher_settings_list_id]
	PublisherSettingsListId []uint64 `` /* 129-byte string literal not displayed */
	// [AdX: BidRequest.AdSlot.allowed_vendor_type]
	AllowedVendorType []int32 `protobuf:"varint,3,rep,packed,name=allowed_vendor_type,json=allowedVendorType" json:"allowed_vendor_type,omitempty"`
	// Creatives that are disallowed for the impression. Submitting a bid with
	// one of the creatives in this list will result in such bid being filtered
	// before the auction. Contact your account manager if you would like
	// to enable this feature.
	ExcludedCreatives []*ImpExt_ExcludedCreative `protobuf:"bytes,10,rep,name=excluded_creatives,json=excludedCreatives" json:"excluded_creatives,omitempty"`
	// [AdX: BidRequest.AdSlot.dfp_ad_unit_code]
	DfpAdUnitCode *string `protobuf:"bytes,6,opt,name=dfp_ad_unit_code,json=dfpAdUnitCode" json:"dfp_ad_unit_code,omitempty"`
	// Deprecated. This will be removed in July 2023. Use the standard field
	// BidRequest.imp.rwdd instead.
	// [AdX: BidRequest.AdSlot.is_rewarded]
	//
	// Deprecated: Marked as deprecated in openrtb-adx.proto.
	IsRewardedInventory       *bool                               `protobuf:"varint,7,opt,name=is_rewarded_inventory,json=isRewardedInventory" json:"is_rewarded_inventory,omitempty"`
	Ampad                     *ImpExt_AmpAdRequirementType        `protobuf:"varint,8,opt,name=ampad,enum=com.google.doubleclick.ImpExt_AmpAdRequirementType,def=1" json:"ampad,omitempty"`
	BuyerGeneratedRequestData []*ImpExt_BuyerGeneratedRequestData `` /* 133-byte string literal not displayed */
	// Deprecated. This will be removed in Q1 2024. This field has been
	// deprecated in favor of the repeated field
	// `billable_event_rate_bid_adjustment` below.
	// For ads rendered using a custom SDK only: multiplier applied to bid in
	// the auction. The adjustment reflects the likelihood that your bid would
	// generate a billable event (meaning the ad renders successfully) if it
	// won the auction, relative to the probability that other bids generate a
	// billable event if they won the auction. This adjustment can be larger or
	// smaller than 1. This affects the final ranking in the auction only; in
	// particular, this multiplier does not affect the payment.
	//
	// Deprecated: Marked as deprecated in openrtb-adx.proto.
	BillableEventRateAdjustment *float64 `` /* 148-byte string literal not displayed */
	// A list of billable event rate bid adjustments applicable to the request
	// and the ad features associated to the adjustment. Bid adjustments are
	// listed here only if they are not equal to 1.0, which is equivalent to
	// having no adjustment. This field replaces the deprecated field
	// billable_event_rate_adjustment.
	BillableEventRateBidAdjustment []*ImpExt_BillableEventRateBidAdjustment `` /* 151-byte string literal not displayed */
	OpenBidding                    *ImpExt_OpenBidding                      `protobuf:"bytes,12,opt,name=open_bidding,json=openBidding" json:"open_bidding,omitempty"`
	// The allowed restricted ad categories. See
	// https://storage.googleapis.com/adx-rtb-dictionaries/ad-restricted-categories.txt
	// for a list of ids. If you bid with an ad in a restricted category, you MUST
	// ALWAYS declare the category in the bid response regardless of the values in
	// this field.
	AllowedRestrictedCategory []int32 `` /* 133-byte string literal not displayed */
	// [AdX: BidRequest.Mobile.skadn]
	Skadn                       *ImpExt_SKAdNetworkRequest          `protobuf:"bytes,14,opt,name=skadn" json:"skadn,omitempty"`
	CreativeEnforcementSettings *ImpExt_CreativeEnforcementSettings `` /* 138-byte string literal not displayed */
	// Specifies where the ad auction runs.
	// Deprecated. This will be removed in November, 2023. Use ae instead.
	//
	// Deprecated: Marked as deprecated in openrtb-adx.proto.
	AuctionEnvironment *ImpExt_AuctionEnvironment `` /* 170-byte string literal not displayed */
	// The supported auction environment for this impression. For inventory
	// which does not support interest group bidding, this will always be set to
	// SERVER_SIDE_AUCTION. For inventory which does support interest group
	// bidding, this will be set to ON_DEVICE_INTEREST_GROUP_AUCTION. Note that
	// this only indicates that the interest group auction is supported, not
	// that it is guaranteed to execute. If no buyer chooses to participate in
	// the interest group auction, then the interest group auction will be
	// skipped and the winner of the contextual auction, if any, will be
	// served instead.
	Ae *ImpExt_AuctionEnvironment `protobuf:"varint,66,opt,name=ae,enum=com.google.doubleclick.ImpExt_AuctionEnvironment,def=0" json:"ae,omitempty"`
	// Indicates whether a mobile app bid request is for an app open ad.
	// See App open ad guidance at
	// https://support.google.com/admob/answer/9341964 for more information.
	// [AdX: BidRequest.Mobile.is_app_open_ad]
	IsAppOpenAd *bool `protobuf:"varint,19,opt,name=is_app_open_ad,json=isAppOpenAd" json:"is_app_open_ad,omitempty"`
	// Ad unit mappings that match the given adslot.
	AdUnitMapping []*ImpExt_AdUnitMapping `protobuf:"bytes,64,rep,name=ad_unit_mapping,json=adUnitMapping" json:"ad_unit_mapping,omitempty"`
	// contains filtered or unexported fields
}

Protocol buffer for Ad Exchange OpenRTB specification.

Ad Exchange extensions for the Imp object.

func (*ImpExt) Descriptor deprecated

func (*ImpExt) Descriptor() ([]byte, []int)

Deprecated: Use ImpExt.ProtoReflect.Descriptor instead.

func (*ImpExt) GetAdUnitMapping

func (x *ImpExt) GetAdUnitMapping() []*ImpExt_AdUnitMapping

func (*ImpExt) GetAe

func (x *ImpExt) GetAe() ImpExt_AuctionEnvironment

func (*ImpExt) GetAllowedRestrictedCategory

func (x *ImpExt) GetAllowedRestrictedCategory() []int32

func (*ImpExt) GetAllowedVendorType

func (x *ImpExt) GetAllowedVendorType() []int32

func (*ImpExt) GetAmpad

func (x *ImpExt) GetAmpad() ImpExt_AmpAdRequirementType

func (*ImpExt) GetAuctionEnvironment deprecated

func (x *ImpExt) GetAuctionEnvironment() ImpExt_AuctionEnvironment

Deprecated: Marked as deprecated in openrtb-adx.proto.

func (*ImpExt) GetBillableEventRateAdjustment deprecated

func (x *ImpExt) GetBillableEventRateAdjustment() float64

Deprecated: Marked as deprecated in openrtb-adx.proto.

func (*ImpExt) GetBillableEventRateBidAdjustment

func (x *ImpExt) GetBillableEventRateBidAdjustment() []*ImpExt_BillableEventRateBidAdjustment

func (*ImpExt) GetBillingId

func (x *ImpExt) GetBillingId() []int64

func (*ImpExt) GetBuyerGeneratedRequestData

func (x *ImpExt) GetBuyerGeneratedRequestData() []*ImpExt_BuyerGeneratedRequestData

func (*ImpExt) GetCreativeEnforcementSettings

func (x *ImpExt) GetCreativeEnforcementSettings() *ImpExt_CreativeEnforcementSettings

func (*ImpExt) GetDfpAdUnitCode

func (x *ImpExt) GetDfpAdUnitCode() string

func (*ImpExt) GetExcludedCreatives

func (x *ImpExt) GetExcludedCreatives() []*ImpExt_ExcludedCreative

func (*ImpExt) GetIsAppOpenAd

func (x *ImpExt) GetIsAppOpenAd() bool

func (*ImpExt) GetIsRewardedInventory deprecated

func (x *ImpExt) GetIsRewardedInventory() bool

Deprecated: Marked as deprecated in openrtb-adx.proto.

func (*ImpExt) GetOpenBidding

func (x *ImpExt) GetOpenBidding() *ImpExt_OpenBidding

func (*ImpExt) GetPublisherSettingsListId

func (x *ImpExt) GetPublisherSettingsListId() []uint64

func (*ImpExt) GetSkadn

func (x *ImpExt) GetSkadn() *ImpExt_SKAdNetworkRequest

func (*ImpExt) ProtoMessage

func (*ImpExt) ProtoMessage()

func (*ImpExt) ProtoReflect

func (x *ImpExt) ProtoReflect() protoreflect.Message

func (*ImpExt) Reset

func (x *ImpExt) Reset()

func (*ImpExt) String

func (x *ImpExt) String() string

type ImpExt_AdUnitMapping

type ImpExt_AdUnitMapping struct {

	// Multiple key-value pairs can be specified in order to support
	// bidders whose inventory unit space is hierarchical and has multiple
	// identifiers. The key-value pairs for the chosen AdUnitMapping should be
	// sent back in the bid response as
	// BidResponse.seatbid.bid.ext.sdk_rendered_ad.sdk_params. This is passed to
	// the bidder's SDK.
	Keyvals []*ImpExt_AdUnitMapping_Keyval `protobuf:"bytes,1,rep,name=keyvals" json:"keyvals,omitempty"`
	// The mappings are targeted through a format, which is expressed in the
	// Google-defined taxonomy. Format is populated in the bid request since
	// Google supports targeting multiple formats with a single ad
	// unit, and Google's definition of the format may not match the bidder's
	// definition. In order for the bidder to differentiate which format
	// matched, it is sent in the bid request.
	Format *ImpExt_AdUnitMapping_FormatType `protobuf:"varint,2,opt,name=format,enum=com.google.doubleclick.ImpExt_AdUnitMapping_FormatType" json:"format,omitempty"`
	// contains filtered or unexported fields
}

AdUnitMapping is used to identify publisher inventory units in the bidder's namespace. The mappings are only populated when the bidder works directly with a publisher, and provides the mapping from Google's ad unit namespace to the bidder's inventory namespace. The ad unit mapping is only applicable for requests that use a custom SDK. https://support.google.com/admanager/answer/9601810.

func (*ImpExt_AdUnitMapping) Descriptor deprecated

func (*ImpExt_AdUnitMapping) Descriptor() ([]byte, []int)

Deprecated: Use ImpExt_AdUnitMapping.ProtoReflect.Descriptor instead.

func (*ImpExt_AdUnitMapping) GetFormat

func (*ImpExt_AdUnitMapping) GetKeyvals

func (*ImpExt_AdUnitMapping) ProtoMessage

func (*ImpExt_AdUnitMapping) ProtoMessage()

func (*ImpExt_AdUnitMapping) ProtoReflect

func (x *ImpExt_AdUnitMapping) ProtoReflect() protoreflect.Message

func (*ImpExt_AdUnitMapping) Reset

func (x *ImpExt_AdUnitMapping) Reset()

func (*ImpExt_AdUnitMapping) String

func (x *ImpExt_AdUnitMapping) String() string

type ImpExt_AdUnitMapping_FormatType

type ImpExt_AdUnitMapping_FormatType int32

Possible ad unit formats that can be used for the mapping. Corresponds to the adapter that will be used on the SDK.

const (
	ImpExt_AdUnitMapping_FORMAT_UNKNOWN ImpExt_AdUnitMapping_FormatType = 0
	// Display banner ads for web or mobile apps. For example, a 320x50
	// leaderboard slot. This includes out-stream video.
	ImpExt_AdUnitMapping_FORMAT_BANNER ImpExt_AdUnitMapping_FormatType = 1
	// A full-screen ad to be displayed inside a mobile app.
	ImpExt_AdUnitMapping_FORMAT_INTERSTITIAL ImpExt_AdUnitMapping_FormatType = 2
	// Custom display or video ads for web or mobile apps that match the
	// user experience of the site or app in which they’re placed.
	ImpExt_AdUnitMapping_FORMAT_NATIVE ImpExt_AdUnitMapping_FormatType = 3
	// Video ads that appear before, during, or after video content
	// streams.
	ImpExt_AdUnitMapping_FORMAT_VIDEO_VAST ImpExt_AdUnitMapping_FormatType = 4
	// Video ads for mobile apps that allow users to voluntarily watch an
	// ad in exchange for an in-app reward.
	ImpExt_AdUnitMapping_FORMAT_REWARDED ImpExt_AdUnitMapping_FormatType = 5
	// Interstitial ads that allow users to watch an ad in exchange for
	// an in-app reward. Does not require opt-in.
	// https://support.google.com/admanager/answer/7386053
	ImpExt_AdUnitMapping_FORMAT_REWARDED_INTERSTITIAL ImpExt_AdUnitMapping_FormatType = 6
	// App open ads shows at app load screens. App open ads can be closed
	// at any time, and are designed to be shown when the users bring the
	// app to the foreground.
	ImpExt_AdUnitMapping_FORMAT_APP_OPEN ImpExt_AdUnitMapping_FormatType = 7
)

func (ImpExt_AdUnitMapping_FormatType) Descriptor

func (ImpExt_AdUnitMapping_FormatType) Enum

func (ImpExt_AdUnitMapping_FormatType) EnumDescriptor deprecated

func (ImpExt_AdUnitMapping_FormatType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ImpExt_AdUnitMapping_FormatType.Descriptor instead.

func (ImpExt_AdUnitMapping_FormatType) Number

func (ImpExt_AdUnitMapping_FormatType) String

func (ImpExt_AdUnitMapping_FormatType) Type

func (*ImpExt_AdUnitMapping_FormatType) UnmarshalJSON deprecated

func (x *ImpExt_AdUnitMapping_FormatType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type ImpExt_AdUnitMapping_Keyval

type ImpExt_AdUnitMapping_Keyval struct {

	// The key is the name of the bidder's inventory unit identifier for the
	// SDK.
	Key *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
	// The value of the bidder's inventory unit identifier for the given
	// format.
	Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Key-value pair used to specify the inventory unit in the bidder's namespace.

func (*ImpExt_AdUnitMapping_Keyval) Descriptor deprecated

func (*ImpExt_AdUnitMapping_Keyval) Descriptor() ([]byte, []int)

Deprecated: Use ImpExt_AdUnitMapping_Keyval.ProtoReflect.Descriptor instead.

func (*ImpExt_AdUnitMapping_Keyval) GetKey

func (x *ImpExt_AdUnitMapping_Keyval) GetKey() string

func (*ImpExt_AdUnitMapping_Keyval) GetValue

func (x *ImpExt_AdUnitMapping_Keyval) GetValue() string

func (*ImpExt_AdUnitMapping_Keyval) ProtoMessage

func (*ImpExt_AdUnitMapping_Keyval) ProtoMessage()

func (*ImpExt_AdUnitMapping_Keyval) ProtoReflect

func (*ImpExt_AdUnitMapping_Keyval) Reset

func (x *ImpExt_AdUnitMapping_Keyval) Reset()

func (*ImpExt_AdUnitMapping_Keyval) String

func (x *ImpExt_AdUnitMapping_Keyval) String() string

type ImpExt_AmpAdRequirementType

type ImpExt_AmpAdRequirementType int32

Possible requirement types for AMP ads.

const (
	// AMP ad requirements unknown.
	ImpExt_UNKNOWN_AMP_AD_REQUIREMENT_TYPE ImpExt_AmpAdRequirementType = 1
	// AMP ads are not allowed.
	ImpExt_AMP_AD_NOT_ALLOWED ImpExt_AmpAdRequirementType = 2
	// Either AMP ads or non-AMP ads are allowed;
	// AMP ads are not early rendered.
	ImpExt_AMP_AD_ALLOWED_AND_NOT_EARLY_RENDERED ImpExt_AmpAdRequirementType = 3
	// Either AMP ads or non-AMP ads are allowed;
	// AMP ads are early rendered.
	ImpExt_AMP_AD_ALLOWED_AND_EARLY_RENDERED ImpExt_AmpAdRequirementType = 4
	// AMP ads are required.
	// Ads that are non-AMP may be rejected by the publisher.
	ImpExt_AMP_AD_REQUIRED ImpExt_AmpAdRequirementType = 5
)

func (ImpExt_AmpAdRequirementType) Descriptor

func (ImpExt_AmpAdRequirementType) Enum

func (ImpExt_AmpAdRequirementType) EnumDescriptor deprecated

func (ImpExt_AmpAdRequirementType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ImpExt_AmpAdRequirementType.Descriptor instead.

func (ImpExt_AmpAdRequirementType) Number

func (ImpExt_AmpAdRequirementType) String

func (ImpExt_AmpAdRequirementType) Type

func (*ImpExt_AmpAdRequirementType) UnmarshalJSON deprecated

func (x *ImpExt_AmpAdRequirementType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type ImpExt_AuctionEnvironment

type ImpExt_AuctionEnvironment int32

Describes the environment where the ad auction is run.

const (
	// The auction determining the winning ad is held server-side.
	ImpExt_SERVER_SIDE_AUCTION ImpExt_AuctionEnvironment = 0
	// The contextual auction that determines a winning contextual bid is held
	// server-side, and bidding functions are run on the device to determine
	// interest group bids. Both the winning contextual bid and interest
	// group bids are entered into a final auction held on the device to
	// select the winning ad. For more information regarding the Protected
	// Audience API on device bidding and auction, see:
	// https://github.com/WICG/turtledove and
	// https://github.com/WICG/turtledove/blob/main/FLEDGE.md
	ImpExt_ON_DEVICE_INTEREST_GROUP_AUCTION ImpExt_AuctionEnvironment = 1
)

func (ImpExt_AuctionEnvironment) Descriptor

func (ImpExt_AuctionEnvironment) Enum

func (ImpExt_AuctionEnvironment) EnumDescriptor deprecated

func (ImpExt_AuctionEnvironment) EnumDescriptor() ([]byte, []int)

Deprecated: Use ImpExt_AuctionEnvironment.Descriptor instead.

func (ImpExt_AuctionEnvironment) Number

func (ImpExt_AuctionEnvironment) String

func (x ImpExt_AuctionEnvironment) String() string

func (ImpExt_AuctionEnvironment) Type

func (*ImpExt_AuctionEnvironment) UnmarshalJSON deprecated

func (x *ImpExt_AuctionEnvironment) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type ImpExt_BillableEventRateBidAdjustment

type ImpExt_BillableEventRateBidAdjustment struct {

	// A multiplier to your bid to adjust for the likelihood that your bid
	// would result in a billable event (namely, the ad renders successfully)
	// if it won the auction, relative to the average probability that bids
	// from other buyers would result in a billable event if they won the
	// auction. This adjustment can be larger or smaller than 1. This affects
	// the final ranking in the auction only; in particular, this multiplier
	// does not affect the payment or whether the bid clears any floor price.
	BidAdjustment *float32 `protobuf:"fixed32,1,opt,name=bid_adjustment,json=bidAdjustment,def=1" json:"bid_adjustment,omitempty"`
	// The type of ads to which the above bid adjustment applies to. Each type
	// corresponds to different ways of how the ad's creative is specified, as
	// described in
	// https://developers.google.com/authorized-buyers/rtb/response-guide#specify-creative.
	// If the ad is SDK-rendered, this will be set to SDK_RENDERED regardless
	// of the actual creative type.
	CreativeType *ImpExt_BillableEventRateBidAdjustment_CreativeType `` /* 176-byte string literal not displayed */
	// The SDK used to render the ad with. The SDK ID will match the one sent
	// in BidRequest.app.ext.installed_sdk.id. This field is not set for Google
	// SDK.
	Sdk *AppExt_InstalledSdk `protobuf:"bytes,3,opt,name=sdk" json:"sdk,omitempty"`
	// contains filtered or unexported fields
}

The billable event rate bid adjustment of an ad and the dependent features of the ad the adjustment applies to, such as the format or the SDK used to render the ad. Each feature combination may have a unique adjustment, each adjustment therefore specifies which SDK or creative format it applies to.

func (*ImpExt_BillableEventRateBidAdjustment) Descriptor deprecated

func (*ImpExt_BillableEventRateBidAdjustment) Descriptor() ([]byte, []int)

Deprecated: Use ImpExt_BillableEventRateBidAdjustment.ProtoReflect.Descriptor instead.

func (*ImpExt_BillableEventRateBidAdjustment) GetBidAdjustment

func (x *ImpExt_BillableEventRateBidAdjustment) GetBidAdjustment() float32

func (*ImpExt_BillableEventRateBidAdjustment) GetCreativeType

func (*ImpExt_BillableEventRateBidAdjustment) GetSdk

func (*ImpExt_BillableEventRateBidAdjustment) ProtoMessage

func (*ImpExt_BillableEventRateBidAdjustment) ProtoMessage()

func (*ImpExt_BillableEventRateBidAdjustment) ProtoReflect

func (*ImpExt_BillableEventRateBidAdjustment) Reset

func (*ImpExt_BillableEventRateBidAdjustment) String

type ImpExt_BillableEventRateBidAdjustment_CreativeType

type ImpExt_BillableEventRateBidAdjustment_CreativeType int32

The types of creative the bid adjustments can apply to.

const (
	ImpExt_BillableEventRateBidAdjustment_CREATIVE_TYPE_UNKNOWN ImpExt_BillableEventRateBidAdjustment_CreativeType = 0
	// Banner ads
	ImpExt_BillableEventRateBidAdjustment_HTML_SNIPPET ImpExt_BillableEventRateBidAdjustment_CreativeType = 1
	// VAST video or audio ads
	ImpExt_BillableEventRateBidAdjustment_VIDEO_VAST ImpExt_BillableEventRateBidAdjustment_CreativeType = 2
	// Native ads
	ImpExt_BillableEventRateBidAdjustment_NATIVE ImpExt_BillableEventRateBidAdjustment_CreativeType = 3
	// SDK rendered ad
	ImpExt_BillableEventRateBidAdjustment_SDK_RENDERED ImpExt_BillableEventRateBidAdjustment_CreativeType = 4
)

func (ImpExt_BillableEventRateBidAdjustment_CreativeType) Descriptor

func (ImpExt_BillableEventRateBidAdjustment_CreativeType) Enum

func (ImpExt_BillableEventRateBidAdjustment_CreativeType) EnumDescriptor deprecated

Deprecated: Use ImpExt_BillableEventRateBidAdjustment_CreativeType.Descriptor instead.

func (ImpExt_BillableEventRateBidAdjustment_CreativeType) Number

func (ImpExt_BillableEventRateBidAdjustment_CreativeType) String

func (ImpExt_BillableEventRateBidAdjustment_CreativeType) Type

func (*ImpExt_BillableEventRateBidAdjustment_CreativeType) UnmarshalJSON deprecated

Deprecated: Do not use.

type ImpExt_BuyerGeneratedRequestData

type ImpExt_BuyerGeneratedRequestData struct {

	// The source (provider) of the signal.
	//
	// Types that are assignable to Source:
	//	*ImpExt_BuyerGeneratedRequestData_SourceApp_
	Source isImpExt_BuyerGeneratedRequestData_Source `protobuf_oneof:"source"`
	// The secure signal.
	Data *string `protobuf:"bytes,2,opt,name=data" json:"data,omitempty"`
	// contains filtered or unexported fields
}

Secure signals passed by the publisher.

func (*ImpExt_BuyerGeneratedRequestData) Descriptor deprecated

func (*ImpExt_BuyerGeneratedRequestData) Descriptor() ([]byte, []int)

Deprecated: Use ImpExt_BuyerGeneratedRequestData.ProtoReflect.Descriptor instead.

func (*ImpExt_BuyerGeneratedRequestData) GetData

func (*ImpExt_BuyerGeneratedRequestData) GetSource

func (m *ImpExt_BuyerGeneratedRequestData) GetSource() isImpExt_BuyerGeneratedRequestData_Source

func (*ImpExt_BuyerGeneratedRequestData) GetSourceApp

func (*ImpExt_BuyerGeneratedRequestData) ProtoMessage

func (*ImpExt_BuyerGeneratedRequestData) ProtoMessage()

func (*ImpExt_BuyerGeneratedRequestData) ProtoReflect

func (*ImpExt_BuyerGeneratedRequestData) Reset

func (*ImpExt_BuyerGeneratedRequestData) String

type ImpExt_BuyerGeneratedRequestData_SourceApp

type ImpExt_BuyerGeneratedRequestData_SourceApp struct {

	// Identifier for the SDK that generated this data. It will match the id
	// in AppExt.InstalledSdk.id.
	Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// contains filtered or unexported fields
}

The source of the signal when this request is from an app.

func (*ImpExt_BuyerGeneratedRequestData_SourceApp) Descriptor deprecated

Deprecated: Use ImpExt_BuyerGeneratedRequestData_SourceApp.ProtoReflect.Descriptor instead.

func (*ImpExt_BuyerGeneratedRequestData_SourceApp) GetId

func (*ImpExt_BuyerGeneratedRequestData_SourceApp) ProtoMessage

func (*ImpExt_BuyerGeneratedRequestData_SourceApp) ProtoReflect

func (*ImpExt_BuyerGeneratedRequestData_SourceApp) Reset

func (*ImpExt_BuyerGeneratedRequestData_SourceApp) String

type ImpExt_BuyerGeneratedRequestData_SourceApp_

type ImpExt_BuyerGeneratedRequestData_SourceApp_ struct {
	SourceApp *ImpExt_BuyerGeneratedRequestData_SourceApp `protobuf:"bytes,1,opt,name=source_app,json=sourceApp,oneof"`
}

type ImpExt_CreativeEnforcementSettings

type ImpExt_CreativeEnforcementSettings struct {
	PolicyEnforcement          *ImpExt_CreativeEnforcementSettings_PolicyEnforcement          `` /* 187-byte string literal not displayed */
	PublisherBlocksEnforcement *ImpExt_CreativeEnforcementSettings_PublisherBlocksEnforcement `` /* 225-byte string literal not displayed */
	// contains filtered or unexported fields
}

Indicates the creative policy and publisher blocks that applies to this request.

func (*ImpExt_CreativeEnforcementSettings) Descriptor deprecated

func (*ImpExt_CreativeEnforcementSettings) Descriptor() ([]byte, []int)

Deprecated: Use ImpExt_CreativeEnforcementSettings.ProtoReflect.Descriptor instead.

func (*ImpExt_CreativeEnforcementSettings) GetPolicyEnforcement

func (*ImpExt_CreativeEnforcementSettings) GetPublisherBlocksEnforcement

func (*ImpExt_CreativeEnforcementSettings) ProtoMessage

func (*ImpExt_CreativeEnforcementSettings) ProtoMessage()

func (*ImpExt_CreativeEnforcementSettings) ProtoReflect

func (*ImpExt_CreativeEnforcementSettings) Reset

func (*ImpExt_CreativeEnforcementSettings) String

type ImpExt_CreativeEnforcementSettings_PolicyEnforcement

type ImpExt_CreativeEnforcementSettings_PolicyEnforcement int32

Creative policy enforcement level that applies to this request. Creatives that don't adhere to the specified policy will be filtered before the auction. The status of the creatives with their respective policies can be retrieved through Creative API. https://developers.google.com/authorized-buyers/apis/guides/rtb-api/creatives Bids on deals may override the policy enforcement applicable to the request.

const (
	ImpExt_CreativeEnforcementSettings_POLICY_ENFORCEMENT_UNKNOWN ImpExt_CreativeEnforcementSettings_PolicyEnforcement = 0
	// Baseline policy for all ads serving through any of Google's ads
	// platform products. Learn more at:
	// https://support.google.com/platformspolicy/answer/3013851.
	ImpExt_CreativeEnforcementSettings_POLICY_ENFORCEMENT_PLATFORM_POLICY ImpExt_CreativeEnforcementSettings_PolicyEnforcement = 1
	// Policy for ads serving through Google's ad network. This includes the
	// baseline policy for all ads serving through any of Google's ads
	// platform products. Learn more at:
	// https://support.google.com/authorizedbuyers/answer/1325008.
	ImpExt_CreativeEnforcementSettings_POLICY_ENFORCEMENT_NETWORK_AND_PLATFORM_POLICY ImpExt_CreativeEnforcementSettings_PolicyEnforcement = 2
)

func (ImpExt_CreativeEnforcementSettings_PolicyEnforcement) Descriptor

func (ImpExt_CreativeEnforcementSettings_PolicyEnforcement) Enum

func (ImpExt_CreativeEnforcementSettings_PolicyEnforcement) EnumDescriptor deprecated

Deprecated: Use ImpExt_CreativeEnforcementSettings_PolicyEnforcement.Descriptor instead.

func (ImpExt_CreativeEnforcementSettings_PolicyEnforcement) Number

func (ImpExt_CreativeEnforcementSettings_PolicyEnforcement) String

func (ImpExt_CreativeEnforcementSettings_PolicyEnforcement) Type

func (*ImpExt_CreativeEnforcementSettings_PolicyEnforcement) UnmarshalJSON deprecated

Deprecated: Do not use.

type ImpExt_CreativeEnforcementSettings_PublisherBlocksEnforcement

type ImpExt_CreativeEnforcementSettings_PublisherBlocksEnforcement int32

Creative publisher blocks enforcement level that applies to this request. Publisher blocks allow publishers to control which creatives can be shown on their properties. Deals may also override publisher blocks. Refer to Deals.ext.publisher_blocks_overridden field.

const (
	ImpExt_CreativeEnforcementSettings_PUBLISHER_BLOCKS_ENFORCEMENT_UNKNOWN ImpExt_CreativeEnforcementSettings_PublisherBlocksEnforcement = 0
	// The publisher's blocking controls are enforced on creatives
	// submitted. Publisher blocks enforcement settings are provided in the
	// following fields:
	// - Imp.ext.publisher_settings_list_id
	// - bcat
	// - Imp.ext.allowed_restricted_category
	// - Imp.ext.allowed_vendor_type
	// - Audio.battr
	// - Video.battr
	// - Banner.battr
	// - Native.battr
	ImpExt_CreativeEnforcementSettings_PUBLISHER_BLOCKS_ENFORCEMENT_APPLIES ImpExt_CreativeEnforcementSettings_PublisherBlocksEnforcement = 1
	// The publisher's blocking controls are not enforced on creatives
	// submitted.
	ImpExt_CreativeEnforcementSettings_PUBLISHER_BLOCKS_ENFORCEMENT_OVERRIDDEN ImpExt_CreativeEnforcementSettings_PublisherBlocksEnforcement = 2
)

func (ImpExt_CreativeEnforcementSettings_PublisherBlocksEnforcement) Descriptor

func (ImpExt_CreativeEnforcementSettings_PublisherBlocksEnforcement) Enum

func (ImpExt_CreativeEnforcementSettings_PublisherBlocksEnforcement) EnumDescriptor deprecated

Deprecated: Use ImpExt_CreativeEnforcementSettings_PublisherBlocksEnforcement.Descriptor instead.

func (ImpExt_CreativeEnforcementSettings_PublisherBlocksEnforcement) Number

func (ImpExt_CreativeEnforcementSettings_PublisherBlocksEnforcement) String

func (ImpExt_CreativeEnforcementSettings_PublisherBlocksEnforcement) Type

func (*ImpExt_CreativeEnforcementSettings_PublisherBlocksEnforcement) UnmarshalJSON deprecated

Deprecated: Do not use.

type ImpExt_ExcludedCreative

type ImpExt_ExcludedCreative struct {

	// Buyer creative ID of the disallowed creative.
	BuyerCreativeId *string `protobuf:"bytes,1,opt,name=buyer_creative_id,json=buyerCreativeId" json:"buyer_creative_id,omitempty"`
	// contains filtered or unexported fields
}

A creative that is disallowed to bid on this impression due to Ad Exchange policies or creative disapproval, excluded creative attributes, excluded product or sensitive categories, allowed vendor types, restricted categories or languages applicable to the bid request.

func (*ImpExt_ExcludedCreative) Descriptor deprecated

func (*ImpExt_ExcludedCreative) Descriptor() ([]byte, []int)

Deprecated: Use ImpExt_ExcludedCreative.ProtoReflect.Descriptor instead.

func (*ImpExt_ExcludedCreative) GetBuyerCreativeId

func (x *ImpExt_ExcludedCreative) GetBuyerCreativeId() string

func (*ImpExt_ExcludedCreative) ProtoMessage

func (*ImpExt_ExcludedCreative) ProtoMessage()

func (*ImpExt_ExcludedCreative) ProtoReflect

func (x *ImpExt_ExcludedCreative) ProtoReflect() protoreflect.Message

func (*ImpExt_ExcludedCreative) Reset

func (x *ImpExt_ExcludedCreative) Reset()

func (*ImpExt_ExcludedCreative) String

func (x *ImpExt_ExcludedCreative) String() string

type ImpExt_OpenBidding

type ImpExt_OpenBidding struct {

	// This field is set to true if the publisher set up a yield group or a
	// mediation group that targets this adslot and this bidder. See
	// https://support.google.com/admanager/answer/7128453 for information on
	// Open Bidding and its effects on the bidding process.
	IsOpenBidding *bool `protobuf:"varint,2,opt,name=is_open_bidding,json=isOpenBidding" json:"is_open_bidding,omitempty"`
	// contains filtered or unexported fields
}

Parameters related to Open Bidding.

func (*ImpExt_OpenBidding) Descriptor deprecated

func (*ImpExt_OpenBidding) Descriptor() ([]byte, []int)

Deprecated: Use ImpExt_OpenBidding.ProtoReflect.Descriptor instead.

func (*ImpExt_OpenBidding) GetIsOpenBidding

func (x *ImpExt_OpenBidding) GetIsOpenBidding() bool

func (*ImpExt_OpenBidding) ProtoMessage

func (*ImpExt_OpenBidding) ProtoMessage()

func (*ImpExt_OpenBidding) ProtoReflect

func (x *ImpExt_OpenBidding) ProtoReflect() protoreflect.Message

func (*ImpExt_OpenBidding) Reset

func (x *ImpExt_OpenBidding) Reset()

func (*ImpExt_OpenBidding) String

func (x *ImpExt_OpenBidding) String() string

type ImpExt_SKAdNetworkRequest

type ImpExt_SKAdNetworkRequest struct {

	// List of all SKAdNetwork versions supported by the request, depending on
	// the OS version and the SDK version.
	Versions []string `protobuf:"bytes,4,rep,name=versions" json:"versions,omitempty"`
	// ID of publisher app in Apple's App Store.
	Sourceapp *string `protobuf:"bytes,2,opt,name=sourceapp" json:"sourceapp,omitempty"`
	// SKAdNetworkIdentifier entries in the publisher app's Info.plist.
	Skadnetids []string `protobuf:"bytes,3,rep,name=skadnetids" json:"skadnetids,omitempty"`
	// List of fidelity types supported, depending on the SKAdNetwork API
	// version supported by the operating system and SDK as well as ad slot
	// properties.
	Fidelities []SKAdNetworkFidelityType `` /* 126-byte string literal not displayed */
	// Indicates if this request supports SKOverlay for video ads.
	Skoverlay *bool `protobuf:"varint,6,opt,name=skoverlay" json:"skoverlay,omitempty"`
	// contains filtered or unexported fields
}

Publisher's SKAdNetwork information to support app installation attribution for iOS 14 and later. Apple's SKAdNetwork API helps advertisers measure ad-driven app installation by sending a postback to the ad network after a successful install. Publishers will need to configure supported ad networks in their app's property list (Info.plist) to allow an install to be attributed to the ad impression. For more info visit: https://developer.apple.com/documentation/storekit/skadnetwork

func (*ImpExt_SKAdNetworkRequest) Descriptor deprecated

func (*ImpExt_SKAdNetworkRequest) Descriptor() ([]byte, []int)

Deprecated: Use ImpExt_SKAdNetworkRequest.ProtoReflect.Descriptor instead.

func (*ImpExt_SKAdNetworkRequest) GetFidelities

func (*ImpExt_SKAdNetworkRequest) GetSkadnetids

func (x *ImpExt_SKAdNetworkRequest) GetSkadnetids() []string

func (*ImpExt_SKAdNetworkRequest) GetSkoverlay

func (x *ImpExt_SKAdNetworkRequest) GetSkoverlay() bool

func (*ImpExt_SKAdNetworkRequest) GetSourceapp

func (x *ImpExt_SKAdNetworkRequest) GetSourceapp() string

func (*ImpExt_SKAdNetworkRequest) GetVersions

func (x *ImpExt_SKAdNetworkRequest) GetVersions() []string

func (*ImpExt_SKAdNetworkRequest) ProtoMessage

func (*ImpExt_SKAdNetworkRequest) ProtoMessage()

func (*ImpExt_SKAdNetworkRequest) ProtoReflect

func (*ImpExt_SKAdNetworkRequest) Reset

func (x *ImpExt_SKAdNetworkRequest) Reset()

func (*ImpExt_SKAdNetworkRequest) String

func (x *ImpExt_SKAdNetworkRequest) String() string

type LayoutId

type LayoutId int32

***** OpenRTB Native enums **************************************************

DEPRECATED in OpenRTB Native 1.1, REMOVED in 1.2+.

const (
	LayoutId_CONTENT_WALL   LayoutId = 1
	LayoutId_APP_WALL       LayoutId = 2
	LayoutId_NEWS_FEED      LayoutId = 3
	LayoutId_CHAT_LIST      LayoutId = 4
	LayoutId_CAROUSEL       LayoutId = 5
	LayoutId_CONTENT_STREAM LayoutId = 6
	LayoutId_GRID           LayoutId = 7
)

func (LayoutId) Descriptor

func (LayoutId) Descriptor() protoreflect.EnumDescriptor

func (LayoutId) Enum

func (x LayoutId) Enum() *LayoutId

func (LayoutId) EnumDescriptor deprecated

func (LayoutId) EnumDescriptor() ([]byte, []int)

Deprecated: Use LayoutId.Descriptor instead.

func (LayoutId) Number

func (x LayoutId) Number() protoreflect.EnumNumber

func (LayoutId) String

func (x LayoutId) String() string

func (LayoutId) Type

func (*LayoutId) UnmarshalJSON deprecated

func (x *LayoutId) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type LocationService

type LocationService int32

OpenRTB 2.4: The following table lists the services and/or vendors used for resolving IP addresses to geolocations.

const (
	LocationService_IP2LOCATION LocationService = 1
	LocationService_NEUSTAR     LocationService = 2
	LocationService_MAXMIND     LocationService = 3
	LocationService_NETACUITY   LocationService = 4
)

func (LocationService) Descriptor

func (LocationService) Enum

func (x LocationService) Enum() *LocationService

func (LocationService) EnumDescriptor deprecated

func (LocationService) EnumDescriptor() ([]byte, []int)

Deprecated: Use LocationService.Descriptor instead.

func (LocationService) Number

func (LocationService) String

func (x LocationService) String() string

func (LocationService) Type

func (*LocationService) UnmarshalJSON deprecated

func (x *LocationService) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type LocationType

type LocationType int32

OpenRTB 2.0: The following table lists the options to indicate how the geographic information was determined.

const (
	// GPS / Location Services.
	LocationType_GPS_LOCATION LocationType = 1
	// IP Geolocation.
	LocationType_IP LocationType = 2
	// User-provided, for example, registration data.
	LocationType_USER_PROVIDED LocationType = 3
)

func (LocationType) Descriptor

func (LocationType) Enum

func (x LocationType) Enum() *LocationType

func (LocationType) EnumDescriptor deprecated

func (LocationType) EnumDescriptor() ([]byte, []int)

Deprecated: Use LocationType.Descriptor instead.

func (LocationType) Number

func (LocationType) String

func (x LocationType) String() string

func (LocationType) Type

func (*LocationType) UnmarshalJSON deprecated

func (x *LocationType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type LossReason

type LossReason int32

OpenRTB 2.5: The following table lists the options for an exchange to inform a bidder as to the reason why they did not win an impression.

const (
	LossReason_BID_WON                            LossReason = 0
	LossReason_INTERNAL_ERROR                     LossReason = 1
	LossReason_IMP_EXPIRED                        LossReason = 2
	LossReason_INVALID_BID                        LossReason = 3
	LossReason_INVALID_DEAL_ID                    LossReason = 4
	LossReason_INVALID_AUCTION_ID                 LossReason = 5
	LossReason_INVALID_ADOMAIN                    LossReason = 6
	LossReason_MISSING_MARKUP                     LossReason = 7
	LossReason_MISSING_CREATIVE_ID                LossReason = 8
	LossReason_MISSING_PRICE                      LossReason = 9
	LossReason_MISSING_MIN_CREATIVE_APPROVAL_DATA LossReason = 10
	LossReason_BID_BELOW_FLOOR                    LossReason = 100
	LossReason_BID_BELOW_DEAL_FLOOR               LossReason = 101
	LossReason_LOST_HIGHER_BID                    LossReason = 102
	LossReason_LOST_PMP_DEAL                      LossReason = 103
	LossReason_SEAT_BLOCKED                       LossReason = 104
	LossReason_CREATIVE_REASON_UNKNOWN            LossReason = 200
	LossReason_CREATIVE_PENDING                   LossReason = 201
	LossReason_CREATIVE_DISAPPROVED               LossReason = 202
	LossReason_CREATIVE_SIZE                      LossReason = 203
	LossReason_CREATIVE_FORMAT                    LossReason = 204
	LossReason_CREATIVE_ADVERTISER_EXCLUSION      LossReason = 205
	LossReason_CREATIVE_APP_EXCLUSION             LossReason = 206
	LossReason_CREATIVE_NOT_SECURE                LossReason = 207
	LossReason_CREATIVE_LANGUAGE_EXCLUSION        LossReason = 208
	LossReason_CREATIVE_CATEGORY_EXCLUSION        LossReason = 209
	LossReason_CREATIVE_ATTRIBUTE_EXCLUSION       LossReason = 210
	LossReason_CREATIVE_ADTYPE_EXCLUSION          LossReason = 211
	LossReason_CREATIVE_ANIMATION_LONG            LossReason = 212
	LossReason_CREATIVE_NOT_ALLOWED_PMP           LossReason = 213
)

func (LossReason) Descriptor

func (LossReason) Descriptor() protoreflect.EnumDescriptor

func (LossReason) Enum

func (x LossReason) Enum() *LossReason

func (LossReason) EnumDescriptor deprecated

func (LossReason) EnumDescriptor() ([]byte, []int)

Deprecated: Use LossReason.Descriptor instead.

func (LossReason) Number

func (x LossReason) Number() protoreflect.EnumNumber

func (LossReason) String

func (x LossReason) String() string

func (LossReason) Type

func (*LossReason) UnmarshalJSON deprecated

func (x *LossReason) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type NativeRequest

type NativeRequest struct {

	// Version of the Native Markup version in use.
	Ver *string `protobuf:"bytes,1,opt,name=ver" json:"ver,omitempty"`
	// The context in which the ad appears.
	Context *ContextType `protobuf:"varint,7,opt,name=context,enum=com.google.openrtb.ContextType" json:"context,omitempty"`
	// A more detailed context in which the ad appears.
	Contextsubtype *ContextSubtype `protobuf:"varint,8,opt,name=contextsubtype,enum=com.google.openrtb.ContextSubtype" json:"contextsubtype,omitempty"`
	// The design/format/layout of the ad unit being offered.
	Plcmttype *PlacementType `protobuf:"varint,9,opt,name=plcmttype,enum=com.google.openrtb.PlacementType" json:"plcmttype,omitempty"`
	// The number of identical placements in this Layout.
	Plcmtcnt *int32 `protobuf:"varint,4,opt,name=plcmtcnt,def=1" json:"plcmtcnt,omitempty"`
	// 0 for the first ad, 1 for the second ad, and so on. Note this would
	// generally NOT be used in combination with plcmtcnt - either you are
	// auctioning multiple identical placements (in which case
	// plcmtcnt>1, seq=0) or you are holding separate auctions for distinct
	// items in the feed (in which case plcmtcnt=1, seq>=1).
	Seq *int32 `protobuf:"varint,5,opt,name=seq,def=0" json:"seq,omitempty"`
	// Any bid must comply with the array of elements expressed by the Exchange.
	// REQUIRED by the OpenRTB Native specification: at least 1 element.
	Assets []*NativeRequest_Asset `protobuf:"bytes,6,rep,name=assets" json:"assets,omitempty"`
	// Whether the supply source / impression supports returning an assetsurl
	// instead of an asset object. false or the absence of the field indicates no
	// such support.
	Aurlsupport *bool `protobuf:"varint,11,opt,name=aurlsupport" json:"aurlsupport,omitempty"`
	// Whether the supply source / impression supports returning a DCO URL
	// instead of an asset object. false or the absence of the field indicates no
	// such support. Beta feature.
	Durlsupport *bool `protobuf:"varint,12,opt,name=durlsupport" json:"durlsupport,omitempty"`
	// Specifies what type of event tracking is supported.
	Eventtrackers []*NativeRequest_EventTrackers `protobuf:"bytes,13,rep,name=eventtrackers" json:"eventtrackers,omitempty"`
	// Set to true when the native ad supports buyer-specific privacy notice.
	// Set to false (or field absent) when the native ad doesn't support custom
	// privacy links or if support is unknown.
	Privacy *bool `protobuf:"varint,14,opt,name=privacy" json:"privacy,omitempty"`
	// DEPRECATED in OpenRTB Native 1.1, REMOVED in 1.2+.
	// Use field <code>plcmttype</code>.
	//
	// Deprecated: Marked as deprecated in openrtb.proto.
	Layout *LayoutId `protobuf:"varint,2,opt,name=layout,enum=com.google.openrtb.LayoutId" json:"layout,omitempty"`
	// DEPRECATED in OpenRTB Native 1.1, REMOVED in 1.2+.
	// Use fields <code>context</code> and <code>contextsubtype</code>.
	//
	// Deprecated: Marked as deprecated in openrtb.proto.
	Adunit *AdUnitId `protobuf:"varint,3,opt,name=adunit,enum=com.google.openrtb.AdUnitId" json:"adunit,omitempty"`
	// contains filtered or unexported fields
}

OpenRTB Native 1.0: The Native Object defines the native advertising opportunity available for bid through this bid request. It must be included directly in the impression object if the impression offered for auction is a native ad format.

func (*NativeRequest) Descriptor deprecated

func (*NativeRequest) Descriptor() ([]byte, []int)

Deprecated: Use NativeRequest.ProtoReflect.Descriptor instead.

func (*NativeRequest) GetAdunit deprecated

func (x *NativeRequest) GetAdunit() AdUnitId

Deprecated: Marked as deprecated in openrtb.proto.

func (*NativeRequest) GetAssets

func (x *NativeRequest) GetAssets() []*NativeRequest_Asset

func (*NativeRequest) GetAurlsupport

func (x *NativeRequest) GetAurlsupport() bool

func (*NativeRequest) GetContext

func (x *NativeRequest) GetContext() ContextType

func (*NativeRequest) GetContextsubtype

func (x *NativeRequest) GetContextsubtype() ContextSubtype

func (*NativeRequest) GetDurlsupport

func (x *NativeRequest) GetDurlsupport() bool

func (*NativeRequest) GetEventtrackers

func (x *NativeRequest) GetEventtrackers() []*NativeRequest_EventTrackers

func (*NativeRequest) GetLayout deprecated

func (x *NativeRequest) GetLayout() LayoutId

Deprecated: Marked as deprecated in openrtb.proto.

func (*NativeRequest) GetPlcmtcnt

func (x *NativeRequest) GetPlcmtcnt() int32

func (*NativeRequest) GetPlcmttype

func (x *NativeRequest) GetPlcmttype() PlacementType

func (*NativeRequest) GetPrivacy

func (x *NativeRequest) GetPrivacy() bool

func (*NativeRequest) GetSeq

func (x *NativeRequest) GetSeq() int32

func (*NativeRequest) GetVer

func (x *NativeRequest) GetVer() string

func (*NativeRequest) ProtoMessage

func (*NativeRequest) ProtoMessage()

func (*NativeRequest) ProtoReflect

func (x *NativeRequest) ProtoReflect() protoreflect.Message

func (*NativeRequest) Reset

func (x *NativeRequest) Reset()

func (*NativeRequest) String

func (x *NativeRequest) String() string

type NativeRequestExt

type NativeRequestExt struct {

	// [AdX: BidRequest.AdSlot.native_ad_template[0].style_id]
	StyleId *int32 `protobuf:"varint,1,opt,name=style_id,json=styleId" json:"style_id,omitempty"`
	// [AdX: BidRequest.AdSlot.native_ad_template[0].style_height]
	StyleHeight *int32 `protobuf:"varint,2,opt,name=style_height,json=styleHeight" json:"style_height,omitempty"`
	// [AdX: BidRequest.AdSlot.native_ad_template[0].style_width]
	StyleWidth      *int32                       `protobuf:"varint,3,opt,name=style_width,json=styleWidth" json:"style_width,omitempty"`
	StyleLayoutType *NativeRequestExt_LayoutType `` /* 164-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*NativeRequestExt) Descriptor deprecated

func (*NativeRequestExt) Descriptor() ([]byte, []int)

Deprecated: Use NativeRequestExt.ProtoReflect.Descriptor instead.

func (*NativeRequestExt) GetStyleHeight

func (x *NativeRequestExt) GetStyleHeight() int32

func (*NativeRequestExt) GetStyleId

func (x *NativeRequestExt) GetStyleId() int32

func (*NativeRequestExt) GetStyleLayoutType

func (x *NativeRequestExt) GetStyleLayoutType() NativeRequestExt_LayoutType

func (*NativeRequestExt) GetStyleWidth

func (x *NativeRequestExt) GetStyleWidth() int32

func (*NativeRequestExt) ProtoMessage

func (*NativeRequestExt) ProtoMessage()

func (*NativeRequestExt) ProtoReflect

func (x *NativeRequestExt) ProtoReflect() protoreflect.Message

func (*NativeRequestExt) Reset

func (x *NativeRequestExt) Reset()

func (*NativeRequestExt) String

func (x *NativeRequestExt) String() string

type NativeRequestExt_LayoutType

type NativeRequestExt_LayoutType int32

[AdX: BidRequest.AdSlot.native_ad_template[0].style_layout_type]

const (
	NativeRequestExt_PIXEL NativeRequestExt_LayoutType = 0
	NativeRequestExt_FLUID NativeRequestExt_LayoutType = 1
)

func (NativeRequestExt_LayoutType) Descriptor

func (NativeRequestExt_LayoutType) Enum

func (NativeRequestExt_LayoutType) EnumDescriptor deprecated

func (NativeRequestExt_LayoutType) EnumDescriptor() ([]byte, []int)

Deprecated: Use NativeRequestExt_LayoutType.Descriptor instead.

func (NativeRequestExt_LayoutType) Number

func (NativeRequestExt_LayoutType) String

func (NativeRequestExt_LayoutType) Type

func (*NativeRequestExt_LayoutType) UnmarshalJSON deprecated

func (x *NativeRequestExt_LayoutType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type NativeRequest_Asset

type NativeRequest_Asset struct {

	// Types that are assignable to AssetOneof:
	//	*NativeRequest_Asset_Title_
	//	*NativeRequest_Asset_Img
	//	*NativeRequest_Asset_Video
	//	*NativeRequest_Asset_Data_
	AssetOneof isNativeRequest_Asset_AssetOneof `protobuf_oneof:"asset_oneof"`
	// Unique asset ID, assigned by exchange. Typically a counter for the array.
	// REQUIRED by the OpenRTB Native specification.
	Id *int32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"`
	// Set to true if asset is required
	// (exchange will not accept a bid without it).
	Required *bool `protobuf:"varint,2,opt,name=required,def=0" json:"required,omitempty"`
	// contains filtered or unexported fields
}

OpenRTB Native 1.0: The main container object for each asset requested or supported by Exchange on behalf of the rendering client. Any object that is required is to be flagged as such. Only one of the {title,img,video,data} objects should be present in each object. All others should be null/absent. The id is to be unique within the Asset array so that the response can be aligned.

func (*NativeRequest_Asset) Descriptor deprecated

func (*NativeRequest_Asset) Descriptor() ([]byte, []int)

Deprecated: Use NativeRequest_Asset.ProtoReflect.Descriptor instead.

func (*NativeRequest_Asset) GetAssetOneof

func (m *NativeRequest_Asset) GetAssetOneof() isNativeRequest_Asset_AssetOneof

func (*NativeRequest_Asset) GetData

func (*NativeRequest_Asset) GetId

func (x *NativeRequest_Asset) GetId() int32

func (*NativeRequest_Asset) GetImg

func (*NativeRequest_Asset) GetRequired

func (x *NativeRequest_Asset) GetRequired() bool

func (*NativeRequest_Asset) GetTitle

func (*NativeRequest_Asset) GetVideo

func (*NativeRequest_Asset) ProtoMessage

func (*NativeRequest_Asset) ProtoMessage()

func (*NativeRequest_Asset) ProtoReflect

func (x *NativeRequest_Asset) ProtoReflect() protoreflect.Message

func (*NativeRequest_Asset) Reset

func (x *NativeRequest_Asset) Reset()

func (*NativeRequest_Asset) String

func (x *NativeRequest_Asset) String() string

type NativeRequest_Asset_Data

type NativeRequest_Asset_Data struct {

	// Type ID of the element supported by the publisher. The publisher can
	// display this information in an appropriate format.
	// REQUIRED by the OpenRTB Native specification.
	Type *DataAssetType `protobuf:"varint,1,req,name=type,enum=com.google.openrtb.DataAssetType" json:"type,omitempty"`
	// Maximum length of the text in the element's response. Longer strings
	// may be truncated and ellipsized by Ad Exchange or the publisher during
	// rendering.
	Len *int32 `protobuf:"varint,2,opt,name=len" json:"len,omitempty"`
	// contains filtered or unexported fields
}

OpenRTB Native 1.0: The Data Object is to be used for all non-core elements of the native unit, such as Ratings, Review Count, Stars, Download count, descriptions or other similar elements. It is also generic for future of Native elements not contemplated at the time of the writing of this specification.

func (*NativeRequest_Asset_Data) Descriptor deprecated

func (*NativeRequest_Asset_Data) Descriptor() ([]byte, []int)

Deprecated: Use NativeRequest_Asset_Data.ProtoReflect.Descriptor instead.

func (*NativeRequest_Asset_Data) GetLen

func (x *NativeRequest_Asset_Data) GetLen() int32

func (*NativeRequest_Asset_Data) GetType

func (*NativeRequest_Asset_Data) ProtoMessage

func (*NativeRequest_Asset_Data) ProtoMessage()

func (*NativeRequest_Asset_Data) ProtoReflect

func (x *NativeRequest_Asset_Data) ProtoReflect() protoreflect.Message

func (*NativeRequest_Asset_Data) Reset

func (x *NativeRequest_Asset_Data) Reset()

func (*NativeRequest_Asset_Data) String

func (x *NativeRequest_Asset_Data) String() string

type NativeRequest_Asset_Data_

type NativeRequest_Asset_Data_ struct {
	// Data object for brand name, description, ratings, prices or other
	// similar elements.
	Data *NativeRequest_Asset_Data `protobuf:"bytes,6,opt,name=data,oneof"`
}

type NativeRequest_Asset_Image

type NativeRequest_Asset_Image struct {

	// Type ID of the image element supported by the publisher.
	// The publisher can display this information in an appropriate format.
	Type *ImageAssetType `protobuf:"varint,1,opt,name=type,enum=com.google.openrtb.ImageAssetType" json:"type,omitempty"`
	// Width of the image in pixels.
	W *int32 `protobuf:"varint,2,opt,name=w" json:"w,omitempty"`
	// Height of the image in pixels.
	H *int32 `protobuf:"varint,3,opt,name=h" json:"h,omitempty"`
	// The minimum requested width of the image in pixels. This option should
	// be used for any rescaling of images by the client. Either w or wmin
	// should be transmitted. If only w is included, it should be considered
	// an exact requirement.
	Wmin *int32 `protobuf:"varint,4,opt,name=wmin" json:"wmin,omitempty"`
	// The minimum requested height of the image in pixels. This option should
	// be used for any rescaling of images by the client. Either h or hmin
	// should be transmitted. If only h is included, it should be considered
	// an exact requirement.
	Hmin *int32 `protobuf:"varint,5,opt,name=hmin" json:"hmin,omitempty"`
	// Allowlist of content MIME types supported. Popular MIME types include,
	// but are not limited to "image/jpg" and "image/gif". Each implementing
	// Exchange should have their own list of supported types in the
	// integration docs. See Wikipedia's MIME page for more information and
	// links to all IETF RFCs. If blank, assume all types are allowed.
	Mimes []string `protobuf:"bytes,6,rep,name=mimes" json:"mimes,omitempty"`
	// contains filtered or unexported fields
}

OpenRTB Native 1.0: The Image object to be used for all image elements of the Native ad, such as Icons or Main Image. RECOMMENDED sizes and aspect ratios are included in ImageAssetType.

func (*NativeRequest_Asset_Image) Descriptor deprecated

func (*NativeRequest_Asset_Image) Descriptor() ([]byte, []int)

Deprecated: Use NativeRequest_Asset_Image.ProtoReflect.Descriptor instead.

func (*NativeRequest_Asset_Image) GetH

func (x *NativeRequest_Asset_Image) GetH() int32

func (*NativeRequest_Asset_Image) GetHmin

func (x *NativeRequest_Asset_Image) GetHmin() int32

func (*NativeRequest_Asset_Image) GetMimes

func (x *NativeRequest_Asset_Image) GetMimes() []string

func (*NativeRequest_Asset_Image) GetType

func (*NativeRequest_Asset_Image) GetW

func (x *NativeRequest_Asset_Image) GetW() int32

func (*NativeRequest_Asset_Image) GetWmin

func (x *NativeRequest_Asset_Image) GetWmin() int32

func (*NativeRequest_Asset_Image) ProtoMessage

func (*NativeRequest_Asset_Image) ProtoMessage()

func (*NativeRequest_Asset_Image) ProtoReflect

func (*NativeRequest_Asset_Image) Reset

func (x *NativeRequest_Asset_Image) Reset()

func (*NativeRequest_Asset_Image) String

func (x *NativeRequest_Asset_Image) String() string

type NativeRequest_Asset_Img

type NativeRequest_Asset_Img struct {
	// Image object for image assets.
	Img *NativeRequest_Asset_Image `protobuf:"bytes,4,opt,name=img,oneof"`
}

type NativeRequest_Asset_Title

type NativeRequest_Asset_Title struct {

	// Maximum length of the text in the title element.
	// RECOMMENDED that the value be either of: 25, 90, 140.
	// REQUIRED by the OpenRTB Native specification.
	Len *int32 `protobuf:"varint,1,req,name=len" json:"len,omitempty"`
	// contains filtered or unexported fields
}

OpenRTB Native 1.0: The Title object is to be used for title element of the Native ad.

func (*NativeRequest_Asset_Title) Descriptor deprecated

func (*NativeRequest_Asset_Title) Descriptor() ([]byte, []int)

Deprecated: Use NativeRequest_Asset_Title.ProtoReflect.Descriptor instead.

func (*NativeRequest_Asset_Title) GetLen

func (x *NativeRequest_Asset_Title) GetLen() int32

func (*NativeRequest_Asset_Title) ProtoMessage

func (*NativeRequest_Asset_Title) ProtoMessage()

func (*NativeRequest_Asset_Title) ProtoReflect

func (*NativeRequest_Asset_Title) Reset

func (x *NativeRequest_Asset_Title) Reset()

func (*NativeRequest_Asset_Title) String

func (x *NativeRequest_Asset_Title) String() string

type NativeRequest_Asset_Title_

type NativeRequest_Asset_Title_ struct {
	// Title object for title assets.
	Title *NativeRequest_Asset_Title `protobuf:"bytes,3,opt,name=title,oneof"`
}

type NativeRequest_Asset_Video

type NativeRequest_Asset_Video struct {
	// Video object for video assets.
	// Note that in-stream video ads are not part of Native.
	// Native ads may contain a video as the ad creative itself.
	Video *BidRequest_Imp_Video `protobuf:"bytes,5,opt,name=video,oneof"`
}

type NativeRequest_EventTrackers

type NativeRequest_EventTrackers struct {

	// Type of event available for tracking.
	// REQUIRED by the OpenRTB Native specification.
	Event *EventType `protobuf:"varint,1,req,name=event,enum=com.google.openrtb.EventType" json:"event,omitempty"`
	// Array of types of tracking available for the given event.
	// REQUIRED by the OpenRTB Native specification.
	Methods []EventTrackingMethod `protobuf:"varint,2,rep,name=methods,enum=com.google.openrtb.EventTrackingMethod" json:"methods,omitempty"`
	// contains filtered or unexported fields
}

OpenRTB Native 1.2: The EventTrackers object specifies the type of events the bidder can request to be tracked in the bid response, and which types of tracking are available for each event type, and is included as an array in the request.

func (*NativeRequest_EventTrackers) Descriptor deprecated

func (*NativeRequest_EventTrackers) Descriptor() ([]byte, []int)

Deprecated: Use NativeRequest_EventTrackers.ProtoReflect.Descriptor instead.

func (*NativeRequest_EventTrackers) GetEvent

func (x *NativeRequest_EventTrackers) GetEvent() EventType

func (*NativeRequest_EventTrackers) GetMethods

func (*NativeRequest_EventTrackers) ProtoMessage

func (*NativeRequest_EventTrackers) ProtoMessage()

func (*NativeRequest_EventTrackers) ProtoReflect

func (*NativeRequest_EventTrackers) Reset

func (x *NativeRequest_EventTrackers) Reset()

func (*NativeRequest_EventTrackers) String

func (x *NativeRequest_EventTrackers) String() string

type NativeResponse

type NativeResponse struct {

	// Version of the Native Markup version in use.
	Ver *string `protobuf:"bytes,1,opt,name=ver" json:"ver,omitempty"`
	// List of native ad's assets.
	// RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided.
	// REQUIRED in 1.2, if not assetsurl is provided.
	Assets []*NativeResponse_Asset `protobuf:"bytes,2,rep,name=assets" json:"assets,omitempty"`
	// URL of alternate source for the assets object. The expected response is a
	// JSON object mirroring the asset object in the bid response, subject to
	// certain requirements as specified in the individual objects.
	// Where present, overrides the assets object in the response.
	Assetsurl *string `protobuf:"bytes,6,opt,name=assetsurl" json:"assetsurl,omitempty"`
	// URL where a dynamic creative specification may be found for populating this
	// ad, per the Dynamic Content Ads Specification.
	// Note this is a beta option as the interpretation of the Dynamic Content Ads
	// Specification and how to assign those elementes into a native ad is outside
	// the scope of this spec and must be agreed offline between parties or as may
	// be specified in a future revision of the Dynamic Content Ads spec.
	// Where present, overrides the assets object in the response.
	Dcourl *string `protobuf:"bytes,7,opt,name=dcourl" json:"dcourl,omitempty"`
	// Destination Link. This is default link object for the ad.
	// Individual assets can also have a link object which applies if the asset is
	// activated (clicked). If the asset doesn't have a link object, the parent
	// link object applies.
	// See ResponseLink definition.
	// REQUIRED by the OpenRTB Native specification.
	Link *NativeResponse_Link `protobuf:"bytes,3,req,name=link" json:"link,omitempty"`
	// DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
	// Array of impression tracking URLs, expected to return a 1x1 image or
	// 204 response - typically only passed when using 3rd party trackers.
	//
	// Deprecated: Marked as deprecated in openrtb.proto.
	Imptrackers []string `protobuf:"bytes,4,rep,name=imptrackers" json:"imptrackers,omitempty"`
	// DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
	// Optional javascript impression tracker. Contains <script> tags to be
	// executed at impression time where it can be supported.
	//
	// Deprecated: Marked as deprecated in openrtb.proto.
	Jstracker *string `protobuf:"bytes,5,opt,name=jstracker" json:"jstracker,omitempty"`
	// Array of response event trackers to run with the ad, in response to the
	// declared supported methods in the NativeRequest. Replaces imptrackers and
	// jstrackers.
	Eventtrackers []*NativeResponse_EventTracker `protobuf:"bytes,8,rep,name=eventtrackers" json:"eventtrackers,omitempty"`
	// If support was indicated in the request, URL of a page informing the user
	// about the buyer's targeting activity.
	Privacy *string `protobuf:"bytes,9,opt,name=privacy" json:"privacy,omitempty"`
	// contains filtered or unexported fields
}

OpenRTB Native 1.0: The native response object is the top level JSON object which identifies an native response.

func (*NativeResponse) Descriptor deprecated

func (*NativeResponse) Descriptor() ([]byte, []int)

Deprecated: Use NativeResponse.ProtoReflect.Descriptor instead.

func (*NativeResponse) GetAssets

func (x *NativeResponse) GetAssets() []*NativeResponse_Asset

func (*NativeResponse) GetAssetsurl

func (x *NativeResponse) GetAssetsurl() string

func (*NativeResponse) GetDcourl

func (x *NativeResponse) GetDcourl() string

func (*NativeResponse) GetEventtrackers

func (x *NativeResponse) GetEventtrackers() []*NativeResponse_EventTracker

func (*NativeResponse) GetImptrackers deprecated

func (x *NativeResponse) GetImptrackers() []string

Deprecated: Marked as deprecated in openrtb.proto.

func (*NativeResponse) GetJstracker deprecated

func (x *NativeResponse) GetJstracker() string

Deprecated: Marked as deprecated in openrtb.proto.

func (x *NativeResponse) GetLink() *NativeResponse_Link

func (*NativeResponse) GetPrivacy

func (x *NativeResponse) GetPrivacy() string

func (*NativeResponse) GetVer

func (x *NativeResponse) GetVer() string

func (*NativeResponse) ProtoMessage

func (*NativeResponse) ProtoMessage()

func (*NativeResponse) ProtoReflect

func (x *NativeResponse) ProtoReflect() protoreflect.Message

func (*NativeResponse) Reset

func (x *NativeResponse) Reset()

func (*NativeResponse) String

func (x *NativeResponse) String() string

type NativeResponse_Asset

type NativeResponse_Asset struct {

	// Types that are assignable to AssetOneof:
	//	*NativeResponse_Asset_Title_
	//	*NativeResponse_Asset_Img
	//	*NativeResponse_Asset_Video_
	//	*NativeResponse_Asset_Data_
	AssetOneof isNativeResponse_Asset_AssetOneof `protobuf_oneof:"asset_oneof"`
	// Unique asset ID, assigned by exchange, must match one of the asset IDs
	// in request.
	// REQUIRED in 1.0, or in 1.2 if embedded asset is being used.
	Id *int32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"`
	// Set to true if asset is required. (bidder requires it to be displayed).
	Required *bool `protobuf:"varint,2,opt,name=required,def=0" json:"required,omitempty"`
	// Link object for call to actions.
	// This link object applies if the asset item is activated (clicked).
	// If there is no link object on the asset, the parent link object on the
	// bid response apply.
	Link *NativeResponse_Link `protobuf:"bytes,7,opt,name=link" json:"link,omitempty"`
	// contains filtered or unexported fields
}

OpenRTB Native 1.0: Corresponds to the Asset Object in the request. The main container object for each asset requested or supported by Exchange on behalf of the rendering client. Any object that is required is to be flagged as such. Only one of the {title,img,video,data} objects should be present in each object. All others should be null/absent. The id is to be unique within the Asset array so that the response can be aligned.

func (*NativeResponse_Asset) Descriptor deprecated

func (*NativeResponse_Asset) Descriptor() ([]byte, []int)

Deprecated: Use NativeResponse_Asset.ProtoReflect.Descriptor instead.

func (*NativeResponse_Asset) GetAssetOneof

func (m *NativeResponse_Asset) GetAssetOneof() isNativeResponse_Asset_AssetOneof

func (*NativeResponse_Asset) GetData

func (*NativeResponse_Asset) GetId

func (x *NativeResponse_Asset) GetId() int32

func (*NativeResponse_Asset) GetImg

func (*NativeResponse_Asset) GetRequired

func (x *NativeResponse_Asset) GetRequired() bool

func (*NativeResponse_Asset) GetTitle

func (*NativeResponse_Asset) GetVideo

func (*NativeResponse_Asset) ProtoMessage

func (*NativeResponse_Asset) ProtoMessage()

func (*NativeResponse_Asset) ProtoReflect

func (x *NativeResponse_Asset) ProtoReflect() protoreflect.Message

func (*NativeResponse_Asset) Reset

func (x *NativeResponse_Asset) Reset()

func (*NativeResponse_Asset) String

func (x *NativeResponse_Asset) String() string

type NativeResponse_Asset_Data

type NativeResponse_Asset_Data struct {

	// The type of data element being submitted from the DataAssetTypes enum.
	// REQUIRED in 1.2 for assetsurl or dcourl responses.
	Type *DataAssetType `protobuf:"varint,3,opt,name=type,enum=com.google.openrtb.DataAssetType" json:"type,omitempty"`
	// The length of the data element being submitted. Where applicable, must
	// comply with the recommended maximum lengths in the DataAssetType enum.
	// REQUIRED in 1.2 for assetsurl or dcourl responses.
	Len *int32 `protobuf:"varint,4,opt,name=len" json:"len,omitempty"`
	// DEPRECATED in OpenRTB Native 1.2+. No replacement.
	// The optional formatted string name of the data type to be displayed.
	//
	// Deprecated: Marked as deprecated in openrtb.proto.
	Label *string `protobuf:"bytes,1,opt,name=label" json:"label,omitempty"`
	// The formatted string of data to be displayed. Can contain a formatted
	// value such as "5 stars" or "$10" or "3.4 stars out of 5".
	// REQUIRED by the OpenRTB Native specification.
	Value *string `protobuf:"bytes,2,req,name=value" json:"value,omitempty"`
	// contains filtered or unexported fields
}

OpenRTB Native 1.0: Corresponds to the Data Object in the request, with the value filled in. The Data Object is to be used for all miscellaneous elements of the native unit such as Brand Name, Ratings, Review Count, Stars, Downloads, and other elements. It is also generic for future of native elements not contemplated at the time of the writing of this document.

func (*NativeResponse_Asset_Data) Descriptor deprecated

func (*NativeResponse_Asset_Data) Descriptor() ([]byte, []int)

Deprecated: Use NativeResponse_Asset_Data.ProtoReflect.Descriptor instead.

func (*NativeResponse_Asset_Data) GetLabel deprecated

func (x *NativeResponse_Asset_Data) GetLabel() string

Deprecated: Marked as deprecated in openrtb.proto.

func (*NativeResponse_Asset_Data) GetLen

func (x *NativeResponse_Asset_Data) GetLen() int32

func (*NativeResponse_Asset_Data) GetType

func (*NativeResponse_Asset_Data) GetValue

func (x *NativeResponse_Asset_Data) GetValue() string

func (*NativeResponse_Asset_Data) ProtoMessage

func (*NativeResponse_Asset_Data) ProtoMessage()

func (*NativeResponse_Asset_Data) ProtoReflect

func (*NativeResponse_Asset_Data) Reset

func (x *NativeResponse_Asset_Data) Reset()

func (*NativeResponse_Asset_Data) String

func (x *NativeResponse_Asset_Data) String() string

type NativeResponse_Asset_Data_

type NativeResponse_Asset_Data_ struct {
	// Data object for ratings, prices or other similar elements.
	Data *NativeResponse_Asset_Data `protobuf:"bytes,6,opt,name=data,oneof"`
}

type NativeResponse_Asset_Image

type NativeResponse_Asset_Image struct {

	// The type of image element being submitted from the ImageType enum.
	// REQUIRED for assetsurl or dcourl responses,
	// not required to embedded asset responses.
	Type *ImageAssetType `protobuf:"varint,4,opt,name=type,enum=com.google.openrtb.ImageAssetType" json:"type,omitempty"`
	// URL of the image asset.
	// REQUIRED by the OpenRTB Native specification.
	Url *string `protobuf:"bytes,1,req,name=url" json:"url,omitempty"`
	// Width of the image in pixels.
	// RECOMMENDED in 1.0, 1.1, or in 1.2 for embedded asset responses.
	// REQUIRED in 1.2 for assetsurl or dcourl if multiple assets
	// of the same type submitted.
	W *int32 `protobuf:"varint,2,opt,name=w" json:"w,omitempty"`
	// Height of the image in pixels.
	// RECOMMENDED in 1.0, 1.1, or in 1.2 for embedded asset responses.
	// REQUIRED in 1.2 for assetsurl or dcourl if multiple assets
	// of the same type submitted.
	H *int32 `protobuf:"varint,3,opt,name=h" json:"h,omitempty"`
	// contains filtered or unexported fields
}

OpenRTB Native 1.0: Corresponds to the Image Object in the request. The Image object to be used for all image elements of the Native ad, such as Icons or Main Image. It is recommended that if assetsurl/dcourl is being used rather than embbedded assets, that an image of each recommended aspect ratio (per ImageType enum) be provided for image type 3 (MAIN_IMAGE).

func (*NativeResponse_Asset_Image) Descriptor deprecated

func (*NativeResponse_Asset_Image) Descriptor() ([]byte, []int)

Deprecated: Use NativeResponse_Asset_Image.ProtoReflect.Descriptor instead.

func (*NativeResponse_Asset_Image) GetH

func (*NativeResponse_Asset_Image) GetType

func (*NativeResponse_Asset_Image) GetUrl

func (x *NativeResponse_Asset_Image) GetUrl() string

func (*NativeResponse_Asset_Image) GetW

func (*NativeResponse_Asset_Image) ProtoMessage

func (*NativeResponse_Asset_Image) ProtoMessage()

func (*NativeResponse_Asset_Image) ProtoReflect

func (*NativeResponse_Asset_Image) Reset

func (x *NativeResponse_Asset_Image) Reset()

func (*NativeResponse_Asset_Image) String

func (x *NativeResponse_Asset_Image) String() string

type NativeResponse_Asset_Img

type NativeResponse_Asset_Img struct {
	// Image object for image assets.
	Img *NativeResponse_Asset_Image `protobuf:"bytes,4,opt,name=img,oneof"`
}

type NativeResponse_Asset_Title

type NativeResponse_Asset_Title struct {

	// The text associated with the text element.
	// REQUIRED by the OpenRTB Native specification.
	Text *string `protobuf:"bytes,1,req,name=text" json:"text,omitempty"`
	// The length of the title being provided.
	// REQUIRED if using assetsurl/dcourl representation.
	Len *int32 `protobuf:"varint,2,opt,name=len" json:"len,omitempty"`
	// contains filtered or unexported fields
}

OpenRTB Native 1.0: Corresponds to the Title Object in the request, with the value filled in. If using assetsurl or dcourl response rather than embedded asset response, it is recommended that three title objects be provided, the length of each is less than or equal to the three recommended maximum title lengths (25,90,140).

func (*NativeResponse_Asset_Title) Descriptor deprecated

func (*NativeResponse_Asset_Title) Descriptor() ([]byte, []int)

Deprecated: Use NativeResponse_Asset_Title.ProtoReflect.Descriptor instead.

func (*NativeResponse_Asset_Title) GetLen

func (x *NativeResponse_Asset_Title) GetLen() int32

func (*NativeResponse_Asset_Title) GetText

func (x *NativeResponse_Asset_Title) GetText() string

func (*NativeResponse_Asset_Title) ProtoMessage

func (*NativeResponse_Asset_Title) ProtoMessage()

func (*NativeResponse_Asset_Title) ProtoReflect

func (*NativeResponse_Asset_Title) Reset

func (x *NativeResponse_Asset_Title) Reset()

func (*NativeResponse_Asset_Title) String

func (x *NativeResponse_Asset_Title) String() string

type NativeResponse_Asset_Title_

type NativeResponse_Asset_Title_ struct {
	// Title object for title assets.
	Title *NativeResponse_Asset_Title `protobuf:"bytes,3,opt,name=title,oneof"`
}

type NativeResponse_Asset_Video

type NativeResponse_Asset_Video struct {

	// VAST xml.
	// REQUIRED by the OpenRTB Native specification.
	Vasttag *string `protobuf:"bytes,1,req,name=vasttag" json:"vasttag,omitempty"`
	// contains filtered or unexported fields
}

OpenRTB Native 1.0: Corresponds to the Video Object in the request, yet containing a value of a conforming VAST tag as a value.

func (*NativeResponse_Asset_Video) Descriptor deprecated

func (*NativeResponse_Asset_Video) Descriptor() ([]byte, []int)

Deprecated: Use NativeResponse_Asset_Video.ProtoReflect.Descriptor instead.

func (*NativeResponse_Asset_Video) GetVasttag

func (x *NativeResponse_Asset_Video) GetVasttag() string

func (*NativeResponse_Asset_Video) ProtoMessage

func (*NativeResponse_Asset_Video) ProtoMessage()

func (*NativeResponse_Asset_Video) ProtoReflect

func (*NativeResponse_Asset_Video) Reset

func (x *NativeResponse_Asset_Video) Reset()

func (*NativeResponse_Asset_Video) String

func (x *NativeResponse_Asset_Video) String() string

type NativeResponse_Asset_Video_

type NativeResponse_Asset_Video_ struct {
	// Video object for video assets.
	// Note that in-stream video ads are not part of Native.
	// Native ads may contain a video as the ad creative itself.
	Video *NativeResponse_Asset_Video `protobuf:"bytes,5,opt,name=video,oneof"`
}

type NativeResponse_EventTracker

type NativeResponse_EventTracker struct {

	// Type of event to track.
	// REQUIRED if embedded asset is being used.
	Event *EventType `protobuf:"varint,1,opt,name=event,enum=com.google.openrtb.EventType" json:"event,omitempty"`
	// Type of tracking requested.
	// REQUIRED if embedded asset is being used.
	Method *EventTrackingMethod `protobuf:"varint,2,req,name=method,enum=com.google.openrtb.EventTrackingMethod" json:"method,omitempty"`
	// The URL of the image or js.
	// REQUIRED for image or js, optional for custom.
	Url *string `protobuf:"bytes,3,opt,name=url" json:"url,omitempty"`
	// contains filtered or unexported fields
}

OpenRTB Native 1.2: The event trackers response is an array of objects and specifies the types of events the bidder wants to track and the URLs/information to track them. Bidder must only respond with methods indicated as available in the request. Note that most javascript trackers expect to be loaded at impression time, so it's not generally recommended for the buyer to respond with javascript trackers on other events, but the appropriateness of this is up to each buyer.

func (*NativeResponse_EventTracker) Descriptor deprecated

func (*NativeResponse_EventTracker) Descriptor() ([]byte, []int)

Deprecated: Use NativeResponse_EventTracker.ProtoReflect.Descriptor instead.

func (*NativeResponse_EventTracker) GetEvent

func (x *NativeResponse_EventTracker) GetEvent() EventType

func (*NativeResponse_EventTracker) GetMethod

func (*NativeResponse_EventTracker) GetUrl

func (x *NativeResponse_EventTracker) GetUrl() string

func (*NativeResponse_EventTracker) ProtoMessage

func (*NativeResponse_EventTracker) ProtoMessage()

func (*NativeResponse_EventTracker) ProtoReflect

func (*NativeResponse_EventTracker) Reset

func (x *NativeResponse_EventTracker) Reset()

func (*NativeResponse_EventTracker) String

func (x *NativeResponse_EventTracker) String() string
type NativeResponse_Link struct {

	// Landing URL of the clickable link.
	// REQUIRED by the OpenRTB Native specification.
	Url *string `protobuf:"bytes,1,req,name=url" json:"url,omitempty"`
	// List of third-party tracker URLs to be fired on click of the URL.
	Clicktrackers []string `protobuf:"bytes,2,rep,name=clicktrackers" json:"clicktrackers,omitempty"`
	// Fallback URL for deeplink. To be used if the URL given in url is not
	// supported by the device.
	Fallback *string `protobuf:"bytes,3,opt,name=fallback" json:"fallback,omitempty"`
	// contains filtered or unexported fields
}

OpenRTB Native 1.0: Used for "call to action" assets, or other links from the Native ad. This Object should be associated to its peer object in the parent Asset Object or as the primary link in the top level NativeResponse object. When that peer object is activated (clicked) the action should take the user to the location of the link.

func (*NativeResponse_Link) Descriptor deprecated

func (*NativeResponse_Link) Descriptor() ([]byte, []int)

Deprecated: Use NativeResponse_Link.ProtoReflect.Descriptor instead.

func (*NativeResponse_Link) GetClicktrackers

func (x *NativeResponse_Link) GetClicktrackers() []string

func (*NativeResponse_Link) GetFallback

func (x *NativeResponse_Link) GetFallback() string

func (*NativeResponse_Link) GetUrl

func (x *NativeResponse_Link) GetUrl() string

func (*NativeResponse_Link) ProtoMessage

func (*NativeResponse_Link) ProtoMessage()

func (*NativeResponse_Link) ProtoReflect

func (x *NativeResponse_Link) ProtoReflect() protoreflect.Message

func (*NativeResponse_Link) Reset

func (x *NativeResponse_Link) Reset()

func (*NativeResponse_Link) String

func (x *NativeResponse_Link) String() string

type NoBidReason

type NoBidReason int32

OpenRTB 2.2: The following table lists the options for a bidder to signal the exchange as to why it did not offer a bid for the impression.

const (
	NoBidReason_UNKNOWN_ERROR              NoBidReason = 0
	NoBidReason_TECHNICAL_ERROR            NoBidReason = 1
	NoBidReason_INVALID_REQUEST            NoBidReason = 2
	NoBidReason_KNOWN_WEB_SPIDER           NoBidReason = 3
	NoBidReason_SUSPECTED_NONHUMAN_TRAFFIC NoBidReason = 4
	NoBidReason_CLOUD_DATACENTER_PROXYIP   NoBidReason = 5
	NoBidReason_UNSUPPORTED_DEVICE         NoBidReason = 6
	NoBidReason_BLOCKED_PUBLISHER          NoBidReason = 7
	NoBidReason_UNMATCHED_USER             NoBidReason = 8
	NoBidReason_DAILY_READER_CAP           NoBidReason = 9
	NoBidReason_DAILY_DOMAIN_CAP           NoBidReason = 10
)

func (NoBidReason) Descriptor

func (NoBidReason) Enum

func (x NoBidReason) Enum() *NoBidReason

func (NoBidReason) EnumDescriptor deprecated

func (NoBidReason) EnumDescriptor() ([]byte, []int)

Deprecated: Use NoBidReason.Descriptor instead.

func (NoBidReason) Number

func (x NoBidReason) Number() protoreflect.EnumNumber

func (NoBidReason) String

func (x NoBidReason) String() string

func (NoBidReason) Type

func (*NoBidReason) UnmarshalJSON deprecated

func (x *NoBidReason) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type PlacementType

type PlacementType int32

OpenRTB Native 1.1: The FORMAT of the ad you are purchasing, separate from the surrounding context.

const (
	// In the feed of content - for example as an item inside the organic
	// feed/grid/listing/carousel.
	PlacementType_IN_FEED PlacementType = 1
	// In the atomic unit of the content - IE in the article page
	// or single image page.
	PlacementType_ATOMIC_UNIT PlacementType = 2
	// Outside the core content - for example in the ads section on the
	// right rail, as a banner-style placement near the content, or another
	// placement type.
	PlacementType_OUTSIDE PlacementType = 3
	// Recommendation widget, most commonly presented below
	// the article content.
	PlacementType_RECOMMENDATION PlacementType = 4
)

func (PlacementType) Descriptor

func (PlacementType) Enum

func (x PlacementType) Enum() *PlacementType

func (PlacementType) EnumDescriptor deprecated

func (PlacementType) EnumDescriptor() ([]byte, []int)

Deprecated: Use PlacementType.Descriptor instead.

func (PlacementType) Number

func (PlacementType) String

func (x PlacementType) String() string

func (PlacementType) Type

func (*PlacementType) UnmarshalJSON deprecated

func (x *PlacementType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type PlaybackCessationMode

type PlaybackCessationMode int32

OpenRTB 2.5: The various modes for when playback terminates.

const (
	// On Video Completion or when Terminated by User
	PlaybackCessationMode_COMPLETION_OR_USER PlaybackCessationMode = 1
	// On Leaving Viewport or when Terminated by User
	PlaybackCessationMode_LEAVING_OR_USER PlaybackCessationMode = 2
	// On Leaving Viewport Continues as a Floating/Slider Unit until
	// Video Completion or when Terminated by User
	PlaybackCessationMode_LEAVING_CONTINUES_OR_USER PlaybackCessationMode = 3
)

func (PlaybackCessationMode) Descriptor

func (PlaybackCessationMode) Enum

func (PlaybackCessationMode) EnumDescriptor deprecated

func (PlaybackCessationMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use PlaybackCessationMode.Descriptor instead.

func (PlaybackCessationMode) Number

func (PlaybackCessationMode) String

func (x PlaybackCessationMode) String() string

func (PlaybackCessationMode) Type

func (*PlaybackCessationMode) UnmarshalJSON deprecated

func (x *PlaybackCessationMode) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type PlaybackMethod

type PlaybackMethod int32

OpenRTB 2.0: The following table lists the various playback methods.

const (
	// Initiates on Page Load with Sound On.
	PlaybackMethod_AUTO_PLAY_SOUND_ON PlaybackMethod = 1
	// Initiates on Page Load with Sound Off by Default.
	PlaybackMethod_AUTO_PLAY_SOUND_OFF PlaybackMethod = 2
	// Initiates on Click with Sound On.
	PlaybackMethod_CLICK_TO_PLAY PlaybackMethod = 3
	// Initiates on Mouse-Over with Sound On.
	PlaybackMethod_MOUSE_OVER PlaybackMethod = 4
	// Initiates on Entering Viewport with Sound On.
	PlaybackMethod_ENTER_SOUND_ON PlaybackMethod = 5
	// Initiates on Entering Viewport with Sound Off by Default.
	PlaybackMethod_ENTER_SOUND_OFF PlaybackMethod = 6
	// Media playback is set to play additional media automatically without
	// user interaction. The media player will keep playing additional media
	// (playlist or generated) for the user until the user actively stops this
	// from happening.
	PlaybackMethod_CONTINUOUS PlaybackMethod = 7
)

func (PlaybackMethod) Descriptor

func (PlaybackMethod) Enum

func (x PlaybackMethod) Enum() *PlaybackMethod

func (PlaybackMethod) EnumDescriptor deprecated

func (PlaybackMethod) EnumDescriptor() ([]byte, []int)

Deprecated: Use PlaybackMethod.Descriptor instead.

func (PlaybackMethod) Number

func (PlaybackMethod) String

func (x PlaybackMethod) String() string

func (PlaybackMethod) Type

func (*PlaybackMethod) UnmarshalJSON deprecated

func (x *PlaybackMethod) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type Plcmt

type Plcmt int32

Possible video placement types. See: https://github.com/InteractiveAdvertisingBureau/AdCOM/blob/master/AdCOM%20v1.0%20FINAL.md#list--plcmt-subtypes---video-

const (
	Plcmt_PLCMT_UNKNOWN Plcmt = 0
	// Pre-roll, mid-roll, and post-roll ads that are played before, during or
	// after the streaming video content that the consumer has requested. Instream
	// video must be set to “sound on” by default at player start, or have
	// explicitly clear user intent to watch the video content. While there may be
	// other content surrounding the player, the video content must be the focus
	// of the user’s visit. It should remain the primary content on the page and
	// the only video player in-view capable of audio when playing. If the player
	// converts to floating/sticky, subsequent ad calls should accurately convey
	// the updated player size.
	Plcmt_PLCMT_INSTREAM Plcmt = 1
	// Pre-roll, mid-roll, and post-roll ads that are played before, during, or
	// after streaming video content. The video player loads and plays before,
	// between, or after paragraphs of text or graphical content, and starts
	// playing only when it enters the viewport. Accompanying content should only
	// start playback upon entering the viewport. It may convert to a
	// floating/sticky player as it scrolls off the page.
	Plcmt_PLCMT_ACCOMPANYING_CONTENT Plcmt = 2
	// Video ads that are played without video content. During playback, it must
	// be the primary focus of the page and take up the majority of the viewport
	// and cannot be scrolled out of view. This can be in placements like in-app
	// video or slideshows.
	Plcmt_PLCMT_INTERSTITIAL Plcmt = 3
	// Video ads that are played without streaming video content. This can be in
	// placements like slideshows, native feeds, in-content or sticky/floating.
	Plcmt_PLCMT_NO_CONTENT_STANDALONE Plcmt = 4
)

func (Plcmt) Descriptor

func (Plcmt) Descriptor() protoreflect.EnumDescriptor

func (Plcmt) Enum

func (x Plcmt) Enum() *Plcmt

func (Plcmt) EnumDescriptor deprecated

func (Plcmt) EnumDescriptor() ([]byte, []int)

Deprecated: Use Plcmt.Descriptor instead.

func (Plcmt) Number

func (x Plcmt) Number() protoreflect.EnumNumber

func (Plcmt) String

func (x Plcmt) String() string

func (Plcmt) Type

func (Plcmt) Type() protoreflect.EnumType

func (*Plcmt) UnmarshalJSON deprecated

func (x *Plcmt) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type PodSequence

type PodSequence int32

OpenRTB 2.6: The values for the pod sequence field, for use in audio and video content streams with one or more ad pods.

const (
	// Any pod in the content stream
	PodSequence_POD_SEQUENCE_ANY PodSequence = 0
	// Last pod in the content stream
	PodSequence_POD_SEQUENCE_LAST PodSequence = -1
	// First pod in the content stream
	PodSequence_POD_SEQUENCE_FIRST PodSequence = 1
)

func (PodSequence) Descriptor

func (PodSequence) Enum

func (x PodSequence) Enum() *PodSequence

func (PodSequence) EnumDescriptor deprecated

func (PodSequence) EnumDescriptor() ([]byte, []int)

Deprecated: Use PodSequence.Descriptor instead.

func (PodSequence) Number

func (x PodSequence) Number() protoreflect.EnumNumber

func (PodSequence) String

func (x PodSequence) String() string

func (PodSequence) Type

func (*PodSequence) UnmarshalJSON deprecated

func (x *PodSequence) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type ProductionQuality

type ProductionQuality int32

OpenRTB 2.0: The following table lists the options for content quality. These values are defined by the IAB - https://github.com/InteractiveAdvertisingBureau/AdCOM/blob/main/AdCOM%20v1.0%20FINAL.md#list--production-qualities-.

const (
	ProductionQuality_QUALITY_UNKNOWN ProductionQuality = 0
	// Content that is usually created or produced by media and entertainment
	// companies using professional-grade equipment, talent, and production
	// crews that hold or maintain the rights for distribution and syndication.
	ProductionQuality_PROFESSIONAL ProductionQuality = 1
	// Consumer or user-generated content that has professional or industrial
	// qualities (e.g. shot with professional-grade equipment, using
	// professional talent, etc.).
	ProductionQuality_PROSUMER ProductionQuality = 2
	// Publicly available video content that is created or produced by
	// end users.
	ProductionQuality_USER_GENERATED ProductionQuality = 3
)

func (ProductionQuality) Descriptor

func (ProductionQuality) Enum

func (ProductionQuality) EnumDescriptor deprecated

func (ProductionQuality) EnumDescriptor() ([]byte, []int)

Deprecated: Use ProductionQuality.Descriptor instead.

func (ProductionQuality) Number

func (ProductionQuality) String

func (x ProductionQuality) String() string

func (ProductionQuality) Type

func (*ProductionQuality) UnmarshalJSON deprecated

func (x *ProductionQuality) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type Protocol

type Protocol int32

OpenRTB 2.0: The following table lists the options for the various bid response protocols that could be supported by an exchange.

const (
	Protocol_VAST_1_0          Protocol = 1
	Protocol_VAST_2_0          Protocol = 2
	Protocol_VAST_3_0          Protocol = 3
	Protocol_VAST_1_0_WRAPPER  Protocol = 4
	Protocol_VAST_2_0_WRAPPER  Protocol = 5
	Protocol_VAST_3_0_WRAPPER  Protocol = 6
	Protocol_VAST_4_0          Protocol = 7
	Protocol_VAST_4_0_WRAPPER  Protocol = 8
	Protocol_DAAST_1_0         Protocol = 9
	Protocol_DAAST_1_0_WRAPPER Protocol = 10
	Protocol_VAST_4_1          Protocol = 11
	Protocol_VAST_4_1_WRAPPER  Protocol = 12
	Protocol_VAST_4_2          Protocol = 13
	Protocol_VAST_4_2_WRAPPER  Protocol = 14
)

func (Protocol) Descriptor

func (Protocol) Descriptor() protoreflect.EnumDescriptor

func (Protocol) Enum

func (x Protocol) Enum() *Protocol

func (Protocol) EnumDescriptor deprecated

func (Protocol) EnumDescriptor() ([]byte, []int)

Deprecated: Use Protocol.Descriptor instead.

func (Protocol) Number

func (x Protocol) Number() protoreflect.EnumNumber

func (Protocol) String

func (x Protocol) String() string

func (Protocol) Type

func (*Protocol) UnmarshalJSON deprecated

func (x *Protocol) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type PublisherExt

type PublisherExt struct {

	// The billing address country code of the publisher. This may be different
	// from the hosting country of the website. For a complete list of country
	// codes, refer to
	// https://developers.google.com/adwords/api/docs/appendix/codes-formats#country-codes
	Country *string `protobuf:"bytes,1,opt,name=country" json:"country,omitempty"`
	// The ID of the host publisher. When populated, indicates that the host
	// publisher participated in revenue sharing, and the ID can be used to
	// authorize ads.txt.
	HostPublisherId *string `protobuf:"bytes,2,opt,name=host_publisher_id,json=hostPublisherId" json:"host_publisher_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PublisherExt) Descriptor deprecated

func (*PublisherExt) Descriptor() ([]byte, []int)

Deprecated: Use PublisherExt.ProtoReflect.Descriptor instead.

func (*PublisherExt) GetCountry

func (x *PublisherExt) GetCountry() string

func (*PublisherExt) GetHostPublisherId

func (x *PublisherExt) GetHostPublisherId() string

func (*PublisherExt) ProtoMessage

func (*PublisherExt) ProtoMessage()

func (*PublisherExt) ProtoReflect

func (x *PublisherExt) ProtoReflect() protoreflect.Message

func (*PublisherExt) Reset

func (x *PublisherExt) Reset()

func (*PublisherExt) String

func (x *PublisherExt) String() string

type QAGMediaRating

type QAGMediaRating int32

OpenRTB 2.1: The following table lists the media ratings used in describing content based on the QAG categorization. Refer to http://www.iab.net/ne_guidelines for more information.

const (
	QAGMediaRating_ALL_AUDIENCES    QAGMediaRating = 1
	QAGMediaRating_EVERYONE_OVER_12 QAGMediaRating = 2
	QAGMediaRating_MATURE           QAGMediaRating = 3
)

func (QAGMediaRating) Descriptor

func (QAGMediaRating) Enum

func (x QAGMediaRating) Enum() *QAGMediaRating

func (QAGMediaRating) EnumDescriptor deprecated

func (QAGMediaRating) EnumDescriptor() ([]byte, []int)

Deprecated: Use QAGMediaRating.Descriptor instead.

func (QAGMediaRating) Number

func (QAGMediaRating) String

func (x QAGMediaRating) String() string

func (QAGMediaRating) Type

func (*QAGMediaRating) UnmarshalJSON deprecated

func (x *QAGMediaRating) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type RegsExt

type RegsExt struct {

	// This field will be set to true in either of the two following cases:
	//   1. Google receives a valid IAB Transparency and Consent Framework (TCF)
	//      v2 consent string and the Consent Management Platform indicates that
	//      GDPR applies to this ad request.
	//   2. Google does not receive an IAB TCF v2 consent string and, based on
	//      information available to Google, this impression will serve to an
	//      EEA user.
	// It does not constitute legal guidance on GDPR.
	Gdpr *bool `protobuf:"varint,1,opt,name=gdpr" json:"gdpr,omitempty"`
	// This field will be set to true when, based on information available to
	// Google, this impression will serve to a user in Brazil. See
	// https://storage.googleapis.com/adx-rtb-dictionaries/lgpd-providers.csv for
	// the list of ad tech providers that are allowed to serve on LGPD-enforced
	// requests.
	//
	// See https://support.google.com/authorizedbuyers/answer/9928204 for more
	// information on LGPD.
	Lgpd *bool `protobuf:"varint,2,opt,name=lgpd" json:"lgpd,omitempty"`
	// The Digital Services Act (DSA) transparency information requirements.
	Dsa *RegsExt_Dsa `protobuf:"bytes,3,opt,name=dsa" json:"dsa,omitempty"`
	// contains filtered or unexported fields
}

func (*RegsExt) Descriptor deprecated

func (*RegsExt) Descriptor() ([]byte, []int)

Deprecated: Use RegsExt.ProtoReflect.Descriptor instead.

func (*RegsExt) GetDsa

func (x *RegsExt) GetDsa() *RegsExt_Dsa

func (*RegsExt) GetGdpr

func (x *RegsExt) GetGdpr() bool

func (*RegsExt) GetLgpd

func (x *RegsExt) GetLgpd() bool

func (*RegsExt) ProtoMessage

func (*RegsExt) ProtoMessage()

func (*RegsExt) ProtoReflect

func (x *RegsExt) ProtoReflect() protoreflect.Message

func (*RegsExt) Reset

func (x *RegsExt) Reset()

func (*RegsExt) String

func (x *RegsExt) String() string

type RegsExt_Dsa

type RegsExt_Dsa struct {

	// Indicates if DSA declarations should be included in the bid response.
	// Bids where DSA declarations are required but not included will not be
	// accepted.
	Dsarequired *RegsExt_Dsa_DsaSupport `protobuf:"varint,1,opt,name=dsarequired,enum=com.google.doubleclick.RegsExt_Dsa_DsaSupport" json:"dsarequired,omitempty"`
	// Indicates if the publisher will render the DSA Transparency info. This
	// will signal if the publisher is able to and intends to render the icon
	// or other appropriate user-facing symbol and display the DSA transparency
	// info to the end user.
	Pubrender *RegsExt_Dsa_PublisherRenderingSupport `` /* 131-byte string literal not displayed */
	// Indicates whether the bidder should provide DSA transparency declarations
	// in the bid response. A publisher may need this information for audit or
	// other purposes, even if they will not render the transparency
	// declarations themselves.
	Datatopub *RegsExt_Dsa_DataToPublisher `protobuf:"varint,3,opt,name=datatopub,enum=com.google.doubleclick.RegsExt_Dsa_DataToPublisher" json:"datatopub,omitempty"`
	// contains filtered or unexported fields
}

The Digital Services Act (DSA) transparency requirements. See https://support.google.com/admanager/answer/14335032.

func (*RegsExt_Dsa) Descriptor deprecated

func (*RegsExt_Dsa) Descriptor() ([]byte, []int)

Deprecated: Use RegsExt_Dsa.ProtoReflect.Descriptor instead.

func (*RegsExt_Dsa) GetDatatopub

func (x *RegsExt_Dsa) GetDatatopub() RegsExt_Dsa_DataToPublisher

func (*RegsExt_Dsa) GetDsarequired

func (x *RegsExt_Dsa) GetDsarequired() RegsExt_Dsa_DsaSupport

func (*RegsExt_Dsa) GetPubrender

func (*RegsExt_Dsa) ProtoMessage

func (*RegsExt_Dsa) ProtoMessage()

func (*RegsExt_Dsa) ProtoReflect

func (x *RegsExt_Dsa) ProtoReflect() protoreflect.Message

func (*RegsExt_Dsa) Reset

func (x *RegsExt_Dsa) Reset()

func (*RegsExt_Dsa) String

func (x *RegsExt_Dsa) String() string

type RegsExt_Dsa_DataToPublisher

type RegsExt_Dsa_DataToPublisher int32

Options describing if a publisher requires DSA transparency declarations.

const (
	// Do not send transparency data.
	RegsExt_Dsa_DO_NOT_SEND RegsExt_Dsa_DataToPublisher = 0
	// Optional to send transparency data.
	RegsExt_Dsa_OPTIONAL RegsExt_Dsa_DataToPublisher = 1
	// Send transparency data.
	RegsExt_Dsa_SEND RegsExt_Dsa_DataToPublisher = 2
)

func (RegsExt_Dsa_DataToPublisher) Descriptor

func (RegsExt_Dsa_DataToPublisher) Enum

func (RegsExt_Dsa_DataToPublisher) EnumDescriptor deprecated

func (RegsExt_Dsa_DataToPublisher) EnumDescriptor() ([]byte, []int)

Deprecated: Use RegsExt_Dsa_DataToPublisher.Descriptor instead.

func (RegsExt_Dsa_DataToPublisher) Number

func (RegsExt_Dsa_DataToPublisher) String

func (RegsExt_Dsa_DataToPublisher) Type

func (*RegsExt_Dsa_DataToPublisher) UnmarshalJSON deprecated

func (x *RegsExt_Dsa_DataToPublisher) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type RegsExt_Dsa_DsaSupport

type RegsExt_Dsa_DsaSupport int32

Values indicating whether DSA declarations should be included in the bid response and, if so, whether or not the publisher is an Online Platform (OP) or Very Large Online Platform (VLOP), as defined by the DSA.

const (
	// DSA declarations are not required in the bid response.
	RegsExt_Dsa_NOT_REQUIRED RegsExt_Dsa_DsaSupport = 0
	// DSA declarations are supported, but not required in the bid response.
	RegsExt_Dsa_SUPPORTED RegsExt_Dsa_DsaSupport = 1
	// DSA declarations are required in the bid response.
	RegsExt_Dsa_REQUIRED RegsExt_Dsa_DsaSupport = 2
	// DSA declarations are required in the bid response and the publisher is
	// an OP or VLOP.
	RegsExt_Dsa_REQUIRED_BY_ONLINE_PLATFORM RegsExt_Dsa_DsaSupport = 3
)

func (RegsExt_Dsa_DsaSupport) Descriptor

func (RegsExt_Dsa_DsaSupport) Enum

func (RegsExt_Dsa_DsaSupport) EnumDescriptor deprecated

func (RegsExt_Dsa_DsaSupport) EnumDescriptor() ([]byte, []int)

Deprecated: Use RegsExt_Dsa_DsaSupport.Descriptor instead.

func (RegsExt_Dsa_DsaSupport) Number

func (RegsExt_Dsa_DsaSupport) String

func (x RegsExt_Dsa_DsaSupport) String() string

func (RegsExt_Dsa_DsaSupport) Type

func (*RegsExt_Dsa_DsaSupport) UnmarshalJSON deprecated

func (x *RegsExt_Dsa_DsaSupport) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type RegsExt_Dsa_PublisherRenderingSupport

type RegsExt_Dsa_PublisherRenderingSupport int32

Options describing a publisher's ability to render DSA transparency declarations.

const (
	// Publisher can't render.
	RegsExt_Dsa_PUBLISHER_UNABLE_TO_RENDER RegsExt_Dsa_PublisherRenderingSupport = 0
	// Publisher could render depending on the buyer's rendering capability as
	// described in the Bid.ext.dsa.adrender field.
	RegsExt_Dsa_PUBLISHER_CAN_RENDER RegsExt_Dsa_PublisherRenderingSupport = 1
	// Publisher will render regardless of the buyer's rendering capability as
	// described in the Bid.ext.dsa.adrender field.
	RegsExt_Dsa_PUBLISHER_WILL_RENDER RegsExt_Dsa_PublisherRenderingSupport = 2
)

func (RegsExt_Dsa_PublisherRenderingSupport) Descriptor

func (RegsExt_Dsa_PublisherRenderingSupport) Enum

func (RegsExt_Dsa_PublisherRenderingSupport) EnumDescriptor deprecated

func (RegsExt_Dsa_PublisherRenderingSupport) EnumDescriptor() ([]byte, []int)

Deprecated: Use RegsExt_Dsa_PublisherRenderingSupport.Descriptor instead.

func (RegsExt_Dsa_PublisherRenderingSupport) Number

func (RegsExt_Dsa_PublisherRenderingSupport) String

func (RegsExt_Dsa_PublisherRenderingSupport) Type

func (*RegsExt_Dsa_PublisherRenderingSupport) UnmarshalJSON deprecated

func (x *RegsExt_Dsa_PublisherRenderingSupport) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type SKAdNetworkFidelityType

type SKAdNetworkFidelityType int32

SKAdNetwork API starting from version 2.2 supports multiple ad presentation options specified by the `fidelity-type` parameter of the SKAdNetwork signature. The following are the fidelity types supported by Apple. For more info visit: https://developer.apple.com/documentation/storekit/skadnetwork/signing_and_providing_ads

const (
	// Attribution for app installs within 24 hours of viewing an ad for at least
	// 3 seconds. Supported for SKAdnetwork version 2.2 and up. For more info see:
	// https://developer.apple.com/documentation/storekit/skadnetwork/generating_the_signature_to_validate_view-through_ads
	SKAdNetworkFidelityType_VIEW_THROUGH_ADS SKAdNetworkFidelityType = 0
	// Attribution for app installs initiated from the StoreKit-rendered App Store
	// product page driven by ad clicks. Supported for all SKAdNetwork versions.
	// For more info see:
	// https://developer.apple.com/documentation/storekit/skadnetwork/generating_the_signature_to_validate_storekit-rendered_ads
	SKAdNetworkFidelityType_STOREKIT_RENDERED_ADS SKAdNetworkFidelityType = 1
)

func (SKAdNetworkFidelityType) Descriptor

func (SKAdNetworkFidelityType) Enum

func (SKAdNetworkFidelityType) EnumDescriptor deprecated

func (SKAdNetworkFidelityType) EnumDescriptor() ([]byte, []int)

Deprecated: Use SKAdNetworkFidelityType.Descriptor instead.

func (SKAdNetworkFidelityType) Number

func (SKAdNetworkFidelityType) String

func (x SKAdNetworkFidelityType) String() string

func (SKAdNetworkFidelityType) Type

func (*SKAdNetworkFidelityType) UnmarshalJSON deprecated

func (x *SKAdNetworkFidelityType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type ServerSideAdInsertionType

type ServerSideAdInsertionType int32

OpenRTB 2.6: Server-side ad insertion type.

const (
	// Status unknown.
	ServerSideAdInsertionType_SERVER_SIDE_AD_INSERTION_TYPE_UNKNOWN ServerSideAdInsertionType = 0
	// All clientside (not server-side).
	ServerSideAdInsertionType_CLIENT_SIDE_ONLY ServerSideAdInsertionType = 1
	// Assets stitched server-side but tracking pixels fired client-side.
	ServerSideAdInsertionType_SERVER_SIDE_STITCHED_CLIENT_TRACKER ServerSideAdInsertionType = 2
	// All server-side.
	ServerSideAdInsertionType_SERVER_SIDE_ONLY ServerSideAdInsertionType = 3
)

func (ServerSideAdInsertionType) Descriptor

func (ServerSideAdInsertionType) Enum

func (ServerSideAdInsertionType) EnumDescriptor deprecated

func (ServerSideAdInsertionType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ServerSideAdInsertionType.Descriptor instead.

func (ServerSideAdInsertionType) Number

func (ServerSideAdInsertionType) String

func (x ServerSideAdInsertionType) String() string

func (ServerSideAdInsertionType) Type

func (*ServerSideAdInsertionType) UnmarshalJSON deprecated

func (x *ServerSideAdInsertionType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type SiteExt

type SiteExt struct {

	// Whether this is an AMP page or not. Omitted if unknown.
	Amp *SiteExt_AmpPage `protobuf:"varint,1,opt,name=amp,enum=com.google.doubleclick.SiteExt_AmpPage" json:"amp,omitempty"`
	// The visibility state of the web page containing the ad slot.
	// See https://www.w3.org/TR/page-visibility/.
	// [AdX: BidRequest.page_visibility]
	PageVisibility *SiteExt_VisibilityState `` /* 155-byte string literal not displayed */
	// User activation information from the browser for the current request, if
	// the request is for a web page.
	Uact *SiteExt_UserActivation `protobuf:"bytes,5,opt,name=uact" json:"uact,omitempty"`
	// The type of browser navigation that led to the current page. Unset for
	// non-web ad requests.
	Ntype *SiteExt_NavigationType `protobuf:"varint,6,opt,name=ntype,enum=com.google.doubleclick.SiteExt_NavigationType" json:"ntype,omitempty"`
	// Indicates that the request is using semi-transparent branding,
	// which means only a truncated version of the request URL will
	// be provided. This decision is made by the publisher, see
	// https://support.google.com/admanager/answer/4584891#urls for context.
	IsSemiTransparentRequest *bool `` /* 131-byte string literal not displayed */
	// The domain of the partner (of the site owner) with ownership
	// of some portion of ad inventory on the site. The partner's ads.txt file
	// will be hosted here. More detail at
	// http://iabtechlab.com/wp-content/uploads/2021/03/ctv-app-ads-explainer-guide.pdf
	Inventorypartnerdomain *string `protobuf:"bytes,4,opt,name=inventorypartnerdomain" json:"inventorypartnerdomain,omitempty"`
	// contains filtered or unexported fields
}

func (*SiteExt) Descriptor deprecated

func (*SiteExt) Descriptor() ([]byte, []int)

Deprecated: Use SiteExt.ProtoReflect.Descriptor instead.

func (*SiteExt) GetAmp

func (x *SiteExt) GetAmp() SiteExt_AmpPage

func (*SiteExt) GetInventorypartnerdomain

func (x *SiteExt) GetInventorypartnerdomain() string

func (*SiteExt) GetIsSemiTransparentRequest

func (x *SiteExt) GetIsSemiTransparentRequest() bool

func (*SiteExt) GetNtype

func (x *SiteExt) GetNtype() SiteExt_NavigationType

func (*SiteExt) GetPageVisibility

func (x *SiteExt) GetPageVisibility() SiteExt_VisibilityState

func (*SiteExt) GetUact

func (x *SiteExt) GetUact() *SiteExt_UserActivation

func (*SiteExt) ProtoMessage

func (*SiteExt) ProtoMessage()

func (*SiteExt) ProtoReflect

func (x *SiteExt) ProtoReflect() protoreflect.Message

func (*SiteExt) Reset

func (x *SiteExt) Reset()

func (*SiteExt) String

func (x *SiteExt) String() string

type SiteExt_AmpPage

type SiteExt_AmpPage int32
const (
	// This is not an AMP page.
	SiteExt_DIALECT_HTML SiteExt_AmpPage = 0
	// This is an Amp page.
	SiteExt_DIALECT_HTML_AMP SiteExt_AmpPage = 1
)

func (SiteExt_AmpPage) Descriptor

func (SiteExt_AmpPage) Enum

func (x SiteExt_AmpPage) Enum() *SiteExt_AmpPage

func (SiteExt_AmpPage) EnumDescriptor deprecated

func (SiteExt_AmpPage) EnumDescriptor() ([]byte, []int)

Deprecated: Use SiteExt_AmpPage.Descriptor instead.

func (SiteExt_AmpPage) Number

func (SiteExt_AmpPage) String

func (x SiteExt_AmpPage) String() string

func (SiteExt_AmpPage) Type

func (*SiteExt_AmpPage) UnmarshalJSON deprecated

func (x *SiteExt_AmpPage) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type SiteExt_NavigationType

type SiteExt_NavigationType int32

The set of possible web navigation types that predicate a page load. Each of these types may have different performance characteristics. For example, users going back and forth might experience a faster site than users performing navigation for the first time or submitting forms. See https://w3c.github.io/navigation-timing/#dom-performancenavigationtiming-type.

const (
	SiteExt_NAVIGATION_TYPE_UNKNOWN SiteExt_NavigationType = 0
	// Navigation started by clicking a link, entering the URL in the browser's
	// address bar, form submission, or initializing through a script operation
	// other than reload and back_forward.
	SiteExt_NAVIGATION_TYPE_NAVIGATE SiteExt_NavigationType = 1
	// Navigation is through the browser's reload operation, location.reload(),
	// or a Refresh pragma directive like
	// <meta http-equiv="refresh" content="300">.
	SiteExt_NAVIGATION_TYPE_RELOAD SiteExt_NavigationType = 2
	// Navigation is through the browser's history traversal operation.
	SiteExt_NAVIGATION_TYPE_BACK_FORWARD SiteExt_NavigationType = 3
	// Navigation is initiated by a prerender hint (deprecated). See
	// https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel/prerender.
	SiteExt_NAVIGATION_TYPE_PRERENDER SiteExt_NavigationType = 4
)

func (SiteExt_NavigationType) Descriptor

func (SiteExt_NavigationType) Enum

func (SiteExt_NavigationType) EnumDescriptor deprecated

func (SiteExt_NavigationType) EnumDescriptor() ([]byte, []int)

Deprecated: Use SiteExt_NavigationType.Descriptor instead.

func (SiteExt_NavigationType) Number

func (SiteExt_NavigationType) String

func (x SiteExt_NavigationType) String() string

func (SiteExt_NavigationType) Type

func (*SiteExt_NavigationType) UnmarshalJSON deprecated

func (x *SiteExt_NavigationType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type SiteExt_UserActivation

type SiteExt_UserActivation struct {

	// Indicates whether a user has completed an interaction since page load.
	Wasact *bool `protobuf:"varint,1,opt,name=wasact" json:"wasact,omitempty"`
	// Indicates whether a user is currently interacting with the page.
	Isact *bool `protobuf:"varint,2,opt,name=isact" json:"isact,omitempty"`
	// contains filtered or unexported fields
}

Information about a browser window's user activation state. See https://html.spec.whatwg.org/multipage/interaction.html#the-useractivation-interface.

func (*SiteExt_UserActivation) Descriptor deprecated

func (*SiteExt_UserActivation) Descriptor() ([]byte, []int)

Deprecated: Use SiteExt_UserActivation.ProtoReflect.Descriptor instead.

func (*SiteExt_UserActivation) GetIsact

func (x *SiteExt_UserActivation) GetIsact() bool

func (*SiteExt_UserActivation) GetWasact

func (x *SiteExt_UserActivation) GetWasact() bool

func (*SiteExt_UserActivation) ProtoMessage

func (*SiteExt_UserActivation) ProtoMessage()

func (*SiteExt_UserActivation) ProtoReflect

func (x *SiteExt_UserActivation) ProtoReflect() protoreflect.Message

func (*SiteExt_UserActivation) Reset

func (x *SiteExt_UserActivation) Reset()

func (*SiteExt_UserActivation) String

func (x *SiteExt_UserActivation) String() string

type SiteExt_VisibilityState

type SiteExt_VisibilityState int32
const (
	SiteExt_VISIBILITY_STATE_UNKNOWN SiteExt_VisibilityState = 0
	// The page is at least partially visible. For example, in the foreground
	// tab of a non-minimized window.
	SiteExt_VISIBILITY_STATE_VISIBLE SiteExt_VisibilityState = 1
	// The page is not visible to users. For example, when the page is in a
	// background browser tab, or in a minimized window.
	SiteExt_VISIBILITY_STATE_HIDDEN SiteExt_VisibilityState = 2
)

func (SiteExt_VisibilityState) Descriptor

func (SiteExt_VisibilityState) Enum

func (SiteExt_VisibilityState) EnumDescriptor deprecated

func (SiteExt_VisibilityState) EnumDescriptor() ([]byte, []int)

Deprecated: Use SiteExt_VisibilityState.Descriptor instead.

func (SiteExt_VisibilityState) Number

func (SiteExt_VisibilityState) String

func (x SiteExt_VisibilityState) String() string

func (SiteExt_VisibilityState) Type

func (*SiteExt_VisibilityState) UnmarshalJSON deprecated

func (x *SiteExt_VisibilityState) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type SlotPositionInPod

type SlotPositionInPod int32

OpenRTB 2.6: Slot Position in Pod.

const (
	// Any position in the pod.
	SlotPositionInPod_SLOT_POSITION_POD_ANY SlotPositionInPod = 0
	// Last position in the pod.
	SlotPositionInPod_SLOT_POSITION_POD_LAST SlotPositionInPod = -1
	// First position in the pod.
	SlotPositionInPod_SLOT_POSITION_POD_FIRST SlotPositionInPod = 1
	// First or last position in the pod.
	SlotPositionInPod_SLOT_POSITION_POD_FIRST_OR_LAST SlotPositionInPod = 2
)

func (SlotPositionInPod) Descriptor

func (SlotPositionInPod) Enum

func (SlotPositionInPod) EnumDescriptor deprecated

func (SlotPositionInPod) EnumDescriptor() ([]byte, []int)

Deprecated: Use SlotPositionInPod.Descriptor instead.

func (SlotPositionInPod) Number

func (SlotPositionInPod) String

func (x SlotPositionInPod) String() string

func (SlotPositionInPod) Type

func (*SlotPositionInPod) UnmarshalJSON deprecated

func (x *SlotPositionInPod) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type SourceExt

type SourceExt struct {

	// Identifier of the OM SDK integration. Equivalent to
	// BidRequest.AdSlot.omidpn in the Google protocol. For more info,
	// see the OpenRTB Advisory for Open Measurement SDK:
	// https://github.com/InteractiveAdvertisingBureau/AdCOM/blob/master/OpenRTB%20support%20for%20OMSDK.md#openrtb-and-adcom.
	Omidpn *string `protobuf:"bytes,1,opt,name=omidpn" json:"omidpn,omitempty"`
	// Version of the OM SDK integration. Equivalent to BidRequest.AdSlot.omidpv
	// in the Google protocol. For more info, see the OpenRTB Advisory for
	// Open Measurement SDK:
	// https://github.com/InteractiveAdvertisingBureau/AdCOM/blob/master/OpenRTB%20support%20for%20OMSDK.md#openrtb-and-adcom.
	Omidpv *string `protobuf:"bytes,2,opt,name=omidpv" json:"omidpv,omitempty"`
	// Deprecated. This will be removed in December 2023. Use the standard field
	// schain instead.
	Schain *SourceExt_SupplyChain `protobuf:"bytes,3,opt,name=schain" json:"schain,omitempty"`
	// contains filtered or unexported fields
}

func (*SourceExt) Descriptor deprecated

func (*SourceExt) Descriptor() ([]byte, []int)

Deprecated: Use SourceExt.ProtoReflect.Descriptor instead.

func (*SourceExt) GetOmidpn

func (x *SourceExt) GetOmidpn() string

func (*SourceExt) GetOmidpv

func (x *SourceExt) GetOmidpv() string

func (*SourceExt) GetSchain

func (x *SourceExt) GetSchain() *SourceExt_SupplyChain

func (*SourceExt) ProtoMessage

func (*SourceExt) ProtoMessage()

func (*SourceExt) ProtoReflect

func (x *SourceExt) ProtoReflect() protoreflect.Message

func (*SourceExt) Reset

func (x *SourceExt) Reset()

func (*SourceExt) String

func (x *SourceExt) String() string

type SourceExt_SupplyChain

type SourceExt_SupplyChain struct {

	// Indicates whether the chain contains all nodes involved in the
	// transaction leading back to the owner of the site, app or other medium
	// of the inventory, where 0 = no, 1 = yes.
	Complete *int32 `protobuf:"varint,1,opt,name=complete" json:"complete,omitempty"`
	// Array of SupplyChainNode objects in the order of the chain.
	// In a complete supply chain, the first node represents the initial
	// advertising system and seller ID involved in the transaction, for
	// example, the owner of the site, app, or other medium. In an incomplete
	// supply chain, it represents the first known node. The last node
	// represents the entity sending this bid request.
	Nodes []*SourceExt_SupplyChain_SupplyChainNode `protobuf:"bytes,2,rep,name=nodes" json:"nodes,omitempty"`
	// Version of the supply chain specification in use, in the format of
	// "major.minor". For example, for version 1.0 of the spec,
	// use the string "1.0".
	Ver *string `protobuf:"bytes,3,opt,name=ver" json:"ver,omitempty"`
	// contains filtered or unexported fields
}

OpenRTB SupplyChain object. For more information, see https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/supplychainobject.md.

func (*SourceExt_SupplyChain) Descriptor deprecated

func (*SourceExt_SupplyChain) Descriptor() ([]byte, []int)

Deprecated: Use SourceExt_SupplyChain.ProtoReflect.Descriptor instead.

func (*SourceExt_SupplyChain) GetComplete

func (x *SourceExt_SupplyChain) GetComplete() int32

func (*SourceExt_SupplyChain) GetNodes

func (*SourceExt_SupplyChain) GetVer

func (x *SourceExt_SupplyChain) GetVer() string

func (*SourceExt_SupplyChain) ProtoMessage

func (*SourceExt_SupplyChain) ProtoMessage()

func (*SourceExt_SupplyChain) ProtoReflect

func (x *SourceExt_SupplyChain) ProtoReflect() protoreflect.Message

func (*SourceExt_SupplyChain) Reset

func (x *SourceExt_SupplyChain) Reset()

func (*SourceExt_SupplyChain) String

func (x *SourceExt_SupplyChain) String() string

type SourceExt_SupplyChain_SupplyChainNode

type SourceExt_SupplyChain_SupplyChainNode struct {

	// The canonical domain name of the SSP, Exchange, Header Wrapper, etc
	// system that bidders connect to. This may be the operational domain
	// of the system, if that is different than the parent corporate domain,
	// to facilitate WHOIS and reverse IP lookups to establish clear
	// ownership of the delegate system. This should be the same value as
	// used to identify sellers in an ads.txt file if one exists.
	Asi *string `protobuf:"bytes,1,opt,name=asi" json:"asi,omitempty"`
	// The identifier associated with the seller or reseller account within
	// the advertising system. This must contain the same value used in
	// OpenRTB bid requests in the field specified
	// by the SSP/exchange. Typically, in OpenRTB, this is publisher.id. For
	// OpenDirect it is typically the publisher's organization ID. Should be
	// limited to 64 characters in length.
	Sid *string `protobuf:"bytes,2,opt,name=sid" json:"sid,omitempty"`
	// The OpenRTB RequestId of the request as issued by this seller.
	Rid *string `protobuf:"bytes,3,opt,name=rid" json:"rid,omitempty"`
	// The name of the company (the legal entity) that is paid for inventory
	// transacted under the given seller_id. This value is optional and
	// should NOT be included if it exists in the advertising system's
	// sellers.json file.
	Name *string `protobuf:"bytes,4,opt,name=name" json:"name,omitempty"`
	// The business domain name of the entity represented by this node.
	// This value is optional and should NOT be included if it exists in
	// the advertising system's sellers.json file.
	Domain *string `protobuf:"bytes,5,opt,name=domain" json:"domain,omitempty"`
	// Indicates whether this node will be involved in the flow of payment
	// for the inventory. When set to 1, the advertising system in the asi
	// field pays the seller in the sid field, who is responsible for paying
	// the previous node in the chain. When set to 0, this node is not
	// involved in the flow of payment for the inventory. For version 1.0 of
	// SupplyChain, this property should always be 1. It is explicitly
	// required to be included as it is expected that future versions of the
	// specification will introduce non-payment handling nodes.
	// Implementers should ensure that they support this field and propagate
	// it onwards when constructing SupplyChain objects in bid requests sent
	// to a downstream advertising system.
	Hp *int32 `protobuf:"varint,6,opt,name=hp" json:"hp,omitempty"`
	// contains filtered or unexported fields
}

func (*SourceExt_SupplyChain_SupplyChainNode) Descriptor deprecated

func (*SourceExt_SupplyChain_SupplyChainNode) Descriptor() ([]byte, []int)

Deprecated: Use SourceExt_SupplyChain_SupplyChainNode.ProtoReflect.Descriptor instead.

func (*SourceExt_SupplyChain_SupplyChainNode) GetAsi

func (*SourceExt_SupplyChain_SupplyChainNode) GetDomain

func (*SourceExt_SupplyChain_SupplyChainNode) GetHp

func (*SourceExt_SupplyChain_SupplyChainNode) GetName

func (*SourceExt_SupplyChain_SupplyChainNode) GetRid

func (*SourceExt_SupplyChain_SupplyChainNode) GetSid

func (*SourceExt_SupplyChain_SupplyChainNode) ProtoMessage

func (*SourceExt_SupplyChain_SupplyChainNode) ProtoMessage()

func (*SourceExt_SupplyChain_SupplyChainNode) ProtoReflect

func (*SourceExt_SupplyChain_SupplyChainNode) Reset

func (*SourceExt_SupplyChain_SupplyChainNode) String

type StartDelay

type StartDelay int32

OpenRTB 2.0: The following table lists the various options for the audio/video start delay. If the start delay value is greater than 0, then the position is mid-roll and the value indicates the start delay.

const (
	StartDelay_PRE_ROLL          StartDelay = 0
	StartDelay_GENERIC_MID_ROLL  StartDelay = -1
	StartDelay_GENERIC_POST_ROLL StartDelay = -2
)

func (StartDelay) Descriptor

func (StartDelay) Descriptor() protoreflect.EnumDescriptor

func (StartDelay) Enum

func (x StartDelay) Enum() *StartDelay

func (StartDelay) EnumDescriptor deprecated

func (StartDelay) EnumDescriptor() ([]byte, []int)

Deprecated: Use StartDelay.Descriptor instead.

func (StartDelay) Number

func (x StartDelay) Number() protoreflect.EnumNumber

func (StartDelay) String

func (x StartDelay) String() string

func (StartDelay) Type

func (*StartDelay) UnmarshalJSON deprecated

func (x *StartDelay) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type UIDExt

type UIDExt struct {

	// The source type of the UID. See details at
	// https://developers.google.com/authorized-buyers/rtb/openrtb-guide#uid-stype
	Stype *string `protobuf:"bytes,1,opt,name=stype" json:"stype,omitempty"`
	// contains filtered or unexported fields
}

func (*UIDExt) Descriptor deprecated

func (*UIDExt) Descriptor() ([]byte, []int)

Deprecated: Use UIDExt.ProtoReflect.Descriptor instead.

func (*UIDExt) GetStype

func (x *UIDExt) GetStype() string

func (*UIDExt) ProtoMessage

func (*UIDExt) ProtoMessage()

func (*UIDExt) ProtoReflect

func (x *UIDExt) ProtoReflect() protoreflect.Message

func (*UIDExt) Reset

func (x *UIDExt) Reset()

func (*UIDExt) String

func (x *UIDExt) String() string

type UserAgentSource

type UserAgentSource int32

Possible sources for User-Agent data.

const (
	UserAgentSource_UNKNOWN_SOURCE UserAgentSource = 0
	// User-Agent Client Hints (only low-entropy headers were available).
	UserAgentSource_CLIENT_HINTS_LOW_ENTROPY UserAgentSource = 1
	// User-Agent Client Hints (with high-entropy headers available).
	UserAgentSource_CLIENT_HINTS_HIGH_ENTROPY UserAgentSource = 2
	// Parsed from User-Agent header.
	UserAgentSource_USER_AGENT_STRING UserAgentSource = 3
)

func (UserAgentSource) Descriptor

func (UserAgentSource) Enum

func (x UserAgentSource) Enum() *UserAgentSource

func (UserAgentSource) EnumDescriptor deprecated

func (UserAgentSource) EnumDescriptor() ([]byte, []int)

Deprecated: Use UserAgentSource.Descriptor instead.

func (UserAgentSource) Number

func (UserAgentSource) String

func (x UserAgentSource) String() string

func (UserAgentSource) Type

func (*UserAgentSource) UnmarshalJSON deprecated

func (x *UserAgentSource) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type UserExt

type UserExt struct {

	// Information about the ad tech providers for whom the publisher has
	// specified to Google that its EEA user has consented to the use of their
	// personal data for ads personalization in accordance with Google's EU User
	// Consent Policy. This field will only be populated when RegsExt.gdpr is
	// true.
	ConsentedProvidersSettings *UserExt_ConsentedProvidersSettings `` /* 134-byte string literal not displayed */
	// The web-safe base64-encoded IAB Transparency and Consent Framework (TCF) v2
	// consent string fetched from the publisher's IAB Consent Management Platform
	// (CMP). The structure of the string is defined by the IAB TCF v2. This field
	// will be populated if the publisher has integrated with a CMP for TCF v2 and
	// that CMP indicates that GDPR applies to this ad request and provides a
	// valid consent string. See
	// https://support.google.com/authorizedbuyers/answer/9789378 for additional
	// information about the Google TCF v2 integration.
	//
	// See the IAB Global Vendor List at
	// https://vendor-list.consensu.org/v2/vendor-list.json for details about the
	// vendors listed in the consent string.
	Consent *string `protobuf:"bytes,2,opt,name=consent" json:"consent,omitempty"`
	// Data made available by the publisher, such as secure signals.
	// https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/extensions/2.x_official_extensions/eids.md
	Eids []*UserExt_ExtendedId `protobuf:"bytes,5,rep,name=eids" json:"eids,omitempty"`
	// The current user session.
	Session *UserExt_Session `protobuf:"bytes,6,opt,name=session" json:"session,omitempty"`
	// The amount of time, in seconds, since the ID in `BidRequest.user.id` was
	// created.
	Idage *int32 `protobuf:"varint,7,opt,name=idage" json:"idage,omitempty"`
	// contains filtered or unexported fields
}

func (*UserExt) Descriptor deprecated

func (*UserExt) Descriptor() ([]byte, []int)

Deprecated: Use UserExt.ProtoReflect.Descriptor instead.

func (*UserExt) GetConsent

func (x *UserExt) GetConsent() string

func (*UserExt) GetConsentedProvidersSettings

func (x *UserExt) GetConsentedProvidersSettings() *UserExt_ConsentedProvidersSettings

func (*UserExt) GetEids

func (x *UserExt) GetEids() []*UserExt_ExtendedId

func (*UserExt) GetIdage

func (x *UserExt) GetIdage() int32

func (*UserExt) GetSession

func (x *UserExt) GetSession() *UserExt_Session

func (*UserExt) ProtoMessage

func (*UserExt) ProtoMessage()

func (*UserExt) ProtoReflect

func (x *UserExt) ProtoReflect() protoreflect.Message

func (*UserExt) Reset

func (x *UserExt) Reset()

func (*UserExt) String

func (x *UserExt) String() string

type UserExt_ConsentedProvidersSettings

type UserExt_ConsentedProvidersSettings struct {

	// Set of IDs corresponding to ad tech providers (ATPs) for whom the
	// publisher has specified to Google that its EEA users have given legally
	// valid consent to: 1) the use of cookies or other local storage where
	// legally required; and 2) the collection, sharing, and use of personal
	// data for personalization of ads by an ATP in accordance with Google's EU
	// User Consent Policy.
	//
	// If a publisher is using the IAB Transparency and Consent Framework (TCF)
	// v2 to manage user consent, this is the set of ATPs consented through the
	// Additional Consent string (see
	// https://support.google.com/admanager/answer/9681920 for details about
	// Google's Additional Consent mode). ATPs consented through the TCF v2
	// consent string are represented in the UserExt.consent field.
	//
	// A mapping of ATP ID to ATP name is posted at providers.csv.
	ConsentedProviders []int64 `protobuf:"varint,2,rep,packed,name=consented_providers,json=consentedProviders" json:"consented_providers,omitempty"`
	// The raw Additional Consent string, which contains a list of certain
	// Google Ad Tech Providers (ATPs). These ATPs are not registered with IAB
	// TCF v2, but publishers or their Consent Management Providers (CMPs) have
	// ensured that certain disclosures are given to, and consents are obtained
	// from, end users, as required by Google's EU User Consent Policy. This
	// field is only populated with the use of CMPs that are integrated with IAB
	// TCF v2. Such CMPs use the raw Additional Consent string to indicate
	// vendors that are not registered with IAB, and communicate end users' CMP
	// choices to those vendors. The consented_providers field contains the set
	// of vendors that mirrors the one represented by the additional_consent
	// field, which is in the raw form. Vendors or any other third-party service
	// providers must not create AC strings themselves.
	//
	// See https://support.google.com/admanager/answer/9681920 for more details
	// about this field.
	AdditionalConsent *string `protobuf:"bytes,3,opt,name=additional_consent,json=additionalConsent" json:"additional_consent,omitempty"`
	// contains filtered or unexported fields
}

func (*UserExt_ConsentedProvidersSettings) Descriptor deprecated

func (*UserExt_ConsentedProvidersSettings) Descriptor() ([]byte, []int)

Deprecated: Use UserExt_ConsentedProvidersSettings.ProtoReflect.Descriptor instead.

func (*UserExt_ConsentedProvidersSettings) GetAdditionalConsent

func (x *UserExt_ConsentedProvidersSettings) GetAdditionalConsent() string

func (*UserExt_ConsentedProvidersSettings) GetConsentedProviders

func (x *UserExt_ConsentedProvidersSettings) GetConsentedProviders() []int64

func (*UserExt_ConsentedProvidersSettings) ProtoMessage

func (*UserExt_ConsentedProvidersSettings) ProtoMessage()

func (*UserExt_ConsentedProvidersSettings) ProtoReflect

func (*UserExt_ConsentedProvidersSettings) Reset

func (*UserExt_ConsentedProvidersSettings) String

type UserExt_ExtendedId

type UserExt_ExtendedId struct {

	// Source or technology provider responsible for the set of included data.
	Source *string `protobuf:"bytes,1,opt,name=source" json:"source,omitempty"`
	// Array of ExtendedIdUid objects from the given source.
	Uids []*UserExt_ExtendedId_ExtendedIdUid `protobuf:"bytes,2,rep,name=uids" json:"uids,omitempty"`
	// contains filtered or unexported fields
}

Extended data, such as secure signals, that allows buyers to use data made available by the publisher in real-time bidding. This object can contain one or more UIDs from a single source or a technology provider.

func (*UserExt_ExtendedId) Descriptor deprecated

func (*UserExt_ExtendedId) Descriptor() ([]byte, []int)

Deprecated: Use UserExt_ExtendedId.ProtoReflect.Descriptor instead.

func (*UserExt_ExtendedId) GetSource

func (x *UserExt_ExtendedId) GetSource() string

func (*UserExt_ExtendedId) GetUids

func (*UserExt_ExtendedId) ProtoMessage

func (*UserExt_ExtendedId) ProtoMessage()

func (*UserExt_ExtendedId) ProtoReflect

func (x *UserExt_ExtendedId) ProtoReflect() protoreflect.Message

func (*UserExt_ExtendedId) Reset

func (x *UserExt_ExtendedId) Reset()

func (*UserExt_ExtendedId) String

func (x *UserExt_ExtendedId) String() string

type UserExt_ExtendedId_ExtendedIdUid

type UserExt_ExtendedId_ExtendedIdUid struct {

	// The data value, such as a secure signal.
	Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// contains filtered or unexported fields
}

This object contains a single data item, such as a secure signal, provided as part of extended identifiers.

func (*UserExt_ExtendedId_ExtendedIdUid) Descriptor deprecated

func (*UserExt_ExtendedId_ExtendedIdUid) Descriptor() ([]byte, []int)

Deprecated: Use UserExt_ExtendedId_ExtendedIdUid.ProtoReflect.Descriptor instead.

func (*UserExt_ExtendedId_ExtendedIdUid) GetId

func (*UserExt_ExtendedId_ExtendedIdUid) ProtoMessage

func (*UserExt_ExtendedId_ExtendedIdUid) ProtoMessage()

func (*UserExt_ExtendedId_ExtendedIdUid) ProtoReflect

func (*UserExt_ExtendedId_ExtendedIdUid) Reset

func (*UserExt_ExtendedId_ExtendedIdUid) String

type UserExt_Session

type UserExt_Session struct {

	// Time in seconds since the first ad request in the session. Currently the
	// session duration is only supported for mobile app requests.
	Duration *int32 `protobuf:"varint,1,opt,name=duration" json:"duration,omitempty"`
	// contains filtered or unexported fields
}

Describes a user session in a given app or site. The session is reset after a sufficiently long break in user activity.

func (*UserExt_Session) Descriptor deprecated

func (*UserExt_Session) Descriptor() ([]byte, []int)

Deprecated: Use UserExt_Session.ProtoReflect.Descriptor instead.

func (*UserExt_Session) GetDuration

func (x *UserExt_Session) GetDuration() int32

func (*UserExt_Session) ProtoMessage

func (*UserExt_Session) ProtoMessage()

func (*UserExt_Session) ProtoReflect

func (x *UserExt_Session) ProtoReflect() protoreflect.Message

func (*UserExt_Session) Reset

func (x *UserExt_Session) Reset()

func (*UserExt_Session) String

func (x *UserExt_Session) String() string

type VideoExt

type VideoExt struct {

	// Video placement type inferred by Google for this impression. This field
	// is always filled and can be different from  BidRequest.imp.video.plcmt (the
	// publisher-declared placement type).
	Inferredplcmt *Plcmt `protobuf:"varint,3,opt,name=inferredplcmt,enum=com.google.openrtb.Plcmt,def=0" json:"inferredplcmt,omitempty"`
	// If true, the video is embedded on a page outside the publisher's domain.
	// When this is set, BidRequest.{app/site}.content.producer.domain points to
	// the domain of the content producer, and the BidRequest.{app/site}.page
	// field is the page in which the video is embedded.
	Embeddedoffsite *bool `protobuf:"varint,4,opt,name=embeddedoffsite" json:"embeddedoffsite,omitempty"`
	// contains filtered or unexported fields
}

func (*VideoExt) Descriptor deprecated

func (*VideoExt) Descriptor() ([]byte, []int)

Deprecated: Use VideoExt.ProtoReflect.Descriptor instead.

func (*VideoExt) GetEmbeddedoffsite

func (x *VideoExt) GetEmbeddedoffsite() bool

func (*VideoExt) GetInferredplcmt

func (x *VideoExt) GetInferredplcmt() Plcmt

func (*VideoExt) ProtoMessage

func (*VideoExt) ProtoMessage()

func (*VideoExt) ProtoReflect

func (x *VideoExt) ProtoReflect() protoreflect.Message

func (*VideoExt) Reset

func (x *VideoExt) Reset()

func (*VideoExt) String

func (x *VideoExt) String() string

type VideoLinearity

type VideoLinearity int32

OpenRTB 2.0: The following table indicates the options for video linearity. "In-stream" or "linear" video refers to pre-roll, post-roll, or mid-roll video ads where the user is forced to watch ad in order to see the video content. "Overlay" or "non-linear" refer to ads that are shown on top of the video content.

This field is optional. The following is the interpretation of the bidder based upon presence or absence of the field in the bid request:

  • If no value is set, any ad (linear or not) can be present in the response.
  • If a value is set, only ads of the corresponding type can be present in the response.

This OpenRTB table has values derived from the IAB Quality Assurance Guidelines (QAG). Practitioners should keep in sync with updates to the QAG values as published on IAB.net.

const (
	// Linear/In-stream
	VideoLinearity_LINEAR VideoLinearity = 1
	// Non-linear/Overlay
	VideoLinearity_NON_LINEAR VideoLinearity = 2
)

func (VideoLinearity) Descriptor

func (VideoLinearity) Enum

func (x VideoLinearity) Enum() *VideoLinearity

func (VideoLinearity) EnumDescriptor deprecated

func (VideoLinearity) EnumDescriptor() ([]byte, []int)

Deprecated: Use VideoLinearity.Descriptor instead.

func (VideoLinearity) Number

func (VideoLinearity) String

func (x VideoLinearity) String() string

func (VideoLinearity) Type

func (*VideoLinearity) UnmarshalJSON deprecated

func (x *VideoLinearity) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type VideoPlacementType

type VideoPlacementType int32

OpenRTB 2.5: The following table lists the various types of video placements derived largely from the IAB Digital Video Guidelines.

const (
	// The video placement is not defined.
	// Default value.
	VideoPlacementType_UNDEFINED_VIDEO_PLACEMENT VideoPlacementType = 0
	// Played before, during or after the streaming video content
	// that the consumer has requested.
	// For example: Pre-roll, Mid-roll, Post-roll.
	VideoPlacementType_IN_STREAM_PLACEMENT VideoPlacementType = 1
	// Exists within a web banner that leverages the banner space
	// to deliver a video experience as opposed to another static
	// or rich media format.
	// The format relies on the existence of display ad inventory
	// on the page for its delivery.
	VideoPlacementType_IN_BANNER_PLACEMENT VideoPlacementType = 2
	// Loads and plays dynamically between paragraphs of editorial content;
	// existing as a standalone branded message.
	VideoPlacementType_IN_ARTICLE_PLACEMENT VideoPlacementType = 3
	// In-Feed - Found in content, social, or product feeds.
	VideoPlacementType_IN_FEED_PLACEMENT VideoPlacementType = 4
	// Interstitial/Slider/Floating.
	// Covers the entire or a portion of screen area,
	// but is always on screen while displayed
	// (for example, cannot be scrolled out of view).
	// Note that a full-screen interstitial (for example, in mobile)
	// can be distinguished from a floating/slider unit by the imp.instl field.
	VideoPlacementType_FLOATING_PLACEMENT VideoPlacementType = 5
)

func (VideoPlacementType) Descriptor

func (VideoPlacementType) Enum

func (VideoPlacementType) EnumDescriptor deprecated

func (VideoPlacementType) EnumDescriptor() ([]byte, []int)

Deprecated: Use VideoPlacementType.Descriptor instead.

func (VideoPlacementType) Number

func (VideoPlacementType) String

func (x VideoPlacementType) String() string

func (VideoPlacementType) Type

func (*VideoPlacementType) UnmarshalJSON deprecated

func (x *VideoPlacementType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type VolumeNormalizationMode

type VolumeNormalizationMode int32

OpenRTB 2.4: The following table lists the types of volume normalization modes, typically for audio.

const (
	VolumeNormalizationMode_NONE           VolumeNormalizationMode = 0
	VolumeNormalizationMode_AVERAGE_VOLUME VolumeNormalizationMode = 1
	VolumeNormalizationMode_PEAK_VOLUME    VolumeNormalizationMode = 2
	VolumeNormalizationMode_LOUDNESS       VolumeNormalizationMode = 3
	VolumeNormalizationMode_CUSTOM_VOLUME  VolumeNormalizationMode = 4
)

func (VolumeNormalizationMode) Descriptor

func (VolumeNormalizationMode) Enum

func (VolumeNormalizationMode) EnumDescriptor deprecated

func (VolumeNormalizationMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use VolumeNormalizationMode.Descriptor instead.

func (VolumeNormalizationMode) Number

func (VolumeNormalizationMode) String

func (x VolumeNormalizationMode) String() string

func (VolumeNormalizationMode) Type

func (*VolumeNormalizationMode) UnmarshalJSON deprecated

func (x *VolumeNormalizationMode) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL