networkbid

package module
v0.0.0-...-c236be8 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Default_BidRequest_ProductionQuality      = BidRequest_QUALITY_UNKNOWN
	Default_BidRequest_ContentRating          = BidRequest_RATING_UNKNOWN
	Default_BidRequest_AuctionType            = BidRequest_SECOND_PRICE
	Default_BidRequest_PublisherType          = BidRequest_UNKNOWN_PUBLISHER_TYPE
	Default_BidRequest_PageVisibility         = BidRequest_VISIBILITY_STATE_UNKNOWN
	Default_BidRequest_IsTest                 = bool(false)
	Default_BidRequest_IsPing                 = bool(false)
	Default_BidRequest_IsPredictedToBeIgnored = bool(false)
)

Default values for BidRequest fields.

View Source
const (
	Default_BidRequest_Device_DeviceType             = BidRequest_Device_UNKNOWN_DEVICE
	Default_BidRequest_Device_Platform               = string("")
	Default_BidRequest_Device_Brand                  = string("")
	Default_BidRequest_Device_Model                  = string("")
	Default_BidRequest_Device_CarrierId              = int64(0)
	Default_BidRequest_Device_ScreenWidth            = int32(0)
	Default_BidRequest_Device_ScreenHeight           = int32(0)
	Default_BidRequest_Device_ScreenPixelRatioMillis = int32(0)
	Default_BidRequest_Device_ScreenOrientation      = BidRequest_Device_UNKNOWN_ORIENTATION
	Default_BidRequest_Device_ConnectionType         = BidRequest_Device_CONNECTION_UNKNOWN
)

Default values for BidRequest_Device fields.

View Source
const (
	Default_BidRequest_Mobile_IsApp                 = bool(false)
	Default_BidRequest_Mobile_IsInterstitialRequest = bool(false)
	Default_BidRequest_Mobile_IsMobileWebOptimized  = bool(false)
	Default_BidRequest_Mobile_IsAppOpenAd           = bool(false)
)

Default values for BidRequest_Mobile fields.

View Source
const (
	Default_BidRequest_Video_Placement             = BidRequest_Video_UNKNOWN_PLACEMENT
	Default_BidRequest_Video_Plcmt                 = BidRequest_Video_PLCMT_UNKNOWN
	Default_BidRequest_Video_InferredPlcmt         = BidRequest_Video_PLCMT_UNKNOWN
	Default_BidRequest_Video_IsEmbeddedOffsite     = bool(false)
	Default_BidRequest_Video_PlaybackMethod        = BidRequest_Video_METHOD_UNKNOWN
	Default_BidRequest_Video_VideoAdSkippable      = BidRequest_Video_ALLOW_SKIPPABLE
	Default_BidRequest_Video_EndCapSupport         = BidRequest_Video_END_CAP_NOT_ENABLED
	Default_BidRequest_Video_IsLivestream          = bool(false)
	Default_BidRequest_Video_PlaybackCessationMode = BidRequest_Video_PLAYBACK_CESSATION_MODE_UNKNOWN
	Default_BidRequest_Video_FeedType              = BidRequest_Video_FEED_TYPE_UNKNOWN
)

Default values for BidRequest_Video fields.

View Source
const (
	Default_BidRequest_AdSlot_SlotVisibility              = BidRequest_AdSlot_NO_DETECTION
	Default_BidRequest_AdSlot_Viewability                 = int32(-1)
	Default_BidRequest_AdSlot_ClickThroughRate            = float32(-1)
	Default_BidRequest_AdSlot_VideoCompletionRate         = float32(-1)
	Default_BidRequest_AdSlot_IframingState               = BidRequest_AdSlot_UNKNOWN_IFRAME_STATE
	Default_BidRequest_AdSlot_IframingDepth               = BidRequest_AdSlot_UNKNOWN_IFRAME_DEPTH
	Default_BidRequest_AdSlot_NativePlacementType         = BidRequest_AdSlot_PLACEMENT_UNKNOWN
	Default_BidRequest_AdSlot_MediationStatus             = BidRequest_AdSlot_UNKNOWN
	Default_BidRequest_AdSlot_NonBrowserSlotSource        = BidRequest_AdSlot_UNDECLARED_SOURCE
	Default_BidRequest_AdSlot_Renderer                    = BidRequest_AdSlot_UNKNOWN_RENDERER
	Default_BidRequest_AdSlot_AmpAdRequestType            = BidRequest_AdSlot_NON_AMP_PAGE
	Default_BidRequest_AdSlot_IsRewarded                  = bool(false)
	Default_BidRequest_AdSlot_SessionDepth                = int32(-1)
	Default_BidRequest_AdSlot_BillableEventRateAdjustment = float64(1)
	Default_BidRequest_AdSlot_AuctionEnvironment          = BidRequest_AdSlot_SERVER_SIDE_AUCTION
	Default_BidRequest_AdSlot_SupportedAuctionEnvironment = BidRequest_AdSlot_SERVER_SIDE_AUCTION
)

Default values for BidRequest_AdSlot fields.

View Source
const (
	Default_BidRequest_Device_OsVersion_Major = int32(-1)
	Default_BidRequest_Device_OsVersion_Minor = int32(-1)
	Default_BidRequest_Device_OsVersion_Micro = int32(-1)
)

Default values for BidRequest_Device_OsVersion fields.

View Source
const (
	Default_BidRequest_Mobile_InstalledSdk_Version_Major = int32(-1)
	Default_BidRequest_Mobile_InstalledSdk_Version_Minor = int32(-1)
	Default_BidRequest_Mobile_InstalledSdk_Version_Micro = int32(-1)
)

Default values for BidRequest_Mobile_InstalledSdk_Version fields.

View Source
const (
	Default_BidRequest_AdSlot_StickySettings_VerticalStickiness         = BidRequest_AdSlot_StickySettings_UNKNOWN_STICKINESS
	Default_BidRequest_AdSlot_StickySettings_TopHorizontalStickiness    = BidRequest_AdSlot_StickySettings_UNKNOWN_STICKINESS
	Default_BidRequest_AdSlot_StickySettings_BottomHorizontalStickiness = BidRequest_AdSlot_StickySettings_UNKNOWN_STICKINESS
)

Default values for BidRequest_AdSlot_StickySettings fields.

View Source
const (
	Default_BidRequest_AdSlot_BillableEventRateBidAdjustment_BidAdjustment = float32(1)
	Default_BidRequest_AdSlot_BillableEventRateBidAdjustment_CreativeType  = BidRequest_AdSlot_BillableEventRateBidAdjustment_CREATIVE_TYPE_UNKNOWN
)

Default values for BidRequest_AdSlot_BillableEventRateBidAdjustment fields.

View Source
const (
	Default_BidRequest_AdSlot_MatchingAdData_DirectDeal_DealType                  = BidRequest_AdSlot_MatchingAdData_DirectDeal_UNKNOWN_DEAL_TYPE
	Default_BidRequest_AdSlot_MatchingAdData_DirectDeal_PublisherBlocksOverridden = bool(false)
	Default_BidRequest_AdSlot_MatchingAdData_DirectDeal_CreativeSource            = BidRequest_AdSlot_MatchingAdData_DirectDeal_CREATIVE_SOURCE_ADVERTISER
	Default_BidRequest_AdSlot_MatchingAdData_DirectDeal_MustBid                   = bool(true)
)

Default values for BidRequest_AdSlot_MatchingAdData_DirectDeal fields.

View Source
const (
	Default_BidResponse_Ad_AdSlot_DealId           = int64(0)
	Default_BidResponse_Ad_AdSlot_ExchangeDealType = BidResponse_Ad_AdSlot_OPEN_AUCTION
)

Default values for BidResponse_Ad_AdSlot fields.

View Source
const (
	Default_BidRequest_AdSlot_AutoRefresh_AutoRefreshSettings_RefreshType = BidRequest_AdSlot_AutoRefresh_AutoRefreshSettings_UNKNOWN_AUTO_REFRESH_TYPE
)

Default values for BidRequest_AdSlot_AutoRefresh_AutoRefreshSettings fields.

View Source
const (
	Default_BidRequest_AdSlot_AutoRefresh_RefreshCount = int32(0)
)

Default values for BidRequest_AdSlot_AutoRefresh fields.

View Source
const (
	Default_BidRequest_AdSlot_MatchingAdData_DirectDeal_CreativeConstraints_VideoAdSkippable = BidRequest_Video_ALLOW_SKIPPABLE
)

Default values for BidRequest_AdSlot_MatchingAdData_DirectDeal_CreativeConstraints fields.

View Source
const (
	Default_BidRequest_AdSlot_NativeAdTemplate_StyleLayoutType = BidRequest_AdSlot_NativeAdTemplate_PIXEL
)

Default values for BidRequest_AdSlot_NativeAdTemplate fields.

View Source
const (
	Default_BidRequest_BidResponseFeedback_BillableEventRateBidAdjustment = float32(1)
)

Default values for BidRequest_BidResponseFeedback fields.

View Source
const (
	Default_BidResponse_Ad_AdSlot_FrequencyCap_TimeRange = int32(1)
)

Default values for BidResponse_Ad_AdSlot_FrequencyCap fields.

View Source
const (
	Default_BidResponse_Ad_SKAdNetworkResponse_Fidelity_FidelityType = SKAdNetworkFidelityType_STOREKIT_RENDERED_ADS
)

Default values for BidResponse_Ad_SKAdNetworkResponse_Fidelity fields.

View Source
const (
	Default_BidResponse_Ad_SKAdNetworkResponse_SKAdNetworkOptions_AlwaysOpenAppstore = bool(false)
)

Default values for BidResponse_Ad_SKAdNetworkResponse_SKAdNetworkOptions fields.

View Source
const (
	Default_BidResponse_Ad_SKAdNetworkResponse_SKOverlay_Dismissible = bool(true)
)

Default values for BidResponse_Ad_SKAdNetworkResponse_SKOverlay 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 (
	BidRequest_UserDataTreatment_name = map[int32]string{
		0: "TAG_FOR_CHILD_DIRECTED_TREATMENT",
	}
	BidRequest_UserDataTreatment_value = map[string]int32{
		"TAG_FOR_CHILD_DIRECTED_TREATMENT": 0,
	}
)

Enum value maps for BidRequest_UserDataTreatment.

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

Enum value maps for BidRequest_ProductionQuality.

View Source
var (
	BidRequest_ContentRating_name = map[int32]string{
		0: "RATING_UNKNOWN",
		1: "GENERAL_AUDIENCES",
		2: "PARENTAL_GUIDANCE",
		3: "TEEN",
		4: "MATURE_AUDIENCES",
	}
	BidRequest_ContentRating_value = map[string]int32{
		"RATING_UNKNOWN":    0,
		"GENERAL_AUDIENCES": 1,
		"PARENTAL_GUIDANCE": 2,
		"TEEN":              3,
		"MATURE_AUDIENCES":  4,
	}
)

Enum value maps for BidRequest_ContentRating.

View Source
var (
	BidRequest_AuctionType_name = map[int32]string{
		0: "UNKNOWN_AUCTION_TYPE",
		1: "FIRST_PRICE",
		2: "SECOND_PRICE",
		3: "FIXED_PRICE",
	}
	BidRequest_AuctionType_value = map[string]int32{
		"UNKNOWN_AUCTION_TYPE": 0,
		"FIRST_PRICE":          1,
		"SECOND_PRICE":         2,
		"FIXED_PRICE":          3,
	}
)

Enum value maps for BidRequest_AuctionType.

View Source
var (
	BidRequest_PublisherType_name = map[int32]string{
		0: "UNKNOWN_PUBLISHER_TYPE",
		1: "PUBLISHER_OWNED_AND_OPERATED",
		2: "PUBLISHER_REPRESENTED",
	}
	BidRequest_PublisherType_value = map[string]int32{
		"UNKNOWN_PUBLISHER_TYPE":       0,
		"PUBLISHER_OWNED_AND_OPERATED": 1,
		"PUBLISHER_REPRESENTED":        2,
	}
)

Enum value maps for BidRequest_PublisherType.

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

Enum value maps for BidRequest_VisibilityState.

View Source
var (
	BidRequest_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",
	}
	BidRequest_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 BidRequest_NavigationType.

View Source
var (
	BidRequest_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",
	}
	BidRequest_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 BidRequest_FrequencyCappingScope.

View Source
var (
	BidRequest_PublisherFirstPartyId_IdType_name = map[int32]string{
		0: "UNKNOWN",
		1: "SITE_SCOPED_COOKIE",
	}
	BidRequest_PublisherFirstPartyId_IdType_value = map[string]int32{
		"UNKNOWN":            0,
		"SITE_SCOPED_COOKIE": 1,
	}
)

Enum value maps for BidRequest_PublisherFirstPartyId_IdType.

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

Enum value maps for BidRequest_PrivacyTreatments_IpGeneralization.

View Source
var (
	BidRequest_PrivacyTreatments_UserAgentGeneralization_name = map[int32]string{
		0: "USER_AGENT_FULL",
		1: "USER_AGENT_COARSENED",
	}
	BidRequest_PrivacyTreatments_UserAgentGeneralization_value = map[string]int32{
		"USER_AGENT_FULL":      0,
		"USER_AGENT_COARSENED": 1,
	}
)

Enum value maps for BidRequest_PrivacyTreatments_UserAgentGeneralization.

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

Enum value maps for BidRequest_PrivacyTreatments_NonPersonalizedAdsReason.

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

Enum value maps for BidRequest_PrivacyTreatments_DeviceStorageRestrictionReason.

View Source
var (
	BidRequest_SegmentData_TaxonomyType_name = map[int32]string{
		0: "TAXONOMY_TYPE_UNKNOWN",
		4: "IAB_AUDIENCE_1_1",
		6: "IAB_CONTENT_2_2",
		7: "IAB_CONTENT_3_0",
	}
	BidRequest_SegmentData_TaxonomyType_value = map[string]int32{
		"TAXONOMY_TYPE_UNKNOWN": 0,
		"IAB_AUDIENCE_1_1":      4,
		"IAB_CONTENT_2_2":       6,
		"IAB_CONTENT_3_0":       7,
	}
)

Enum value maps for BidRequest_SegmentData_TaxonomyType.

View Source
var (
	BidRequest_UserAgent_Source_name = map[int32]string{
		0: "UNKNOWN_SOURCE",
		1: "CLIENT_HINTS_LOW_ENTROPY",
		2: "CLIENT_HINTS_HIGH_ENTROPY",
		3: "USER_AGENT_STRING",
	}
	BidRequest_UserAgent_Source_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 BidRequest_UserAgent_Source.

View Source
var (
	BidRequest_Device_DeviceType_name = map[int32]string{
		0: "UNKNOWN_DEVICE",
		1: "HIGHEND_PHONE",
		2: "TABLET",
		3: "PERSONAL_COMPUTER",
		4: "CONNECTED_TV",
		5: "GAME_CONSOLE",
		6: "SET_TOP_BOX",
	}
	BidRequest_Device_DeviceType_value = map[string]int32{
		"UNKNOWN_DEVICE":    0,
		"HIGHEND_PHONE":     1,
		"TABLET":            2,
		"PERSONAL_COMPUTER": 3,
		"CONNECTED_TV":      4,
		"GAME_CONSOLE":      5,
		"SET_TOP_BOX":       6,
	}
)

Enum value maps for BidRequest_Device_DeviceType.

View Source
var (
	BidRequest_Device_ScreenOrientation_name = map[int32]string{
		0: "UNKNOWN_ORIENTATION",
		1: "PORTRAIT",
		2: "LANDSCAPE",
	}
	BidRequest_Device_ScreenOrientation_value = map[string]int32{
		"UNKNOWN_ORIENTATION": 0,
		"PORTRAIT":            1,
		"LANDSCAPE":           2,
	}
)

Enum value maps for BidRequest_Device_ScreenOrientation.

View Source
var (
	BidRequest_Device_AuthorizationStatus_name = map[int32]string{
		0: "NOT_DETERMINED",
		1: "RESTRICTED",
		2: "DENIED",
		3: "AUTHORIZED",
	}
	BidRequest_Device_AuthorizationStatus_value = map[string]int32{
		"NOT_DETERMINED": 0,
		"RESTRICTED":     1,
		"DENIED":         2,
		"AUTHORIZED":     3,
	}
)

Enum value maps for BidRequest_Device_AuthorizationStatus.

View Source
var (
	BidRequest_Device_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",
	}
	BidRequest_Device_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 BidRequest_Device_ConnectionType.

View Source
var (
	BidRequest_Video_Placement_name = map[int32]string{
		0: "UNKNOWN_PLACEMENT",
		1: "INSTREAM",
		2: "INTERSTITIAL",
		3: "IN_FEED",
		4: "AUDIO",
		5: "IN_ARTICLE",
	}
	BidRequest_Video_Placement_value = map[string]int32{
		"UNKNOWN_PLACEMENT": 0,
		"INSTREAM":          1,
		"INTERSTITIAL":      2,
		"IN_FEED":           3,
		"AUDIO":             4,
		"IN_ARTICLE":        5,
	}
)

Enum value maps for BidRequest_Video_Placement.

View Source
var (
	BidRequest_Video_Plcmt_name = map[int32]string{
		0: "PLCMT_UNKNOWN",
		1: "PLCMT_INSTREAM",
		2: "PLCMT_ACCOMPANYING_CONTENT",
		3: "PLCMT_INTERSTITIAL",
		4: "PLCMT_NO_CONTENT_STANDALONE",
	}
	BidRequest_Video_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 BidRequest_Video_Plcmt.

View Source
var (
	BidRequest_Video_VideoPlaybackMethod_name = map[int32]string{
		0: "METHOD_UNKNOWN",
		1: "AUTO_PLAY_SOUND_ON",
		2: "AUTO_PLAY_SOUND_OFF",
		3: "CLICK_TO_PLAY",
		4: "MOUSE_OVER",
		5: "INITIATE_ON_ENTERING_VIEWPORT_SOUND_ON",
		6: "INITIATE_ON_ENTERING_VIEWPORT_SOUND_OFF",
	}
	BidRequest_Video_VideoPlaybackMethod_value = map[string]int32{
		"METHOD_UNKNOWN":                          0,
		"AUTO_PLAY_SOUND_ON":                      1,
		"AUTO_PLAY_SOUND_OFF":                     2,
		"CLICK_TO_PLAY":                           3,
		"MOUSE_OVER":                              4,
		"INITIATE_ON_ENTERING_VIEWPORT_SOUND_ON":  5,
		"INITIATE_ON_ENTERING_VIEWPORT_SOUND_OFF": 6,
	}
)

Enum value maps for BidRequest_Video_VideoPlaybackMethod.

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

Enum value maps for BidRequest_Video_SkippableBidRequestType.

View Source
var (
	BidRequest_Video_VideoProtocol_name = map[int32]string{
		0:  "UNKNOWN_VIDEO_PROTOCOL",
		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",
	}
	BidRequest_Video_VideoProtocol_value = map[string]int32{
		"UNKNOWN_VIDEO_PROTOCOL": 0,
		"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,
	}
)

Enum value maps for BidRequest_Video_VideoProtocol.

View Source
var (
	BidRequest_Video_VideoFormat_name = map[int32]string{
		-1: "UNKNOWN_VIDEO_FORMAT",
		0:  "VIDEO_FLV",
		1:  "VIDEO_MP4",
		2:  "YT_HOSTED",
		3:  "VPAID_FLASH",
		4:  "VPAID_JS",
		5:  "AUDIO_MP3",
		6:  "AUDIO_OGG",
		7:  "AUDIO_MP3_OGG",
		8:  "VIDEO_WEBM",
		9:  "VIDEO_MOV",
		10: "VIDEO_3GPP",
		11: "VIDEO_HLS",
		12: "VIDEO_DASH",
		13: "AUDIO_MP4A",
	}
	BidRequest_Video_VideoFormat_value = map[string]int32{
		"UNKNOWN_VIDEO_FORMAT": -1,
		"VIDEO_FLV":            0,
		"VIDEO_MP4":            1,
		"YT_HOSTED":            2,
		"VPAID_FLASH":          3,
		"VPAID_JS":             4,
		"AUDIO_MP3":            5,
		"AUDIO_OGG":            6,
		"AUDIO_MP3_OGG":        7,
		"VIDEO_WEBM":           8,
		"VIDEO_MOV":            9,
		"VIDEO_3GPP":           10,
		"VIDEO_HLS":            11,
		"VIDEO_DASH":           12,
		"AUDIO_MP4A":           13,
	}
)

Enum value maps for BidRequest_Video_VideoFormat.

View Source
var (
	BidRequest_Video_EndCapSupport_name = map[int32]string{
		0: "END_CAP_NOT_ENABLED",
		1: "END_CAP_OPTIONAL",
		2: "END_CAP_FORBIDDEN",
		3: "END_CAP_REQUIRED",
	}
	BidRequest_Video_EndCapSupport_value = map[string]int32{
		"END_CAP_NOT_ENABLED": 0,
		"END_CAP_OPTIONAL":    1,
		"END_CAP_FORBIDDEN":   2,
		"END_CAP_REQUIRED":    3,
	}
)

Enum value maps for BidRequest_Video_EndCapSupport.

View Source
var (
	BidRequest_Video_PlaybackCessationMode_name = map[int32]string{
		0: "PLAYBACK_CESSATION_MODE_UNKNOWN",
		1: "COMPLETION_OR_USER",
		2: "LEAVING_OR_USER",
		3: "LEAVING_CONTINUES_OR_USER",
	}
	BidRequest_Video_PlaybackCessationMode_value = map[string]int32{
		"PLAYBACK_CESSATION_MODE_UNKNOWN": 0,
		"COMPLETION_OR_USER":              1,
		"LEAVING_OR_USER":                 2,
		"LEAVING_CONTINUES_OR_USER":       3,
	}
)

Enum value maps for BidRequest_Video_PlaybackCessationMode.

View Source
var (
	BidRequest_Video_FeedType_name = map[int32]string{
		0: "FEED_TYPE_UNKNOWN",
		1: "MUSIC_SERVICE",
		2: "FM_AM_BROADCAST",
		3: "PODCAST",
	}
	BidRequest_Video_FeedType_value = map[string]int32{
		"FEED_TYPE_UNKNOWN": 0,
		"MUSIC_SERVICE":     1,
		"FM_AM_BROADCAST":   2,
		"PODCAST":           3,
	}
)

Enum value maps for BidRequest_Video_FeedType.

View Source
var (
	BidRequest_Video_ContentDeliveryMethod_name = map[int32]string{
		0: "CONTENT_DELIVERY_METHOD_UNKNOWN",
		1: "STREAMING",
		2: "PROGRESSIVE",
		3: "DOWNLOAD",
	}
	BidRequest_Video_ContentDeliveryMethod_value = map[string]int32{
		"CONTENT_DELIVERY_METHOD_UNKNOWN": 0,
		"STREAMING":                       1,
		"PROGRESSIVE":                     2,
		"DOWNLOAD":                        3,
	}
)

Enum value maps for BidRequest_Video_ContentDeliveryMethod.

View Source
var (
	BidRequest_Video_CompanionSlot_CreativeFormat_name = map[int32]string{
		-1: "UNKNOWN_CREATIVE_FORMAT",
		0:  "IMAGE_CREATIVE",
		1:  "FLASH_CREATIVE",
		2:  "HTML_CREATIVE",
	}
	BidRequest_Video_CompanionSlot_CreativeFormat_value = map[string]int32{
		"UNKNOWN_CREATIVE_FORMAT": -1,
		"IMAGE_CREATIVE":          0,
		"FLASH_CREATIVE":          1,
		"HTML_CREATIVE":           2,
	}
)

Enum value maps for BidRequest_Video_CompanionSlot_CreativeFormat.

View Source
var (
	BidRequest_AdSlot_SlotVisibility_name = map[int32]string{
		0: "NO_DETECTION",
		1: "ABOVE_THE_FOLD",
		2: "BELOW_THE_FOLD",
	}
	BidRequest_AdSlot_SlotVisibility_value = map[string]int32{
		"NO_DETECTION":   0,
		"ABOVE_THE_FOLD": 1,
		"BELOW_THE_FOLD": 2,
	}
)

Enum value maps for BidRequest_AdSlot_SlotVisibility.

View Source
var (
	BidRequest_AdSlot_IFramingState_name = map[int32]string{
		0: "UNKNOWN_IFRAME_STATE",
		1: "NO_IFRAME",
		2: "SAME_DOMAIN_IFRAME",
		3: "CROSS_DOMAIN_IFRAME",
	}
	BidRequest_AdSlot_IFramingState_value = map[string]int32{
		"UNKNOWN_IFRAME_STATE": 0,
		"NO_IFRAME":            1,
		"SAME_DOMAIN_IFRAME":   2,
		"CROSS_DOMAIN_IFRAME":  3,
	}
)

Enum value maps for BidRequest_AdSlot_IFramingState.

View Source
var (
	BidRequest_AdSlot_IFramingDepth_name = map[int32]string{
		0: "UNKNOWN_IFRAME_DEPTH",
		1: "NOT_IN_IFRAME",
		2: "ONE_IFRAME",
		3: "MULTIPLE_IFRAME",
	}
	BidRequest_AdSlot_IFramingDepth_value = map[string]int32{
		"UNKNOWN_IFRAME_DEPTH": 0,
		"NOT_IN_IFRAME":        1,
		"ONE_IFRAME":           2,
		"MULTIPLE_IFRAME":      3,
	}
)

Enum value maps for BidRequest_AdSlot_IFramingDepth.

View Source
var (
	BidRequest_AdSlot_NativePlacementType_name = map[int32]string{
		0: "PLACEMENT_UNKNOWN",
		1: "PLACEMENT_IN_FEED",
		2: "PLACEMENT_ATOMIC_UNIT",
		3: "PLACEMENT_OUTSIDE",
		4: "PLACEMENT_RECOMMENDATION",
	}
	BidRequest_AdSlot_NativePlacementType_value = map[string]int32{
		"PLACEMENT_UNKNOWN":        0,
		"PLACEMENT_IN_FEED":        1,
		"PLACEMENT_ATOMIC_UNIT":    2,
		"PLACEMENT_OUTSIDE":        3,
		"PLACEMENT_RECOMMENDATION": 4,
	}
)

Enum value maps for BidRequest_AdSlot_NativePlacementType.

View Source
var (
	BidRequest_AdSlot_MediationStatus_name = map[int32]string{
		0: "UNKNOWN",
		1: "DIRECT_REQUEST",
	}
	BidRequest_AdSlot_MediationStatus_value = map[string]int32{
		"UNKNOWN":        0,
		"DIRECT_REQUEST": 1,
	}
)

Enum value maps for BidRequest_AdSlot_MediationStatus.

View Source
var (
	BidRequest_AdSlot_NonBrowserSource_name = map[int32]string{
		0: "UNDECLARED_SOURCE",
		1: "DESKTOP_APP",
	}
	BidRequest_AdSlot_NonBrowserSource_value = map[string]int32{
		"UNDECLARED_SOURCE": 0,
		"DESKTOP_APP":       1,
	}
)

Enum value maps for BidRequest_AdSlot_NonBrowserSource.

View Source
var (
	BidRequest_AdSlot_Renderer_name = map[int32]string{
		0: "UNKNOWN_RENDERER",
		1: "GOOGLE",
		2: "PUBLISHER",
	}
	BidRequest_AdSlot_Renderer_value = map[string]int32{
		"UNKNOWN_RENDERER": 0,
		"GOOGLE":           1,
		"PUBLISHER":        2,
	}
)

Enum value maps for BidRequest_AdSlot_Renderer.

View Source
var (
	BidRequest_AdSlot_AmpAdRequestType_name = map[int32]string{
		0: "UNKNOWN_AMP",
		1: "NON_AMP_PAGE",
		2: "AMP_PAGE_LATE_REQUEST",
	}
	BidRequest_AdSlot_AmpAdRequestType_value = map[string]int32{
		"UNKNOWN_AMP":           0,
		"NON_AMP_PAGE":          1,
		"AMP_PAGE_LATE_REQUEST": 2,
	}
)

Enum value maps for BidRequest_AdSlot_AmpAdRequestType.

View Source
var (
	BidRequest_AdSlot_AmpPage_name = map[int32]string{
		0: "UNKNOWN_AMP_PAGE",
		1: "DIALECT_HTML",
		2: "DIALECT_HTML_AMP",
	}
	BidRequest_AdSlot_AmpPage_value = map[string]int32{
		"UNKNOWN_AMP_PAGE": 0,
		"DIALECT_HTML":     1,
		"DIALECT_HTML_AMP": 2,
	}
)

Enum value maps for BidRequest_AdSlot_AmpPage.

View Source
var (
	BidRequest_AdSlot_AmpAdRequirementType_name = map[int32]string{
		0: "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",
	}
	BidRequest_AdSlot_AmpAdRequirementType_value = map[string]int32{
		"UNKNOWN_AMP_AD_REQUIREMENT_TYPE":       0,
		"AMP_AD_NOT_ALLOWED":                    1,
		"AMP_AD_ALLOWED_AND_NOT_EARLY_RENDERED": 2,
		"AMP_AD_ALLOWED_AND_EARLY_RENDERED":     3,
		"AMP_AD_REQUIRED":                       4,
	}
)

Enum value maps for BidRequest_AdSlot_AmpAdRequirementType.

View Source
var (
	BidRequest_AdSlot_AllowedAdType_name = map[int32]string{
		-1: "UNKNOWN_ALLOWED_AD_TYPE",
		0:  "ALLOWED_AD_TYPE_BANNER",
		1:  "ALLOWED_AD_TYPE_NATIVE",
		2:  "ALLOWED_AD_TYPE_VIDEO",
		3:  "ALLOWED_AD_TYPE_AUDIO",
	}
	BidRequest_AdSlot_AllowedAdType_value = map[string]int32{
		"UNKNOWN_ALLOWED_AD_TYPE": -1,
		"ALLOWED_AD_TYPE_BANNER":  0,
		"ALLOWED_AD_TYPE_NATIVE":  1,
		"ALLOWED_AD_TYPE_VIDEO":   2,
		"ALLOWED_AD_TYPE_AUDIO":   3,
	}
)

Enum value maps for BidRequest_AdSlot_AllowedAdType.

View Source
var (
	BidRequest_AdSlot_APIFramework_name = map[int32]string{
		0: "UNKNOWN_FRAMEWORK",
		3: "MRAID_1",
		5: "MRAID_2",
		6: "MRAID_3",
		7: "OMID_1",
	}
	BidRequest_AdSlot_APIFramework_value = map[string]int32{
		"UNKNOWN_FRAMEWORK": 0,
		"MRAID_1":           3,
		"MRAID_2":           5,
		"MRAID_3":           6,
		"OMID_1":            7,
	}
)

Enum value maps for BidRequest_AdSlot_APIFramework.

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

Enum value maps for BidRequest_AdSlot_AuctionEnvironment.

View Source
var (
	BidRequest_AdSlot_MatchingAdData_DirectDeal_DealType_name = map[int32]string{
		0: "UNKNOWN_DEAL_TYPE",
		1: "PREFERRED_DEAL",
		2: "PRIVATE_AUCTION",
		3: "PROGRAMMATIC_GUARANTEED",
		4: "AUCTION_PACKAGE",
		5: "MARKETPLACE_PACKAGE",
	}
	BidRequest_AdSlot_MatchingAdData_DirectDeal_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 BidRequest_AdSlot_MatchingAdData_DirectDeal_DealType.

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

Enum value maps for BidRequest_AdSlot_MatchingAdData_DirectDeal_CreativeSourceType.

View Source
var (
	BidRequest_AdSlot_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",
	}
	BidRequest_AdSlot_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 BidRequest_AdSlot_AdUnitMapping_FormatType.

View Source
var (
	BidRequest_AdSlot_CreativeEnforcementSettings_PolicyEnforcement_name = map[int32]string{
		0: "POLICY_ENFORCEMENT_UNKNOWN",
		1: "POLICY_ENFORCEMENT_PLATFORM_POLICY",
		2: "POLICY_ENFORCEMENT_NETWORK_AND_PLATFORM_POLICY",
	}
	BidRequest_AdSlot_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 BidRequest_AdSlot_CreativeEnforcementSettings_PolicyEnforcement.

View Source
var (
	BidRequest_AdSlot_CreativeEnforcementSettings_PublisherBlocksEnforcement_name = map[int32]string{
		0: "PUBLISHER_BLOCKS_ENFORCEMENT_UNKNOWN",
		1: "PUBLISHER_BLOCKS_ENFORCEMENT_APPLIES",
		2: "PUBLISHER_BLOCKS_ENFORCEMENT_OVERRIDDEN",
	}
	BidRequest_AdSlot_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 BidRequest_AdSlot_CreativeEnforcementSettings_PublisherBlocksEnforcement.

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

Enum value maps for BidRequest_AdSlot_NativeAdTemplate_LayoutType.

View Source
var (
	BidRequest_AdSlot_NativeAdTemplate_Fields_name = map[int32]string{
		0:    "NO_FIELDS",
		1:    "HEADLINE",
		2:    "BODY",
		4:    "CALL_TO_ACTION",
		8:    "ADVERTISER",
		16:   "IMAGE",
		32:   "LOGO",
		64:   "APP_ICON",
		128:  "STAR_RATING",
		256:  "PRICE",
		512:  "DEPRECATED_STORE",
		1024: "VIDEO",
	}
	BidRequest_AdSlot_NativeAdTemplate_Fields_value = map[string]int32{
		"NO_FIELDS":        0,
		"HEADLINE":         1,
		"BODY":             2,
		"CALL_TO_ACTION":   4,
		"ADVERTISER":       8,
		"IMAGE":            16,
		"LOGO":             32,
		"APP_ICON":         64,
		"STAR_RATING":      128,
		"PRICE":            256,
		"DEPRECATED_STORE": 512,
		"VIDEO":            1024,
	}
)

Enum value maps for BidRequest_AdSlot_NativeAdTemplate_Fields.

View Source
var (
	BidRequest_AdSlot_AutoRefresh_AutoRefreshSettings_AutoRefreshType_name = map[int32]string{
		0: "UNKNOWN_AUTO_REFRESH_TYPE",
		1: "USER_ACTION",
		2: "EVENT",
		3: "TIME",
	}
	BidRequest_AdSlot_AutoRefresh_AutoRefreshSettings_AutoRefreshType_value = map[string]int32{
		"UNKNOWN_AUTO_REFRESH_TYPE": 0,
		"USER_ACTION":               1,
		"EVENT":                     2,
		"TIME":                      3,
	}
)

Enum value maps for BidRequest_AdSlot_AutoRefresh_AutoRefreshSettings_AutoRefreshType.

View Source
var (
	BidRequest_AdSlot_StickySettings_Stickiness_name = map[int32]string{
		0: "UNKNOWN_STICKINESS",
		1: "IS_STICKY",
	}
	BidRequest_AdSlot_StickySettings_Stickiness_value = map[string]int32{
		"UNKNOWN_STICKINESS": 0,
		"IS_STICKY":          1,
	}
)

Enum value maps for BidRequest_AdSlot_StickySettings_Stickiness.

View Source
var (
	BidRequest_AdSlot_BillableEventRateBidAdjustment_CreativeType_name = map[int32]string{
		0: "CREATIVE_TYPE_UNKNOWN",
		1: "HTML_SNIPPET",
		2: "VIDEO_VAST",
		3: "NATIVE",
		4: "SDK_RENDERED",
	}
	BidRequest_AdSlot_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 BidRequest_AdSlot_BillableEventRateBidAdjustment_CreativeType.

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

Enum value maps for BidRequest_BidResponseFeedback_FeedbackType.

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

Enum value maps for BidRequest_Dsa_DsaSupport.

View Source
var (
	BidRequest_Dsa_PublisherRenderingSupport_name = map[int32]string{
		0: "PUBLISHER_RENDERING_SUPPORT_UNKNOWN",
		1: "PUBLISHER_UNABLE_TO_RENDER",
		2: "PUBLISHER_CAN_RENDER",
		3: "PUBLISHER_WILL_RENDER",
	}
	BidRequest_Dsa_PublisherRenderingSupport_value = map[string]int32{
		"PUBLISHER_RENDERING_SUPPORT_UNKNOWN": 0,
		"PUBLISHER_UNABLE_TO_RENDER":          1,
		"PUBLISHER_CAN_RENDER":                2,
		"PUBLISHER_WILL_RENDER":               3,
	}
)

Enum value maps for BidRequest_Dsa_PublisherRenderingSupport.

View Source
var (
	BidRequest_Dsa_DataToPublisher_name = map[int32]string{
		0: "DATA_TO_PUBLISHER_UNKNOWN",
		1: "DO_NOT_SEND",
		2: "OPTIONAL",
		3: "SEND",
	}
	BidRequest_Dsa_DataToPublisher_value = map[string]int32{
		"DATA_TO_PUBLISHER_UNKNOWN": 0,
		"DO_NOT_SEND":               1,
		"OPTIONAL":                  2,
		"SEND":                      3,
	}
)

Enum value maps for BidRequest_Dsa_DataToPublisher.

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

Enum value maps for BidResponse_Ad_AppPromotionType.

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

Enum value maps for BidResponse_Ad_AdSlot_ExchangeDealType.

View Source
var (
	BidResponse_Ad_AdSlot_PodPosition_name = map[int32]string{
		0: "POD_POSITION_ANY",
		1: "POD_POSITION_LAST",
		2: "POD_POSITION_FIRST",
		3: "POD_POSITION_FIRST_OR_LAST",
	}
	BidResponse_Ad_AdSlot_PodPosition_value = map[string]int32{
		"POD_POSITION_ANY":           0,
		"POD_POSITION_LAST":          1,
		"POD_POSITION_FIRST":         2,
		"POD_POSITION_FIRST_OR_LAST": 3,
	}
)

Enum value maps for BidResponse_Ad_AdSlot_PodPosition.

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

Enum value maps for BidResponse_Ad_AdSlot_FrequencyCap_TimeUnit.

View Source
var (
	BidResponse_Ad_ImpressionTrackingResource_Context_name = map[int32]string{
		0: "UNKNOWN_CONTEXT",
		1: "OMID",
	}
	BidResponse_Ad_ImpressionTrackingResource_Context_value = map[string]int32{
		"UNKNOWN_CONTEXT": 0,
		"OMID":            1,
	}
)

Enum value maps for BidResponse_Ad_ImpressionTrackingResource_Context.

View Source
var File_realtime_bidding_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BidRequest

type BidRequest struct {

	// Unique request id generated by Google. This is 16 bytes long.
	Id []byte `protobuf:"bytes,2,req,name=id" json:"id,omitempty"`
	// -----------------------------------------------------------
	// This section lists information that we know about the user.
	//
	// The first 3 bytes of the IP address in network byte order for IPv4, or the
	// first 6 bytes for IPv6. Note that the number and position of the bytes
	// included from IPv6 addresses may change later.
	Ip []byte `protobuf:"bytes,4,opt,name=ip" json:"ip,omitempty"`
	// Deprecated. This will be removed in March 2024.
	// When user_data_treatment is set, the user's cookie/id data is cleared from
	// the request and is not sent in callout.
	// The impacted fields are:
	//  * google_user_id
	//  * hosted_match_data
	//  * mobile.encrypted_advertising_id
	//  * mobile.encrypted_hashed_idfa
	//  * session_id
	//
	// Deprecated: Marked as deprecated in realtime-bidding.proto.
	UserDataTreatment []BidRequest_UserDataTreatment `` /* 165-byte string literal not displayed */
	// The Google ID for the user. This field is the unpadded web-safe base64
	// encoded version of a binary cookie id. See the "Base 64 Encoding with URL
	// and Filename Safe Alphabet" section in RFC 3548 for encoding details. This
	// field may be the same as the Google ID returned by the cookie matching
	// service. Not set if there is one or more user_data_treatment value.
	GoogleUserId *string `protobuf:"bytes,21,opt,name=google_user_id,json=googleUserId" json:"google_user_id,omitempty"`
	// The version number of the google_user_id. We may sometimes change the
	// mapping from cookie to google_user_id. In this case the version will be
	// incremented.
	CookieVersion *uint32 `protobuf:"varint,20,opt,name=cookie_version,json=cookieVersion" json:"cookie_version,omitempty"`
	// The time in seconds since the google_user_id was created.
	// This number may be quantized.
	CookieAgeSeconds *int32 `protobuf:"varint,31,opt,name=cookie_age_seconds,json=cookieAgeSeconds" json:"cookie_age_seconds,omitempty"`
	// Match data stored for this google_user_id through the cookie matching
	// service. If a match exists, then this field holds the decoded data that
	// was passed in the google_hm parameter.
	// Not set if there is one or more user_data_treatment value.
	HostedMatchData []byte `protobuf:"bytes,37,opt,name=hosted_match_data,json=hostedMatchData" json:"hosted_match_data,omitempty"`
	// 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.
	SessionId *string `protobuf:"bytes,65,opt,name=session_id,json=sessionId" json:"session_id,omitempty"`
	// A pseudonymized identifier created and controlled by the publisher for use
	// in frequency capping, audience segmentation and targeting, and sequential
	// ad rotation. See https://support.google.com/admanager/answer/2880055.
	PublisherProvidedId   *string                           `protobuf:"bytes,79,opt,name=publisher_provided_id,json=publisherProvidedId" json:"publisher_provided_id,omitempty"`
	PublisherFirstPartyId *BidRequest_PublisherFirstPartyId `protobuf:"bytes,85,opt,name=publisher_first_party_id,json=publisherFirstPartyId" json:"publisher_first_party_id,omitempty"`
	// A string that identifies the browser and type of device that sent the
	// request. Certain data may be redacted or replaced.
	UserAgent         *string                       `protobuf:"bytes,6,opt,name=user_agent,json=userAgent" json:"user_agent,omitempty"`
	PrivacyTreatments *BidRequest_PrivacyTreatments `protobuf:"bytes,71,opt,name=privacy_treatments,json=privacyTreatments" json:"privacy_treatments,omitempty"`
	// Data segments for Publisher Provided Signals:
	// https://support.google.com/admanager/answer/12451124
	SegmentData []*BidRequest_SegmentData `protobuf:"bytes,75,rep,name=segment_data,json=segmentData" json:"segment_data,omitempty"`
	// Structured user agent information. If both BidRequest.ua and
	// BidRequest.sua are present, BidRequest.sua should be considered the
	// more accurate representation of the device attributes. This is because
	// BidRequest.ua may contain a frozen or reduced user agent string.
	UserAgentData *BidRequest_UserAgent `protobuf:"bytes,63,opt,name=user_agent_data,json=userAgentData" json:"user_agent_data,omitempty"`
	// The billing address country of the publisher. This may be different from
	// the detected country of the user in geo_criteria_id or the hosting country
	// of the website. For a complete list of country codes, refer to
	// https://developers.google.com/google-ads/api/data/codes-formats#country_codes
	PublisherCountry *string `protobuf:"bytes,55,opt,name=publisher_country,json=publisherCountry" json:"publisher_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,73,opt,name=host_publisher_id,json=hostPublisherId" json:"host_publisher_id,omitempty"`
	// The domain of the partner (of the site/app owner) with ownership
	// of some portion of ad inventory on the site/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,72,opt,name=inventory_partner_domain,json=inventoryPartnerDomain" json:"inventory_partner_domain,omitempty"`
	// Location of the end user. Uses a subset of the codes used in the Google
	// Ads API. See the geo-table.csv table in the technical documentation for a
	// list of IDs. The geo_criteria_id field replaces the deprecated country,
	// region, city, and metro fields.
	// It is recommended that BidRequest.geo be used instead of this field.
	// See Geotargeting Guide:
	// https://developers.google.com/authorized-buyers/rtb/geotargeting
	GeoCriteriaId *int32          `protobuf:"varint,39,opt,name=geo_criteria_id,json=geoCriteriaId" json:"geo_criteria_id,omitempty"`
	Geo           *BidRequest_Geo `protobuf:"bytes,62,opt,name=geo" json:"geo,omitempty"`
	// Deprecated. This field will be removed in Q3 2023. It is recommended that
	// BidRequest.geo.zip be used instead. See Geotargeting Guide:
	// https://developers.google.com/authorized-buyers/rtb/geotargeting
	// Detected postal code of the appropriate type for the country of the end
	// user (for example, zip code if the country is "US"). The postal_code_prefix
	// field is set when accuracy is too low to imply a full code, otherwise the
	// postal_code field is set.
	//
	// Deprecated: Marked as deprecated in realtime-bidding.proto.
	PostalCode *string `protobuf:"bytes,33,opt,name=postal_code,json=postalCode" json:"postal_code,omitempty"`
	// Deprecated. This field will be removed in Q3 2023. It is recommended that
	// BidRequest.geo.zip be used instead. See Geotargeting Guide:
	// https://developers.google.com/authorized-buyers/rtb/geotargeting
	//
	// Deprecated: Marked as deprecated in realtime-bidding.proto.
	PostalCodePrefix *string `protobuf:"bytes,34,opt,name=postal_code_prefix,json=postalCodePrefix" json:"postal_code_prefix,omitempty"`
	// Deprecated. This field will be removed in Q3 2023. It is recommended that
	// BidRequest.geo is used instead. See Geotargeting Guide:
	// https://developers.google.com/authorized-buyers/rtb/geotargeting
	// Encrypted hyperlocal targeting signals.
	//
	// Deprecated: Marked as deprecated in realtime-bidding.proto.
	EncryptedHyperlocalSet []byte `protobuf:"bytes,40,opt,name=encrypted_hyperlocal_set,json=encryptedHyperlocalSet" json:"encrypted_hyperlocal_set,omitempty"`
	// Deprecated. This field will be removed in Q3 2023. It is recommended that
	// BidRequest.geo is used instead. See Geotargeting Guide:
	// https://developers.google.com/authorized-buyers/rtb/geotargeting
	// Unencrypted version of encrypted_hyperlocal_set. This field is only set
	// when using an SSL connection.
	//
	// Deprecated: Marked as deprecated in realtime-bidding.proto.
	HyperlocalSet *BidRequest_HyperlocalSet `protobuf:"bytes,53,opt,name=hyperlocal_set,json=hyperlocalSet" json:"hyperlocal_set,omitempty"`
	// Deprecated. This field will be removed in Q3 2023. It is recommended that
	// BidRequest.geo is used instead. See Geotargeting Guide:
	// https://developers.google.com/authorized-buyers/rtb/geotargeting
	// The offset of the user's time from GMT in minutes. For example, GMT+10 is
	// timezone_offset = 600.
	//
	// Deprecated: Marked as deprecated in realtime-bidding.proto.
	TimezoneOffset *int32                 `protobuf:"varint,25,opt,name=timezone_offset,json=timezoneOffset" json:"timezone_offset,omitempty"`
	UserList       []*BidRequest_UserList `protobuf:"bytes,32,rep,name=user_list,json=userList" json:"user_list,omitempty"`
	// -----------------------------------------------------------
	// This section lists information that we know about the web page or mobile
	// application where the impression originates.
	//
	// The publisher ID as defined by the publisher code suffix of
	// the web property code. For instance, "pub-123" is the publisher code of web
	// property code "ca-pub-123" (ca- is the product specific prefix of the web
	// property).
	PublisherId *string `protobuf:"bytes,56,opt,name=publisher_id,json=publisherId" json:"publisher_id,omitempty"`
	// Deprecated. This field will be removed in Q2 2024.
	// The seller network id. See seller-network-ids.txt file in the technical
	// documentation for a list of ids. This is only set if the site is not
	// anonymous and the publisher allows site targeting.
	//
	// Deprecated: Marked as deprecated in realtime-bidding.proto.
	SellerNetworkId *int32 `protobuf:"varint,41,opt,name=seller_network_id,json=sellerNetworkId" json:"seller_network_id,omitempty"`
	// Id for the partner that provides this inventory. This is only set when
	// seller_network_id is also set and further partner information beyond the
	// seller_network_id is also available. The value of the partner_id is not
	// meaningful beyond providing a stable identifier.
	PartnerId *uint64 `protobuf:"fixed64,52,opt,name=partner_id,json=partnerId" json:"partner_id,omitempty"`
	// The URL of the page with parameters removed. This is only set if the
	// publisher allows site targeting. This always starts with a protocol (either
	// http or https).
	Url *string `protobuf:"bytes,11,opt,name=url" json:"url,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 `` /* 132-byte string literal not displayed */
	// Detected user languages, based on the language of the web page, the browser
	// settings, and other signals. The order is arbitrary. The codes are 2 or 5
	// characters and are documented at
	// https://developers.google.com/google-ads/api/data/codes-formats#languages
	DetectedLanguage []string `protobuf:"bytes,12,rep,name=detected_language,json=detectedLanguage" json:"detected_language,omitempty"`
	// Unordered list of detected content verticals. See the
	// publisher-verticals.txt file in the technical documentation for a list of
	// ids.
	DetectedVertical []*BidRequest_Vertical `protobuf:"bytes,13,rep,name=detected_vertical,json=detectedVertical" json:"detected_vertical,omitempty"`
	// List of detected content labels. See content-labels.txt file in the
	// technical documentation for a list of ids.
	DetectedContentLabel []int32 `protobuf:"varint,26,rep,packed,name=detected_content_label,json=detectedContentLabel" json:"detected_content_label,omitempty"`
	// The production quality of the content where an ad can be shown, as
	// determined by the publisher.
	ProductionQuality *BidRequest_ProductionQuality `` /* 169-byte string literal not displayed */
	// The rating of the content where an ad can be shown.
	ContentRating *BidRequest_ContentRating `` /* 153-byte string literal not displayed */
	// 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,59,opt,name=google_query_id,json=googleQueryId" json:"google_query_id,omitempty"`
	AuctionType   *BidRequest_AuctionType `` /* 145-byte string literal not displayed */
	Device        *BidRequest_Device      `protobuf:"bytes,54,opt,name=device" json:"device,omitempty"`
	KeyValue      []*BidRequest_KeyValue  `protobuf:"bytes,38,rep,name=key_value,json=keyValue" json:"key_value,omitempty"`
	Mobile        *BidRequest_Mobile      `protobuf:"bytes,28,opt,name=mobile" json:"mobile,omitempty"`
	Video         *BidRequest_Video       `protobuf:"bytes,29,opt,name=video" json:"video,omitempty"`
	// The publisher settings list id that applies to this page.
	// See the RTB Publisher Settings guide at
	// https://developers.google.com/authorized-buyers/rtb/pub-settings-guide
	// for details.
	PublisherSettingsListId *uint64                   `` /* 130-byte string literal not displayed */
	PublisherType           *BidRequest_PublisherType `` /* 153-byte string literal not displayed */
	// The visibility state of the web page containing the ad slots.
	// See https://www.w3.org/TR/page-visibility/.
	PageVisibility *BidRequest_VisibilityState `` /* 158-byte string literal not displayed */
	// User activation information from the browser for the current request, if
	// the request is for a web page.
	UserActivation *BidRequest_UserActivation `protobuf:"bytes,76,opt,name=user_activation,json=userActivation" json:"user_activation,omitempty"`
	// The type of browser navigation that led to the current page. Unset for
	// non-web ad requests.
	NavigationType      *BidRequest_NavigationType        `` /* 151-byte string literal not displayed */
	Adslot              []*BidRequest_AdSlot              `protobuf:"bytes,14,rep,name=adslot" json:"adslot,omitempty"`
	BidResponseFeedback []*BidRequest_BidResponseFeedback `protobuf:"bytes,44,rep,name=bid_response_feedback,json=bidResponseFeedback" json:"bid_response_feedback,omitempty"`
	// How many milliseconds Google will wait for a response before ignoring it.
	ResponseDeadlineMs *int32 `protobuf:"varint,57,opt,name=response_deadline_ms,json=responseDeadlineMs" json:"response_deadline_ms,omitempty"`
	// -----------------------------------------------------------
	// Testing options.
	//
	// If true, then this is a test request. Results will not be displayed to
	// users and you will not be billed for a response even if it wins the
	// auction. You should still do regular processing since the request may be
	// used to evaluate latencies or for other testing. During your initial
	// testing with Google traffic any response that you make will be filtered
	// out of the auction whether this option has a value of true or false.
	IsTest *bool `protobuf:"varint,15,opt,name=is_test,json=isTest,def=0" json:"is_test,omitempty"`
	// If true, then this request is intended to measure network latency.
	// Return an empty BidResponse with only processing_time_ms set as quickly as
	// possible without executing any bidding logic.
	IsPing *bool `protobuf:"varint,17,opt,name=is_ping,json=isPing,def=0" json:"is_ping,omitempty"`
	// If true, then the callout model predicted that you will not bid
	// on this request. We send a sampled percentage of such requests so that we
	// can automatically update the model when bidding patterns change.
	IsPredictedToBeIgnored *bool                             `` /* 134-byte string literal not displayed */
	SupplyChain            *BidRequest_SupplyChain           `protobuf:"bytes,69,opt,name=supply_chain,json=supplyChain" json:"supply_chain,omitempty"`
	FrequencyCappingScope  *BidRequest_FrequencyCappingScope `` /* 181-byte string literal not displayed */
	// The Digital Services Act (DSA) transparency information requirements.
	Dsa *BidRequest_Dsa `protobuf:"bytes,86,opt,name=dsa" json:"dsa,omitempty"`
	// contains filtered or unexported fields
}

This is the message that Google uses to request bids. A BidRequest includes the ad slot from a single impression.

func (*BidRequest) Descriptor deprecated

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

Deprecated: Use BidRequest.ProtoReflect.Descriptor instead.

func (*BidRequest) GetAdslot

func (x *BidRequest) GetAdslot() []*BidRequest_AdSlot

func (*BidRequest) GetAuctionType

func (x *BidRequest) GetAuctionType() BidRequest_AuctionType

func (*BidRequest) GetBidResponseFeedback

func (x *BidRequest) GetBidResponseFeedback() []*BidRequest_BidResponseFeedback

func (*BidRequest) GetContentRating

func (x *BidRequest) GetContentRating() BidRequest_ContentRating

func (*BidRequest) GetCookieAgeSeconds

func (x *BidRequest) GetCookieAgeSeconds() int32

func (*BidRequest) GetCookieVersion

func (x *BidRequest) GetCookieVersion() uint32

func (*BidRequest) GetDetectedContentLabel

func (x *BidRequest) GetDetectedContentLabel() []int32

func (*BidRequest) GetDetectedLanguage

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

func (*BidRequest) GetDetectedVertical

func (x *BidRequest) GetDetectedVertical() []*BidRequest_Vertical

func (*BidRequest) GetDevice

func (x *BidRequest) GetDevice() *BidRequest_Device

func (*BidRequest) GetDsa

func (x *BidRequest) GetDsa() *BidRequest_Dsa

func (*BidRequest) GetEncryptedHyperlocalSet deprecated

func (x *BidRequest) GetEncryptedHyperlocalSet() []byte

Deprecated: Marked as deprecated in realtime-bidding.proto.

func (*BidRequest) GetFrequencyCappingScope

func (x *BidRequest) GetFrequencyCappingScope() BidRequest_FrequencyCappingScope

func (*BidRequest) GetGeo

func (x *BidRequest) GetGeo() *BidRequest_Geo

func (*BidRequest) GetGeoCriteriaId

func (x *BidRequest) GetGeoCriteriaId() int32

func (*BidRequest) GetGoogleQueryId

func (x *BidRequest) GetGoogleQueryId() string

func (*BidRequest) GetGoogleUserId

func (x *BidRequest) GetGoogleUserId() string

func (*BidRequest) GetHostPublisherId

func (x *BidRequest) GetHostPublisherId() string

func (*BidRequest) GetHostedMatchData

func (x *BidRequest) GetHostedMatchData() []byte

func (*BidRequest) GetHyperlocalSet deprecated

func (x *BidRequest) GetHyperlocalSet() *BidRequest_HyperlocalSet

Deprecated: Marked as deprecated in realtime-bidding.proto.

func (*BidRequest) GetId

func (x *BidRequest) GetId() []byte

func (*BidRequest) GetInventoryPartnerDomain

func (x *BidRequest) GetInventoryPartnerDomain() string

func (*BidRequest) GetIp

func (x *BidRequest) GetIp() []byte

func (*BidRequest) GetIsPing

func (x *BidRequest) GetIsPing() bool

func (*BidRequest) GetIsPredictedToBeIgnored

func (x *BidRequest) GetIsPredictedToBeIgnored() bool

func (*BidRequest) GetIsSemiTransparentRequest

func (x *BidRequest) GetIsSemiTransparentRequest() bool

func (*BidRequest) GetIsTest

func (x *BidRequest) GetIsTest() bool

func (*BidRequest) GetKeyValue

func (x *BidRequest) GetKeyValue() []*BidRequest_KeyValue

func (*BidRequest) GetMobile

func (x *BidRequest) GetMobile() *BidRequest_Mobile

func (*BidRequest) GetNavigationType

func (x *BidRequest) GetNavigationType() BidRequest_NavigationType

func (*BidRequest) GetPageVisibility

func (x *BidRequest) GetPageVisibility() BidRequest_VisibilityState

func (*BidRequest) GetPartnerId

func (x *BidRequest) GetPartnerId() uint64

func (*BidRequest) GetPostalCode deprecated

func (x *BidRequest) GetPostalCode() string

Deprecated: Marked as deprecated in realtime-bidding.proto.

func (*BidRequest) GetPostalCodePrefix deprecated

func (x *BidRequest) GetPostalCodePrefix() string

Deprecated: Marked as deprecated in realtime-bidding.proto.

func (*BidRequest) GetPrivacyTreatments

func (x *BidRequest) GetPrivacyTreatments() *BidRequest_PrivacyTreatments

func (*BidRequest) GetProductionQuality

func (x *BidRequest) GetProductionQuality() BidRequest_ProductionQuality

func (*BidRequest) GetPublisherCountry

func (x *BidRequest) GetPublisherCountry() string

func (*BidRequest) GetPublisherFirstPartyId

func (x *BidRequest) GetPublisherFirstPartyId() *BidRequest_PublisherFirstPartyId

func (*BidRequest) GetPublisherId

func (x *BidRequest) GetPublisherId() string

func (*BidRequest) GetPublisherProvidedId

func (x *BidRequest) GetPublisherProvidedId() string

func (*BidRequest) GetPublisherSettingsListId

func (x *BidRequest) GetPublisherSettingsListId() uint64

func (*BidRequest) GetPublisherType

func (x *BidRequest) GetPublisherType() BidRequest_PublisherType

func (*BidRequest) GetResponseDeadlineMs

func (x *BidRequest) GetResponseDeadlineMs() int32

func (*BidRequest) GetSegmentData

func (x *BidRequest) GetSegmentData() []*BidRequest_SegmentData

func (*BidRequest) GetSellerNetworkId deprecated

func (x *BidRequest) GetSellerNetworkId() int32

Deprecated: Marked as deprecated in realtime-bidding.proto.

func (*BidRequest) GetSessionId

func (x *BidRequest) GetSessionId() string

func (*BidRequest) GetSupplyChain

func (x *BidRequest) GetSupplyChain() *BidRequest_SupplyChain

func (*BidRequest) GetTimezoneOffset deprecated

func (x *BidRequest) GetTimezoneOffset() int32

Deprecated: Marked as deprecated in realtime-bidding.proto.

func (*BidRequest) GetUrl

func (x *BidRequest) GetUrl() string

func (*BidRequest) GetUserActivation

func (x *BidRequest) GetUserActivation() *BidRequest_UserActivation

func (*BidRequest) GetUserAgent

func (x *BidRequest) GetUserAgent() string

func (*BidRequest) GetUserAgentData

func (x *BidRequest) GetUserAgentData() *BidRequest_UserAgent

func (*BidRequest) GetUserDataTreatment deprecated

func (x *BidRequest) GetUserDataTreatment() []BidRequest_UserDataTreatment

Deprecated: Marked as deprecated in realtime-bidding.proto.

func (*BidRequest) GetUserList

func (x *BidRequest) GetUserList() []*BidRequest_UserList

func (*BidRequest) GetVideo

func (x *BidRequest) GetVideo() *BidRequest_Video

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 BidRequest_AdSlot

type BidRequest_AdSlot struct {

	// An arbitrarily assigned slot id that is unique on a given page and
	// usually starts counting from 1. You use this to identify which slot to
	// bid on in the BidResponse.
	Id *int32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"`
	// A stable identifier for the combination of publisher, ad slot, and page.
	AdBlockKey *uint64 `protobuf:"varint,14,opt,name=ad_block_key,json=adBlockKey" json:"ad_block_key,omitempty"`
	// The width and height in pixels of the allowed ad sizes. Most requests
	// allow only a single size, but some allow more than one. Widths and
	// heights are at the same index. For example, if the width values are
	// [728, 300, 468] and the height values are [90, 250, 60], then the allowed
	// formats are 728x90, 300x250, and 468x60.
	//
	// For VAST video ad requests a single width/height pair specifies the
	// Google-detected video player size. If Google cannot detect the player
	// size the publisher-provided player size, if available, is used. For
	// VAST video ads, this size is informational; there is no restriction on
	// the size of the video ad that you can return.
	//
	// For mobile interstitial ads (including ones where video ads are eligible)
	// the first width height pair is the slot size (this is also the video
	// player size for VAST video ads). For many interstitials, this is the
	// screen size. Subsequent pairs are recommended interstitial ad sizes that
	// also meet the requirements for this interstitial.
	Width  []int32 `protobuf:"varint,2,rep,name=width" json:"width,omitempty"`
	Height []int32 `protobuf:"varint,3,rep,name=height" json:"height,omitempty"`
	// If the adslot is flexible, this contains settings on how the slot
	// may be resized.
	FlexibleAdslotSettings *BidRequest_AdSlot_FlexibleAdSlotSettings `protobuf:"bytes,50,opt,name=flexible_adslot_settings,json=flexibleAdslotSettings" json:"flexible_adslot_settings,omitempty"`
	// The disallowed attribute ids for the ads that can show in this slot. See
	// the publisher-excludable-creative-attributes.txt file in the technical
	// documentation for a list of ids.
	ExcludedAttribute []int32 `protobuf:"varint,4,rep,packed,name=excluded_attribute,json=excludedAttribute" json:"excluded_attribute,omitempty"`
	// The allowed vendor types. See the vendors.txt file in the technical
	// documentation for a list of ids. This field does not apply to deals with
	// block overrides (see
	// https://support.google.com/authorizedbuyers/answer/6114194).
	AllowedVendorType []int32 `protobuf:"varint,6,rep,packed,name=allowed_vendor_type,json=allowedVendorType" json:"allowed_vendor_type,omitempty"`
	// 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 regs_gdpr is true.
	ConsentedProvidersSettings *BidRequest_AdSlot_ConsentedProvidersSettings `` /* 135-byte string literal not displayed */
	// 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. This field is equivalent
	// to Regs.ext.gdpr in Google OpenRTB.
	RegsGdpr *bool `protobuf:"varint,43,opt,name=regs_gdpr,json=regsGdpr" json:"regs_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.
	RegsLgpd *bool `protobuf:"varint,54,opt,name=regs_lgpd,json=regsLgpd" json:"regs_lgpd,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
	GppConsentString *string `protobuf:"bytes,81,opt,name=gpp_consent_string,json=gppConsentString" json:"gpp_consent_string,omitempty"`
	// Array of the section(s) of the GPP string which should be applied for
	// this transaction. Generally will contain one and only one value, but
	// there are edge cases (e.g. a CMP cannot determine a single section ID)
	// where more than one may apply. GPP Section 3 (Header) and 4 (Signal
	// Integrity) do not need to be included. See IAB-GPP spec for details:
	// https://github.com/InteractiveAdvertisingBureau/Global-Privacy-Platform/blob/main/Sections/Section%20Information.md#section-ids
	GppSectionIds []int32 `protobuf:"varint,82,rep,packed,name=gpp_section_ids,json=gppSectionIds" json:"gpp_section_ids,omitempty"`
	// The disallowed sensitive ad categories. See the
	// ad-sensitive-categories.txt file in the technical documentation for a
	// list of ids. You should enforce these exclusions if you have the ability
	// to classify ads into the listed categories. This field does not apply to
	// deals with block overrides (see
	// https://support.google.com/authorizedbuyers/answer/6114194).
	ExcludedSensitiveCategory []int32 `` /* 139-byte string literal not displayed */
	// The allowed restricted ad categories for private and open auctions. See
	// the ad-restricted-categories.txt file in the technical documentation for
	// a list of ids. These only apply for private and open auction bids. See
	// the allowed_restricted_category_for_deals field for preferred deals or
	// programmatic guarantees. 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 `` /* 140-byte string literal not displayed */
	// The allowed restricted ad categories for preferred deals or programmatic
	// guarantees. See the ad-restricted-categories.txt file in the technical
	// documentation for a list of ids. These only apply for preferred deals or
	// programmatic guarantees. See the allowed_restricted_category field for
	// private and open auctions. In some cases, restricted categories are only
	// allowed on preferred deals or programmatic guarantees, so this field
	// lists all categories in allowed_restricted_category, and additionally,
	// restricted categories that are only allowed for preferred deals or
	// programmatic guarantees. 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.
	AllowedRestrictedCategoryForDeals []int32 `` /* 168-byte string literal not displayed */
	// List of creative languages allowed by the publisher. The order is
	// arbitrary. The codes are 2 or 5 characters and are documented at
	// https://developers.google.com/google-ads/api/data/codes-formats#languages.
	// When not set, all languages are allowed.
	AllowedLanguages []string `protobuf:"bytes,27,rep,name=allowed_languages,json=allowedLanguages" json:"allowed_languages,omitempty"`
	// The disallowed ad product categories. See the ad-product-categories.txt
	// file in the technical documentation for a list of ids. You should enforce
	// these exclusions if you have the ability to classify ads into the listed
	// categories. This field does not apply to deals with block overrides (see
	// https://support.google.com/authorizedbuyers/answer/6114194).
	ExcludedProductCategory []int32 `` /* 134-byte string literal not displayed */
	// 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.
	// Bids with ads that advertise any app from this list will be filtered
	// out before the auction.
	ExcludedAppIds []string `protobuf:"bytes,66,rep,name=excluded_app_ids,json=excludedAppIds" json:"excluded_app_ids,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 []*BidRequest_AdSlot_ExcludedCreative `protobuf:"bytes,18,rep,name=excluded_creatives,json=excludedCreatives" json:"excluded_creatives,omitempty"`
	// Whether the adslot is only eligible for deals bids. Bids for the open
	// auction will be filtered when this field is set to true. Bidders can bid
	// on the open auction or deals when this field is set to false.
	OnlyDealBidsAccepted *bool                               `protobuf:"varint,49,opt,name=only_deal_bids_accepted,json=onlyDealBidsAccepted" json:"only_deal_bids_accepted,omitempty"`
	MatchingAdData       []*BidRequest_AdSlot_MatchingAdData `protobuf:"bytes,9,rep,name=matching_ad_data,json=matchingAdData" json:"matching_ad_data,omitempty"`
	// If non-empty, this field contains a list of seat IDs in the bidder's
	// namespace set by media planners that are blocked by the publisher. Any
	// bids on behalf of a blocked seat, as indicated by the
	// BidResponse.ad.adslot.seat_id field, will be filtered before the auction.
	// If this field is non-empty, allowed_seat_ids will be empty. If this field
	// and allowed_seat_ids are both empty, there are no seat ID restrictions
	// for this request.
	BlockedSeatIds []string `protobuf:"bytes,67,rep,name=blocked_seat_ids,json=blockedSeatIds" json:"blocked_seat_ids,omitempty"`
	// If non-empty, this field contains a list of seat IDs in the bidder's
	// namespace set by media planners that are allowed by the publisher. All
	// seat IDs not included in this list are blocked. Bids on behalf of other
	// seats, as indicated by the BidResponse.ad.adslot.seat_id field, and bids
	// with no seat ID will be filtered before the auction. If this field is
	// non-empty, blocked_seat_ids will be empty. If this field and
	// blocked_seat_ids are both empty, there are no seat ID restrictions for
	// this request.
	AllowedSeatIds []string `protobuf:"bytes,68,rep,name=allowed_seat_ids,json=allowedSeatIds" json:"allowed_seat_ids,omitempty"`
	// The publisher settings list ids that apply to this slot. See the RTB
	// Publisher Settings guide at
	// https://developers.google.com/authorized-buyers/rtb/pub-settings-guide
	// for details.
	PublisherSettingsListId []uint64                           `` /* 130-byte string literal not displayed */
	ExchangeBidding         *BidRequest_AdSlot_ExchangeBidding `protobuf:"bytes,28,opt,name=exchange_bidding,json=exchangeBidding" json:"exchange_bidding,omitempty"`
	OpenBidding             *BidRequest_AdSlot_OpenBidding     `protobuf:"bytes,53,opt,name=open_bidding,json=openBidding" json:"open_bidding,omitempty"`
	// Ad unit mappings that match the given adslot.
	AdUnitMapping               []*BidRequest_AdSlot_AdUnitMapping             `protobuf:"bytes,64,rep,name=ad_unit_mapping,json=adUnitMapping" json:"ad_unit_mapping,omitempty"`
	CreativeEnforcementSettings *BidRequest_AdSlot_CreativeEnforcementSettings `` /* 138-byte string literal not displayed */
	// The ad unit code (https://support.google.com/admanager/topic/4426071)
	// This is currently only set for exchange bidding requests.
	DfpAdUnitCode  *string                           `protobuf:"bytes,33,opt,name=dfp_ad_unit_code,json=dfpAdUnitCode" json:"dfp_ad_unit_code,omitempty"`
	SlotVisibility *BidRequest_AdSlot_SlotVisibility `` /* 164-byte string literal not displayed */
	// Viewability percentage for the ad slot. This is an estimate of the
	// likelihood that this slot will be viewable by the end user based on
	// historical and environment data. It is expressed as a percentage in the
	// range of [0, 100]. The default value -1 indicates that viewability could
	// not be estimated.
	Viewability *int32 `protobuf:"varint,21,opt,name=viewability,def=-1" json:"viewability,omitempty"`
	// Historical click-through rate for ads served in the ad slot. This is
	// expressed as a fraction in the range [0.0, 1.0]. The default value of
	// -1.0 indicates that historical click-through rate data is not available.
	// This figure does not include data aggregated from Google Ads. The
	// click-through rate can vary for a given ad slot throughout the day.
	ClickThroughRate *float32 `protobuf:"fixed32,25,opt,name=click_through_rate,json=clickThroughRate,def=-1" json:"click_through_rate,omitempty"`
	// Historical completion rate for video ads served in the ad slot. This is
	// expressed as a fraction in the range [0.0, 1.0]. The default value of
	// -1.0 indicates that historical completion rate data is not available.
	// This field is only applicable to video inventory, and does not include
	// data aggregated from Google Ads.
	VideoCompletionRate *float32                               `protobuf:"fixed32,30,opt,name=video_completion_rate,json=videoCompletionRate,def=-1" json:"video_completion_rate,omitempty"`
	IframingState       *BidRequest_AdSlot_IFramingState       `` /* 160-byte string literal not displayed */
	IframingDepth       *BidRequest_AdSlot_IFramingDepth       `` /* 160-byte string literal not displayed */
	NativeAdTemplate    []*BidRequest_AdSlot_NativeAdTemplate  `protobuf:"bytes,51,rep,name=native_ad_template,json=nativeAdTemplate" json:"native_ad_template,omitempty"`
	NativePlacementType *BidRequest_AdSlot_NativePlacementType `` /* 186-byte string literal not displayed */
	MediationStatus     *BidRequest_AdSlot_MediationStatus     `` /* 168-byte string literal not displayed */
	AutoRefresh         *BidRequest_AdSlot_AutoRefresh         `protobuf:"bytes,23,opt,name=auto_refresh,json=autoRefresh" json:"auto_refresh,omitempty"`
	StickySettings      *BidRequest_AdSlot_StickySettings      `protobuf:"bytes,31,opt,name=sticky_settings,json=stickySettings" json:"sticky_settings,omitempty"`
	// Publisher declaration stating that this ad slot may serve on
	// non-browser inventory, like desktop apps.
	NonBrowserSlotSource *BidRequest_AdSlot_NonBrowserSource     `` /* 188-byte string literal not displayed */
	Renderer             *BidRequest_AdSlot_Renderer             `protobuf:"varint,26,opt,name=renderer,enum=com.google.protos.adx.BidRequest_AdSlot_Renderer,def=0" json:"renderer,omitempty"`
	AmpAdRequestType     *BidRequest_AdSlot_AmpAdRequestType     `` /* 176-byte string literal not displayed */
	IsAmpPage            *BidRequest_AdSlot_AmpPage              `` /* 138-byte string literal not displayed */
	AmpAdRequirementType *BidRequest_AdSlot_AmpAdRequirementType `` /* 186-byte string literal not displayed */
	// Whether the user receives a reward for viewing the ad. For video ads,
	// typical 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.
	IsRewarded     *bool                             `protobuf:"varint,32,opt,name=is_rewarded,json=isRewarded,def=0" json:"is_rewarded,omitempty"`
	AllowedAdTypes []BidRequest_AdSlot_AllowedAdType `` /* 166-byte string literal not displayed */
	// Total number of impressions served to this user (within this specific
	// site or app) in this browsing session, plus 1. A session ends after 30
	// minutes inactivity. The default value of -1 indicates that the session
	// depth cannot be estimated.
	SessionDepth  *int32                            `protobuf:"varint,40,opt,name=session_depth,json=sessionDepth,def=-1" json:"session_depth,omitempty"`
	SecureSignals []*BidRequest_AdSlot_SecureSignal `protobuf:"bytes,41,rep,name=secure_signals,json=secureSignals" json:"secure_signals,omitempty"`
	// List of supported API frameworks for this impression.
	Api []BidRequest_AdSlot_APIFramework `protobuf:"varint,46,rep,packed,name=api,enum=com.google.protos.adx.BidRequest_AdSlot_APIFramework" json:"api,omitempty"`
	// 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 realtime-bidding.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 []*BidRequest_AdSlot_BillableEventRateBidAdjustment `` /* 151-byte string literal not displayed */
	// Identifier of the OM SDK integration. 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,56,opt,name=omidpn" json:"omidpn,omitempty"`
	// Version of the OM SDK integration. 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,57,opt,name=omidpv" json:"omidpv,omitempty"`
	// Specifies where the ad auction runs.
	// Deprecated. This will be removed in November, 2023. Use
	// supported_auction_environment instead.
	//
	// Deprecated: Marked as deprecated in realtime-bidding.proto.
	AuctionEnvironment *BidRequest_AdSlot_AuctionEnvironment `` /* 180-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.
	SupportedAuctionEnvironment *BidRequest_AdSlot_AuctionEnvironment `` /* 209-byte string literal not displayed */
	// The expected time period when an impression can occur in seconds
	// following a winning bid. The impression may be billable only if it serves
	// within this time. To learn more about impression expiration, see the
	// following guide:
	// https://developers.google.com/authorized-buyers/rtb/billing-event-guide
	ImpressionExpirationSeconds *int32 `` /* 139-byte string literal not displayed */
	// The name of the rendering environment, such as a mobile ads or video
	// SDK, or a publisher ad tag type. This field describes a Google SDK while
	// the installed_sdk field describes third party SDKs.
	DisplayManager *string `protobuf:"bytes,71,opt,name=display_manager,json=displayManager" json:"display_manager,omitempty"`
	// Version of the rendering environment specified by the display_manager
	// field. This field describes a Google SDK while the installed_sdk field
	// describes third party SDKs.
	DisplayManagerVersion *string `protobuf:"bytes,72,opt,name=display_manager_version,json=displayManagerVersion" json:"display_manager_version,omitempty"`
	// contains filtered or unexported fields
}

----------------------------------------------------------- Information about the adslots on the page.

func (*BidRequest_AdSlot) Descriptor deprecated

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

Deprecated: Use BidRequest_AdSlot.ProtoReflect.Descriptor instead.

func (*BidRequest_AdSlot) GetAdBlockKey

func (x *BidRequest_AdSlot) GetAdBlockKey() uint64

func (*BidRequest_AdSlot) GetAdUnitMapping

func (x *BidRequest_AdSlot) GetAdUnitMapping() []*BidRequest_AdSlot_AdUnitMapping

func (*BidRequest_AdSlot) GetAllowedAdTypes

func (x *BidRequest_AdSlot) GetAllowedAdTypes() []BidRequest_AdSlot_AllowedAdType

func (*BidRequest_AdSlot) GetAllowedLanguages

func (x *BidRequest_AdSlot) GetAllowedLanguages() []string

func (*BidRequest_AdSlot) GetAllowedRestrictedCategory

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

func (*BidRequest_AdSlot) GetAllowedRestrictedCategoryForDeals

func (x *BidRequest_AdSlot) GetAllowedRestrictedCategoryForDeals() []int32

func (*BidRequest_AdSlot) GetAllowedSeatIds

func (x *BidRequest_AdSlot) GetAllowedSeatIds() []string

func (*BidRequest_AdSlot) GetAllowedVendorType

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

func (*BidRequest_AdSlot) GetAmpAdRequestType

func (x *BidRequest_AdSlot) GetAmpAdRequestType() BidRequest_AdSlot_AmpAdRequestType

func (*BidRequest_AdSlot) GetAmpAdRequirementType

func (x *BidRequest_AdSlot) GetAmpAdRequirementType() BidRequest_AdSlot_AmpAdRequirementType

func (*BidRequest_AdSlot) GetApi

func (*BidRequest_AdSlot) GetAuctionEnvironment deprecated

func (x *BidRequest_AdSlot) GetAuctionEnvironment() BidRequest_AdSlot_AuctionEnvironment

Deprecated: Marked as deprecated in realtime-bidding.proto.

func (*BidRequest_AdSlot) GetAutoRefresh

func (x *BidRequest_AdSlot) GetAutoRefresh() *BidRequest_AdSlot_AutoRefresh

func (*BidRequest_AdSlot) GetBillableEventRateAdjustment deprecated

func (x *BidRequest_AdSlot) GetBillableEventRateAdjustment() float64

Deprecated: Marked as deprecated in realtime-bidding.proto.

func (*BidRequest_AdSlot) GetBillableEventRateBidAdjustment

func (x *BidRequest_AdSlot) GetBillableEventRateBidAdjustment() []*BidRequest_AdSlot_BillableEventRateBidAdjustment

func (*BidRequest_AdSlot) GetBlockedSeatIds

func (x *BidRequest_AdSlot) GetBlockedSeatIds() []string

func (*BidRequest_AdSlot) GetClickThroughRate

func (x *BidRequest_AdSlot) GetClickThroughRate() float32

func (*BidRequest_AdSlot) GetConsentedProvidersSettings

func (x *BidRequest_AdSlot) GetConsentedProvidersSettings() *BidRequest_AdSlot_ConsentedProvidersSettings

func (*BidRequest_AdSlot) GetCreativeEnforcementSettings

func (x *BidRequest_AdSlot) GetCreativeEnforcementSettings() *BidRequest_AdSlot_CreativeEnforcementSettings

func (*BidRequest_AdSlot) GetDfpAdUnitCode

func (x *BidRequest_AdSlot) GetDfpAdUnitCode() string

func (*BidRequest_AdSlot) GetDisplayManager

func (x *BidRequest_AdSlot) GetDisplayManager() string

func (*BidRequest_AdSlot) GetDisplayManagerVersion

func (x *BidRequest_AdSlot) GetDisplayManagerVersion() string

func (*BidRequest_AdSlot) GetExchangeBidding

func (x *BidRequest_AdSlot) GetExchangeBidding() *BidRequest_AdSlot_ExchangeBidding

func (*BidRequest_AdSlot) GetExcludedAppIds

func (x *BidRequest_AdSlot) GetExcludedAppIds() []string

func (*BidRequest_AdSlot) GetExcludedAttribute

func (x *BidRequest_AdSlot) GetExcludedAttribute() []int32

func (*BidRequest_AdSlot) GetExcludedCreatives

func (x *BidRequest_AdSlot) GetExcludedCreatives() []*BidRequest_AdSlot_ExcludedCreative

func (*BidRequest_AdSlot) GetExcludedProductCategory

func (x *BidRequest_AdSlot) GetExcludedProductCategory() []int32

func (*BidRequest_AdSlot) GetExcludedSensitiveCategory

func (x *BidRequest_AdSlot) GetExcludedSensitiveCategory() []int32

func (*BidRequest_AdSlot) GetFlexibleAdslotSettings

func (x *BidRequest_AdSlot) GetFlexibleAdslotSettings() *BidRequest_AdSlot_FlexibleAdSlotSettings

func (*BidRequest_AdSlot) GetGppConsentString

func (x *BidRequest_AdSlot) GetGppConsentString() string

func (*BidRequest_AdSlot) GetGppSectionIds

func (x *BidRequest_AdSlot) GetGppSectionIds() []int32

func (*BidRequest_AdSlot) GetHeight

func (x *BidRequest_AdSlot) GetHeight() []int32

func (*BidRequest_AdSlot) GetId

func (x *BidRequest_AdSlot) GetId() int32

func (*BidRequest_AdSlot) GetIframingDepth

func (x *BidRequest_AdSlot) GetIframingDepth() BidRequest_AdSlot_IFramingDepth

func (*BidRequest_AdSlot) GetIframingState

func (x *BidRequest_AdSlot) GetIframingState() BidRequest_AdSlot_IFramingState

func (*BidRequest_AdSlot) GetImpressionExpirationSeconds

func (x *BidRequest_AdSlot) GetImpressionExpirationSeconds() int32

func (*BidRequest_AdSlot) GetIsAmpPage

func (x *BidRequest_AdSlot) GetIsAmpPage() BidRequest_AdSlot_AmpPage

func (*BidRequest_AdSlot) GetIsRewarded

func (x *BidRequest_AdSlot) GetIsRewarded() bool

func (*BidRequest_AdSlot) GetMatchingAdData

func (x *BidRequest_AdSlot) GetMatchingAdData() []*BidRequest_AdSlot_MatchingAdData

func (*BidRequest_AdSlot) GetMediationStatus

func (x *BidRequest_AdSlot) GetMediationStatus() BidRequest_AdSlot_MediationStatus

func (*BidRequest_AdSlot) GetNativeAdTemplate

func (x *BidRequest_AdSlot) GetNativeAdTemplate() []*BidRequest_AdSlot_NativeAdTemplate

func (*BidRequest_AdSlot) GetNativePlacementType

func (x *BidRequest_AdSlot) GetNativePlacementType() BidRequest_AdSlot_NativePlacementType

func (*BidRequest_AdSlot) GetNonBrowserSlotSource

func (x *BidRequest_AdSlot) GetNonBrowserSlotSource() BidRequest_AdSlot_NonBrowserSource

func (*BidRequest_AdSlot) GetOmidpn

func (x *BidRequest_AdSlot) GetOmidpn() string

func (*BidRequest_AdSlot) GetOmidpv

func (x *BidRequest_AdSlot) GetOmidpv() string

func (*BidRequest_AdSlot) GetOnlyDealBidsAccepted

func (x *BidRequest_AdSlot) GetOnlyDealBidsAccepted() bool

func (*BidRequest_AdSlot) GetOpenBidding

func (x *BidRequest_AdSlot) GetOpenBidding() *BidRequest_AdSlot_OpenBidding

func (*BidRequest_AdSlot) GetPublisherSettingsListId

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

func (*BidRequest_AdSlot) GetRegsGdpr

func (x *BidRequest_AdSlot) GetRegsGdpr() bool

func (*BidRequest_AdSlot) GetRegsLgpd

func (x *BidRequest_AdSlot) GetRegsLgpd() bool

func (*BidRequest_AdSlot) GetRenderer

func (*BidRequest_AdSlot) GetSecureSignals

func (x *BidRequest_AdSlot) GetSecureSignals() []*BidRequest_AdSlot_SecureSignal

func (*BidRequest_AdSlot) GetSessionDepth

func (x *BidRequest_AdSlot) GetSessionDepth() int32

func (*BidRequest_AdSlot) GetSlotVisibility

func (x *BidRequest_AdSlot) GetSlotVisibility() BidRequest_AdSlot_SlotVisibility

func (*BidRequest_AdSlot) GetStickySettings

func (x *BidRequest_AdSlot) GetStickySettings() *BidRequest_AdSlot_StickySettings

func (*BidRequest_AdSlot) GetSupportedAuctionEnvironment

func (x *BidRequest_AdSlot) GetSupportedAuctionEnvironment() BidRequest_AdSlot_AuctionEnvironment

func (*BidRequest_AdSlot) GetVideoCompletionRate

func (x *BidRequest_AdSlot) GetVideoCompletionRate() float32

func (*BidRequest_AdSlot) GetViewability

func (x *BidRequest_AdSlot) GetViewability() int32

func (*BidRequest_AdSlot) GetWidth

func (x *BidRequest_AdSlot) GetWidth() []int32

func (*BidRequest_AdSlot) ProtoMessage

func (*BidRequest_AdSlot) ProtoMessage()

func (*BidRequest_AdSlot) ProtoReflect

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

func (*BidRequest_AdSlot) Reset

func (x *BidRequest_AdSlot) Reset()

func (*BidRequest_AdSlot) String

func (x *BidRequest_AdSlot) String() string

type BidRequest_AdSlot_APIFramework

type BidRequest_AdSlot_APIFramework int32

Possible ad rendering API frameworks that can be supported. If an API is not explicitly listed, it is assumed not to be supported.

const (
	BidRequest_AdSlot_UNKNOWN_FRAMEWORK BidRequest_AdSlot_APIFramework = 0
	// Mobile Rich Media Ad Interface Definitions Version 1.0. See
	// https://www.iab.com/guidelines/mraid/.
	BidRequest_AdSlot_MRAID_1 BidRequest_AdSlot_APIFramework = 3
	// Mobile Rich Media Ad Interface Definitions Version 2.0. See
	// https://www.iab.com/guidelines/mraid/.
	BidRequest_AdSlot_MRAID_2 BidRequest_AdSlot_APIFramework = 5
	// Mobile Rich Media Ad Interface Definitions Version 3.0. See
	// https://www.iab.com/guidelines/mraid/.
	BidRequest_AdSlot_MRAID_3 BidRequest_AdSlot_APIFramework = 6
	// Open Measurement Interface Definition Version 1.0. See
	// https://iabtechlab.com/standards/open-measurement-sdk/.
	BidRequest_AdSlot_OMID_1 BidRequest_AdSlot_APIFramework = 7
)

func (BidRequest_AdSlot_APIFramework) Descriptor

func (BidRequest_AdSlot_APIFramework) Enum

func (BidRequest_AdSlot_APIFramework) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_AdSlot_APIFramework.Descriptor instead.

func (BidRequest_AdSlot_APIFramework) Number

func (BidRequest_AdSlot_APIFramework) String

func (BidRequest_AdSlot_APIFramework) Type

func (*BidRequest_AdSlot_APIFramework) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidRequest_AdSlot_AdUnitMapping

type BidRequest_AdSlot_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.ad.sdk_rendered_ad.sdk_params. This is passed to the
	// bidder's SDK.
	Keyvals []*BidRequest_AdSlot_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 *BidRequest_AdSlot_AdUnitMapping_FormatType `` /* 129-byte string literal not displayed */
	// 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 (*BidRequest_AdSlot_AdUnitMapping) Descriptor deprecated

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

Deprecated: Use BidRequest_AdSlot_AdUnitMapping.ProtoReflect.Descriptor instead.

func (*BidRequest_AdSlot_AdUnitMapping) GetFormat

func (*BidRequest_AdSlot_AdUnitMapping) GetKeyvals

func (*BidRequest_AdSlot_AdUnitMapping) ProtoMessage

func (*BidRequest_AdSlot_AdUnitMapping) ProtoMessage()

func (*BidRequest_AdSlot_AdUnitMapping) ProtoReflect

func (*BidRequest_AdSlot_AdUnitMapping) Reset

func (*BidRequest_AdSlot_AdUnitMapping) String

type BidRequest_AdSlot_AdUnitMapping_FormatType

type BidRequest_AdSlot_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 (
	BidRequest_AdSlot_AdUnitMapping_FORMAT_UNKNOWN BidRequest_AdSlot_AdUnitMapping_FormatType = 0
	// Display banner ads for web or mobile apps. For example, a 320x50
	// leaderboard slot. This includes out-stream video.
	BidRequest_AdSlot_AdUnitMapping_FORMAT_BANNER BidRequest_AdSlot_AdUnitMapping_FormatType = 1
	// A full-screen ad to be displayed inside a mobile app.
	BidRequest_AdSlot_AdUnitMapping_FORMAT_INTERSTITIAL BidRequest_AdSlot_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.
	BidRequest_AdSlot_AdUnitMapping_FORMAT_NATIVE BidRequest_AdSlot_AdUnitMapping_FormatType = 3
	// Video ads that appear before, during, or after video content
	// streams.
	BidRequest_AdSlot_AdUnitMapping_FORMAT_VIDEO_VAST BidRequest_AdSlot_AdUnitMapping_FormatType = 4
	// Video ads for mobile apps that allow users to voluntarily watch an
	// ad in exchange for an in-app reward.
	BidRequest_AdSlot_AdUnitMapping_FORMAT_REWARDED BidRequest_AdSlot_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
	BidRequest_AdSlot_AdUnitMapping_FORMAT_REWARDED_INTERSTITIAL BidRequest_AdSlot_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.
	BidRequest_AdSlot_AdUnitMapping_FORMAT_APP_OPEN BidRequest_AdSlot_AdUnitMapping_FormatType = 7
)

func (BidRequest_AdSlot_AdUnitMapping_FormatType) Descriptor

func (BidRequest_AdSlot_AdUnitMapping_FormatType) Enum

func (BidRequest_AdSlot_AdUnitMapping_FormatType) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_AdSlot_AdUnitMapping_FormatType.Descriptor instead.

func (BidRequest_AdSlot_AdUnitMapping_FormatType) Number

func (BidRequest_AdSlot_AdUnitMapping_FormatType) String

func (BidRequest_AdSlot_AdUnitMapping_FormatType) Type

func (*BidRequest_AdSlot_AdUnitMapping_FormatType) UnmarshalJSON deprecated

Deprecated: Do not use.

type BidRequest_AdSlot_AdUnitMapping_Keyval

type BidRequest_AdSlot_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 (*BidRequest_AdSlot_AdUnitMapping_Keyval) Descriptor deprecated

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

Deprecated: Use BidRequest_AdSlot_AdUnitMapping_Keyval.ProtoReflect.Descriptor instead.

func (*BidRequest_AdSlot_AdUnitMapping_Keyval) GetKey

func (*BidRequest_AdSlot_AdUnitMapping_Keyval) GetValue

func (*BidRequest_AdSlot_AdUnitMapping_Keyval) ProtoMessage

func (*BidRequest_AdSlot_AdUnitMapping_Keyval) ProtoReflect

func (*BidRequest_AdSlot_AdUnitMapping_Keyval) Reset

func (*BidRequest_AdSlot_AdUnitMapping_Keyval) String

type BidRequest_AdSlot_AllowedAdType

type BidRequest_AdSlot_AllowedAdType int32

Possible ad types that are allowed in the bid response. allowed_ad_types always contains one or more values. Interstitial slots may also support banner ads. An ad slot with ALLOWED_AD_TYPE_NATIVE may or may not support native video, regardless of whether ALLOWED_AD_TYPE_VIDEO is set. Likewise, an ad slot without ALLOWED_AD_TYPE_NATIVE does not support native video, regardless of whether ALLOWED_AD_TYPE_VIDEO is set.

const (
	BidRequest_AdSlot_UNKNOWN_ALLOWED_AD_TYPE BidRequest_AdSlot_AllowedAdType = -1
	BidRequest_AdSlot_ALLOWED_AD_TYPE_BANNER  BidRequest_AdSlot_AllowedAdType = 0
	BidRequest_AdSlot_ALLOWED_AD_TYPE_NATIVE  BidRequest_AdSlot_AllowedAdType = 1
	BidRequest_AdSlot_ALLOWED_AD_TYPE_VIDEO   BidRequest_AdSlot_AllowedAdType = 2
	BidRequest_AdSlot_ALLOWED_AD_TYPE_AUDIO   BidRequest_AdSlot_AllowedAdType = 3
)

func (BidRequest_AdSlot_AllowedAdType) Descriptor

func (BidRequest_AdSlot_AllowedAdType) Enum

func (BidRequest_AdSlot_AllowedAdType) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_AdSlot_AllowedAdType.Descriptor instead.

func (BidRequest_AdSlot_AllowedAdType) Number

func (BidRequest_AdSlot_AllowedAdType) String

func (BidRequest_AdSlot_AllowedAdType) Type

func (*BidRequest_AdSlot_AllowedAdType) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidRequest_AdSlot_AmpAdRequestType

type BidRequest_AdSlot_AmpAdRequestType int32

Whether this request is for an Accelerated Mobile Page (AMP). AMP HTML pages load faster, by restricting parts of HTML, CSS and Javascript. For more information on how AMP ads render, refer to the AMP ads README: https://github.com/ampproject/amphtml/blob/master/ads/README.md

const (
	// AMP status unknown. Request may or may not be from an AMP page.
	BidRequest_AdSlot_UNKNOWN_AMP BidRequest_AdSlot_AmpAdRequestType = 0
	// Not an AMP page. Could be regular HTML, VAST video, or other context.
	BidRequest_AdSlot_NON_AMP_PAGE BidRequest_AdSlot_AmpAdRequestType = 1
	// Late-loading request from an AMP HTML page. Ad will render with a
	// slight delay so it will not negatively impact page render performance.
	BidRequest_AdSlot_AMP_PAGE_LATE_REQUEST BidRequest_AdSlot_AmpAdRequestType = 2
)

func (BidRequest_AdSlot_AmpAdRequestType) Descriptor

func (BidRequest_AdSlot_AmpAdRequestType) Enum

func (BidRequest_AdSlot_AmpAdRequestType) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_AdSlot_AmpAdRequestType.Descriptor instead.

func (BidRequest_AdSlot_AmpAdRequestType) Number

func (BidRequest_AdSlot_AmpAdRequestType) String

func (BidRequest_AdSlot_AmpAdRequestType) Type

func (*BidRequest_AdSlot_AmpAdRequestType) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidRequest_AdSlot_AmpAdRequirementType

type BidRequest_AdSlot_AmpAdRequirementType int32

Possible requirement types for AMP ads.

const (
	// AMP ad requirements unknown.
	BidRequest_AdSlot_UNKNOWN_AMP_AD_REQUIREMENT_TYPE BidRequest_AdSlot_AmpAdRequirementType = 0
	// AMP ads are not allowed.
	BidRequest_AdSlot_AMP_AD_NOT_ALLOWED BidRequest_AdSlot_AmpAdRequirementType = 1
	// Either AMP ads or non-AMP ads are allowed;
	// AMP ads are not early rendered.
	BidRequest_AdSlot_AMP_AD_ALLOWED_AND_NOT_EARLY_RENDERED BidRequest_AdSlot_AmpAdRequirementType = 2
	// Either AMP ads or non-AMP ads are allowed;
	// AMP ads are early rendered.
	BidRequest_AdSlot_AMP_AD_ALLOWED_AND_EARLY_RENDERED BidRequest_AdSlot_AmpAdRequirementType = 3
	// AMP ads are required.
	// Ads that are non-AMP may be rejected by the publisher.
	BidRequest_AdSlot_AMP_AD_REQUIRED BidRequest_AdSlot_AmpAdRequirementType = 4
)

func (BidRequest_AdSlot_AmpAdRequirementType) Descriptor

func (BidRequest_AdSlot_AmpAdRequirementType) Enum

func (BidRequest_AdSlot_AmpAdRequirementType) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_AdSlot_AmpAdRequirementType.Descriptor instead.

func (BidRequest_AdSlot_AmpAdRequirementType) Number

func (BidRequest_AdSlot_AmpAdRequirementType) String

func (BidRequest_AdSlot_AmpAdRequirementType) Type

func (*BidRequest_AdSlot_AmpAdRequirementType) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidRequest_AdSlot_AmpPage

type BidRequest_AdSlot_AmpPage int32

Whether this is an AMP page or not.

const (
	// AMP page status unknown.
	BidRequest_AdSlot_UNKNOWN_AMP_PAGE BidRequest_AdSlot_AmpPage = 0
	// This is not an AMP page.
	BidRequest_AdSlot_DIALECT_HTML BidRequest_AdSlot_AmpPage = 1
	// This is an Amp page.
	BidRequest_AdSlot_DIALECT_HTML_AMP BidRequest_AdSlot_AmpPage = 2
)

func (BidRequest_AdSlot_AmpPage) Descriptor

func (BidRequest_AdSlot_AmpPage) Enum

func (BidRequest_AdSlot_AmpPage) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_AdSlot_AmpPage.Descriptor instead.

func (BidRequest_AdSlot_AmpPage) Number

func (BidRequest_AdSlot_AmpPage) String

func (x BidRequest_AdSlot_AmpPage) String() string

func (BidRequest_AdSlot_AmpPage) Type

func (*BidRequest_AdSlot_AmpPage) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidRequest_AdSlot_AuctionEnvironment

type BidRequest_AdSlot_AuctionEnvironment int32

Describes the environment where the ad auction is run.

const (
	// The auction determining the winning ad is held server-side.
	BidRequest_AdSlot_SERVER_SIDE_AUCTION BidRequest_AdSlot_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, see:
	// https://github.com/WICG/turtledove and
	// https://github.com/WICG/turtledove/blob/main/FLEDGE.md
	BidRequest_AdSlot_ON_DEVICE_INTEREST_GROUP_AUCTION BidRequest_AdSlot_AuctionEnvironment = 1
)

func (BidRequest_AdSlot_AuctionEnvironment) Descriptor

func (BidRequest_AdSlot_AuctionEnvironment) Enum

func (BidRequest_AdSlot_AuctionEnvironment) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_AdSlot_AuctionEnvironment.Descriptor instead.

func (BidRequest_AdSlot_AuctionEnvironment) Number

func (BidRequest_AdSlot_AuctionEnvironment) String

func (BidRequest_AdSlot_AuctionEnvironment) Type

func (*BidRequest_AdSlot_AuctionEnvironment) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidRequest_AdSlot_AutoRefresh

type BidRequest_AdSlot_AutoRefresh struct {

	// The auto-refresh settings that the publisher has on this
	// inventory. This is repeated because publishers may
	// do multiple types of auto refresh on one piece of inventory.
	RefreshSettings []*BidRequest_AdSlot_AutoRefresh_AutoRefreshSettings `protobuf:"bytes,1,rep,name=refresh_settings,json=refreshSettings" json:"refresh_settings,omitempty"`
	// The number of times this ad slot had been refreshed since last page
	// load.
	RefreshCount *int32 `protobuf:"varint,2,opt,name=refresh_count,json=refreshCount,def=0" json:"refresh_count,omitempty"`
	// contains filtered or unexported fields
}

Auto refresh settings.

func (*BidRequest_AdSlot_AutoRefresh) Descriptor deprecated

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

Deprecated: Use BidRequest_AdSlot_AutoRefresh.ProtoReflect.Descriptor instead.

func (*BidRequest_AdSlot_AutoRefresh) GetRefreshCount

func (x *BidRequest_AdSlot_AutoRefresh) GetRefreshCount() int32

func (*BidRequest_AdSlot_AutoRefresh) GetRefreshSettings

func (*BidRequest_AdSlot_AutoRefresh) ProtoMessage

func (*BidRequest_AdSlot_AutoRefresh) ProtoMessage()

func (*BidRequest_AdSlot_AutoRefresh) ProtoReflect

func (*BidRequest_AdSlot_AutoRefresh) Reset

func (x *BidRequest_AdSlot_AutoRefresh) Reset()

func (*BidRequest_AdSlot_AutoRefresh) String

type BidRequest_AdSlot_AutoRefresh_AutoRefreshSettings

type BidRequest_AdSlot_AutoRefresh_AutoRefreshSettings struct {

	// The type of the declared auto refresh.
	RefreshType *BidRequest_AdSlot_AutoRefresh_AutoRefreshSettings_AutoRefreshType `` /* 187-byte string literal not displayed */
	// The minimum refresh interval. This applies to all refresh types.
	MinRefreshIntervalSeconds *int32 `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*BidRequest_AdSlot_AutoRefresh_AutoRefreshSettings) Descriptor deprecated

Deprecated: Use BidRequest_AdSlot_AutoRefresh_AutoRefreshSettings.ProtoReflect.Descriptor instead.

func (*BidRequest_AdSlot_AutoRefresh_AutoRefreshSettings) GetMinRefreshIntervalSeconds

func (x *BidRequest_AdSlot_AutoRefresh_AutoRefreshSettings) GetMinRefreshIntervalSeconds() int32

func (*BidRequest_AdSlot_AutoRefresh_AutoRefreshSettings) GetRefreshType

func (*BidRequest_AdSlot_AutoRefresh_AutoRefreshSettings) ProtoMessage

func (*BidRequest_AdSlot_AutoRefresh_AutoRefreshSettings) ProtoReflect

func (*BidRequest_AdSlot_AutoRefresh_AutoRefreshSettings) Reset

func (*BidRequest_AdSlot_AutoRefresh_AutoRefreshSettings) String

type BidRequest_AdSlot_AutoRefresh_AutoRefreshSettings_AutoRefreshType

type BidRequest_AdSlot_AutoRefresh_AutoRefreshSettings_AutoRefreshType int32
const (
	BidRequest_AdSlot_AutoRefresh_AutoRefreshSettings_UNKNOWN_AUTO_REFRESH_TYPE BidRequest_AdSlot_AutoRefresh_AutoRefreshSettings_AutoRefreshType = 0
	// Refresh triggered by user-initiated action such
	// as scrolling.
	BidRequest_AdSlot_AutoRefresh_AutoRefreshSettings_USER_ACTION BidRequest_AdSlot_AutoRefresh_AutoRefreshSettings_AutoRefreshType = 1
	// Event-driven content change. For example, ads refresh
	// when the football game score changes on the page.
	BidRequest_AdSlot_AutoRefresh_AutoRefreshSettings_EVENT BidRequest_AdSlot_AutoRefresh_AutoRefreshSettings_AutoRefreshType = 2
	// Time-based refresh. Ads refresh on a predefined time
	// interval even without user activity.
	BidRequest_AdSlot_AutoRefresh_AutoRefreshSettings_TIME BidRequest_AdSlot_AutoRefresh_AutoRefreshSettings_AutoRefreshType = 3
)

func (BidRequest_AdSlot_AutoRefresh_AutoRefreshSettings_AutoRefreshType) Descriptor

func (BidRequest_AdSlot_AutoRefresh_AutoRefreshSettings_AutoRefreshType) Enum

func (BidRequest_AdSlot_AutoRefresh_AutoRefreshSettings_AutoRefreshType) EnumDescriptor deprecated

Deprecated: Use BidRequest_AdSlot_AutoRefresh_AutoRefreshSettings_AutoRefreshType.Descriptor instead.

func (BidRequest_AdSlot_AutoRefresh_AutoRefreshSettings_AutoRefreshType) Number

func (BidRequest_AdSlot_AutoRefresh_AutoRefreshSettings_AutoRefreshType) String

func (BidRequest_AdSlot_AutoRefresh_AutoRefreshSettings_AutoRefreshType) Type

func (*BidRequest_AdSlot_AutoRefresh_AutoRefreshSettings_AutoRefreshType) UnmarshalJSON deprecated

Deprecated: Do not use.

type BidRequest_AdSlot_BillableEventRateBidAdjustment

type BidRequest_AdSlot_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 *BidRequest_AdSlot_BillableEventRateBidAdjustment_CreativeType `` /* 186-byte string literal not displayed */
	// The SDK used to render the ad with. The SDK ID will match the one sent
	// in BidRequest.mobile.installed_sdk.id. This field is not set for Google
	// SDK.
	Sdk *BidRequest_Mobile_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 (*BidRequest_AdSlot_BillableEventRateBidAdjustment) Descriptor deprecated

Deprecated: Use BidRequest_AdSlot_BillableEventRateBidAdjustment.ProtoReflect.Descriptor instead.

func (*BidRequest_AdSlot_BillableEventRateBidAdjustment) GetBidAdjustment

func (*BidRequest_AdSlot_BillableEventRateBidAdjustment) GetCreativeType

func (*BidRequest_AdSlot_BillableEventRateBidAdjustment) GetSdk

func (*BidRequest_AdSlot_BillableEventRateBidAdjustment) ProtoMessage

func (*BidRequest_AdSlot_BillableEventRateBidAdjustment) ProtoReflect

func (*BidRequest_AdSlot_BillableEventRateBidAdjustment) Reset

func (*BidRequest_AdSlot_BillableEventRateBidAdjustment) String

type BidRequest_AdSlot_BillableEventRateBidAdjustment_CreativeType

type BidRequest_AdSlot_BillableEventRateBidAdjustment_CreativeType int32

The types of creative the bid adjustments can apply to.

const (
	BidRequest_AdSlot_BillableEventRateBidAdjustment_CREATIVE_TYPE_UNKNOWN BidRequest_AdSlot_BillableEventRateBidAdjustment_CreativeType = 0
	// Banner ads
	BidRequest_AdSlot_BillableEventRateBidAdjustment_HTML_SNIPPET BidRequest_AdSlot_BillableEventRateBidAdjustment_CreativeType = 1
	// VAST video or audio ads
	BidRequest_AdSlot_BillableEventRateBidAdjustment_VIDEO_VAST BidRequest_AdSlot_BillableEventRateBidAdjustment_CreativeType = 2
	// Native ads
	BidRequest_AdSlot_BillableEventRateBidAdjustment_NATIVE BidRequest_AdSlot_BillableEventRateBidAdjustment_CreativeType = 3
	// SDK rendered ad
	BidRequest_AdSlot_BillableEventRateBidAdjustment_SDK_RENDERED BidRequest_AdSlot_BillableEventRateBidAdjustment_CreativeType = 4
)

func (BidRequest_AdSlot_BillableEventRateBidAdjustment_CreativeType) Descriptor

func (BidRequest_AdSlot_BillableEventRateBidAdjustment_CreativeType) Enum

func (BidRequest_AdSlot_BillableEventRateBidAdjustment_CreativeType) EnumDescriptor deprecated

Deprecated: Use BidRequest_AdSlot_BillableEventRateBidAdjustment_CreativeType.Descriptor instead.

func (BidRequest_AdSlot_BillableEventRateBidAdjustment_CreativeType) Number

func (BidRequest_AdSlot_BillableEventRateBidAdjustment_CreativeType) String

func (BidRequest_AdSlot_BillableEventRateBidAdjustment_CreativeType) Type

func (*BidRequest_AdSlot_BillableEventRateBidAdjustment_CreativeType) UnmarshalJSON deprecated

Deprecated: Do not use.

type BidRequest_AdSlot_ConsentedProvidersSettings

type BidRequest_AdSlot_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
	// ConsentedProvidersSettings.tcf_consent_string 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 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.
	TcfConsentString *string `protobuf:"bytes,3,opt,name=tcf_consent_string,json=tcfConsentString" json:"tcf_consent_string,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_string 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.
	AdditionalConsentString *string `protobuf:"bytes,4,opt,name=additional_consent_string,json=additionalConsentString" json:"additional_consent_string,omitempty"`
	// contains filtered or unexported fields
}

func (*BidRequest_AdSlot_ConsentedProvidersSettings) Descriptor deprecated

Deprecated: Use BidRequest_AdSlot_ConsentedProvidersSettings.ProtoReflect.Descriptor instead.

func (*BidRequest_AdSlot_ConsentedProvidersSettings) GetAdditionalConsentString

func (x *BidRequest_AdSlot_ConsentedProvidersSettings) GetAdditionalConsentString() string

func (*BidRequest_AdSlot_ConsentedProvidersSettings) GetConsentedProviders

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

func (*BidRequest_AdSlot_ConsentedProvidersSettings) GetTcfConsentString

func (x *BidRequest_AdSlot_ConsentedProvidersSettings) GetTcfConsentString() string

func (*BidRequest_AdSlot_ConsentedProvidersSettings) ProtoMessage

func (*BidRequest_AdSlot_ConsentedProvidersSettings) ProtoReflect

func (*BidRequest_AdSlot_ConsentedProvidersSettings) Reset

func (*BidRequest_AdSlot_ConsentedProvidersSettings) String

type BidRequest_AdSlot_CreativeEnforcementSettings

type BidRequest_AdSlot_CreativeEnforcementSettings struct {
	PolicyEnforcement          *BidRequest_AdSlot_CreativeEnforcementSettings_PolicyEnforcement          `` /* 197-byte string literal not displayed */
	PublisherBlocksEnforcement *BidRequest_AdSlot_CreativeEnforcementSettings_PublisherBlocksEnforcement `` /* 235-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*BidRequest_AdSlot_CreativeEnforcementSettings) Descriptor deprecated

Deprecated: Use BidRequest_AdSlot_CreativeEnforcementSettings.ProtoReflect.Descriptor instead.

func (*BidRequest_AdSlot_CreativeEnforcementSettings) GetPolicyEnforcement

func (*BidRequest_AdSlot_CreativeEnforcementSettings) GetPublisherBlocksEnforcement

func (*BidRequest_AdSlot_CreativeEnforcementSettings) ProtoMessage

func (*BidRequest_AdSlot_CreativeEnforcementSettings) ProtoReflect

func (*BidRequest_AdSlot_CreativeEnforcementSettings) Reset

func (*BidRequest_AdSlot_CreativeEnforcementSettings) String

type BidRequest_AdSlot_CreativeEnforcementSettings_PolicyEnforcement

type BidRequest_AdSlot_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 (
	BidRequest_AdSlot_CreativeEnforcementSettings_POLICY_ENFORCEMENT_UNKNOWN BidRequest_AdSlot_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.
	BidRequest_AdSlot_CreativeEnforcementSettings_POLICY_ENFORCEMENT_PLATFORM_POLICY BidRequest_AdSlot_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.
	BidRequest_AdSlot_CreativeEnforcementSettings_POLICY_ENFORCEMENT_NETWORK_AND_PLATFORM_POLICY BidRequest_AdSlot_CreativeEnforcementSettings_PolicyEnforcement = 2
)

func (BidRequest_AdSlot_CreativeEnforcementSettings_PolicyEnforcement) Descriptor

func (BidRequest_AdSlot_CreativeEnforcementSettings_PolicyEnforcement) Enum

func (BidRequest_AdSlot_CreativeEnforcementSettings_PolicyEnforcement) EnumDescriptor deprecated

Deprecated: Use BidRequest_AdSlot_CreativeEnforcementSettings_PolicyEnforcement.Descriptor instead.

func (BidRequest_AdSlot_CreativeEnforcementSettings_PolicyEnforcement) Number

func (BidRequest_AdSlot_CreativeEnforcementSettings_PolicyEnforcement) String

func (BidRequest_AdSlot_CreativeEnforcementSettings_PolicyEnforcement) Type

func (*BidRequest_AdSlot_CreativeEnforcementSettings_PolicyEnforcement) UnmarshalJSON deprecated

Deprecated: Do not use.

type BidRequest_AdSlot_CreativeEnforcementSettings_PublisherBlocksEnforcement

type BidRequest_AdSlot_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 adslot. matching_ad_data.direct_deal.publisher_blocks_overridden field.

const (
	BidRequest_AdSlot_CreativeEnforcementSettings_PUBLISHER_BLOCKS_ENFORCEMENT_UNKNOWN BidRequest_AdSlot_CreativeEnforcementSettings_PublisherBlocksEnforcement = 0
	// The publisher's blocking controls are enforced on creatives
	// submitted. Publisher blocks enforcement settings are provided in the
	// following fields:
	// - publisher_settings_list_id
	// - excluded_sensitive_category
	// - allowed_restricted_category
	// - excluded_product_category
	// - allowed_vendor_type
	// - excluded_attribute
	BidRequest_AdSlot_CreativeEnforcementSettings_PUBLISHER_BLOCKS_ENFORCEMENT_APPLIES BidRequest_AdSlot_CreativeEnforcementSettings_PublisherBlocksEnforcement = 1
	// The publisher's blocking controls are not enforced on creatives
	// submitted.
	BidRequest_AdSlot_CreativeEnforcementSettings_PUBLISHER_BLOCKS_ENFORCEMENT_OVERRIDDEN BidRequest_AdSlot_CreativeEnforcementSettings_PublisherBlocksEnforcement = 2
)

func (BidRequest_AdSlot_CreativeEnforcementSettings_PublisherBlocksEnforcement) Descriptor

func (BidRequest_AdSlot_CreativeEnforcementSettings_PublisherBlocksEnforcement) Enum

func (BidRequest_AdSlot_CreativeEnforcementSettings_PublisherBlocksEnforcement) EnumDescriptor deprecated

Deprecated: Use BidRequest_AdSlot_CreativeEnforcementSettings_PublisherBlocksEnforcement.Descriptor instead.

func (BidRequest_AdSlot_CreativeEnforcementSettings_PublisherBlocksEnforcement) Number

func (BidRequest_AdSlot_CreativeEnforcementSettings_PublisherBlocksEnforcement) String

func (BidRequest_AdSlot_CreativeEnforcementSettings_PublisherBlocksEnforcement) Type

func (*BidRequest_AdSlot_CreativeEnforcementSettings_PublisherBlocksEnforcement) UnmarshalJSON deprecated

Deprecated: Do not use.

type BidRequest_AdSlot_ExchangeBidding

type BidRequest_AdSlot_ExchangeBidding struct {

	// Repeated KeyValue pairs to be sent from the publisher to the
	// exchange bidder.
	KeyValue []*BidRequest_KeyValue `protobuf:"bytes,3,rep,name=key_value,json=keyValue" json:"key_value,omitempty"`
	// contains filtered or unexported fields
}

Parameters related to exchange bidding (third party exchanges doing real-time bidding on DFP). This is never populated in calls to AdX real-time bidders.

func (*BidRequest_AdSlot_ExchangeBidding) Descriptor deprecated

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

Deprecated: Use BidRequest_AdSlot_ExchangeBidding.ProtoReflect.Descriptor instead.

func (*BidRequest_AdSlot_ExchangeBidding) GetKeyValue

func (*BidRequest_AdSlot_ExchangeBidding) ProtoMessage

func (*BidRequest_AdSlot_ExchangeBidding) ProtoMessage()

func (*BidRequest_AdSlot_ExchangeBidding) ProtoReflect

func (*BidRequest_AdSlot_ExchangeBidding) Reset

func (*BidRequest_AdSlot_ExchangeBidding) String

type BidRequest_AdSlot_ExcludedCreative

type BidRequest_AdSlot_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 (*BidRequest_AdSlot_ExcludedCreative) Descriptor deprecated

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

Deprecated: Use BidRequest_AdSlot_ExcludedCreative.ProtoReflect.Descriptor instead.

func (*BidRequest_AdSlot_ExcludedCreative) GetBuyerCreativeId

func (x *BidRequest_AdSlot_ExcludedCreative) GetBuyerCreativeId() string

func (*BidRequest_AdSlot_ExcludedCreative) ProtoMessage

func (*BidRequest_AdSlot_ExcludedCreative) ProtoMessage()

func (*BidRequest_AdSlot_ExcludedCreative) ProtoReflect

func (*BidRequest_AdSlot_ExcludedCreative) Reset

func (*BidRequest_AdSlot_ExcludedCreative) String

type BidRequest_AdSlot_FlexibleAdSlotSettings

type BidRequest_AdSlot_FlexibleAdSlotSettings struct {
	MaxWidth  *int32 `protobuf:"varint,1,opt,name=max_width,json=maxWidth" json:"max_width,omitempty"`
	MaxHeight *int32 `protobuf:"varint,2,opt,name=max_height,json=maxHeight" json:"max_height,omitempty"`
	MinWidth  *int32 `protobuf:"varint,3,opt,name=min_width,json=minWidth" json:"min_width,omitempty"`
	MinHeight *int32 `protobuf:"varint,4,opt,name=min_height,json=minHeight" json:"min_height,omitempty"`
	// contains filtered or unexported fields
}

func (*BidRequest_AdSlot_FlexibleAdSlotSettings) Descriptor deprecated

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

Deprecated: Use BidRequest_AdSlot_FlexibleAdSlotSettings.ProtoReflect.Descriptor instead.

func (*BidRequest_AdSlot_FlexibleAdSlotSettings) GetMaxHeight

func (*BidRequest_AdSlot_FlexibleAdSlotSettings) GetMaxWidth

func (*BidRequest_AdSlot_FlexibleAdSlotSettings) GetMinHeight

func (*BidRequest_AdSlot_FlexibleAdSlotSettings) GetMinWidth

func (*BidRequest_AdSlot_FlexibleAdSlotSettings) ProtoMessage

func (*BidRequest_AdSlot_FlexibleAdSlotSettings) ProtoReflect

func (*BidRequest_AdSlot_FlexibleAdSlotSettings) Reset

func (*BidRequest_AdSlot_FlexibleAdSlotSettings) String

type BidRequest_AdSlot_IFramingDepth

type BidRequest_AdSlot_IFramingDepth int32

iFrame depth of the ad slot on the webpage where it is present. Currently only set for video ad requests.

const (
	BidRequest_AdSlot_UNKNOWN_IFRAME_DEPTH BidRequest_AdSlot_IFramingDepth = 0
	BidRequest_AdSlot_NOT_IN_IFRAME        BidRequest_AdSlot_IFramingDepth = 1
	BidRequest_AdSlot_ONE_IFRAME           BidRequest_AdSlot_IFramingDepth = 2
	BidRequest_AdSlot_MULTIPLE_IFRAME      BidRequest_AdSlot_IFramingDepth = 3
)

func (BidRequest_AdSlot_IFramingDepth) Descriptor

func (BidRequest_AdSlot_IFramingDepth) Enum

func (BidRequest_AdSlot_IFramingDepth) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_AdSlot_IFramingDepth.Descriptor instead.

func (BidRequest_AdSlot_IFramingDepth) Number

func (BidRequest_AdSlot_IFramingDepth) String

func (BidRequest_AdSlot_IFramingDepth) Type

func (*BidRequest_AdSlot_IFramingDepth) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidRequest_AdSlot_IFramingState

type BidRequest_AdSlot_IFramingState int32

iFraming state of the ad slot on the webpage where it is present.

const (
	BidRequest_AdSlot_UNKNOWN_IFRAME_STATE BidRequest_AdSlot_IFramingState = 0
	BidRequest_AdSlot_NO_IFRAME            BidRequest_AdSlot_IFramingState = 1
	BidRequest_AdSlot_SAME_DOMAIN_IFRAME   BidRequest_AdSlot_IFramingState = 2
	BidRequest_AdSlot_CROSS_DOMAIN_IFRAME  BidRequest_AdSlot_IFramingState = 3
)

func (BidRequest_AdSlot_IFramingState) Descriptor

func (BidRequest_AdSlot_IFramingState) Enum

func (BidRequest_AdSlot_IFramingState) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_AdSlot_IFramingState.Descriptor instead.

func (BidRequest_AdSlot_IFramingState) Number

func (BidRequest_AdSlot_IFramingState) String

func (BidRequest_AdSlot_IFramingState) Type

func (*BidRequest_AdSlot_IFramingState) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidRequest_AdSlot_MatchingAdData

type BidRequest_AdSlot_MatchingAdData struct {

	// The billing ids corresponding to the pretargeting configs that matched.
	BillingId []int64 `protobuf:"varint,2,rep,name=billing_id,json=billingId" json:"billing_id,omitempty"`
	// The minimum CPM value that you can bid to not be filtered before the
	// auction. This may be a global minimum, or it may be a minimum set by
	// the publisher. The value is in micros of the bidding currency.
	// The bidding currency is determined by:
	// 1. The bidder-level currency, if configured.
	// 2. Otherwise, the currency of the buyer accounts indicated by the
	// billing IDs in the billing_id field.
	MinimumCpmMicros *int64                                         `protobuf:"varint,5,opt,name=minimum_cpm_micros,json=minimumCpmMicros" json:"minimum_cpm_micros,omitempty"`
	DirectDeal       []*BidRequest_AdSlot_MatchingAdData_DirectDeal `protobuf:"bytes,6,rep,name=direct_deal,json=directDeal" json:"direct_deal,omitempty"`
	// contains filtered or unexported fields
}

Information about the pre-targeting configs that matched.

func (*BidRequest_AdSlot_MatchingAdData) Descriptor deprecated

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

Deprecated: Use BidRequest_AdSlot_MatchingAdData.ProtoReflect.Descriptor instead.

func (*BidRequest_AdSlot_MatchingAdData) GetBillingId

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

func (*BidRequest_AdSlot_MatchingAdData) GetDirectDeal

func (*BidRequest_AdSlot_MatchingAdData) GetMinimumCpmMicros

func (x *BidRequest_AdSlot_MatchingAdData) GetMinimumCpmMicros() int64

func (*BidRequest_AdSlot_MatchingAdData) ProtoMessage

func (*BidRequest_AdSlot_MatchingAdData) ProtoMessage()

func (*BidRequest_AdSlot_MatchingAdData) ProtoReflect

func (*BidRequest_AdSlot_MatchingAdData) Reset

func (*BidRequest_AdSlot_MatchingAdData) String

type BidRequest_AdSlot_MatchingAdData_DirectDeal

type BidRequest_AdSlot_MatchingAdData_DirectDeal struct {

	// An id identifying the deal.
	DirectDealId *int64 `protobuf:"varint,1,opt,name=direct_deal_id,json=directDealId" json:"direct_deal_id,omitempty"`
	// For deal_type=PREFERRED_DEAL or deal_type=PROGRAMMATIC_GUARANTEED,
	// you must bid at least fixed_cpm_micros (in micros of the bidding
	// currency) in order to participate in the deal. If you win, you will
	// be charged fixed_cpm_micros. For deal_type=PRIVATE_AUCTION or
	// deal_type=AUCTION_PACKAGE or deal_type=MARKETPLACE_PACKAGE, you must
	// bid at least fixed_cpm_micros. Bidding higher CPM than
	// fixed_cpm_micros will increase your chance to win when
	// deal_type=PRIVATE_AUCTION or deal_type=AUCTION_PACKAGE or
	// deal_type=MARKETPLACE_PACKAGE, however it will not increase your
	// chance to win for other types of deals. The bidding currency is
	// determined by:
	// 1. The bidder-level currency, if configured.
	// 2. Otherwise, the currency of the buyer accounts indicated by the
	// billing IDs in the billing_id field.
	FixedCpmMicros *int64                                                `protobuf:"varint,2,opt,name=fixed_cpm_micros,json=fixedCpmMicros" json:"fixed_cpm_micros,omitempty"`
	DealType       *BidRequest_AdSlot_MatchingAdData_DirectDeal_DealType `` /* 165-byte string literal not displayed */
	// Whether the publisher has exempted this deal from configured blocks.
	// This setting does not override AdX policies or Ad Review Center
	// decisions.
	PublisherBlocksOverridden *bool                                                           `` /* 138-byte string literal not displayed */
	CreativeSource            *BidRequest_AdSlot_MatchingAdData_DirectDeal_CreativeSourceType `` /* 194-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.
	MustBid *bool `protobuf:"varint,9,opt,name=must_bid,json=mustBid,def=1" json:"must_bid,omitempty"`
	// Creative constraints for this deal. If this is not set, bidders
	// should refer to the BidRequest-level setting of each field.
	CreativeConstraints *BidRequest_AdSlot_MatchingAdData_DirectDeal_CreativeConstraints `protobuf:"bytes,17,opt,name=creative_constraints,json=creativeConstraints" json:"creative_constraints,omitempty"`
	// If non-empty, this field contains a list of seat IDs in the bidder's
	// namespace set by media planners that are allowed by the publisher to
	// bid on this deal. All seat IDs not included in this list are blocked
	// from bidding on this deal. Bids on this deal on behalf of other
	// seats, as indicated by the BidResponse.ad.adslot.seat_id field, and
	// bids with no seat ID will be filtered before the auction. If this
	// field is empty, there are no restrictions on the seat IDs that can
	// bid on this deal.
	AllowedSeatIds []string `protobuf:"bytes,18,rep,name=allowed_seat_ids,json=allowedSeatIds" json:"allowed_seat_ids,omitempty"`
	// contains filtered or unexported fields
}

Information about any deals that matched for this inventory.

func (*BidRequest_AdSlot_MatchingAdData_DirectDeal) Descriptor deprecated

Deprecated: Use BidRequest_AdSlot_MatchingAdData_DirectDeal.ProtoReflect.Descriptor instead.

func (*BidRequest_AdSlot_MatchingAdData_DirectDeal) GetAllowedSeatIds

func (x *BidRequest_AdSlot_MatchingAdData_DirectDeal) GetAllowedSeatIds() []string

func (*BidRequest_AdSlot_MatchingAdData_DirectDeal) GetCreativeConstraints

func (*BidRequest_AdSlot_MatchingAdData_DirectDeal) GetCreativeSource

func (*BidRequest_AdSlot_MatchingAdData_DirectDeal) GetDealType

func (*BidRequest_AdSlot_MatchingAdData_DirectDeal) GetDirectDealId

func (*BidRequest_AdSlot_MatchingAdData_DirectDeal) GetFixedCpmMicros

func (x *BidRequest_AdSlot_MatchingAdData_DirectDeal) GetFixedCpmMicros() int64

func (*BidRequest_AdSlot_MatchingAdData_DirectDeal) GetMustBid

func (*BidRequest_AdSlot_MatchingAdData_DirectDeal) GetPublisherBlocksOverridden

func (x *BidRequest_AdSlot_MatchingAdData_DirectDeal) GetPublisherBlocksOverridden() bool

func (*BidRequest_AdSlot_MatchingAdData_DirectDeal) ProtoMessage

func (*BidRequest_AdSlot_MatchingAdData_DirectDeal) ProtoReflect

func (*BidRequest_AdSlot_MatchingAdData_DirectDeal) Reset

func (*BidRequest_AdSlot_MatchingAdData_DirectDeal) String

type BidRequest_AdSlot_MatchingAdData_DirectDeal_CreativeConstraints

type BidRequest_AdSlot_MatchingAdData_DirectDeal_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 BidRequest-level creative types
	// in adslot.allowed_ad_types.
	AllowedAdTypes []BidRequest_AdSlot_AllowedAdType `` /* 165-byte string literal not displayed */
	// 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.video_ad_skippable.
	VideoAdSkippable *BidRequest_Video_SkippableBidRequestType `` /* 179-byte string literal not displayed */
	// The maximum allowed duration in milliseconds for the ad. 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.max_ad_duration.
	MaxAdDurationMs *int32 `protobuf:"varint,3,opt,name=max_ad_duration_ms,json=maxAdDurationMs" json:"max_ad_duration_ms,omitempty"`
	// contains filtered or unexported fields
}

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

func (*BidRequest_AdSlot_MatchingAdData_DirectDeal_CreativeConstraints) Descriptor deprecated

Deprecated: Use BidRequest_AdSlot_MatchingAdData_DirectDeal_CreativeConstraints.ProtoReflect.Descriptor instead.

func (*BidRequest_AdSlot_MatchingAdData_DirectDeal_CreativeConstraints) GetAllowedAdTypes

func (*BidRequest_AdSlot_MatchingAdData_DirectDeal_CreativeConstraints) GetMaxAdDurationMs

func (*BidRequest_AdSlot_MatchingAdData_DirectDeal_CreativeConstraints) GetVideoAdSkippable

func (*BidRequest_AdSlot_MatchingAdData_DirectDeal_CreativeConstraints) ProtoMessage

func (*BidRequest_AdSlot_MatchingAdData_DirectDeal_CreativeConstraints) ProtoReflect

func (*BidRequest_AdSlot_MatchingAdData_DirectDeal_CreativeConstraints) Reset

func (*BidRequest_AdSlot_MatchingAdData_DirectDeal_CreativeConstraints) String

type BidRequest_AdSlot_MatchingAdData_DirectDeal_CreativeSourceType

type BidRequest_AdSlot_MatchingAdData_DirectDeal_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 (
	BidRequest_AdSlot_MatchingAdData_DirectDeal_CREATIVE_SOURCE_UNKNOWN BidRequest_AdSlot_MatchingAdData_DirectDeal_CreativeSourceType = 0
	// The creative is hosted by the advertiser, which means the bidder
	// is required to provide a creative in the bid response.
	BidRequest_AdSlot_MatchingAdData_DirectDeal_CREATIVE_SOURCE_ADVERTISER BidRequest_AdSlot_MatchingAdData_DirectDeal_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.
	BidRequest_AdSlot_MatchingAdData_DirectDeal_CREATIVE_SOURCE_PUBLISHER BidRequest_AdSlot_MatchingAdData_DirectDeal_CreativeSourceType = 2
)

func (BidRequest_AdSlot_MatchingAdData_DirectDeal_CreativeSourceType) Descriptor

func (BidRequest_AdSlot_MatchingAdData_DirectDeal_CreativeSourceType) Enum

func (BidRequest_AdSlot_MatchingAdData_DirectDeal_CreativeSourceType) EnumDescriptor deprecated

Deprecated: Use BidRequest_AdSlot_MatchingAdData_DirectDeal_CreativeSourceType.Descriptor instead.

func (BidRequest_AdSlot_MatchingAdData_DirectDeal_CreativeSourceType) Number

func (BidRequest_AdSlot_MatchingAdData_DirectDeal_CreativeSourceType) String

func (BidRequest_AdSlot_MatchingAdData_DirectDeal_CreativeSourceType) Type

func (*BidRequest_AdSlot_MatchingAdData_DirectDeal_CreativeSourceType) UnmarshalJSON deprecated

Deprecated: Do not use.

type BidRequest_AdSlot_MatchingAdData_DirectDeal_DealType

type BidRequest_AdSlot_MatchingAdData_DirectDeal_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 (
	BidRequest_AdSlot_MatchingAdData_DirectDeal_UNKNOWN_DEAL_TYPE BidRequest_AdSlot_MatchingAdData_DirectDeal_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.
	BidRequest_AdSlot_MatchingAdData_DirectDeal_PREFERRED_DEAL BidRequest_AdSlot_MatchingAdData_DirectDeal_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.
	BidRequest_AdSlot_MatchingAdData_DirectDeal_PRIVATE_AUCTION BidRequest_AdSlot_MatchingAdData_DirectDeal_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 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.
	BidRequest_AdSlot_MatchingAdData_DirectDeal_PROGRAMMATIC_GUARANTEED BidRequest_AdSlot_MatchingAdData_DirectDeal_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.
	BidRequest_AdSlot_MatchingAdData_DirectDeal_AUCTION_PACKAGE BidRequest_AdSlot_MatchingAdData_DirectDeal_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.
	BidRequest_AdSlot_MatchingAdData_DirectDeal_MARKETPLACE_PACKAGE BidRequest_AdSlot_MatchingAdData_DirectDeal_DealType = 5
)

func (BidRequest_AdSlot_MatchingAdData_DirectDeal_DealType) Descriptor

func (BidRequest_AdSlot_MatchingAdData_DirectDeal_DealType) Enum

func (BidRequest_AdSlot_MatchingAdData_DirectDeal_DealType) EnumDescriptor deprecated

Deprecated: Use BidRequest_AdSlot_MatchingAdData_DirectDeal_DealType.Descriptor instead.

func (BidRequest_AdSlot_MatchingAdData_DirectDeal_DealType) Number

func (BidRequest_AdSlot_MatchingAdData_DirectDeal_DealType) String

func (BidRequest_AdSlot_MatchingAdData_DirectDeal_DealType) Type

func (*BidRequest_AdSlot_MatchingAdData_DirectDeal_DealType) UnmarshalJSON deprecated

Deprecated: Do not use.

type BidRequest_AdSlot_MediationStatus

type BidRequest_AdSlot_MediationStatus int32

Whether the ad request has been determined to come directly from the publisher.

const (
	BidRequest_AdSlot_UNKNOWN        BidRequest_AdSlot_MediationStatus = 0
	BidRequest_AdSlot_DIRECT_REQUEST BidRequest_AdSlot_MediationStatus = 1
)

func (BidRequest_AdSlot_MediationStatus) Descriptor

func (BidRequest_AdSlot_MediationStatus) Enum

func (BidRequest_AdSlot_MediationStatus) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_AdSlot_MediationStatus.Descriptor instead.

func (BidRequest_AdSlot_MediationStatus) Number

func (BidRequest_AdSlot_MediationStatus) String

func (BidRequest_AdSlot_MediationStatus) Type

func (*BidRequest_AdSlot_MediationStatus) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidRequest_AdSlot_NativeAdTemplate

type BidRequest_AdSlot_NativeAdTemplate struct {

	// Bitfield describing which fields are required by the publisher. Bid
	// responses with no value for these fields will be rejected. Click and
	// view tracking urls are always implicitly required.
	RequiredFields *int64 `protobuf:"varint,1,opt,name=required_fields,json=requiredFields" json:"required_fields,omitempty"`
	// Bitfield describing which fields are recommended by the publisher. All
	// recommended fields are supported, but not all recommended fields are
	// required.
	RecommendedFields *int64 `protobuf:"varint,2,opt,name=recommended_fields,json=recommendedFields" json:"recommended_fields,omitempty"`
	// max_safe_length indicates the maximum number of Unicode characters that
	// are guaranteed to be shown without truncation. Longer strings may be
	// truncated and ellipsized by Ad Exchange or the publisher during
	// rendering.
	HeadlineMaxSafeLength     *int32 `protobuf:"varint,3,opt,name=headline_max_safe_length,json=headlineMaxSafeLength" json:"headline_max_safe_length,omitempty"`
	BodyMaxSafeLength         *int32 `protobuf:"varint,4,opt,name=body_max_safe_length,json=bodyMaxSafeLength" json:"body_max_safe_length,omitempty"`
	CallToActionMaxSafeLength *int32 `` /* 138-byte string literal not displayed */
	AdvertiserMaxSafeLength   *int32 `` /* 128-byte string literal not displayed */
	PriceMaxSafeLength        *int32 `protobuf:"varint,15,opt,name=price_max_safe_length,json=priceMaxSafeLength" json:"price_max_safe_length,omitempty"`
	// The width and height from which to calculate the required aspect ratio.
	// You can provide a larger image in the response. Images that have aspect
	// ratios substantially different than those implied by the height and
	// width may be filtered.
	ImageWidth    *int32 `protobuf:"varint,7,opt,name=image_width,json=imageWidth" json:"image_width,omitempty"`
	ImageHeight   *int32 `protobuf:"varint,8,opt,name=image_height,json=imageHeight" json:"image_height,omitempty"`
	LogoWidth     *int32 `protobuf:"varint,9,opt,name=logo_width,json=logoWidth" json:"logo_width,omitempty"`
	LogoHeight    *int32 `protobuf:"varint,10,opt,name=logo_height,json=logoHeight" json:"logo_height,omitempty"`
	AppIconWidth  *int32 `protobuf:"varint,11,opt,name=app_icon_width,json=appIconWidth" json:"app_icon_width,omitempty"`
	AppIconHeight *int32 `protobuf:"varint,12,opt,name=app_icon_height,json=appIconHeight" json:"app_icon_height,omitempty"`
	// Globally distinct id for the specific style, HTML, and CSS with which
	// the native ad is rendered.
	StyleId         *int32                                         `protobuf:"varint,16,opt,name=style_id,json=styleId" json:"style_id,omitempty"`
	StyleLayoutType *BidRequest_AdSlot_NativeAdTemplate_LayoutType `` /* 182-byte string literal not displayed */
	// If the style_layout_type is Pixel, width and height of the
	// entire native ad after rendering. If the style_layout_type is
	// Fluid, the style_height and style_width may optionally
	// not be populated.
	StyleHeight *int32 `protobuf:"varint,18,opt,name=style_height,json=styleHeight" json:"style_height,omitempty"`
	StyleWidth  *int32 `protobuf:"varint,19,opt,name=style_width,json=styleWidth" json:"style_width,omitempty"`
	// contains filtered or unexported fields
}

A native ad consists of pieces that are rendered by the publisher. A publisher may support multiple distinct native ad templates. If the request also allows banners or videos, you can respond with other types of ads by setting html_snippet or video_url instead. If only native templates exist, you must set the native_ad field in any response you send.

func (*BidRequest_AdSlot_NativeAdTemplate) Descriptor deprecated

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

Deprecated: Use BidRequest_AdSlot_NativeAdTemplate.ProtoReflect.Descriptor instead.

func (*BidRequest_AdSlot_NativeAdTemplate) GetAdvertiserMaxSafeLength

func (x *BidRequest_AdSlot_NativeAdTemplate) GetAdvertiserMaxSafeLength() int32

func (*BidRequest_AdSlot_NativeAdTemplate) GetAppIconHeight

func (x *BidRequest_AdSlot_NativeAdTemplate) GetAppIconHeight() int32

func (*BidRequest_AdSlot_NativeAdTemplate) GetAppIconWidth

func (x *BidRequest_AdSlot_NativeAdTemplate) GetAppIconWidth() int32

func (*BidRequest_AdSlot_NativeAdTemplate) GetBodyMaxSafeLength

func (x *BidRequest_AdSlot_NativeAdTemplate) GetBodyMaxSafeLength() int32

func (*BidRequest_AdSlot_NativeAdTemplate) GetCallToActionMaxSafeLength

func (x *BidRequest_AdSlot_NativeAdTemplate) GetCallToActionMaxSafeLength() int32

func (*BidRequest_AdSlot_NativeAdTemplate) GetHeadlineMaxSafeLength

func (x *BidRequest_AdSlot_NativeAdTemplate) GetHeadlineMaxSafeLength() int32

func (*BidRequest_AdSlot_NativeAdTemplate) GetImageHeight

func (x *BidRequest_AdSlot_NativeAdTemplate) GetImageHeight() int32

func (*BidRequest_AdSlot_NativeAdTemplate) GetImageWidth

func (x *BidRequest_AdSlot_NativeAdTemplate) GetImageWidth() int32

func (*BidRequest_AdSlot_NativeAdTemplate) GetLogoHeight

func (x *BidRequest_AdSlot_NativeAdTemplate) GetLogoHeight() int32

func (*BidRequest_AdSlot_NativeAdTemplate) GetLogoWidth

func (x *BidRequest_AdSlot_NativeAdTemplate) GetLogoWidth() int32

func (*BidRequest_AdSlot_NativeAdTemplate) GetPriceMaxSafeLength

func (x *BidRequest_AdSlot_NativeAdTemplate) GetPriceMaxSafeLength() int32

func (*BidRequest_AdSlot_NativeAdTemplate) GetRecommendedFields

func (x *BidRequest_AdSlot_NativeAdTemplate) GetRecommendedFields() int64

func (*BidRequest_AdSlot_NativeAdTemplate) GetRequiredFields

func (x *BidRequest_AdSlot_NativeAdTemplate) GetRequiredFields() int64

func (*BidRequest_AdSlot_NativeAdTemplate) GetStyleHeight

func (x *BidRequest_AdSlot_NativeAdTemplate) GetStyleHeight() int32

func (*BidRequest_AdSlot_NativeAdTemplate) GetStyleId

func (x *BidRequest_AdSlot_NativeAdTemplate) GetStyleId() int32

func (*BidRequest_AdSlot_NativeAdTemplate) GetStyleLayoutType

func (*BidRequest_AdSlot_NativeAdTemplate) GetStyleWidth

func (x *BidRequest_AdSlot_NativeAdTemplate) GetStyleWidth() int32

func (*BidRequest_AdSlot_NativeAdTemplate) ProtoMessage

func (*BidRequest_AdSlot_NativeAdTemplate) ProtoMessage()

func (*BidRequest_AdSlot_NativeAdTemplate) ProtoReflect

func (*BidRequest_AdSlot_NativeAdTemplate) Reset

func (*BidRequest_AdSlot_NativeAdTemplate) String

type BidRequest_AdSlot_NativeAdTemplate_Fields

type BidRequest_AdSlot_NativeAdTemplate_Fields int32

Defines the bits used in required_fields and recommended_fields. There is one bit for each of the fields in BidResponse.Ad.NativeAd

const (
	BidRequest_AdSlot_NativeAdTemplate_NO_FIELDS        BidRequest_AdSlot_NativeAdTemplate_Fields = 0
	BidRequest_AdSlot_NativeAdTemplate_HEADLINE         BidRequest_AdSlot_NativeAdTemplate_Fields = 1
	BidRequest_AdSlot_NativeAdTemplate_BODY             BidRequest_AdSlot_NativeAdTemplate_Fields = 2
	BidRequest_AdSlot_NativeAdTemplate_CALL_TO_ACTION   BidRequest_AdSlot_NativeAdTemplate_Fields = 4
	BidRequest_AdSlot_NativeAdTemplate_ADVERTISER       BidRequest_AdSlot_NativeAdTemplate_Fields = 8
	BidRequest_AdSlot_NativeAdTemplate_IMAGE            BidRequest_AdSlot_NativeAdTemplate_Fields = 16
	BidRequest_AdSlot_NativeAdTemplate_APP_ICON         BidRequest_AdSlot_NativeAdTemplate_Fields = 64
	BidRequest_AdSlot_NativeAdTemplate_STAR_RATING      BidRequest_AdSlot_NativeAdTemplate_Fields = 128
	BidRequest_AdSlot_NativeAdTemplate_PRICE            BidRequest_AdSlot_NativeAdTemplate_Fields = 256
	BidRequest_AdSlot_NativeAdTemplate_DEPRECATED_STORE BidRequest_AdSlot_NativeAdTemplate_Fields = 512
	BidRequest_AdSlot_NativeAdTemplate_VIDEO            BidRequest_AdSlot_NativeAdTemplate_Fields = 1024
)

func (BidRequest_AdSlot_NativeAdTemplate_Fields) Descriptor

func (BidRequest_AdSlot_NativeAdTemplate_Fields) Enum

func (BidRequest_AdSlot_NativeAdTemplate_Fields) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_AdSlot_NativeAdTemplate_Fields.Descriptor instead.

func (BidRequest_AdSlot_NativeAdTemplate_Fields) Number

func (BidRequest_AdSlot_NativeAdTemplate_Fields) String

func (BidRequest_AdSlot_NativeAdTemplate_Fields) Type

func (*BidRequest_AdSlot_NativeAdTemplate_Fields) UnmarshalJSON deprecated

Deprecated: Do not use.

type BidRequest_AdSlot_NativeAdTemplate_LayoutType

type BidRequest_AdSlot_NativeAdTemplate_LayoutType int32

Type of style layout for each native ad template.

const (
	BidRequest_AdSlot_NativeAdTemplate_PIXEL BidRequest_AdSlot_NativeAdTemplate_LayoutType = 0
	BidRequest_AdSlot_NativeAdTemplate_FLUID BidRequest_AdSlot_NativeAdTemplate_LayoutType = 1
)

func (BidRequest_AdSlot_NativeAdTemplate_LayoutType) Descriptor

func (BidRequest_AdSlot_NativeAdTemplate_LayoutType) Enum

func (BidRequest_AdSlot_NativeAdTemplate_LayoutType) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_AdSlot_NativeAdTemplate_LayoutType.Descriptor instead.

func (BidRequest_AdSlot_NativeAdTemplate_LayoutType) Number

func (BidRequest_AdSlot_NativeAdTemplate_LayoutType) String

func (BidRequest_AdSlot_NativeAdTemplate_LayoutType) Type

func (*BidRequest_AdSlot_NativeAdTemplate_LayoutType) UnmarshalJSON deprecated

Deprecated: Do not use.

type BidRequest_AdSlot_NativePlacementType

type BidRequest_AdSlot_NativePlacementType int32

NativePlacementType describes placement of native ad slot with respect to surrounding context.

const (
	BidRequest_AdSlot_PLACEMENT_UNKNOWN BidRequest_AdSlot_NativePlacementType = 0
	// In the feed of content - for example as an item inside the organic
	// feed/grid/listing/carousel.
	BidRequest_AdSlot_PLACEMENT_IN_FEED BidRequest_AdSlot_NativePlacementType = 1
	// In the atomic unit of the content - for example, in the article page or
	// single image page.
	BidRequest_AdSlot_PLACEMENT_ATOMIC_UNIT BidRequest_AdSlot_NativePlacementType = 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.
	BidRequest_AdSlot_PLACEMENT_OUTSIDE BidRequest_AdSlot_NativePlacementType = 3
	// Recommendation widget, most commonly presented below the article
	// content.
	BidRequest_AdSlot_PLACEMENT_RECOMMENDATION BidRequest_AdSlot_NativePlacementType = 4
)

func (BidRequest_AdSlot_NativePlacementType) Descriptor

func (BidRequest_AdSlot_NativePlacementType) Enum

func (BidRequest_AdSlot_NativePlacementType) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_AdSlot_NativePlacementType.Descriptor instead.

func (BidRequest_AdSlot_NativePlacementType) Number

func (BidRequest_AdSlot_NativePlacementType) String

func (BidRequest_AdSlot_NativePlacementType) Type

func (*BidRequest_AdSlot_NativePlacementType) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidRequest_AdSlot_NonBrowserSource

type BidRequest_AdSlot_NonBrowserSource int32

Sources for non-browser inventory.

const (
	BidRequest_AdSlot_UNDECLARED_SOURCE BidRequest_AdSlot_NonBrowserSource = 0
	BidRequest_AdSlot_DESKTOP_APP       BidRequest_AdSlot_NonBrowserSource = 1
)

func (BidRequest_AdSlot_NonBrowserSource) Descriptor

func (BidRequest_AdSlot_NonBrowserSource) Enum

func (BidRequest_AdSlot_NonBrowserSource) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_AdSlot_NonBrowserSource.Descriptor instead.

func (BidRequest_AdSlot_NonBrowserSource) Number

func (BidRequest_AdSlot_NonBrowserSource) String

func (BidRequest_AdSlot_NonBrowserSource) Type

func (*BidRequest_AdSlot_NonBrowserSource) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidRequest_AdSlot_OpenBidding

type BidRequest_AdSlot_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 (*BidRequest_AdSlot_OpenBidding) Descriptor deprecated

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

Deprecated: Use BidRequest_AdSlot_OpenBidding.ProtoReflect.Descriptor instead.

func (*BidRequest_AdSlot_OpenBidding) GetIsOpenBidding

func (x *BidRequest_AdSlot_OpenBidding) GetIsOpenBidding() bool

func (*BidRequest_AdSlot_OpenBidding) ProtoMessage

func (*BidRequest_AdSlot_OpenBidding) ProtoMessage()

func (*BidRequest_AdSlot_OpenBidding) ProtoReflect

func (*BidRequest_AdSlot_OpenBidding) Reset

func (x *BidRequest_AdSlot_OpenBidding) Reset()

func (*BidRequest_AdSlot_OpenBidding) String

type BidRequest_AdSlot_Renderer

type BidRequest_AdSlot_Renderer int32

Defines who controls the environment that made the ad request and will render the ad. On platforms where code written by Google will handle the ad this field is set to GOOGLE. When this field is PUBLISHER the publisher has placed their own code on the device to handle playback of the ad. There is no technical difference in how these request are handled. You may use this field to differentiate between different environments for non-technical reasons. This field is only set for requests that allow VAST video ads.

const (
	BidRequest_AdSlot_UNKNOWN_RENDERER BidRequest_AdSlot_Renderer = 0
	BidRequest_AdSlot_GOOGLE           BidRequest_AdSlot_Renderer = 1
	BidRequest_AdSlot_PUBLISHER        BidRequest_AdSlot_Renderer = 2
)

func (BidRequest_AdSlot_Renderer) Descriptor

func (BidRequest_AdSlot_Renderer) Enum

func (BidRequest_AdSlot_Renderer) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_AdSlot_Renderer.Descriptor instead.

func (BidRequest_AdSlot_Renderer) Number

func (BidRequest_AdSlot_Renderer) String

func (BidRequest_AdSlot_Renderer) Type

func (*BidRequest_AdSlot_Renderer) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidRequest_AdSlot_SecureSignal

type BidRequest_AdSlot_SecureSignal struct {

	// The source (provider) of the signal. Identifier for the library or SDK
	// that generated this data.
	Source *string `protobuf:"bytes,4,opt,name=source" json:"source,omitempty"`
	// 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 (*BidRequest_AdSlot_SecureSignal) Descriptor deprecated

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

Deprecated: Use BidRequest_AdSlot_SecureSignal.ProtoReflect.Descriptor instead.

func (*BidRequest_AdSlot_SecureSignal) GetData

func (*BidRequest_AdSlot_SecureSignal) GetSource

func (x *BidRequest_AdSlot_SecureSignal) GetSource() string

func (*BidRequest_AdSlot_SecureSignal) ProtoMessage

func (*BidRequest_AdSlot_SecureSignal) ProtoMessage()

func (*BidRequest_AdSlot_SecureSignal) ProtoReflect

func (*BidRequest_AdSlot_SecureSignal) Reset

func (x *BidRequest_AdSlot_SecureSignal) Reset()

func (*BidRequest_AdSlot_SecureSignal) String

type BidRequest_AdSlot_SlotVisibility

type BidRequest_AdSlot_SlotVisibility int32

Visibility information for the slot.

const (
	BidRequest_AdSlot_NO_DETECTION   BidRequest_AdSlot_SlotVisibility = 0
	BidRequest_AdSlot_ABOVE_THE_FOLD BidRequest_AdSlot_SlotVisibility = 1
	BidRequest_AdSlot_BELOW_THE_FOLD BidRequest_AdSlot_SlotVisibility = 2
)

func (BidRequest_AdSlot_SlotVisibility) Descriptor

func (BidRequest_AdSlot_SlotVisibility) Enum

func (BidRequest_AdSlot_SlotVisibility) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_AdSlot_SlotVisibility.Descriptor instead.

func (BidRequest_AdSlot_SlotVisibility) Number

func (BidRequest_AdSlot_SlotVisibility) String

func (BidRequest_AdSlot_SlotVisibility) Type

func (*BidRequest_AdSlot_SlotVisibility) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidRequest_AdSlot_StickySettings

type BidRequest_AdSlot_StickySettings struct {

	// Whether the ad slot is a sidebar that sticks on screen when user
	// scrolls.
	VerticalStickiness *BidRequest_AdSlot_StickySettings_Stickiness `` /* 186-byte string literal not displayed */
	// Whether the ad slot is a horizontal slot that sticks on the top of the
	// screen when user scrolls.
	TopHorizontalStickiness *BidRequest_AdSlot_StickySettings_Stickiness `` /* 203-byte string literal not displayed */
	// Whether the ad slot is a horizontal slot that sticks on the bottom of
	// the screen when user scrolls.
	BottomHorizontalStickiness *BidRequest_AdSlot_StickySettings_Stickiness `` /* 212-byte string literal not displayed */
	// contains filtered or unexported fields
}

Stickiness settings declared by the publisher.

func (*BidRequest_AdSlot_StickySettings) Descriptor deprecated

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

Deprecated: Use BidRequest_AdSlot_StickySettings.ProtoReflect.Descriptor instead.

func (*BidRequest_AdSlot_StickySettings) GetBottomHorizontalStickiness

func (*BidRequest_AdSlot_StickySettings) GetTopHorizontalStickiness

func (*BidRequest_AdSlot_StickySettings) GetVerticalStickiness

func (*BidRequest_AdSlot_StickySettings) ProtoMessage

func (*BidRequest_AdSlot_StickySettings) ProtoMessage()

func (*BidRequest_AdSlot_StickySettings) ProtoReflect

func (*BidRequest_AdSlot_StickySettings) Reset

func (*BidRequest_AdSlot_StickySettings) String

type BidRequest_AdSlot_StickySettings_Stickiness

type BidRequest_AdSlot_StickySettings_Stickiness int32

Specifies the allowable sticky settings values.

const (
	BidRequest_AdSlot_StickySettings_UNKNOWN_STICKINESS BidRequest_AdSlot_StickySettings_Stickiness = 0
	BidRequest_AdSlot_StickySettings_IS_STICKY          BidRequest_AdSlot_StickySettings_Stickiness = 1
)

func (BidRequest_AdSlot_StickySettings_Stickiness) Descriptor

func (BidRequest_AdSlot_StickySettings_Stickiness) Enum

func (BidRequest_AdSlot_StickySettings_Stickiness) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_AdSlot_StickySettings_Stickiness.Descriptor instead.

func (BidRequest_AdSlot_StickySettings_Stickiness) Number

func (BidRequest_AdSlot_StickySettings_Stickiness) String

func (BidRequest_AdSlot_StickySettings_Stickiness) Type

func (*BidRequest_AdSlot_StickySettings_Stickiness) UnmarshalJSON deprecated

Deprecated: Do not use.

type BidRequest_AuctionType

type BidRequest_AuctionType int32

The type of auction that will be run for this query.

const (
	BidRequest_UNKNOWN_AUCTION_TYPE BidRequest_AuctionType = 0
	BidRequest_FIRST_PRICE          BidRequest_AuctionType = 1
	BidRequest_SECOND_PRICE         BidRequest_AuctionType = 2
	BidRequest_FIXED_PRICE          BidRequest_AuctionType = 3
)

func (BidRequest_AuctionType) Descriptor

func (BidRequest_AuctionType) Enum

func (BidRequest_AuctionType) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_AuctionType.Descriptor instead.

func (BidRequest_AuctionType) Number

func (BidRequest_AuctionType) String

func (x BidRequest_AuctionType) String() string

func (BidRequest_AuctionType) Type

func (*BidRequest_AuctionType) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidRequest_BidResponseFeedback

type BidRequest_BidResponseFeedback struct {

	// The unique id from BidRequest.id
	RequestId []byte `protobuf:"bytes,1,opt,name=request_id,json=requestId" json:"request_id,omitempty"`
	// The index of the BidResponse_Ad if there was more than one. The index
	// starts at zero for the first creative.
	CreativeIndex *int32 `protobuf:"varint,2,opt,name=creative_index,json=creativeIndex" json:"creative_index,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,3,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.
	CpmMicros *int64 `protobuf:"varint,4,opt,name=cpm_micros,json=cpmMicros" json:"cpm_micros,omitempty"`
	// The minimum bid value necessary to have won the auction, in micros of
	// 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 *int64 `protobuf:"varint,7,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 micros 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 BidResponseFeedback object.
	ServerSideComponentMinimumBidToWin *int64 `` /* 168-byte string literal not displayed */
	// 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 micros of your account currency.
	SampledMediationCpmAheadOfAuctionWinner *int64 `` /* 183-byte string literal not displayed */
	// Event notification token that was included in the bid response.
	EventNotificationToken []byte `protobuf:"bytes,5,opt,name=event_notification_token,json=eventNotificationToken" json:"event_notification_token,omitempty"`
	// Buyer creative ID that was included in the bid response.
	BuyerCreativeId *string `protobuf:"bytes,6,opt,name=buyer_creative_id,json=buyerCreativeId" json:"buyer_creative_id,omitempty"`
	// The type of the BidResponseFeedback message. Google will send separate
	// BidResponseFeedback 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 *BidRequest_BidResponseFeedback_FeedbackType `` /* 163-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,18,opt,name=buyer_origin,json=buyerOrigin" json:"buyer_origin,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.
	InterestGroupBuyerStatusCode *int32 `` /* 146-byte string literal not displayed */
	// 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 (*BidRequest_BidResponseFeedback) Descriptor deprecated

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

Deprecated: Use BidRequest_BidResponseFeedback.ProtoReflect.Descriptor instead.

func (*BidRequest_BidResponseFeedback) GetBillableEventRateBidAdjustment

func (x *BidRequest_BidResponseFeedback) GetBillableEventRateBidAdjustment() float32

func (*BidRequest_BidResponseFeedback) GetBuyerCreativeId

func (x *BidRequest_BidResponseFeedback) GetBuyerCreativeId() string

func (*BidRequest_BidResponseFeedback) GetBuyerOrigin

func (x *BidRequest_BidResponseFeedback) GetBuyerOrigin() string

func (*BidRequest_BidResponseFeedback) GetCpmMicros

func (x *BidRequest_BidResponseFeedback) GetCpmMicros() int64

func (*BidRequest_BidResponseFeedback) GetCreativeIndex

func (x *BidRequest_BidResponseFeedback) GetCreativeIndex() int32

func (*BidRequest_BidResponseFeedback) GetCreativeStatusCode

func (x *BidRequest_BidResponseFeedback) GetCreativeStatusCode() int32

func (*BidRequest_BidResponseFeedback) GetEventNotificationToken

func (x *BidRequest_BidResponseFeedback) GetEventNotificationToken() []byte

func (*BidRequest_BidResponseFeedback) GetFeedbackType

func (*BidRequest_BidResponseFeedback) GetInterestGroupBuyerStatusCode

func (x *BidRequest_BidResponseFeedback) GetInterestGroupBuyerStatusCode() int32

func (*BidRequest_BidResponseFeedback) GetMinimumBidToWin

func (x *BidRequest_BidResponseFeedback) GetMinimumBidToWin() int64

func (*BidRequest_BidResponseFeedback) GetRequestId

func (x *BidRequest_BidResponseFeedback) GetRequestId() []byte

func (*BidRequest_BidResponseFeedback) GetSampledMediationCpmAheadOfAuctionWinner

func (x *BidRequest_BidResponseFeedback) GetSampledMediationCpmAheadOfAuctionWinner() int64

func (*BidRequest_BidResponseFeedback) GetServerSideComponentMinimumBidToWin

func (x *BidRequest_BidResponseFeedback) GetServerSideComponentMinimumBidToWin() int64

func (*BidRequest_BidResponseFeedback) ProtoMessage

func (*BidRequest_BidResponseFeedback) ProtoMessage()

func (*BidRequest_BidResponseFeedback) ProtoReflect

func (*BidRequest_BidResponseFeedback) Reset

func (x *BidRequest_BidResponseFeedback) Reset()

func (*BidRequest_BidResponseFeedback) String

type BidRequest_BidResponseFeedback_FeedbackType

type BidRequest_BidResponseFeedback_FeedbackType int32

Possible types of bid response feedback objects.

const (
	BidRequest_BidResponseFeedback_FEEDBACK_TYPE_UNSPECIFIED BidRequest_BidResponseFeedback_FeedbackType = 0
	// Feedback for a bid that was submitted on a bid response.
	BidRequest_BidResponseFeedback_BID_FEEDBACK BidRequest_BidResponseFeedback_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.
	BidRequest_BidResponseFeedback_INTEREST_GROUP_BUYER_FEEDBACK BidRequest_BidResponseFeedback_FeedbackType = 2
)

func (BidRequest_BidResponseFeedback_FeedbackType) Descriptor

func (BidRequest_BidResponseFeedback_FeedbackType) Enum

func (BidRequest_BidResponseFeedback_FeedbackType) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_BidResponseFeedback_FeedbackType.Descriptor instead.

func (BidRequest_BidResponseFeedback_FeedbackType) Number

func (BidRequest_BidResponseFeedback_FeedbackType) String

func (BidRequest_BidResponseFeedback_FeedbackType) Type

func (*BidRequest_BidResponseFeedback_FeedbackType) UnmarshalJSON deprecated

Deprecated: Do not use.

type BidRequest_ContentRating

type BidRequest_ContentRating int32

The rating of the content. See https://support.google.com/admanager/answer/12451124#content-rating for details.

const (
	BidRequest_RATING_UNKNOWN BidRequest_ContentRating = 0
	// Content suitable for general audiences.
	BidRequest_GENERAL_AUDIENCES BidRequest_ContentRating = 1
	// Content suitable for most audiences with parental guidance.
	BidRequest_PARENTAL_GUIDANCE BidRequest_ContentRating = 2
	// Content suitable for teen and older audiences.
	BidRequest_TEEN BidRequest_ContentRating = 3
	// Content suitable only for mature audiences.
	BidRequest_MATURE_AUDIENCES BidRequest_ContentRating = 4
)

func (BidRequest_ContentRating) Descriptor

func (BidRequest_ContentRating) Enum

func (BidRequest_ContentRating) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_ContentRating.Descriptor instead.

func (BidRequest_ContentRating) Number

func (BidRequest_ContentRating) String

func (x BidRequest_ContentRating) String() string

func (BidRequest_ContentRating) Type

func (*BidRequest_ContentRating) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidRequest_Device

type BidRequest_Device struct {
	DeviceType *BidRequest_Device_DeviceType `` /* 147-byte string literal not displayed */
	// The platform of the device. Examples: android, iphone, palm
	Platform *string `protobuf:"bytes,2,opt,name=platform,def=" json:"platform,omitempty"`
	// The brand of the device (for example, "Apple" or "Samsung").
	Brand *string `protobuf:"bytes,3,opt,name=brand,def=" json:"brand,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").
	Model *string `protobuf:"bytes,4,opt,name=model,def=" json:"model,omitempty"`
	// The OS version; for example, 2 for Android 2.1, or 3.3 for iOS 3.3.1.
	OsVersion *BidRequest_Device_OsVersion `protobuf:"bytes,5,opt,name=os_version,json=osVersion" json:"os_version,omitempty"`
	// Unique identifier for the mobile carrier if the device is connected to
	// the internet through a carrier (as opposed to through WiFi). To look up
	// carrier name from carrier ID, refer to:
	// https://storage.googleapis.com/adx-rtb-dictionaries/mobile-carriers.csv.
	CarrierId *int64 `protobuf:"varint,6,opt,name=carrier_id,json=carrierId,def=0" json:"carrier_id,omitempty"`
	// The width of the device screen in pixels.
	ScreenWidth *int32 `protobuf:"varint,7,opt,name=screen_width,json=screenWidth,def=0" json:"screen_width,omitempty"`
	// The height of the device screen in pixels.
	ScreenHeight *int32 `protobuf:"varint,8,opt,name=screen_height,json=screenHeight,def=0" json:"screen_height,omitempty"`
	// Used for high-density devices (for example, iOS retina displays). A
	// non-default value indicates that the nominal screen size (with pixels as
	// the unit) does not describe the actual number of pixels in the screen.
	// For example, nominal width and height may be 320x640 for a screen that
	// actually has 640x1280 pixels, in which case screen_width=320,
	// screen_height=640, and screen_pixel_ratio_millis=2000, since each axis
	// has twice as many pixels as its dimensions would indicate.
	ScreenPixelRatioMillis *int32 `` /* 131-byte string literal not displayed */
	// The screen orientation of the device when the ad request is sent.
	ScreenOrientation *BidRequest_Device_ScreenOrientation `` /* 176-byte string literal not displayed */
	// 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.
	HardwareVersion *string `protobuf:"bytes,11,opt,name=hardware_version,json=hardwareVersion" json:"hardware_version,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
	LimitAdTracking *bool `protobuf:"varint,12,opt,name=limit_ad_tracking,json=limitAdTracking" json:"limit_ad_tracking,omitempty"`
	// This field is only populated for iOS devices. Indicates the app tracking
	// authorization status. This value is retrieved from ATTrackingManager
	// and provided as is. For more information about iOS's app tracking
	// authorization status, see:
	// https://developer.apple.com/documentation/apptrackingtransparency/attrackingmanager/authorizationstatus
	AppTrackingAuthorizationStatus *BidRequest_Device_AuthorizationStatus `` /* 215-byte string literal not displayed */
	// The type of network to which the user's device is connected.
	//
	// For 5G connection type, we send CELL_4G instead of CELL_5G.
	ConnectionType *BidRequest_Device_ConnectionType `` /* 164-byte string literal not displayed */
	// contains filtered or unexported fields
}

Information about the device.

func (*BidRequest_Device) Descriptor deprecated

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

Deprecated: Use BidRequest_Device.ProtoReflect.Descriptor instead.

func (*BidRequest_Device) GetAppTrackingAuthorizationStatus

func (x *BidRequest_Device) GetAppTrackingAuthorizationStatus() BidRequest_Device_AuthorizationStatus

func (*BidRequest_Device) GetBrand

func (x *BidRequest_Device) GetBrand() string

func (*BidRequest_Device) GetCarrierId

func (x *BidRequest_Device) GetCarrierId() int64

func (*BidRequest_Device) GetConnectionType

func (x *BidRequest_Device) GetConnectionType() BidRequest_Device_ConnectionType

func (*BidRequest_Device) GetDeviceType

func (*BidRequest_Device) GetHardwareVersion

func (x *BidRequest_Device) GetHardwareVersion() string

func (*BidRequest_Device) GetLimitAdTracking

func (x *BidRequest_Device) GetLimitAdTracking() bool

func (*BidRequest_Device) GetModel

func (x *BidRequest_Device) GetModel() string

func (*BidRequest_Device) GetOsVersion

func (*BidRequest_Device) GetPlatform

func (x *BidRequest_Device) GetPlatform() string

func (*BidRequest_Device) GetScreenHeight

func (x *BidRequest_Device) GetScreenHeight() int32

func (*BidRequest_Device) GetScreenOrientation

func (x *BidRequest_Device) GetScreenOrientation() BidRequest_Device_ScreenOrientation

func (*BidRequest_Device) GetScreenPixelRatioMillis

func (x *BidRequest_Device) GetScreenPixelRatioMillis() int32

func (*BidRequest_Device) GetScreenWidth

func (x *BidRequest_Device) GetScreenWidth() 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_AuthorizationStatus

type BidRequest_Device_AuthorizationStatus int32

The possible app tracking authorization statuses that could be applicable for bid requests from iOS devices. For more information about iOS's app tracking authorization status, see: https://developer.apple.com/documentation/apptrackingtransparency/attrackingmanager/authorizationstatus

const (
	// User has not yet received a request to authorize access to app-related
	// data that can be used for tracking the user or the device.
	BidRequest_Device_NOT_DETERMINED BidRequest_Device_AuthorizationStatus = 0
	// Authorization to access app-related data that can be used for tracking
	// the user or the device is restricted.
	BidRequest_Device_RESTRICTED BidRequest_Device_AuthorizationStatus = 1
	// User denies authorization to access app-related data that can be used
	// for tracking the user or the device.
	BidRequest_Device_DENIED BidRequest_Device_AuthorizationStatus = 2
	// User authorizes access to app-related data that can be used for
	// tracking the user or the device.
	BidRequest_Device_AUTHORIZED BidRequest_Device_AuthorizationStatus = 3
)

func (BidRequest_Device_AuthorizationStatus) Descriptor

func (BidRequest_Device_AuthorizationStatus) Enum

func (BidRequest_Device_AuthorizationStatus) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_Device_AuthorizationStatus.Descriptor instead.

func (BidRequest_Device_AuthorizationStatus) Number

func (BidRequest_Device_AuthorizationStatus) String

func (BidRequest_Device_AuthorizationStatus) Type

func (*BidRequest_Device_AuthorizationStatus) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidRequest_Device_ConnectionType

type BidRequest_Device_ConnectionType int32

Possible types of the device's network connection.

const (
	BidRequest_Device_CONNECTION_UNKNOWN BidRequest_Device_ConnectionType = 0
	// Ethernet; Wired Connection
	BidRequest_Device_ETHERNET BidRequest_Device_ConnectionType = 1
	// WiFi
	BidRequest_Device_WIFI BidRequest_Device_ConnectionType = 2
	// Mobile Network - Unknown Generation
	BidRequest_Device_CELL_UNKNOWN BidRequest_Device_ConnectionType = 3
	// Mobile Network - 2G
	BidRequest_Device_CELL_2G BidRequest_Device_ConnectionType = 4
	// Mobile Network - 3G
	BidRequest_Device_CELL_3G BidRequest_Device_ConnectionType = 5
	// Mobile Network - 4G
	BidRequest_Device_CELL_4G BidRequest_Device_ConnectionType = 6
	// Mobile Network - 5G
	BidRequest_Device_CELL_5G BidRequest_Device_ConnectionType = 7
)

func (BidRequest_Device_ConnectionType) Descriptor

func (BidRequest_Device_ConnectionType) Enum

func (BidRequest_Device_ConnectionType) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_Device_ConnectionType.Descriptor instead.

func (BidRequest_Device_ConnectionType) Number

func (BidRequest_Device_ConnectionType) String

func (BidRequest_Device_ConnectionType) Type

func (*BidRequest_Device_ConnectionType) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidRequest_Device_DeviceType

type BidRequest_Device_DeviceType int32

The type of device on which the ad will be shown.

const (
	BidRequest_Device_UNKNOWN_DEVICE BidRequest_Device_DeviceType = 0
	BidRequest_Device_HIGHEND_PHONE  BidRequest_Device_DeviceType = 1
	BidRequest_Device_TABLET         BidRequest_Device_DeviceType = 2
	// Desktop or laptop devices.
	BidRequest_Device_PERSONAL_COMPUTER BidRequest_Device_DeviceType = 3
	// Both connected TVs (that is, smart TVs) and connected devices
	// (such as Roku and Apple TV).
	BidRequest_Device_CONNECTED_TV BidRequest_Device_DeviceType = 4
	BidRequest_Device_GAME_CONSOLE BidRequest_Device_DeviceType = 5
	BidRequest_Device_SET_TOP_BOX  BidRequest_Device_DeviceType = 6
)

func (BidRequest_Device_DeviceType) Descriptor

func (BidRequest_Device_DeviceType) Enum

func (BidRequest_Device_DeviceType) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_Device_DeviceType.Descriptor instead.

func (BidRequest_Device_DeviceType) Number

func (BidRequest_Device_DeviceType) String

func (BidRequest_Device_DeviceType) Type

func (*BidRequest_Device_DeviceType) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidRequest_Device_OsVersion

type BidRequest_Device_OsVersion 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
}

Contains the OS version of the platform. For instance, for Android 2, major=2, minor=0. For iPhone 3.3.1, major=3 and minor=3.

func (*BidRequest_Device_OsVersion) Descriptor deprecated

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

Deprecated: Use BidRequest_Device_OsVersion.ProtoReflect.Descriptor instead.

func (*BidRequest_Device_OsVersion) GetMajor

func (x *BidRequest_Device_OsVersion) GetMajor() int32

func (*BidRequest_Device_OsVersion) GetMicro

func (x *BidRequest_Device_OsVersion) GetMicro() int32

func (*BidRequest_Device_OsVersion) GetMinor

func (x *BidRequest_Device_OsVersion) GetMinor() int32

func (*BidRequest_Device_OsVersion) ProtoMessage

func (*BidRequest_Device_OsVersion) ProtoMessage()

func (*BidRequest_Device_OsVersion) ProtoReflect

func (*BidRequest_Device_OsVersion) Reset

func (x *BidRequest_Device_OsVersion) Reset()

func (*BidRequest_Device_OsVersion) String

func (x *BidRequest_Device_OsVersion) String() string

type BidRequest_Device_ScreenOrientation

type BidRequest_Device_ScreenOrientation int32
const (
	BidRequest_Device_UNKNOWN_ORIENTATION BidRequest_Device_ScreenOrientation = 0
	BidRequest_Device_PORTRAIT            BidRequest_Device_ScreenOrientation = 1
	BidRequest_Device_LANDSCAPE           BidRequest_Device_ScreenOrientation = 2
)

func (BidRequest_Device_ScreenOrientation) Descriptor

func (BidRequest_Device_ScreenOrientation) Enum

func (BidRequest_Device_ScreenOrientation) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_Device_ScreenOrientation.Descriptor instead.

func (BidRequest_Device_ScreenOrientation) Number

func (BidRequest_Device_ScreenOrientation) String

func (BidRequest_Device_ScreenOrientation) Type

func (*BidRequest_Device_ScreenOrientation) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidRequest_Dsa

type BidRequest_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.
	DsaSupport *BidRequest_Dsa_DsaSupport `` /* 138-byte string literal not displayed */
	// 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.
	PublisherRenderingSupport *BidRequest_Dsa_PublisherRenderingSupport `` /* 200-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.
	DataToPublisher *BidRequest_Dsa_DataToPublisher `` /* 160-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*BidRequest_Dsa) Descriptor deprecated

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

Deprecated: Use BidRequest_Dsa.ProtoReflect.Descriptor instead.

func (*BidRequest_Dsa) GetDataToPublisher

func (x *BidRequest_Dsa) GetDataToPublisher() BidRequest_Dsa_DataToPublisher

func (*BidRequest_Dsa) GetDsaSupport

func (x *BidRequest_Dsa) GetDsaSupport() BidRequest_Dsa_DsaSupport

func (*BidRequest_Dsa) GetPublisherRenderingSupport

func (x *BidRequest_Dsa) GetPublisherRenderingSupport() BidRequest_Dsa_PublisherRenderingSupport

func (*BidRequest_Dsa) ProtoMessage

func (*BidRequest_Dsa) ProtoMessage()

func (*BidRequest_Dsa) ProtoReflect

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

func (*BidRequest_Dsa) Reset

func (x *BidRequest_Dsa) Reset()

func (*BidRequest_Dsa) String

func (x *BidRequest_Dsa) String() string

type BidRequest_Dsa_DataToPublisher

type BidRequest_Dsa_DataToPublisher int32

Options describing if a publisher requires DSA transparency declarations.

const (
	BidRequest_Dsa_DATA_TO_PUBLISHER_UNKNOWN BidRequest_Dsa_DataToPublisher = 0
	// Do not send transparency data.
	BidRequest_Dsa_DO_NOT_SEND BidRequest_Dsa_DataToPublisher = 1
	// Optional to send transparency data.
	BidRequest_Dsa_OPTIONAL BidRequest_Dsa_DataToPublisher = 2
	// Send transparency data.
	BidRequest_Dsa_SEND BidRequest_Dsa_DataToPublisher = 3
)

func (BidRequest_Dsa_DataToPublisher) Descriptor

func (BidRequest_Dsa_DataToPublisher) Enum

func (BidRequest_Dsa_DataToPublisher) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_Dsa_DataToPublisher.Descriptor instead.

func (BidRequest_Dsa_DataToPublisher) Number

func (BidRequest_Dsa_DataToPublisher) String

func (BidRequest_Dsa_DataToPublisher) Type

func (*BidRequest_Dsa_DataToPublisher) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidRequest_Dsa_DsaSupport

type BidRequest_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 (
	BidRequest_Dsa_DSA_SUPPORT_UNKNOWN BidRequest_Dsa_DsaSupport = 0
	// DSA declarations are not required in the bid response.
	BidRequest_Dsa_NOT_REQUIRED BidRequest_Dsa_DsaSupport = 1
	// DSA declarations are supported, but not required in the bid response.
	BidRequest_Dsa_SUPPORTED BidRequest_Dsa_DsaSupport = 2
	// DSA declarations are required in the bid response.
	BidRequest_Dsa_REQUIRED BidRequest_Dsa_DsaSupport = 3
	// DSA declarations are required in the bid response and the publisher is
	// an OP or VLOP.
	BidRequest_Dsa_REQUIRED_BY_ONLINE_PLATFORM BidRequest_Dsa_DsaSupport = 4
)

func (BidRequest_Dsa_DsaSupport) Descriptor

func (BidRequest_Dsa_DsaSupport) Enum

func (BidRequest_Dsa_DsaSupport) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_Dsa_DsaSupport.Descriptor instead.

func (BidRequest_Dsa_DsaSupport) Number

func (BidRequest_Dsa_DsaSupport) String

func (x BidRequest_Dsa_DsaSupport) String() string

func (BidRequest_Dsa_DsaSupport) Type

func (*BidRequest_Dsa_DsaSupport) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidRequest_Dsa_PublisherRenderingSupport

type BidRequest_Dsa_PublisherRenderingSupport int32

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

const (
	BidRequest_Dsa_PUBLISHER_RENDERING_SUPPORT_UNKNOWN BidRequest_Dsa_PublisherRenderingSupport = 0
	// Publisher can't render.
	BidRequest_Dsa_PUBLISHER_UNABLE_TO_RENDER BidRequest_Dsa_PublisherRenderingSupport = 1
	// Publisher could render depending on the buyer's rendering capability as
	// described in the BidResponse.ad.dsa_transparency.buyer_render field.
	BidRequest_Dsa_PUBLISHER_CAN_RENDER BidRequest_Dsa_PublisherRenderingSupport = 2
	// Publisher will render regardless of the buyer's rendering capability as
	// described in the BidResponse.ad.dsa_transparency.buyer_render field.
	BidRequest_Dsa_PUBLISHER_WILL_RENDER BidRequest_Dsa_PublisherRenderingSupport = 3
)

func (BidRequest_Dsa_PublisherRenderingSupport) Descriptor

func (BidRequest_Dsa_PublisherRenderingSupport) Enum

func (BidRequest_Dsa_PublisherRenderingSupport) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_Dsa_PublisherRenderingSupport.Descriptor instead.

func (BidRequest_Dsa_PublisherRenderingSupport) Number

func (BidRequest_Dsa_PublisherRenderingSupport) String

func (BidRequest_Dsa_PublisherRenderingSupport) Type

func (*BidRequest_Dsa_PublisherRenderingSupport) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidRequest_FrequencyCappingScope

type BidRequest_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 BidResponse.ad.adslot.frequency_cap field.

const (
	// Default value which should not be used, or which can indicate that
	// frequency cap scope could not be reliably determined.
	BidRequest_FREQUENCY_CAPPING_SCOPE_UNKNOWN BidRequest_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.
	BidRequest_FREQUENCY_CAPPING_SCOPE_NONE BidRequest_FrequencyCappingScope = 1
	// Frequency capping enforcement is available across multiple sites within
	// the same browser.
	BidRequest_FREQUENCY_CAPPING_SCOPE_BROWSER BidRequest_FrequencyCappingScope = 2
	// Frequency capping enforcement is available across multiple apps on the
	// device, excluding browsers.
	BidRequest_FREQUENCY_CAPPING_SCOPE_DEVICE BidRequest_FrequencyCappingScope = 3
	// Frequency capping enforcement is available within a single app.
	BidRequest_FREQUENCY_CAPPING_SCOPE_APP BidRequest_FrequencyCappingScope = 4
	// Frequency capping enforcement is available within a single site.
	BidRequest_FREQUENCY_CAPPING_SCOPE_SITE BidRequest_FrequencyCappingScope = 5
)

func (BidRequest_FrequencyCappingScope) Descriptor

func (BidRequest_FrequencyCappingScope) Enum

func (BidRequest_FrequencyCappingScope) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_FrequencyCappingScope.Descriptor instead.

func (BidRequest_FrequencyCappingScope) Number

func (BidRequest_FrequencyCappingScope) String

func (BidRequest_FrequencyCappingScope) Type

func (*BidRequest_FrequencyCappingScope) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidRequest_Geo

type BidRequest_Geo struct {

	// Latitude from -90.0 to +90.0, where negative is south.
	Lat *float64 `protobuf:"fixed64,1,opt,name=lat" json:"lat,omitempty"`
	// Longitude from -180.0 to +180.0, where negative is west.
	Lon *float64 `protobuf:"fixed64,2,opt,name=lon" json:"lon,omitempty"`
	// Country using ISO-3166-1 Alpha-3.
	Country *string `protobuf:"bytes,3,opt,name=country" json:"country,omitempty"`
	// Region code using ISO-3166-2; 2-letter state code if USA.
	Region *string `protobuf:"bytes,4,opt,name=region" json:"region,omitempty"`
	// Google metro code; similar to but not exactly Nielsen DMAs.
	Metro *string `protobuf:"bytes,6,opt,name=metro" json:"metro,omitempty"`
	// City using United Nations Code for Trade & Transport Locations.
	// (https://www.unece.org/cefact/locode/service/location.htm).
	City *string `protobuf:"bytes,7,opt,name=city" json:"city,omitempty"`
	// Zip/postal code.
	Zip *string `protobuf:"bytes,8,opt,name=zip" json:"zip,omitempty"`
	// Estimated location accuracy in meters.
	Accuracy *int32 `protobuf:"varint,11,opt,name=accuracy" json:"accuracy,omitempty"`
	// Local time as the number +/- of minutes from UTC.
	Utcoffset *int32 `protobuf:"varint,10,opt,name=utcoffset" json:"utcoffset,omitempty"`
	// contains filtered or unexported fields
}

The user's approximate geographic location. All location information is IP geolocation-derived. The lat/lon fields may be a reference position (for example, centroid) for the IP geolocation-derived location that's also carried by the other fields (for example, a city), and accuracy will be the radius of a circle with the approximate area of that location. Location and its accuracy will be fuzzified as necessary to protect user privacy. See 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) 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) 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_Hyperlocal

type BidRequest_Hyperlocal struct {

	// The device can be at any point inside the geofence polygon defined by a
	// list of corners. Currently, the polygon is always a parallelogram with 4
	// corners.
	Corners []*BidRequest_Hyperlocal_Point `protobuf:"bytes,1,rep,name=corners" json:"corners,omitempty"`
	// contains filtered or unexported fields
}

Coarse geolocation information approximated based on the IP address of the device the ad request originated from.

func (*BidRequest_Hyperlocal) Descriptor deprecated

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

Deprecated: Use BidRequest_Hyperlocal.ProtoReflect.Descriptor instead.

func (*BidRequest_Hyperlocal) GetCorners

func (*BidRequest_Hyperlocal) ProtoMessage

func (*BidRequest_Hyperlocal) ProtoMessage()

func (*BidRequest_Hyperlocal) ProtoReflect

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

func (*BidRequest_Hyperlocal) Reset

func (x *BidRequest_Hyperlocal) Reset()

func (*BidRequest_Hyperlocal) String

func (x *BidRequest_Hyperlocal) String() string

type BidRequest_HyperlocalSet

type BidRequest_HyperlocalSet struct {

	// This field currently contains at most one hyperlocal polygon.
	Hyperlocal []*BidRequest_Hyperlocal `protobuf:"bytes,1,rep,name=hyperlocal" json:"hyperlocal,omitempty"`
	// The approximate geometric center of a geofence area. It is calculated
	// exclusively based on the geometric shape of the geofence area and in no
	// way indicates the mobile device's actual location within the geofence
	// area. If multiple hyperlocal polygons are specified above then
	// center_point is the geometric center of all hyperlocal polygons.
	CenterPoint *BidRequest_Hyperlocal_Point `protobuf:"bytes,2,opt,name=center_point,json=centerPoint" json:"center_point,omitempty"`
	// contains filtered or unexported fields
}

func (*BidRequest_HyperlocalSet) Descriptor deprecated

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

Deprecated: Use BidRequest_HyperlocalSet.ProtoReflect.Descriptor instead.

func (*BidRequest_HyperlocalSet) GetCenterPoint

func (*BidRequest_HyperlocalSet) GetHyperlocal

func (x *BidRequest_HyperlocalSet) GetHyperlocal() []*BidRequest_Hyperlocal

func (*BidRequest_HyperlocalSet) ProtoMessage

func (*BidRequest_HyperlocalSet) ProtoMessage()

func (*BidRequest_HyperlocalSet) ProtoReflect

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

func (*BidRequest_HyperlocalSet) Reset

func (x *BidRequest_HyperlocalSet) Reset()

func (*BidRequest_HyperlocalSet) String

func (x *BidRequest_HyperlocalSet) String() string

type BidRequest_Hyperlocal_Point

type BidRequest_Hyperlocal_Point struct {
	Latitude  *float32 `protobuf:"fixed32,1,opt,name=latitude" json:"latitude,omitempty"`
	Longitude *float32 `protobuf:"fixed32,2,opt,name=longitude" json:"longitude,omitempty"`
	// contains filtered or unexported fields
}

A location on the Earth's surface.

func (*BidRequest_Hyperlocal_Point) Descriptor deprecated

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

Deprecated: Use BidRequest_Hyperlocal_Point.ProtoReflect.Descriptor instead.

func (*BidRequest_Hyperlocal_Point) GetLatitude

func (x *BidRequest_Hyperlocal_Point) GetLatitude() float32

func (*BidRequest_Hyperlocal_Point) GetLongitude

func (x *BidRequest_Hyperlocal_Point) GetLongitude() float32

func (*BidRequest_Hyperlocal_Point) ProtoMessage

func (*BidRequest_Hyperlocal_Point) ProtoMessage()

func (*BidRequest_Hyperlocal_Point) ProtoReflect

func (*BidRequest_Hyperlocal_Point) Reset

func (x *BidRequest_Hyperlocal_Point) Reset()

func (*BidRequest_Hyperlocal_Point) String

func (x *BidRequest_Hyperlocal_Point) String() string

type BidRequest_KeyValue

type BidRequest_KeyValue struct {
	Key   *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
	Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Additional key-value attributes. Currently unused.

func (*BidRequest_KeyValue) Descriptor deprecated

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

Deprecated: Use BidRequest_KeyValue.ProtoReflect.Descriptor instead.

func (*BidRequest_KeyValue) GetKey

func (x *BidRequest_KeyValue) GetKey() string

func (*BidRequest_KeyValue) GetValue

func (x *BidRequest_KeyValue) GetValue() string

func (*BidRequest_KeyValue) ProtoMessage

func (*BidRequest_KeyValue) ProtoMessage()

func (*BidRequest_KeyValue) ProtoReflect

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

func (*BidRequest_KeyValue) Reset

func (x *BidRequest_KeyValue) Reset()

func (*BidRequest_KeyValue) String

func (x *BidRequest_KeyValue) String() string

type BidRequest_Mobile

type BidRequest_Mobile struct {

	// If true, then this request is from a mobile application. For branded
	// requests, app_id will also be filled in. If the request is from a mobile
	// web page contained inside an app, is_app will still be false, but app_id
	// could be filled in with the app identifier. For SDK-less requests (mostly
	// from connected TVs), this will be true if an app ID is provided directly
	// in the request.
	IsApp *bool `protobuf:"varint,7,opt,name=is_app,json=isApp,def=0" json:"is_app,omitempty"`
	// The identifier of the mobile app when this ad query comes from a mobile
	// app, or from a mobile web page contained inside an app. If the app was
	// downloaded from the Apple iTunes app store, then this is the app-store
	// id, for example, 343200656. For Android devices, this is the fully
	// qualified package name, for example, com.rovio.angrybirds. For Windows
	// devices it's the App ID, for example,
	// f15abcde-f6gh-47i0-j3k8-37l93817mn3o. For SDK-less requests (mostly from
	// connected TVs), the app ID provided by the publisher directly in the
	// request.
	AppId *string `protobuf:"bytes,6,opt,name=app_id,json=appId" json:"app_id,omitempty"`
	// If true, then this is a mobile full screen ad request.
	IsInterstitialRequest *bool `` /* 127-byte string literal not displayed */
	// This field contains the IDs of categories to which the current mobile app
	// belongs. This field will be empty if is_app is false. The mapping between
	// mobile apps and categories is defined by the Google Play Store for
	// Android apps, or the Apple iTunes Store for iOS apps. To look up category
	// name from category ID, refer to
	// https://developers.google.com/google-ads/api/data/codes-formats#mobile_app_categories
	AppCategoryIds []int32 `protobuf:"varint,11,rep,name=app_category_ids,json=appCategoryIds" json:"app_category_ids,omitempty"`
	// For a mobile web request, this field indicates whether the page is
	// optimized for mobile browsers on high-end mobile phones.
	IsMobileWebOptimized *bool `` /* 126-byte string literal not displayed */
	// 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.
	IsAppOpenAd *bool `protobuf:"varint,36,opt,name=is_app_open_ad,json=isAppOpenAd,def=0" json:"is_app_open_ad,omitempty"`
	// This field is used for advertising identifiers for
	// 1) iOS devices (This is called Identifier for Advertising, or IDFA, as
	// described at https://support.google.com/authorizedbuyers/answer/3221407),
	// 2) Android devices,
	// 3) Roku devices,
	// 4) Microsoft Xbox devices,
	// 5) Amazon devices (for example, Amazon Fire).
	//
	// When the encrypted_advertising_id is an IDFA, the plaintext after
	// decrypting the ciphertext is the IDFA (16 byte UUID) returned by iOS's
	// [ASIdentifierManager advertisingIdentifier]. For encrypted_hashed_idfa,
	// the plaintext is the 16 byte MD5 hash of the IDFA. Only one of the two
	// fields will be available, depending on the version of the SDK making the
	// request. Later SDKs provide unhashed values. They are not set if there is
	// one or more user_data_treatment value in the BidRequest.
	EncryptedAdvertisingId []byte `protobuf:"bytes,20,opt,name=encrypted_advertising_id,json=encryptedAdvertisingId" json:"encrypted_advertising_id,omitempty"`
	// Unencrypted version of encrypted_advertising_id. This field is only set
	// when using an SSL connection. This field is a 16 byte UUID (binary form)
	// or a 32 byte alphanumeric id (such as Samsung ID).
	AdvertisingId       []byte `protobuf:"bytes,27,opt,name=advertising_id,json=advertisingId" json:"advertising_id,omitempty"`
	EncryptedHashedIdfa []byte `protobuf:"bytes,21,opt,name=encrypted_hashed_idfa,json=encryptedHashedIdfa" json:"encrypted_hashed_idfa,omitempty"`
	// Unencrypted version of encrypted_hashed_idfa. This field is only set
	// when using an SSL connection. This field is a 16 byte MD5.
	HashedIdfa []byte `protobuf:"bytes,28,opt,name=hashed_idfa,json=hashedIdfa" json:"hashed_idfa,omitempty"`
	// App names for Android apps are from the Google Play store.
	// App names for iOS apps are provided by App Annie
	// (https://www.appannie.com). App names for SDK-less requests (mostly from
	// connected TVs) are provided by the publisher directly in the request.
	AppName *string `protobuf:"bytes,24,opt,name=app_name,json=appName" json:"app_name,omitempty"`
	// Average user rating for the app. The range of user rating is between 1.0
	// and 5.0. Currently only available for apps in Google Play store.
	AppRating    *float32                              `protobuf:"fixed32,25,opt,name=app_rating,json=appRating" json:"app_rating,omitempty"`
	InstalledSdk []*BidRequest_Mobile_InstalledSdk     `protobuf:"bytes,32,rep,name=installed_sdk,json=installedSdk" json:"installed_sdk,omitempty"`
	Skadn        *BidRequest_Mobile_SKAdNetworkRequest `protobuf:"bytes,34,opt,name=skadn" json:"skadn,omitempty"`
	// contains filtered or unexported fields
}

Information for ad queries coming from mobile devices. A mobile device is either a mobile phone or a tablet. This is present for ad queries both from mobile devices browsing the web and from mobile apps.

func (*BidRequest_Mobile) Descriptor deprecated

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

Deprecated: Use BidRequest_Mobile.ProtoReflect.Descriptor instead.

func (*BidRequest_Mobile) GetAdvertisingId

func (x *BidRequest_Mobile) GetAdvertisingId() []byte

func (*BidRequest_Mobile) GetAppCategoryIds

func (x *BidRequest_Mobile) GetAppCategoryIds() []int32

func (*BidRequest_Mobile) GetAppId

func (x *BidRequest_Mobile) GetAppId() string

func (*BidRequest_Mobile) GetAppName

func (x *BidRequest_Mobile) GetAppName() string

func (*BidRequest_Mobile) GetAppRating

func (x *BidRequest_Mobile) GetAppRating() float32

func (*BidRequest_Mobile) GetEncryptedAdvertisingId

func (x *BidRequest_Mobile) GetEncryptedAdvertisingId() []byte

func (*BidRequest_Mobile) GetEncryptedHashedIdfa

func (x *BidRequest_Mobile) GetEncryptedHashedIdfa() []byte

func (*BidRequest_Mobile) GetHashedIdfa

func (x *BidRequest_Mobile) GetHashedIdfa() []byte

func (*BidRequest_Mobile) GetInstalledSdk

func (x *BidRequest_Mobile) GetInstalledSdk() []*BidRequest_Mobile_InstalledSdk

func (*BidRequest_Mobile) GetIsApp

func (x *BidRequest_Mobile) GetIsApp() bool

func (*BidRequest_Mobile) GetIsAppOpenAd

func (x *BidRequest_Mobile) GetIsAppOpenAd() bool

func (*BidRequest_Mobile) GetIsInterstitialRequest

func (x *BidRequest_Mobile) GetIsInterstitialRequest() bool

func (*BidRequest_Mobile) GetIsMobileWebOptimized

func (x *BidRequest_Mobile) GetIsMobileWebOptimized() bool

func (*BidRequest_Mobile) GetSkadn

func (*BidRequest_Mobile) ProtoMessage

func (*BidRequest_Mobile) ProtoMessage()

func (*BidRequest_Mobile) ProtoReflect

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

func (*BidRequest_Mobile) Reset

func (x *BidRequest_Mobile) Reset()

func (*BidRequest_Mobile) String

func (x *BidRequest_Mobile) String() string

type BidRequest_Mobile_InstalledSdk

type BidRequest_Mobile_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 *BidRequest_Mobile_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 *BidRequest_Mobile_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 (*BidRequest_Mobile_InstalledSdk) Descriptor deprecated

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

Deprecated: Use BidRequest_Mobile_InstalledSdk.ProtoReflect.Descriptor instead.

func (*BidRequest_Mobile_InstalledSdk) GetAdapterVersion

func (*BidRequest_Mobile_InstalledSdk) GetId

func (*BidRequest_Mobile_InstalledSdk) GetSdkVersion

func (*BidRequest_Mobile_InstalledSdk) ProtoMessage

func (*BidRequest_Mobile_InstalledSdk) ProtoMessage()

func (*BidRequest_Mobile_InstalledSdk) ProtoReflect

func (*BidRequest_Mobile_InstalledSdk) Reset

func (x *BidRequest_Mobile_InstalledSdk) Reset()

func (*BidRequest_Mobile_InstalledSdk) String

type BidRequest_Mobile_InstalledSdk_Version

type BidRequest_Mobile_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 (*BidRequest_Mobile_InstalledSdk_Version) Descriptor deprecated

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

Deprecated: Use BidRequest_Mobile_InstalledSdk_Version.ProtoReflect.Descriptor instead.

func (*BidRequest_Mobile_InstalledSdk_Version) GetMajor

func (*BidRequest_Mobile_InstalledSdk_Version) GetMicro

func (*BidRequest_Mobile_InstalledSdk_Version) GetMinor

func (*BidRequest_Mobile_InstalledSdk_Version) ProtoMessage

func (*BidRequest_Mobile_InstalledSdk_Version) ProtoReflect

func (*BidRequest_Mobile_InstalledSdk_Version) Reset

func (*BidRequest_Mobile_InstalledSdk_Version) String

type BidRequest_Mobile_SKAdNetworkRequest

type BidRequest_Mobile_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.
	SupportedFidelityTypes []SKAdNetworkFidelityType `` /* 181-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 (*BidRequest_Mobile_SKAdNetworkRequest) Descriptor deprecated

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

Deprecated: Use BidRequest_Mobile_SKAdNetworkRequest.ProtoReflect.Descriptor instead.

func (*BidRequest_Mobile_SKAdNetworkRequest) GetSkadnetids

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

func (*BidRequest_Mobile_SKAdNetworkRequest) GetSkoverlay

func (x *BidRequest_Mobile_SKAdNetworkRequest) GetSkoverlay() bool

func (*BidRequest_Mobile_SKAdNetworkRequest) GetSourceapp

func (x *BidRequest_Mobile_SKAdNetworkRequest) GetSourceapp() string

func (*BidRequest_Mobile_SKAdNetworkRequest) GetSupportedFidelityTypes

func (x *BidRequest_Mobile_SKAdNetworkRequest) GetSupportedFidelityTypes() []SKAdNetworkFidelityType

func (*BidRequest_Mobile_SKAdNetworkRequest) GetVersions

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

func (*BidRequest_Mobile_SKAdNetworkRequest) ProtoMessage

func (*BidRequest_Mobile_SKAdNetworkRequest) ProtoMessage()

func (*BidRequest_Mobile_SKAdNetworkRequest) ProtoReflect

func (*BidRequest_Mobile_SKAdNetworkRequest) Reset

func (*BidRequest_Mobile_SKAdNetworkRequest) String

type BidRequest_NavigationType

type BidRequest_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 (
	BidRequest_NAVIGATION_TYPE_UNKNOWN BidRequest_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.
	BidRequest_NAVIGATION_TYPE_NAVIGATE BidRequest_NavigationType = 1
	// Navigation is through the browser's reload operation, location.reload(),
	// or a Refresh pragma directive like
	// <meta http-equiv="refresh" content="300">.
	BidRequest_NAVIGATION_TYPE_RELOAD BidRequest_NavigationType = 2
	// Navigation is through the browser's history traversal operation.
	BidRequest_NAVIGATION_TYPE_BACK_FORWARD BidRequest_NavigationType = 3
	// Navigation is initiated by a prerender hint (deprecated). See
	// https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel/prerender.
	BidRequest_NAVIGATION_TYPE_PRERENDER BidRequest_NavigationType = 4
)

func (BidRequest_NavigationType) Descriptor

func (BidRequest_NavigationType) Enum

func (BidRequest_NavigationType) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_NavigationType.Descriptor instead.

func (BidRequest_NavigationType) Number

func (BidRequest_NavigationType) String

func (x BidRequest_NavigationType) String() string

func (BidRequest_NavigationType) Type

func (*BidRequest_NavigationType) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidRequest_PrivacyTreatments

type BidRequest_PrivacyTreatments struct {

	// Generalization for the BidRequest.ip field.
	Ip *BidRequest_PrivacyTreatments_IpGeneralization `protobuf:"varint,1,opt,name=ip,enum=com.google.protos.adx.BidRequest_PrivacyTreatments_IpGeneralization" json:"ip,omitempty"`
	// Generalization that was applied to the user_agent and user_agent_data
	// fields, if any.
	UserAgent                *BidRequest_PrivacyTreatments_UserAgentGeneralization   `` /* 162-byte string literal not displayed */
	NonPersonalizedAdsReason []BidRequest_PrivacyTreatments_NonPersonalizedAdsReason `` /* 219-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.
	DeviceStorageRestrictionReason *BidRequest_PrivacyTreatments_DeviceStorageRestrictionReason `` /* 236-byte string literal not displayed */
	// contains filtered or unexported fields
}

Information about privacy treatments that apply to an ad opportunity offered through this request.

func (*BidRequest_PrivacyTreatments) Descriptor deprecated

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

Deprecated: Use BidRequest_PrivacyTreatments.ProtoReflect.Descriptor instead.

func (*BidRequest_PrivacyTreatments) GetAllowUserDataCollection

func (x *BidRequest_PrivacyTreatments) GetAllowUserDataCollection() bool

func (*BidRequest_PrivacyTreatments) GetDeviceStorageRestrictionReason

func (*BidRequest_PrivacyTreatments) GetIp

func (*BidRequest_PrivacyTreatments) GetNonPersonalizedAdsReason

func (*BidRequest_PrivacyTreatments) GetUserAgent

func (*BidRequest_PrivacyTreatments) ProtoMessage

func (*BidRequest_PrivacyTreatments) ProtoMessage()

func (*BidRequest_PrivacyTreatments) ProtoReflect

func (*BidRequest_PrivacyTreatments) Reset

func (x *BidRequest_PrivacyTreatments) Reset()

func (*BidRequest_PrivacyTreatments) String

type BidRequest_PrivacyTreatments_DeviceStorageRestrictionReason

type BidRequest_PrivacyTreatments_DeviceStorageRestrictionReason int32

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

const (
	BidRequest_PrivacyTreatments_DEVICE_STORAGE_RESTRICTION_UNKNOWN BidRequest_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.
	BidRequest_PrivacyTreatments_INSUFFICIENT_USER_CONSENT BidRequest_PrivacyTreatments_DeviceStorageRestrictionReason = 1
)

func (BidRequest_PrivacyTreatments_DeviceStorageRestrictionReason) Descriptor

func (BidRequest_PrivacyTreatments_DeviceStorageRestrictionReason) Enum

func (BidRequest_PrivacyTreatments_DeviceStorageRestrictionReason) EnumDescriptor deprecated

Deprecated: Use BidRequest_PrivacyTreatments_DeviceStorageRestrictionReason.Descriptor instead.

func (BidRequest_PrivacyTreatments_DeviceStorageRestrictionReason) Number

func (BidRequest_PrivacyTreatments_DeviceStorageRestrictionReason) String

func (BidRequest_PrivacyTreatments_DeviceStorageRestrictionReason) Type

func (*BidRequest_PrivacyTreatments_DeviceStorageRestrictionReason) UnmarshalJSON deprecated

Deprecated: Do not use.

type BidRequest_PrivacyTreatments_IpGeneralization

type BidRequest_PrivacyTreatments_IpGeneralization int32

Generalization that can be applied to the BidRequest.ip field.

const (
	// The BidRequest.ip field is truncated, /24 for IPv4 and /48 for IPv6.
	// IPv4 addresses are truncated to 3-byte strings, representing the
	// first three octets of an IP address. IPv6 addresses are truncated to
	// 6-byte strings, representing the first 6 octets of an IP address.
	BidRequest_PrivacyTreatments_IP_TRUNCATED BidRequest_PrivacyTreatments_IpGeneralization = 0
	// The BidRequest.ip field is redacted.
	BidRequest_PrivacyTreatments_IP_REDACTED BidRequest_PrivacyTreatments_IpGeneralization = 2
)

func (BidRequest_PrivacyTreatments_IpGeneralization) Descriptor

func (BidRequest_PrivacyTreatments_IpGeneralization) Enum

func (BidRequest_PrivacyTreatments_IpGeneralization) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_PrivacyTreatments_IpGeneralization.Descriptor instead.

func (BidRequest_PrivacyTreatments_IpGeneralization) Number

func (BidRequest_PrivacyTreatments_IpGeneralization) String

func (BidRequest_PrivacyTreatments_IpGeneralization) Type

func (*BidRequest_PrivacyTreatments_IpGeneralization) UnmarshalJSON deprecated

Deprecated: Do not use.

type BidRequest_PrivacyTreatments_NonPersonalizedAdsReason

type BidRequest_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.limit_ad_tracking and BidRequest.device.app_tracking_authorization_status fields for more information.

const (
	BidRequest_PrivacyTreatments_UNKNOWN BidRequest_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
	BidRequest_PrivacyTreatments_PUBLISHER_DECLARED_NPA BidRequest_PrivacyTreatments_NonPersonalizedAdsReason = 1
	// The publisher has requested restricted data processing for this
	// request. https://support.google.com/authorizedbuyers/answer/11121285
	BidRequest_PrivacyTreatments_RESTRICT_DATA_PROCESSING BidRequest_PrivacyTreatments_NonPersonalizedAdsReason = 2
	// The user has opted out of ads personalization.
	BidRequest_PrivacyTreatments_USER_OPT_OUT BidRequest_PrivacyTreatments_NonPersonalizedAdsReason = 3
)

func (BidRequest_PrivacyTreatments_NonPersonalizedAdsReason) Descriptor

func (BidRequest_PrivacyTreatments_NonPersonalizedAdsReason) Enum

func (BidRequest_PrivacyTreatments_NonPersonalizedAdsReason) EnumDescriptor deprecated

Deprecated: Use BidRequest_PrivacyTreatments_NonPersonalizedAdsReason.Descriptor instead.

func (BidRequest_PrivacyTreatments_NonPersonalizedAdsReason) Number

func (BidRequest_PrivacyTreatments_NonPersonalizedAdsReason) String

func (BidRequest_PrivacyTreatments_NonPersonalizedAdsReason) Type

func (*BidRequest_PrivacyTreatments_NonPersonalizedAdsReason) UnmarshalJSON deprecated

Deprecated: Do not use.

type BidRequest_PrivacyTreatments_UserAgentGeneralization

type BidRequest_PrivacyTreatments_UserAgentGeneralization int32

Generalization that can be applied to the user_agent and user_agent_data fields.

const (
	// The user_agent and user_agent_data fields are both provided in full.
	BidRequest_PrivacyTreatments_USER_AGENT_FULL BidRequest_PrivacyTreatments_UserAgentGeneralization = 0
	// The user_agent and user_agent_data fields are generalized, which can
	// include limiting browser and OS version information to major versions
	// only and other changes to protect user privacy.
	BidRequest_PrivacyTreatments_USER_AGENT_COARSENED BidRequest_PrivacyTreatments_UserAgentGeneralization = 1
)

func (BidRequest_PrivacyTreatments_UserAgentGeneralization) Descriptor

func (BidRequest_PrivacyTreatments_UserAgentGeneralization) Enum

func (BidRequest_PrivacyTreatments_UserAgentGeneralization) EnumDescriptor deprecated

Deprecated: Use BidRequest_PrivacyTreatments_UserAgentGeneralization.Descriptor instead.

func (BidRequest_PrivacyTreatments_UserAgentGeneralization) Number

func (BidRequest_PrivacyTreatments_UserAgentGeneralization) String

func (BidRequest_PrivacyTreatments_UserAgentGeneralization) Type

func (*BidRequest_PrivacyTreatments_UserAgentGeneralization) UnmarshalJSON deprecated

Deprecated: Do not use.

type BidRequest_ProductionQuality

type BidRequest_ProductionQuality int32

The production quality of the content. See https://github.com/InteractiveAdvertisingBureau/AdCOM/blob/master/AdCOM%20v1.0%20FINAL.md#list--production-qualities- for details.

const (
	BidRequest_QUALITY_UNKNOWN BidRequest_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.
	BidRequest_PROFESSIONAL BidRequest_ProductionQuality = 1
	// Consumer or user-generated content that has professional or industrial
	// qualities (e.g. shot with professional-grade equipment, using
	// professional talent, etc.).
	BidRequest_PROSUMER BidRequest_ProductionQuality = 2
	// Publicly available video content that is created or produced by
	// end users.
	BidRequest_USER_GENERATED BidRequest_ProductionQuality = 3
)

func (BidRequest_ProductionQuality) Descriptor

func (BidRequest_ProductionQuality) Enum

func (BidRequest_ProductionQuality) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_ProductionQuality.Descriptor instead.

func (BidRequest_ProductionQuality) Number

func (BidRequest_ProductionQuality) String

func (BidRequest_ProductionQuality) Type

func (*BidRequest_ProductionQuality) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidRequest_PublisherFirstPartyId

type BidRequest_PublisherFirstPartyId struct {

	// The type of the ID. This specifies how it is scoped and the type of
	// requests it is used with.
	IdType *BidRequest_PublisherFirstPartyId_IdType `` /* 140-byte string literal not displayed */
	// The value of the ID.
	Id *string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Publisher first-party identifier scoped to a single site, app or vendor.

func (*BidRequest_PublisherFirstPartyId) Descriptor deprecated

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

Deprecated: Use BidRequest_PublisherFirstPartyId.ProtoReflect.Descriptor instead.

func (*BidRequest_PublisherFirstPartyId) GetId

func (*BidRequest_PublisherFirstPartyId) GetIdType

func (*BidRequest_PublisherFirstPartyId) ProtoMessage

func (*BidRequest_PublisherFirstPartyId) ProtoMessage()

func (*BidRequest_PublisherFirstPartyId) ProtoReflect

func (*BidRequest_PublisherFirstPartyId) Reset

func (*BidRequest_PublisherFirstPartyId) String

type BidRequest_PublisherFirstPartyId_IdType

type BidRequest_PublisherFirstPartyId_IdType int32

Specifies how an ID is scoped and the type of requests it is used with.

const (
	// A default value that should not be used.
	BidRequest_PublisherFirstPartyId_UNKNOWN BidRequest_PublisherFirstPartyId_IdType = 0
	// A site-scoped cookie for requests from web browsers.
	BidRequest_PublisherFirstPartyId_SITE_SCOPED_COOKIE BidRequest_PublisherFirstPartyId_IdType = 1
)

func (BidRequest_PublisherFirstPartyId_IdType) Descriptor

func (BidRequest_PublisherFirstPartyId_IdType) Enum

func (BidRequest_PublisherFirstPartyId_IdType) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_PublisherFirstPartyId_IdType.Descriptor instead.

func (BidRequest_PublisherFirstPartyId_IdType) Number

func (BidRequest_PublisherFirstPartyId_IdType) String

func (BidRequest_PublisherFirstPartyId_IdType) Type

func (*BidRequest_PublisherFirstPartyId_IdType) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidRequest_PublisherType

type BidRequest_PublisherType int32

Publisher type of the inventory where the ad will be shown. For a given request, publisher inventory can be either owned and operated (O&O), represented by the publisher, or of unknown status.

const (
	BidRequest_UNKNOWN_PUBLISHER_TYPE       BidRequest_PublisherType = 0
	BidRequest_PUBLISHER_OWNED_AND_OPERATED BidRequest_PublisherType = 1
	BidRequest_PUBLISHER_REPRESENTED        BidRequest_PublisherType = 2
)

func (BidRequest_PublisherType) Descriptor

func (BidRequest_PublisherType) Enum

func (BidRequest_PublisherType) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_PublisherType.Descriptor instead.

func (BidRequest_PublisherType) Number

func (BidRequest_PublisherType) String

func (x BidRequest_PublisherType) String() string

func (BidRequest_PublisherType) Type

func (*BidRequest_PublisherType) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidRequest_SegmentData

type BidRequest_SegmentData struct {

	// The Google assigned ID of the data provider. For the list of data
	// providers, see
	// https://storage.googleapis.com/adx-rtb-dictionaries/data_providers.txt.
	Id *string `protobuf:"bytes,5,opt,name=id" json:"id,omitempty"`
	// Exchange-specific name for the signal provider.
	Name    *string                           `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Segment []*BidRequest_SegmentData_Segment `protobuf:"bytes,2,rep,name=segment" json:"segment,omitempty"`
	// The taxonomy in use for segment IDs.
	Type *BidRequest_SegmentData_TaxonomyType `protobuf:"varint,3,opt,name=type,enum=com.google.protos.adx.BidRequest_SegmentData_TaxonomyType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

Data segments that describe the content or audience.

func (*BidRequest_SegmentData) Descriptor deprecated

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

Deprecated: Use BidRequest_SegmentData.ProtoReflect.Descriptor instead.

func (*BidRequest_SegmentData) GetId

func (x *BidRequest_SegmentData) GetId() string

func (*BidRequest_SegmentData) GetName

func (x *BidRequest_SegmentData) GetName() string

func (*BidRequest_SegmentData) GetSegment

func (*BidRequest_SegmentData) GetType

func (*BidRequest_SegmentData) ProtoMessage

func (*BidRequest_SegmentData) ProtoMessage()

func (*BidRequest_SegmentData) ProtoReflect

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

func (*BidRequest_SegmentData) Reset

func (x *BidRequest_SegmentData) Reset()

func (*BidRequest_SegmentData) String

func (x *BidRequest_SegmentData) String() string

type BidRequest_SegmentData_Segment

type BidRequest_SegmentData_Segment struct {

	// ID of the data segment specific to the signal provider.
	Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Segment objects contain segment IDs that can be used with the taxonomy type to access first party data.

func (*BidRequest_SegmentData_Segment) Descriptor deprecated

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

Deprecated: Use BidRequest_SegmentData_Segment.ProtoReflect.Descriptor instead.

func (*BidRequest_SegmentData_Segment) GetId

func (*BidRequest_SegmentData_Segment) ProtoMessage

func (*BidRequest_SegmentData_Segment) ProtoMessage()

func (*BidRequest_SegmentData_Segment) ProtoReflect

func (*BidRequest_SegmentData_Segment) Reset

func (x *BidRequest_SegmentData_Segment) Reset()

func (*BidRequest_SegmentData_Segment) String

type BidRequest_SegmentData_TaxonomyType

type BidRequest_SegmentData_TaxonomyType int32

Identifies the taxonomy that the segment IDs belong to.

func (BidRequest_SegmentData_TaxonomyType) Descriptor

func (BidRequest_SegmentData_TaxonomyType) Enum

func (BidRequest_SegmentData_TaxonomyType) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_SegmentData_TaxonomyType.Descriptor instead.

func (BidRequest_SegmentData_TaxonomyType) Number

func (BidRequest_SegmentData_TaxonomyType) String

func (BidRequest_SegmentData_TaxonomyType) Type

func (*BidRequest_SegmentData_TaxonomyType) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidRequest_SupplyChain

type BidRequest_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.
	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, 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 []*BidRequest_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".
	Version *string `protobuf:"bytes,3,opt,name=version" json:"version,omitempty"`
	// contains filtered or unexported fields
}

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

func (*BidRequest_SupplyChain) Descriptor deprecated

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

Deprecated: Use BidRequest_SupplyChain.ProtoReflect.Descriptor instead.

func (*BidRequest_SupplyChain) GetComplete

func (x *BidRequest_SupplyChain) GetComplete() bool

func (*BidRequest_SupplyChain) GetNodes

func (*BidRequest_SupplyChain) GetVersion

func (x *BidRequest_SupplyChain) GetVersion() string

func (*BidRequest_SupplyChain) ProtoMessage

func (*BidRequest_SupplyChain) ProtoMessage()

func (*BidRequest_SupplyChain) ProtoReflect

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

func (*BidRequest_SupplyChain) Reset

func (x *BidRequest_SupplyChain) Reset()

func (*BidRequest_SupplyChain) String

func (x *BidRequest_SupplyChain) String() string

type BidRequest_SupplyChain_SupplyChainNode

type BidRequest_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.
	AdvertisingSystemIdentifier *string `` /* 137-byte string literal not displayed */
	// The identifier associated with the seller or reseller account within
	// the advertising system. This must contain the same value used in
	// transactions, specifically the publisher_id field in the Google
	// protocol. Should be limited to 64 characters in length.
	SellerIdentifier *string `protobuf:"bytes,2,opt,name=seller_identifier,json=sellerIdentifier" json:"seller_identifier,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
	// advertising_system_identifier field pays the seller in the
	// seller_identifier 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.
	HandlesPayment *bool `protobuf:"varint,6,opt,name=handles_payment,json=handlesPayment" json:"handles_payment,omitempty"`
	// contains filtered or unexported fields
}

func (*BidRequest_SupplyChain_SupplyChainNode) Descriptor deprecated

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

Deprecated: Use BidRequest_SupplyChain_SupplyChainNode.ProtoReflect.Descriptor instead.

func (*BidRequest_SupplyChain_SupplyChainNode) GetAdvertisingSystemIdentifier

func (x *BidRequest_SupplyChain_SupplyChainNode) GetAdvertisingSystemIdentifier() string

func (*BidRequest_SupplyChain_SupplyChainNode) GetHandlesPayment

func (x *BidRequest_SupplyChain_SupplyChainNode) GetHandlesPayment() bool

func (*BidRequest_SupplyChain_SupplyChainNode) GetSellerIdentifier

func (x *BidRequest_SupplyChain_SupplyChainNode) GetSellerIdentifier() string

func (*BidRequest_SupplyChain_SupplyChainNode) ProtoMessage

func (*BidRequest_SupplyChain_SupplyChainNode) ProtoReflect

func (*BidRequest_SupplyChain_SupplyChainNode) Reset

func (*BidRequest_SupplyChain_SupplyChainNode) String

type BidRequest_UserActivation

type BidRequest_UserActivation struct {

	// Indicates whether a user has completed an interaction since page load.
	HasBeenActive *bool `protobuf:"varint,1,opt,name=has_been_active,json=hasBeenActive" json:"has_been_active,omitempty"`
	// Indicates whether a user is currently interacting with the page.
	IsActive *bool `protobuf:"varint,2,opt,name=is_active,json=isActive" json:"is_active,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 (*BidRequest_UserActivation) Descriptor deprecated

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

Deprecated: Use BidRequest_UserActivation.ProtoReflect.Descriptor instead.

func (*BidRequest_UserActivation) GetHasBeenActive

func (x *BidRequest_UserActivation) GetHasBeenActive() bool

func (*BidRequest_UserActivation) GetIsActive

func (x *BidRequest_UserActivation) GetIsActive() bool

func (*BidRequest_UserActivation) ProtoMessage

func (*BidRequest_UserActivation) ProtoMessage()

func (*BidRequest_UserActivation) ProtoReflect

func (*BidRequest_UserActivation) Reset

func (x *BidRequest_UserActivation) Reset()

func (*BidRequest_UserActivation) String

func (x *BidRequest_UserActivation) String() string

type BidRequest_UserAgent

type BidRequest_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.
	Browsers []*BidRequest_UserAgent_BrandVersion `protobuf:"bytes,8,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.
	Platform *BidRequest_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.
	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.
	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.
	Bitness *string `protobuf:"bytes,9,opt,name=bitness" json:"bitness,omitempty"`
	// Device model. Exchanges should retrieve this value from the
	// Sec-CH-UAModel header.
	Model *string `protobuf:"bytes,5,opt,name=model" json:"model,omitempty"`
	// The source of data for the User Agent information.
	Source *BidRequest_UserAgent_Source `protobuf:"varint,10,opt,name=source,enum=com.google.protos.adx.BidRequest_UserAgent_Source" 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_UserAgent) Descriptor deprecated

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

Deprecated: Use BidRequest_UserAgent.ProtoReflect.Descriptor instead.

func (*BidRequest_UserAgent) GetArchitecture

func (x *BidRequest_UserAgent) GetArchitecture() string

func (*BidRequest_UserAgent) GetBitness

func (x *BidRequest_UserAgent) GetBitness() string

func (*BidRequest_UserAgent) GetBrowsers

func (*BidRequest_UserAgent) GetMobile

func (x *BidRequest_UserAgent) GetMobile() bool

func (*BidRequest_UserAgent) GetModel

func (x *BidRequest_UserAgent) GetModel() string

func (*BidRequest_UserAgent) GetPlatform

func (*BidRequest_UserAgent) GetSource

func (*BidRequest_UserAgent) ProtoMessage

func (*BidRequest_UserAgent) ProtoMessage()

func (*BidRequest_UserAgent) ProtoReflect

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

func (*BidRequest_UserAgent) Reset

func (x *BidRequest_UserAgent) Reset()

func (*BidRequest_UserAgent) String

func (x *BidRequest_UserAgent) String() string

type BidRequest_UserAgent_BrandVersion

type BidRequest_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).
	Brand *string `protobuf:"bytes,1,opt,name=brand" json:"brand,omitempty"`
	// A sequence of version components, in descending hierarchical order
	// (major, minor, micro, ...).
	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_UserAgent_BrandVersion) Descriptor deprecated

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

Deprecated: Use BidRequest_UserAgent_BrandVersion.ProtoReflect.Descriptor instead.

func (*BidRequest_UserAgent_BrandVersion) GetBrand

func (*BidRequest_UserAgent_BrandVersion) GetVersion

func (x *BidRequest_UserAgent_BrandVersion) GetVersion() []string

func (*BidRequest_UserAgent_BrandVersion) ProtoMessage

func (*BidRequest_UserAgent_BrandVersion) ProtoMessage()

func (*BidRequest_UserAgent_BrandVersion) ProtoReflect

func (*BidRequest_UserAgent_BrandVersion) Reset

func (*BidRequest_UserAgent_BrandVersion) String

type BidRequest_UserAgent_Source

type BidRequest_UserAgent_Source int32

Possible sources for User-Agent data. In the case of Client Hints headers the source also distinguishes between requests that are restricted to the low-entropy headers and requests that don't have that restriction; see wicg.github.io/client-hints-infrastructure/#low-entropy-hint-table.

const (
	BidRequest_UserAgent_UNKNOWN_SOURCE BidRequest_UserAgent_Source = 0
	// User-Agent Client Hints (only low-entropy headers were available).
	BidRequest_UserAgent_CLIENT_HINTS_LOW_ENTROPY BidRequest_UserAgent_Source = 1
	// User-Agent Client Hints (with high-entropy headers available).
	BidRequest_UserAgent_CLIENT_HINTS_HIGH_ENTROPY BidRequest_UserAgent_Source = 2
	// Parsed from User-Agent header.
	BidRequest_UserAgent_USER_AGENT_STRING BidRequest_UserAgent_Source = 3
)

func (BidRequest_UserAgent_Source) Descriptor

func (BidRequest_UserAgent_Source) Enum

func (BidRequest_UserAgent_Source) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_UserAgent_Source.Descriptor instead.

func (BidRequest_UserAgent_Source) Number

func (BidRequest_UserAgent_Source) String

func (BidRequest_UserAgent_Source) Type

func (*BidRequest_UserAgent_Source) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidRequest_UserDataTreatment

type BidRequest_UserDataTreatment int32

Reasons for special treatment of user data (google_user_id, hosted_match_data, IDFA, etc).

const (
	// The current request should be treated as child-directed for purposes of
	// the Children's Online Privacy Protection Act. See
	// https://support.google.com/admanager/answer/4442399 for more information.
	BidRequest_TAG_FOR_CHILD_DIRECTED_TREATMENT BidRequest_UserDataTreatment = 0
)

func (BidRequest_UserDataTreatment) Descriptor

func (BidRequest_UserDataTreatment) Enum

func (BidRequest_UserDataTreatment) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_UserDataTreatment.Descriptor instead.

func (BidRequest_UserDataTreatment) Number

func (BidRequest_UserDataTreatment) String

func (BidRequest_UserDataTreatment) Type

func (*BidRequest_UserDataTreatment) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidRequest_UserList

type BidRequest_UserList struct {

	// The user list id.
	Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	// The time in seconds since the user was added to the list.
	AgeSeconds *int32 `protobuf:"varint,2,opt,name=age_seconds,json=ageSeconds" json:"age_seconds,omitempty"`
	// contains filtered or unexported fields
}

This field is not populated by default. We recommend that bidders instead store and look up list ids using either google_user_id or hosted_match_data as keys.

func (*BidRequest_UserList) Descriptor deprecated

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

Deprecated: Use BidRequest_UserList.ProtoReflect.Descriptor instead.

func (*BidRequest_UserList) GetAgeSeconds

func (x *BidRequest_UserList) GetAgeSeconds() int32

func (*BidRequest_UserList) GetId

func (x *BidRequest_UserList) GetId() int64

func (*BidRequest_UserList) ProtoMessage

func (*BidRequest_UserList) ProtoMessage()

func (*BidRequest_UserList) ProtoReflect

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

func (*BidRequest_UserList) Reset

func (x *BidRequest_UserList) Reset()

func (*BidRequest_UserList) String

func (x *BidRequest_UserList) String() string

type BidRequest_Vertical

type BidRequest_Vertical struct {

	// The vertical id. See the publisher-verticals.txt file in the technical
	// documentation for a list of ids.
	Id *int32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"`
	// Weight for this vertical, in the (0.0, 1.0] range. More relevant
	// verticals have higher weights.
	Weight *float32 `protobuf:"fixed32,2,req,name=weight" json:"weight,omitempty"`
	// contains filtered or unexported fields
}

One or more detected verticals for the page as determined by Google.

func (*BidRequest_Vertical) Descriptor deprecated

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

Deprecated: Use BidRequest_Vertical.ProtoReflect.Descriptor instead.

func (*BidRequest_Vertical) GetId

func (x *BidRequest_Vertical) GetId() int32

func (*BidRequest_Vertical) GetWeight

func (x *BidRequest_Vertical) GetWeight() float32

func (*BidRequest_Vertical) ProtoMessage

func (*BidRequest_Vertical) ProtoMessage()

func (*BidRequest_Vertical) ProtoReflect

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

func (*BidRequest_Vertical) Reset

func (x *BidRequest_Vertical) Reset()

func (*BidRequest_Vertical) String

func (x *BidRequest_Vertical) String() string

type BidRequest_Video

type BidRequest_Video struct {

	// 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-
	//
	// Deprecated: Marked as deprecated in realtime-bidding.proto.
	Placement *BidRequest_Video_Placement `` /* 126-byte string literal not displayed */
	// Video placement type declared by the publisher for this impression.
	// Equivalent to the Video.plcmt field 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.
	Plcmt *BidRequest_Video_Plcmt `protobuf:"varint,23,opt,name=plcmt,enum=com.google.protos.adx.BidRequest_Video_Plcmt,def=0" json:"plcmt,omitempty"`
	// Video placement type inferred by Google for this impression. This field
	// is always filled and can be different from BidRequest.video.plcmt (the
	// publisher-declared placement type).
	InferredPlcmt *BidRequest_Video_Plcmt `` /* 151-byte string literal not displayed */
	// The URL of the page that the publisher gives Google to describe the video
	// content, with parameters removed.
	DescriptionUrl *string `protobuf:"bytes,10,opt,name=description_url,json=descriptionUrl" json:"description_url,omitempty"`
	// If true, the video is embedded on a page outside the publisher's domain.
	// When this is set, description_url points to a description of the video
	// (as it always does), and the url field in BidRequest is the page in which
	// the video is embedded. For example, a request for an in-stream ad in a
	// Vimeo video shared on Facebook has is_embedded_offsite set. The url field
	// is for a Facebook page and the description_url points to the video on
	// Vimeo.
	IsEmbeddedOffsite *bool                                 `protobuf:"varint,11,opt,name=is_embedded_offsite,json=isEmbeddedOffsite,def=0" json:"is_embedded_offsite,omitempty"`
	PlaybackMethod    *BidRequest_Video_VideoPlaybackMethod `` /* 168-byte string literal not displayed */
	// Whether the inventory allows clicking on the video ad to take the user to
	// an advertiser site. Some platforms, notably connected TVs, do not
	// support clicking on video ads, in which case this field is set to false.
	IsClickable *bool `protobuf:"varint,15,opt,name=is_clickable,json=isClickable" json:"is_clickable,omitempty"`
	// The time in milliseconds from the start of the video when the ad will be
	// displayed. 0 means pre-roll and -1 means post-roll. The value is valid
	// only if this param is set. When not set, the display position is unknown.
	VideoadStartDelay *int32 `protobuf:"varint,1,opt,name=videoad_start_delay,json=videoadStartDelay" json:"videoad_start_delay,omitempty"`
	// The maximum duration in milliseconds of the ad that you should return.
	// If this is not set or has value <= 0, any duration is allowed.
	MaxAdDuration *int32 `protobuf:"varint,2,opt,name=max_ad_duration,json=maxAdDuration" json:"max_ad_duration,omitempty"`
	// The minimum duration in milliseconds of the ad that you should return.
	// If this is not set or has value <= 0, there is no minimum duration.
	MinAdDuration *int32 `protobuf:"varint,8,opt,name=min_ad_duration,json=minAdDuration" json:"min_ad_duration,omitempty"`
	// The maximum number of ads in an Adx video pod. A non-zero value indicates
	// that the current ad slot is a video pod that can show multiple video
	// ads. Actual number of video ads shown can be less than or equal to this
	// value but cannot exceed it.
	MaxAdsInPod *int32 `protobuf:"varint,12,opt,name=max_ads_in_pod,json=maxAdsInPod" json:"max_ads_in_pod,omitempty"`
	// The maximum duration of a pod in seconds.
	MaxPodDurationSeconds *int32                                    `protobuf:"varint,20,opt,name=max_pod_duration_seconds,json=maxPodDurationSeconds" json:"max_pod_duration_seconds,omitempty"`
	VideoAdSkippable      *BidRequest_Video_SkippableBidRequestType `` /* 179-byte string literal not displayed */
	// The maximum duration in milliseconds for the ad you should return, if
	// this ad is skippable (this generally differs from the maximum duration
	// allowed for non-skippable ads). If this is not set or has value <= 0, any
	// duration is allowed.
	SkippableMaxAdDuration *int32 `protobuf:"varint,5,opt,name=skippable_max_ad_duration,json=skippableMaxAdDuration" json:"skippable_max_ad_duration,omitempty"`
	// Array of supported video bid response protocols.
	Protocols           []BidRequest_Video_VideoProtocol    `` /* 131-byte string literal not displayed */
	AllowedVideoFormats []BidRequest_Video_VideoFormat      `` /* 170-byte string literal not displayed */
	CompanionSlot       []*BidRequest_Video_CompanionSlot   `protobuf:"bytes,7,rep,name=companion_slot,json=companionSlot" json:"companion_slot,omitempty"`
	EndCapSupport       *BidRequest_Video_EndCapSupport     `` /* 161-byte string literal not displayed */
	ContentAttributes   *BidRequest_Video_ContentAttributes `protobuf:"bytes,9,opt,name=content_attributes,json=contentAttributes" json:"content_attributes,omitempty"`
	// Identify whether or not the ad request is being served from a live video
	// stream (0 = is not live, 1 = is live).
	IsLivestream          *bool                                   `protobuf:"varint,18,opt,name=is_livestream,json=isLivestream,def=0" json:"is_livestream,omitempty"`
	PlaybackCessationMode *BidRequest_Video_PlaybackCessationMode `` /* 193-byte string literal not displayed */
	// Type of audio content feed where an audio ad can be played.
	FeedType *BidRequest_Video_FeedType `` /* 139-byte string literal not displayed */
	// Supported delivery methods for the video or audio content where an ad can
	// be shown.
	DeliveryMethod []BidRequest_Video_ContentDeliveryMethod `` /* 171-byte string literal not displayed */
	// contains filtered or unexported fields
}

Information about the video if this is an in-video ad request.

func (*BidRequest_Video) Descriptor deprecated

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

Deprecated: Use BidRequest_Video.ProtoReflect.Descriptor instead.

func (*BidRequest_Video) GetAllowedVideoFormats

func (x *BidRequest_Video) GetAllowedVideoFormats() []BidRequest_Video_VideoFormat

func (*BidRequest_Video) GetCompanionSlot

func (x *BidRequest_Video) GetCompanionSlot() []*BidRequest_Video_CompanionSlot

func (*BidRequest_Video) GetContentAttributes

func (x *BidRequest_Video) GetContentAttributes() *BidRequest_Video_ContentAttributes

func (*BidRequest_Video) GetDeliveryMethod

func (*BidRequest_Video) GetDescriptionUrl

func (x *BidRequest_Video) GetDescriptionUrl() string

func (*BidRequest_Video) GetEndCapSupport

func (x *BidRequest_Video) GetEndCapSupport() BidRequest_Video_EndCapSupport

func (*BidRequest_Video) GetFeedType

func (*BidRequest_Video) GetInferredPlcmt

func (x *BidRequest_Video) GetInferredPlcmt() BidRequest_Video_Plcmt

func (*BidRequest_Video) GetIsClickable

func (x *BidRequest_Video) GetIsClickable() bool

func (*BidRequest_Video) GetIsEmbeddedOffsite

func (x *BidRequest_Video) GetIsEmbeddedOffsite() bool

func (*BidRequest_Video) GetIsLivestream

func (x *BidRequest_Video) GetIsLivestream() bool

func (*BidRequest_Video) GetMaxAdDuration

func (x *BidRequest_Video) GetMaxAdDuration() int32

func (*BidRequest_Video) GetMaxAdsInPod

func (x *BidRequest_Video) GetMaxAdsInPod() int32

func (*BidRequest_Video) GetMaxPodDurationSeconds

func (x *BidRequest_Video) GetMaxPodDurationSeconds() int32

func (*BidRequest_Video) GetMinAdDuration

func (x *BidRequest_Video) GetMinAdDuration() int32

func (*BidRequest_Video) GetPlacement deprecated

func (x *BidRequest_Video) GetPlacement() BidRequest_Video_Placement

Deprecated: Marked as deprecated in realtime-bidding.proto.

func (*BidRequest_Video) GetPlaybackCessationMode

func (x *BidRequest_Video) GetPlaybackCessationMode() BidRequest_Video_PlaybackCessationMode

func (*BidRequest_Video) GetPlaybackMethod

func (*BidRequest_Video) GetPlcmt

func (*BidRequest_Video) GetProtocols

func (*BidRequest_Video) GetSkippableMaxAdDuration

func (x *BidRequest_Video) GetSkippableMaxAdDuration() int32

func (*BidRequest_Video) GetVideoAdSkippable

func (*BidRequest_Video) GetVideoadStartDelay

func (x *BidRequest_Video) GetVideoadStartDelay() int32

func (*BidRequest_Video) ProtoMessage

func (*BidRequest_Video) ProtoMessage()

func (*BidRequest_Video) ProtoReflect

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

func (*BidRequest_Video) Reset

func (x *BidRequest_Video) Reset()

func (*BidRequest_Video) String

func (x *BidRequest_Video) String() string

type BidRequest_Video_CompanionSlot

type BidRequest_Video_CompanionSlot struct {

	// These fields represent the available heights and widths in this slot.
	// There will always be the same number heights and widths fields.
	Height         []int32                                         `protobuf:"varint,1,rep,packed,name=height" json:"height,omitempty"`
	Width          []int32                                         `protobuf:"varint,2,rep,packed,name=width" json:"width,omitempty"`
	CreativeFormat []BidRequest_Video_CompanionSlot_CreativeFormat `` /* 170-byte string literal not displayed */
	// contains filtered or unexported fields
}

Information about the companion ad slots that can be shown with the video. While this is a repeated field there will only be one value in most cases. If there are no companion ads available this field will not be set.

func (*BidRequest_Video_CompanionSlot) Descriptor deprecated

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

Deprecated: Use BidRequest_Video_CompanionSlot.ProtoReflect.Descriptor instead.

func (*BidRequest_Video_CompanionSlot) GetCreativeFormat

func (*BidRequest_Video_CompanionSlot) GetHeight

func (x *BidRequest_Video_CompanionSlot) GetHeight() []int32

func (*BidRequest_Video_CompanionSlot) GetWidth

func (x *BidRequest_Video_CompanionSlot) GetWidth() []int32

func (*BidRequest_Video_CompanionSlot) ProtoMessage

func (*BidRequest_Video_CompanionSlot) ProtoMessage()

func (*BidRequest_Video_CompanionSlot) ProtoReflect

func (*BidRequest_Video_CompanionSlot) Reset

func (x *BidRequest_Video_CompanionSlot) Reset()

func (*BidRequest_Video_CompanionSlot) String

type BidRequest_Video_CompanionSlot_CreativeFormat

type BidRequest_Video_CompanionSlot_CreativeFormat int32

These are the formats of the creatives allowed in this companion ad slot.

const (
	BidRequest_Video_CompanionSlot_UNKNOWN_CREATIVE_FORMAT BidRequest_Video_CompanionSlot_CreativeFormat = -1
	BidRequest_Video_CompanionSlot_IMAGE_CREATIVE          BidRequest_Video_CompanionSlot_CreativeFormat = 0
	BidRequest_Video_CompanionSlot_FLASH_CREATIVE          BidRequest_Video_CompanionSlot_CreativeFormat = 1
	BidRequest_Video_CompanionSlot_HTML_CREATIVE           BidRequest_Video_CompanionSlot_CreativeFormat = 2
)

func (BidRequest_Video_CompanionSlot_CreativeFormat) Descriptor

func (BidRequest_Video_CompanionSlot_CreativeFormat) Enum

func (BidRequest_Video_CompanionSlot_CreativeFormat) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_Video_CompanionSlot_CreativeFormat.Descriptor instead.

func (BidRequest_Video_CompanionSlot_CreativeFormat) Number

func (BidRequest_Video_CompanionSlot_CreativeFormat) String

func (BidRequest_Video_CompanionSlot_CreativeFormat) Type

func (*BidRequest_Video_CompanionSlot_CreativeFormat) UnmarshalJSON deprecated

Deprecated: Do not use.

type BidRequest_Video_ContentAttributes

type BidRequest_Video_ContentAttributes struct {

	// The duration of the video, in seconds.
	DurationSeconds *int32 `protobuf:"varint,2,opt,name=duration_seconds,json=durationSeconds" json:"duration_seconds,omitempty"`
	// contains filtered or unexported fields
}

Attributes of the video that the user is viewing, not the video ad. These fields are based on the availability of the video metadata from the video publisher and may not always be populated.

func (*BidRequest_Video_ContentAttributes) Descriptor deprecated

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

Deprecated: Use BidRequest_Video_ContentAttributes.ProtoReflect.Descriptor instead.

func (*BidRequest_Video_ContentAttributes) GetDurationSeconds

func (x *BidRequest_Video_ContentAttributes) GetDurationSeconds() int32

func (*BidRequest_Video_ContentAttributes) ProtoMessage

func (*BidRequest_Video_ContentAttributes) ProtoMessage()

func (*BidRequest_Video_ContentAttributes) ProtoReflect

func (*BidRequest_Video_ContentAttributes) Reset

func (*BidRequest_Video_ContentAttributes) String

type BidRequest_Video_ContentDeliveryMethod

type BidRequest_Video_ContentDeliveryMethod int32

Options for delivery of audio or video content. See https://github.com/InteractiveAdvertisingBureau/AdCOM/blob/master/AdCOM%20v1.0%20FINAL.md#list_deliverymethods for details.

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

func (BidRequest_Video_ContentDeliveryMethod) Descriptor

func (BidRequest_Video_ContentDeliveryMethod) Enum

func (BidRequest_Video_ContentDeliveryMethod) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_Video_ContentDeliveryMethod.Descriptor instead.

func (BidRequest_Video_ContentDeliveryMethod) Number

func (BidRequest_Video_ContentDeliveryMethod) String

func (BidRequest_Video_ContentDeliveryMethod) Type

func (*BidRequest_Video_ContentDeliveryMethod) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidRequest_Video_EndCapSupport

type BidRequest_Video_EndCapSupport int32

End cap support. When enabled, the companion ad can be picked to be rendered as an end cap (info card) in the video slot after the video ad finishes playing. If multiple companion ads are returned, IMA SDK chooses one which best matches the device screen size. End cap is supported only on mobile video interstitial inventory.

const (
	// Companion ad won't be rendered as end cap.
	BidRequest_Video_END_CAP_NOT_ENABLED BidRequest_Video_EndCapSupport = 0
	// End cap will be rendered if response contains
	// eligible companion banner, but companion
	// banner is not required.
	BidRequest_Video_END_CAP_OPTIONAL BidRequest_Video_EndCapSupport = 1
	// Not used at this time.
	// Response with companion ad is filtered.
	BidRequest_Video_END_CAP_FORBIDDEN BidRequest_Video_EndCapSupport = 2
	// Not used at this time.
	// Response without companion ad is filtered.
	BidRequest_Video_END_CAP_REQUIRED BidRequest_Video_EndCapSupport = 3
)

func (BidRequest_Video_EndCapSupport) Descriptor

func (BidRequest_Video_EndCapSupport) Enum

func (BidRequest_Video_EndCapSupport) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_Video_EndCapSupport.Descriptor instead.

func (BidRequest_Video_EndCapSupport) Number

func (BidRequest_Video_EndCapSupport) String

func (BidRequest_Video_EndCapSupport) Type

func (*BidRequest_Video_EndCapSupport) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidRequest_Video_FeedType

type BidRequest_Video_FeedType int32

Types of feed for audio content. See https://github.com/InteractiveAdvertisingBureau/AdCOM/blob/master/AdCOM%20v1.0%20FINAL.md#list--feed-types- for details.

const (
	BidRequest_Video_FEED_TYPE_UNKNOWN BidRequest_Video_FeedType = 0
	// Music streaming service.
	BidRequest_Video_MUSIC_SERVICE BidRequest_Video_FeedType = 1
	// Live content broadcast over the air but also available through online
	// streaming.
	BidRequest_Video_FM_AM_BROADCAST BidRequest_Video_FeedType = 2
	// Original, pre-recorded content distributed as episodes in a series.
	BidRequest_Video_PODCAST BidRequest_Video_FeedType = 3
)

func (BidRequest_Video_FeedType) Descriptor

func (BidRequest_Video_FeedType) Enum

func (BidRequest_Video_FeedType) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_Video_FeedType.Descriptor instead.

func (BidRequest_Video_FeedType) Number

func (BidRequest_Video_FeedType) String

func (x BidRequest_Video_FeedType) String() string

func (BidRequest_Video_FeedType) Type

func (*BidRequest_Video_FeedType) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidRequest_Video_Placement

type BidRequest_Video_Placement int32

Describes where the video ad will play.

const (
	BidRequest_Video_UNKNOWN_PLACEMENT BidRequest_Video_Placement = 0
	// Instream means the ad plays before, during, or after other video
	// content. This is similar to a traditional TV commercial. The video
	// content the user is watching does not play while the ad is playing.
	BidRequest_Video_INSTREAM BidRequest_Video_Placement = 1
	// Interstitial means the video ad plays in front of non-video content,
	// (for example, a news article or video game). The ad covers all or
	// nearly all of the space on the screen occupied by the content and the
	// user is not able to proceed to the content until the ad has finished or
	// been skipped.
	BidRequest_Video_INTERSTITIAL BidRequest_Video_Placement = 2
	// The in-feed video format is a video creative that shows within a feed
	// of content, typically a social app feed, a list of editorial content
	// items, etc, as the user is scrolling. It renders centered and not to
	// the side.
	BidRequest_Video_IN_FEED BidRequest_Video_Placement = 3
	// Audio is a request for an ad that is an audio stream. It is distinct
	// from INSTREAM above as that is exclusive to video requests.
	BidRequest_Video_AUDIO BidRequest_Video_Placement = 4
	// The in-article video format is a video creative that loads and plays
	// between paragraphs of editorial content as a standalone video player.
	BidRequest_Video_IN_ARTICLE BidRequest_Video_Placement = 5
)

func (BidRequest_Video_Placement) Descriptor

func (BidRequest_Video_Placement) Enum

func (BidRequest_Video_Placement) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_Video_Placement.Descriptor instead.

func (BidRequest_Video_Placement) Number

func (BidRequest_Video_Placement) String

func (BidRequest_Video_Placement) Type

func (*BidRequest_Video_Placement) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidRequest_Video_PlaybackCessationMode

type BidRequest_Video_PlaybackCessationMode int32

The event that causes playback to end. This will only be filled for non-instream video formats.

const (
	BidRequest_Video_PLAYBACK_CESSATION_MODE_UNKNOWN BidRequest_Video_PlaybackCessationMode = 0
	// On video completion or when terminated by user
	BidRequest_Video_COMPLETION_OR_USER BidRequest_Video_PlaybackCessationMode = 1
	// On leaving viewport or when terminated by user
	BidRequest_Video_LEAVING_OR_USER BidRequest_Video_PlaybackCessationMode = 2
	// On leaving viewport continues as a floating/slider unit until
	// video completion or when terminated by user
	BidRequest_Video_LEAVING_CONTINUES_OR_USER BidRequest_Video_PlaybackCessationMode = 3
)

func (BidRequest_Video_PlaybackCessationMode) Descriptor

func (BidRequest_Video_PlaybackCessationMode) Enum

func (BidRequest_Video_PlaybackCessationMode) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_Video_PlaybackCessationMode.Descriptor instead.

func (BidRequest_Video_PlaybackCessationMode) Number

func (BidRequest_Video_PlaybackCessationMode) String

func (BidRequest_Video_PlaybackCessationMode) Type

func (*BidRequest_Video_PlaybackCessationMode) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidRequest_Video_Plcmt

type BidRequest_Video_Plcmt int32

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

const (
	BidRequest_Video_PLCMT_UNKNOWN BidRequest_Video_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.
	BidRequest_Video_PLCMT_INSTREAM BidRequest_Video_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.
	BidRequest_Video_PLCMT_ACCOMPANYING_CONTENT BidRequest_Video_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.
	BidRequest_Video_PLCMT_INTERSTITIAL BidRequest_Video_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.
	BidRequest_Video_PLCMT_NO_CONTENT_STANDALONE BidRequest_Video_Plcmt = 4
)

func (BidRequest_Video_Plcmt) Descriptor

func (BidRequest_Video_Plcmt) Enum

func (BidRequest_Video_Plcmt) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_Video_Plcmt.Descriptor instead.

func (BidRequest_Video_Plcmt) Number

func (BidRequest_Video_Plcmt) String

func (x BidRequest_Video_Plcmt) String() string

func (BidRequest_Video_Plcmt) Type

func (*BidRequest_Video_Plcmt) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidRequest_Video_SkippableBidRequestType

type BidRequest_Video_SkippableBidRequestType int32

Does the publisher allow/require/block skippable video ads?

const (
	BidRequest_Video_ALLOW_SKIPPABLE   BidRequest_Video_SkippableBidRequestType = 0
	BidRequest_Video_REQUIRE_SKIPPABLE BidRequest_Video_SkippableBidRequestType = 1
	BidRequest_Video_BLOCK_SKIPPABLE   BidRequest_Video_SkippableBidRequestType = 2
)

func (BidRequest_Video_SkippableBidRequestType) Descriptor

func (BidRequest_Video_SkippableBidRequestType) Enum

func (BidRequest_Video_SkippableBidRequestType) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_Video_SkippableBidRequestType.Descriptor instead.

func (BidRequest_Video_SkippableBidRequestType) Number

func (BidRequest_Video_SkippableBidRequestType) String

func (BidRequest_Video_SkippableBidRequestType) Type

func (*BidRequest_Video_SkippableBidRequestType) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidRequest_Video_VideoFormat

type BidRequest_Video_VideoFormat int32

The video file formats that are allowed for this request. The response should support at least one of them.

const (
	BidRequest_Video_UNKNOWN_VIDEO_FORMAT BidRequest_Video_VideoFormat = -1
	// Flash video files are accepted (FLV).
	BidRequest_Video_VIDEO_FLV BidRequest_Video_VideoFormat = 0
	BidRequest_Video_VIDEO_MP4 BidRequest_Video_VideoFormat = 1
	// Valid VAST ads with at least one media file hosted on youtube.com.
	BidRequest_Video_YT_HOSTED BidRequest_Video_VideoFormat = 2
	// Flash VPAID (SWF).
	BidRequest_Video_VPAID_FLASH BidRequest_Video_VideoFormat = 3
	// JavaScript VPAID.
	BidRequest_Video_VPAID_JS  BidRequest_Video_VideoFormat = 4
	BidRequest_Video_AUDIO_MP3 BidRequest_Video_VideoFormat = 5
	BidRequest_Video_AUDIO_OGG BidRequest_Video_VideoFormat = 6
	// Requires both MP3 & OGG as Google does not know
	// which codecs are installed on the player.
	BidRequest_Video_AUDIO_MP3_OGG BidRequest_Video_VideoFormat = 7
	BidRequest_Video_VIDEO_WEBM    BidRequest_Video_VideoFormat = 8
	BidRequest_Video_VIDEO_MOV     BidRequest_Video_VideoFormat = 9
	BidRequest_Video_VIDEO_3GPP    BidRequest_Video_VideoFormat = 10
	BidRequest_Video_VIDEO_HLS     BidRequest_Video_VideoFormat = 11
	BidRequest_Video_VIDEO_DASH    BidRequest_Video_VideoFormat = 12
	// Audio version of MP4.
	BidRequest_Video_AUDIO_MP4A BidRequest_Video_VideoFormat = 13
)

func (BidRequest_Video_VideoFormat) Descriptor

func (BidRequest_Video_VideoFormat) Enum

func (BidRequest_Video_VideoFormat) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_Video_VideoFormat.Descriptor instead.

func (BidRequest_Video_VideoFormat) Number

func (BidRequest_Video_VideoFormat) String

func (BidRequest_Video_VideoFormat) Type

func (*BidRequest_Video_VideoFormat) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidRequest_Video_VideoPlaybackMethod

type BidRequest_Video_VideoPlaybackMethod int32

Describes how the video ad will be played. The playback method is determined to be auto-play, click-to-play or mouse-over based on the best measurement available. This includes things like how recently the user interacted with a web page. For auto-play, ads can start playing with the sound on or off. Some ads (for example, in-feed ads) are muted until the user interacts with the ad. Alternatively, if an ad would normally play with the sound on but the device is muted then the value will be set to sound off. For devices where it is not possible to determine if the device is muted (for example, desktop), we assume that sound is on.

const (
	BidRequest_Video_METHOD_UNKNOWN                          BidRequest_Video_VideoPlaybackMethod = 0
	BidRequest_Video_AUTO_PLAY_SOUND_ON                      BidRequest_Video_VideoPlaybackMethod = 1
	BidRequest_Video_AUTO_PLAY_SOUND_OFF                     BidRequest_Video_VideoPlaybackMethod = 2
	BidRequest_Video_CLICK_TO_PLAY                           BidRequest_Video_VideoPlaybackMethod = 3
	BidRequest_Video_MOUSE_OVER                              BidRequest_Video_VideoPlaybackMethod = 4
	BidRequest_Video_INITIATE_ON_ENTERING_VIEWPORT_SOUND_ON  BidRequest_Video_VideoPlaybackMethod = 5
	BidRequest_Video_INITIATE_ON_ENTERING_VIEWPORT_SOUND_OFF BidRequest_Video_VideoPlaybackMethod = 6
)

func (BidRequest_Video_VideoPlaybackMethod) Descriptor

func (BidRequest_Video_VideoPlaybackMethod) Enum

func (BidRequest_Video_VideoPlaybackMethod) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_Video_VideoPlaybackMethod.Descriptor instead.

func (BidRequest_Video_VideoPlaybackMethod) Number

func (BidRequest_Video_VideoPlaybackMethod) String

func (BidRequest_Video_VideoPlaybackMethod) Type

func (*BidRequest_Video_VideoPlaybackMethod) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidRequest_Video_VideoProtocol

type BidRequest_Video_VideoProtocol int32

Supported video protocols.

const (
	BidRequest_Video_UNKNOWN_VIDEO_PROTOCOL BidRequest_Video_VideoProtocol = 0
	BidRequest_Video_VAST_1_0               BidRequest_Video_VideoProtocol = 1
	BidRequest_Video_VAST_2_0               BidRequest_Video_VideoProtocol = 2
	BidRequest_Video_VAST_3_0               BidRequest_Video_VideoProtocol = 3
	BidRequest_Video_VAST_1_0_WRAPPER       BidRequest_Video_VideoProtocol = 4
	BidRequest_Video_VAST_2_0_WRAPPER       BidRequest_Video_VideoProtocol = 5
	BidRequest_Video_VAST_3_0_WRAPPER       BidRequest_Video_VideoProtocol = 6
	BidRequest_Video_VAST_4_0               BidRequest_Video_VideoProtocol = 7
	BidRequest_Video_VAST_4_0_WRAPPER       BidRequest_Video_VideoProtocol = 8
	BidRequest_Video_DAAST_1_0              BidRequest_Video_VideoProtocol = 9
	BidRequest_Video_DAAST_1_0_WRAPPER      BidRequest_Video_VideoProtocol = 10
)

func (BidRequest_Video_VideoProtocol) Descriptor

func (BidRequest_Video_VideoProtocol) Enum

func (BidRequest_Video_VideoProtocol) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_Video_VideoProtocol.Descriptor instead.

func (BidRequest_Video_VideoProtocol) Number

func (BidRequest_Video_VideoProtocol) String

func (BidRequest_Video_VideoProtocol) Type

func (*BidRequest_Video_VideoProtocol) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidRequest_VisibilityState

type BidRequest_VisibilityState int32
const (
	BidRequest_VISIBILITY_STATE_UNKNOWN BidRequest_VisibilityState = 0
	// The page is at least partially visible. For example, in the foreground
	// tab of a non-minimized window.
	BidRequest_VISIBILITY_STATE_VISIBLE BidRequest_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.
	BidRequest_VISIBILITY_STATE_HIDDEN BidRequest_VisibilityState = 2
)

func (BidRequest_VisibilityState) Descriptor

func (BidRequest_VisibilityState) Enum

func (BidRequest_VisibilityState) EnumDescriptor deprecated

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

Deprecated: Use BidRequest_VisibilityState.Descriptor instead.

func (BidRequest_VisibilityState) Number

func (BidRequest_VisibilityState) String

func (BidRequest_VisibilityState) Type

func (*BidRequest_VisibilityState) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidResponse

type BidResponse struct {
	Ad []*BidResponse_Ad `protobuf:"bytes,2,rep,name=ad" json:"ad,omitempty"`
	// If is_test was set in the BidRequest, then you may return debug information
	// as plain text in this field. Don't set this field under normal
	// conditions, or set it to values longer than 100 characters. You should only
	// use this field when asked to do so as part of troubleshooting particular
	// problems.
	DebugString *string `protobuf:"bytes,5,opt,name=debug_string,json=debugString" json:"debug_string,omitempty"`
	// Set this to the processing time in milliseconds from when you
	// received the request to when you returned the response.
	ProcessingTimeMs *int32 `protobuf:"varint,4,opt,name=processing_time_ms,json=processingTimeMs" json:"processing_time_ms,omitempty"`
	// An optional, bidder-specified reason for not submitting a bid. This field
	// is equivalent to BidResponse.nbr in the OpenRTB protocol and uses the same
	// namespace of no-bid reason codes. See
	// https://developers.google.com/authorized-buyers/rtb/downloads/no-bid-reasons.txt
	// for the full set of no-bid reason codes.
	NoBidReason *int32 `protobuf:"varint,6,opt,name=no_bid_reason,json=noBidReason" json:"no_bid_reason,omitempty"`
	// contains filtered or unexported fields
}

This is the message that you return in response to a BidRequest. You may specify zero or more ads. For each ad, you should provide an ad slot on which the ad can run. An ad slot is identified by the AdSlot.id from the BidRequest. If you do not want to bid, submit a response with no ads and with only the processing_time_ms set.

func (*BidResponse) Descriptor deprecated

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

Deprecated: Use BidResponse.ProtoReflect.Descriptor instead.

func (*BidResponse) GetAd

func (x *BidResponse) GetAd() []*BidResponse_Ad

func (*BidResponse) GetDebugString

func (x *BidResponse) GetDebugString() string

func (*BidResponse) GetNoBidReason

func (x *BidResponse) GetNoBidReason() int32

func (*BidResponse) GetProcessingTimeMs

func (x *BidResponse) GetProcessingTimeMs() int32

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 BidResponse_Ad

type BidResponse_Ad struct {

	// The event notification token is sent to AdX by bidders for
	// troubleshooting. AdX will include the token in real-time feedback for the
	// bid. The content of the token will not be logged by AdX. AdX will ignore
	// any token longer than 128 bytes.
	EventNotificationToken []byte `protobuf:"bytes,25,opt,name=event_notification_token,json=eventNotificationToken" json:"event_notification_token,omitempty"`
	// A unique identifier chosen by you for the creative in this response.
	// This must always be set, must be limited to at most 64 bytes, and must be
	// a valid UTF8 string. Every buyer_creative_id you use must always be
	// associated with the same creative. This field is used to communicate
	// approval statuses when issues are found. Do not specify the same id for
	// different creatives, or all creatives will be disapproved if a problem
	// with a single creative is found. Do not specify different ids for the
	// same creative in different responses or no creatives will be served since
	// approval status is assigned on a per-id basis.
	BuyerCreativeId *string `protobuf:"bytes,10,opt,name=buyer_creative_id,json=buyerCreativeId" json:"buyer_creative_id,omitempty"`
	// Only one of the following should be set:
	// 1) html_snippet, 2) video_url, 3) native_ad, or 4) sdk_rendered_ad.
	//
	// The HTML snippet that will be placed on the web page to display the ad.
	// Use BidResponse.Ad.AdSlot.billing_id to indicate which billing id
	// this snippet is attributed to.
	HtmlSnippet *string `protobuf:"bytes,1,opt,name=html_snippet,json=htmlSnippet" json:"html_snippet,omitempty"`
	// The URL to fetch a video ad. The URL should return an XML response that
	// conforms to the VAST 2.0 or 3.0 standard. Use
	// BidResponse.Ad.AdSlot.billing_id to indicate which billing id to
	// attribute this ad to. Only one of the following should be set:
	// html_snippet, video_url. Only set this field if the BidRequest is for an
	// in-video ad (BidRequest.video is present).
	VideoUrl *string `protobuf:"bytes,9,opt,name=video_url,json=videoUrl" json:"video_url,omitempty"`
	// The VAST document to be returned. This document should conform to the
	// VAST 2.0 or 3.0 standard. Use BidResponse.Ad.AdSlot.billing_id to
	// indicate which billing ID to attribute this ad to.
	// Only set this field if the BidRequest is for an in-video ad and the
	// response is VAST XML.
	VideoVastXml *string `protobuf:"bytes,24,opt,name=video_vast_xml,json=videoVastXml" json:"video_vast_xml,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,23,opt,name=amp_ad_url,json=ampAdUrl" json:"amp_ad_url,omitempty"`
	NativeAd *BidResponse_Ad_NativeAd `protobuf:"bytes,18,opt,name=native_ad,json=nativeAd" json:"native_ad,omitempty"`
	// The set of destination URLs for the snippet. This includes the URLs that
	// the user will go to if they click on the displayed ad, and any URLs that
	// are visible in the rendered ad. Do not include intermediate calls to the
	// adserver that are unrelated to the inal landing page. A BidResponse that
	// returns a snippet or video ad but declares no click_through_url will be
	// discarded. Only set this field if html_snippet or video_url or native_ad
	// are set. This data is used as a destination URL declaration, for example
	// for post-filtering of publisher-blocked URLs or ad categorization.
	//
	// For non-native ads, it is not used for click tracking or any
	// other ad functionality; it is only used as a destination URL
	// declaration.
	//
	// For native ads, if NativeAd.click_link_url is not set, the first
	// value of click_through_url is used to direct the user to the landing
	// page. In addition, all values are used as destination
	// URL declarations (similar to the non-native case).
	ClickThroughUrl []string `protobuf:"bytes,4,rep,name=click_through_url,json=clickThroughUrl" json:"click_through_url,omitempty"`
	// All vendor types for the ads that may be shown from this snippet. You
	// should only declare vendor ids listed in the vendors.txt file in the
	// technical documentation. We will check to ensure that the vendors you
	// declare are in the allowed_vendor_type list sent in the BidRequest for
	// AdX publishers.
	VendorType []int32 `protobuf:"varint,5,rep,name=vendor_type,json=vendorType" json:"vendor_type,omitempty"`
	// All attributes for the ads that may be shown from this snippet. See
	// buyer-declarable-creative-attributes.txt in the technical documentation
	// for a list of ids. We will check to ensure none of these attributes are
	// in the excluded_attribute list in the BidRequest.
	Attribute []int32 `protobuf:"varint,6,rep,name=attribute" json:"attribute,omitempty"`
	// All sensitive categories for the ads that may be shown from this snippet.
	// See ad-sensitive-categories.txt in the technical documentation for a list
	// of ids. We will check to ensure none of these categories were in the
	// excluded_sensitive_category list in the BidRequest.
	Category []int32 `protobuf:"varint,7,rep,name=category" json:"category,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. We will check to ensure these categories were listed
	// in the allowed_restricted_category list in the BidRequest. If you are
	// bidding with ads in restricted categories you MUST ALWAYS declare them
	// here.
	RestrictedCategory []int32 `protobuf:"varint,17,rep,name=restricted_category,json=restrictedCategory" json:"restricted_category,omitempty"`
	// All names of the ad's advertisers.
	AdvertiserName []string `protobuf:"bytes,11,rep,name=advertiser_name,json=advertiserName" json:"advertiser_name,omitempty"`
	// The width and the height in pixels of the ad. Setting these is optional.
	// However, these must be set if the bid BidRequest.AdSlot has more than one
	// width and height or if BidRequest.Mobile.is_interstitial_request is true.
	Width  *int32                   `protobuf:"varint,14,opt,name=width" json:"width,omitempty"`
	Height *int32                   `protobuf:"varint,15,opt,name=height" json:"height,omitempty"`
	Adslot []*BidResponse_Ad_AdSlot `protobuf:"bytes,3,rep,name=adslot" json:"adslot,omitempty"`
	// The URLs to call when the impression is rendered. This is supported for
	// all inventory types and all formats.
	ImpressionTrackingUrl []string `protobuf:"bytes,19,rep,name=impression_tracking_url,json=impressionTrackingUrl" json:"impression_tracking_url,omitempty"`
	// 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.
	ClickTrackingUrls []string `protobuf:"bytes,30,rep,name=click_tracking_urls,json=clickTrackingUrls" json:"click_tracking_urls,omitempty"`
	// Link to ad preferences page. This is only supported for native ads.
	// If present, a standard AdChoices icon is added to the native creative and
	// linked to this URL.
	AdChoicesDestinationUrl *string `` /* 128-byte string literal not displayed */
	// Resources to invoke when the impression is rendered. This is supported
	// for native and banner formats only and explicitly allowed scripts
	// only.
	ImpressionTrackingResource []*BidResponse_Ad_ImpressionTrackingResource `` /* 135-byte string literal not displayed */
	SdkRenderedAd              *BidResponse_Ad_SdkRenderedAd                `protobuf:"bytes,27,opt,name=sdk_rendered_ad,json=sdkRenderedAd" json:"sdk_rendered_ad,omitempty"`
	Skadn                      *BidResponse_Ad_SKAdNetworkResponse          `protobuf:"bytes,29,opt,name=skadn" json:"skadn,omitempty"`
	// ID of the advertised app (only for app promotion).
	// On Android, this should be a bundle or package name such as
	// com.foo.mygame. On iOS, it is a numeric ID.
	//
	// In addition to this field, set the app_promotion_type field below to take
	// advantage of features specific to app promotion types.
	AdvertisedAppId *string `protobuf:"bytes,32,opt,name=advertised_app_id,json=advertisedAppId" json:"advertised_app_id,omitempty"`
	// Type of the app promotion corresponding to the advertised app specified
	// in the advertised_app_id field above.
	// If the advertised app is not specified, this field will be ignored.
	//
	// Setting advertised_app_id field without this field will be treated as if
	// this field were set to OTHER.
	AppPromotionType *BidResponse_Ad_AppPromotionType `` /* 165-byte string literal not displayed */
	// DSA Ad Transparency information provided by the buyer.
	DsaTransparency *BidResponse_Ad_DsaTransparency `protobuf:"bytes,39,opt,name=dsa_transparency,json=dsaTransparency" json:"dsa_transparency,omitempty"`
	// contains filtered or unexported fields
}

func (*BidResponse_Ad) Descriptor deprecated

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

Deprecated: Use BidResponse_Ad.ProtoReflect.Descriptor instead.

func (*BidResponse_Ad) GetAdChoicesDestinationUrl

func (x *BidResponse_Ad) GetAdChoicesDestinationUrl() string

func (*BidResponse_Ad) GetAdslot

func (x *BidResponse_Ad) GetAdslot() []*BidResponse_Ad_AdSlot

func (*BidResponse_Ad) GetAdvertisedAppId

func (x *BidResponse_Ad) GetAdvertisedAppId() string

func (*BidResponse_Ad) GetAdvertiserName

func (x *BidResponse_Ad) GetAdvertiserName() []string

func (*BidResponse_Ad) GetAmpAdUrl

func (x *BidResponse_Ad) GetAmpAdUrl() string

func (*BidResponse_Ad) GetAppPromotionType

func (x *BidResponse_Ad) GetAppPromotionType() BidResponse_Ad_AppPromotionType

func (*BidResponse_Ad) GetAttribute

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

func (*BidResponse_Ad) GetBuyerCreativeId

func (x *BidResponse_Ad) GetBuyerCreativeId() string

func (*BidResponse_Ad) GetCategory

func (x *BidResponse_Ad) GetCategory() []int32

func (*BidResponse_Ad) GetClickThroughUrl

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

func (*BidResponse_Ad) GetClickTrackingUrls

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

func (*BidResponse_Ad) GetDsaTransparency

func (x *BidResponse_Ad) GetDsaTransparency() *BidResponse_Ad_DsaTransparency

func (*BidResponse_Ad) GetEventNotificationToken

func (x *BidResponse_Ad) GetEventNotificationToken() []byte

func (*BidResponse_Ad) GetHeight

func (x *BidResponse_Ad) GetHeight() int32

func (*BidResponse_Ad) GetHtmlSnippet

func (x *BidResponse_Ad) GetHtmlSnippet() string

func (*BidResponse_Ad) GetImpressionTrackingResource

func (x *BidResponse_Ad) GetImpressionTrackingResource() []*BidResponse_Ad_ImpressionTrackingResource

func (*BidResponse_Ad) GetImpressionTrackingUrl

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

func (*BidResponse_Ad) GetNativeAd

func (x *BidResponse_Ad) GetNativeAd() *BidResponse_Ad_NativeAd

func (*BidResponse_Ad) GetRestrictedCategory

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

func (*BidResponse_Ad) GetSdkRenderedAd

func (x *BidResponse_Ad) GetSdkRenderedAd() *BidResponse_Ad_SdkRenderedAd

func (*BidResponse_Ad) GetSkadn

func (*BidResponse_Ad) GetVendorType

func (x *BidResponse_Ad) GetVendorType() []int32

func (*BidResponse_Ad) GetVideoUrl

func (x *BidResponse_Ad) GetVideoUrl() string

func (*BidResponse_Ad) GetVideoVastXml

func (x *BidResponse_Ad) GetVideoVastXml() string

func (*BidResponse_Ad) GetWidth

func (x *BidResponse_Ad) GetWidth() int32

func (*BidResponse_Ad) ProtoMessage

func (*BidResponse_Ad) ProtoMessage()

func (*BidResponse_Ad) ProtoReflect

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

func (*BidResponse_Ad) Reset

func (x *BidResponse_Ad) Reset()

func (*BidResponse_Ad) String

func (x *BidResponse_Ad) String() string

type BidResponse_Ad_AdSlot

type BidResponse_Ad_AdSlot struct {

	// The slot id from the BidRequest that the ad may appear in.
	Id *int32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"`
	// The maximum CPM you want to be charged if you win the auction for this
	// ad slot, expressed in micros of the specified currency or default
	// bidding currency. For example, to bid a CPM of 1.29 USD, set
	// max_cpm_micros = 1290000. Winning bids are rounded up to billable
	// units. For example, in USD, bids are rounded up to the next multiple
	// of 10,000 micros (one cent).
	MaxCpmMicros *int64 `protobuf:"varint,2,req,name=max_cpm_micros,json=maxCpmMicros" json:"max_cpm_micros,omitempty"`
	// The minimum CPM you want to be charged if you win the auction for this
	// ad slot, expressed in micros of the specified currency or default
	// bidding currency. This may represent a second price if you choose
	// max_cpm_micros as the highest of several bids, or some form of reserve
	// price if you want to override the reserve price set by the publisher.
	// The bid must be less than or equal to max_cpm_micros or it will be
	// ignored. This field is optional and does not need to be set. This
	// field is not applicable when responding to bid requests with
	// auction_type set to FIRST_PRICE.
	MinCpmMicros *int64 `protobuf:"varint,3,opt,name=min_cpm_micros,json=minCpmMicros" json:"min_cpm_micros,omitempty"`
	// The currency used by max_cpm_micros and min_cpm_micros, using ISO-4217
	// alpha codes. 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 billing_id field of the bid response 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.
	Currency *string `protobuf:"bytes,15,opt,name=currency" json:"currency,omitempty"`
	// Billing id to attribute this impression to. The value must be in the
	// set of billing ids for this slot that were sent in the
	// BidRequest.AdSlot.matching_ad_data.billing_id. This must always be set
	// if the BidRequest has more than one
	// BidRequest.AdSlot.matching_ad_data.billing_id or if the bidder has
	// active child seats.
	BillingId *int64 `protobuf:"varint,4,opt,name=billing_id,json=billingId" json:"billing_id,omitempty"`
	// The deal id that you want this bid to participate in. Leave unset
	// or set it to "1" if a deal is available but you want to
	// ignore the deal and participate in the open auction.
	DealId *int64 `protobuf:"varint,5,opt,name=deal_id,json=dealId,def=0" json:"deal_id,omitempty"`
	// For exchange bidders (third party exchanges doing real-time bidding on
	// DFP), the deal id from the exchange's namespace that is associated with
	// this bid and reported to publishers. Leave unset if there is no
	// associated deal. This is arbitrary UTF8 text and must be at most 64
	// bytes.
	ExchangeDealId   *string                                 `protobuf:"bytes,6,opt,name=exchange_deal_id,json=exchangeDealId" json:"exchange_deal_id,omitempty"`
	ExchangeDealType *BidResponse_Ad_AdSlot_ExchangeDealType `` /* 177-byte string literal not displayed */
	// The seat ID in the bidder's namespace representing the seat on whose
	// behalf this bid was made.
	SeatId *string `protobuf:"bytes,25,opt,name=seat_id,json=seatId" json:"seat_id,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,8,opt,name=buyer_reporting_id,json=buyerReportingId" json:"buyer_reporting_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,12,opt,name=third_party_buyer_token,json=thirdPartyBuyerToken" json:"third_party_buyer_token,omitempty"`
	FrequencyCap         []*BidResponse_Ad_AdSlot_FrequencyCap `protobuf:"bytes,16,rep,name=frequency_cap,json=frequencyCap" json:"frequency_cap,omitempty"`
	// Indicates that the bid is only eligible
	// for a specific position within the pod.
	PositionInPod *BidResponse_Ad_AdSlot_PodPosition `` /* 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. If an ad is submitted on multiple positional bids
	// represented by AdSlot messages, each bid (AdSlot message)
	// must have a different bid_group_id.
	// For example, if a bidder wants to bid ad_1 for first position
	// and last position in the pod and ad_2 for any position and
	// want to ensure either both win at the same time or neither of those
	// wins, bidder needs to submit:
	// ad {
	//   buyer_creative_id: "ad_1",
	//   adslot {
	//     position_in_pod: POD_POSITION_FIRST,
	//     bid_group_id: "group1"
	//   },
	//   adslot {
	//     position_in_pod: POD_POSITION_LAST,
	//     bid_group_id: "group2"
	//   }
	// },
	// ad {
	//   buyer_creative_id: "ad_2",
	//   adslot {
	//     position_in_pod: POD_POSITION_ANY,
	//     bid_group_id: "group1"
	//   },
	//   adslot {
	//     position_in_pod: POD_POSITION_ANY,
	//     bid_group_id: "group2"
	//   }
	// }
	BidGroupId *string `protobuf:"bytes,23,opt,name=bid_group_id,json=bidGroupId" json:"bid_group_id,omitempty"`
	// contains filtered or unexported fields
}

func (*BidResponse_Ad_AdSlot) Descriptor deprecated

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

Deprecated: Use BidResponse_Ad_AdSlot.ProtoReflect.Descriptor instead.

func (*BidResponse_Ad_AdSlot) GetBidGroupId

func (x *BidResponse_Ad_AdSlot) GetBidGroupId() string

func (*BidResponse_Ad_AdSlot) GetBillingId

func (x *BidResponse_Ad_AdSlot) GetBillingId() int64

func (*BidResponse_Ad_AdSlot) GetBuyerReportingId

func (x *BidResponse_Ad_AdSlot) GetBuyerReportingId() string

func (*BidResponse_Ad_AdSlot) GetCurrency

func (x *BidResponse_Ad_AdSlot) GetCurrency() string

func (*BidResponse_Ad_AdSlot) GetDealId

func (x *BidResponse_Ad_AdSlot) GetDealId() int64

func (*BidResponse_Ad_AdSlot) GetExchangeDealId

func (x *BidResponse_Ad_AdSlot) GetExchangeDealId() string

func (*BidResponse_Ad_AdSlot) GetExchangeDealType

func (*BidResponse_Ad_AdSlot) GetFrequencyCap

func (*BidResponse_Ad_AdSlot) GetId

func (x *BidResponse_Ad_AdSlot) GetId() int32

func (*BidResponse_Ad_AdSlot) GetMaxCpmMicros

func (x *BidResponse_Ad_AdSlot) GetMaxCpmMicros() int64

func (*BidResponse_Ad_AdSlot) GetMinCpmMicros

func (x *BidResponse_Ad_AdSlot) GetMinCpmMicros() int64

func (*BidResponse_Ad_AdSlot) GetPositionInPod

func (*BidResponse_Ad_AdSlot) GetSeatId

func (x *BidResponse_Ad_AdSlot) GetSeatId() string

func (*BidResponse_Ad_AdSlot) GetThirdPartyBuyerToken

func (x *BidResponse_Ad_AdSlot) GetThirdPartyBuyerToken() string

func (*BidResponse_Ad_AdSlot) ProtoMessage

func (*BidResponse_Ad_AdSlot) ProtoMessage()

func (*BidResponse_Ad_AdSlot) ProtoReflect

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

func (*BidResponse_Ad_AdSlot) Reset

func (x *BidResponse_Ad_AdSlot) Reset()

func (*BidResponse_Ad_AdSlot) String

func (x *BidResponse_Ad_AdSlot) String() string

type BidResponse_Ad_AdSlot_ExchangeDealType

type BidResponse_Ad_AdSlot_ExchangeDealType int32

When exchange_deal_id is set, the type of deal. This is reported to publishers and affects how the deal is treated in the auction.

const (
	BidResponse_Ad_AdSlot_OPEN_AUCTION             BidResponse_Ad_AdSlot_ExchangeDealType = 0
	BidResponse_Ad_AdSlot_PRIVATE_AUCTION          BidResponse_Ad_AdSlot_ExchangeDealType = 1
	BidResponse_Ad_AdSlot_PREFERRED_DEAL           BidResponse_Ad_AdSlot_ExchangeDealType = 2
	BidResponse_Ad_AdSlot_EXCHANGE_AUCTION_PACKAGE BidResponse_Ad_AdSlot_ExchangeDealType = 3
)

func (BidResponse_Ad_AdSlot_ExchangeDealType) Descriptor

func (BidResponse_Ad_AdSlot_ExchangeDealType) Enum

func (BidResponse_Ad_AdSlot_ExchangeDealType) EnumDescriptor deprecated

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

Deprecated: Use BidResponse_Ad_AdSlot_ExchangeDealType.Descriptor instead.

func (BidResponse_Ad_AdSlot_ExchangeDealType) Number

func (BidResponse_Ad_AdSlot_ExchangeDealType) String

func (BidResponse_Ad_AdSlot_ExchangeDealType) Type

func (*BidResponse_Ad_AdSlot_ExchangeDealType) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidResponse_Ad_AdSlot_FrequencyCap

type BidResponse_Ad_AdSlot_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.
	FrequencyCapId *string `protobuf:"bytes,1,opt,name=frequency_cap_id,json=frequencyCapId" json:"frequency_cap_id,omitempty"`
	// The unit of time used to specify the time window for which a
	// frequency cap applies.
	TimeUnit *BidResponse_Ad_AdSlot_FrequencyCap_TimeUnit `` /* 150-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.
	MaxImpressions *int32 `protobuf:"varint,4,opt,name=max_impressions,json=maxImpressions" json:"max_impressions,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 frequency_cap_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 frequency_cap_id.

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

  • frequency_cap_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 frequency_cap_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 the impressions counted against the new frequency cap with a different time_unit and time_range will not count against the old frequency cap..

func (*BidResponse_Ad_AdSlot_FrequencyCap) Descriptor deprecated

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

Deprecated: Use BidResponse_Ad_AdSlot_FrequencyCap.ProtoReflect.Descriptor instead.

func (*BidResponse_Ad_AdSlot_FrequencyCap) GetFrequencyCapId

func (x *BidResponse_Ad_AdSlot_FrequencyCap) GetFrequencyCapId() string

func (*BidResponse_Ad_AdSlot_FrequencyCap) GetMaxImpressions

func (x *BidResponse_Ad_AdSlot_FrequencyCap) GetMaxImpressions() int32

func (*BidResponse_Ad_AdSlot_FrequencyCap) GetTimeRange

func (x *BidResponse_Ad_AdSlot_FrequencyCap) GetTimeRange() int32

func (*BidResponse_Ad_AdSlot_FrequencyCap) GetTimeUnit

func (*BidResponse_Ad_AdSlot_FrequencyCap) ProtoMessage

func (*BidResponse_Ad_AdSlot_FrequencyCap) ProtoMessage()

func (*BidResponse_Ad_AdSlot_FrequencyCap) ProtoReflect

func (*BidResponse_Ad_AdSlot_FrequencyCap) Reset

func (*BidResponse_Ad_AdSlot_FrequencyCap) String

type BidResponse_Ad_AdSlot_FrequencyCap_TimeUnit

type BidResponse_Ad_AdSlot_FrequencyCap_TimeUnit int32

The time units for which frequency caps can be enforced.

const (
	BidResponse_Ad_AdSlot_FrequencyCap_UNKNOWN_TIME_UNIT BidResponse_Ad_AdSlot_FrequencyCap_TimeUnit = 0
	BidResponse_Ad_AdSlot_FrequencyCap_MINUTE            BidResponse_Ad_AdSlot_FrequencyCap_TimeUnit = 1
	BidResponse_Ad_AdSlot_FrequencyCap_DAY               BidResponse_Ad_AdSlot_FrequencyCap_TimeUnit = 2
	BidResponse_Ad_AdSlot_FrequencyCap_WEEK              BidResponse_Ad_AdSlot_FrequencyCap_TimeUnit = 3
	BidResponse_Ad_AdSlot_FrequencyCap_MONTH             BidResponse_Ad_AdSlot_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.
	BidResponse_Ad_AdSlot_FrequencyCap_INDEFINITE BidResponse_Ad_AdSlot_FrequencyCap_TimeUnit = 5
)

func (BidResponse_Ad_AdSlot_FrequencyCap_TimeUnit) Descriptor

func (BidResponse_Ad_AdSlot_FrequencyCap_TimeUnit) Enum

func (BidResponse_Ad_AdSlot_FrequencyCap_TimeUnit) EnumDescriptor deprecated

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

Deprecated: Use BidResponse_Ad_AdSlot_FrequencyCap_TimeUnit.Descriptor instead.

func (BidResponse_Ad_AdSlot_FrequencyCap_TimeUnit) Number

func (BidResponse_Ad_AdSlot_FrequencyCap_TimeUnit) String

func (BidResponse_Ad_AdSlot_FrequencyCap_TimeUnit) Type

func (*BidResponse_Ad_AdSlot_FrequencyCap_TimeUnit) UnmarshalJSON deprecated

Deprecated: Do not use.

type BidResponse_Ad_AdSlot_PodPosition

type BidResponse_Ad_AdSlot_PodPosition int32

Position within the pod.

const (
	// Any position in the pod.
	BidResponse_Ad_AdSlot_POD_POSITION_ANY BidResponse_Ad_AdSlot_PodPosition = 0
	// Last position in the pod.
	BidResponse_Ad_AdSlot_POD_POSITION_LAST BidResponse_Ad_AdSlot_PodPosition = 1
	// First position in the pod.
	BidResponse_Ad_AdSlot_POD_POSITION_FIRST BidResponse_Ad_AdSlot_PodPosition = 2
	// First or last position in the pod.
	BidResponse_Ad_AdSlot_POD_POSITION_FIRST_OR_LAST BidResponse_Ad_AdSlot_PodPosition = 3
)

func (BidResponse_Ad_AdSlot_PodPosition) Descriptor

func (BidResponse_Ad_AdSlot_PodPosition) Enum

func (BidResponse_Ad_AdSlot_PodPosition) EnumDescriptor deprecated

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

Deprecated: Use BidResponse_Ad_AdSlot_PodPosition.Descriptor instead.

func (BidResponse_Ad_AdSlot_PodPosition) Number

func (BidResponse_Ad_AdSlot_PodPosition) String

func (BidResponse_Ad_AdSlot_PodPosition) Type

func (*BidResponse_Ad_AdSlot_PodPosition) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidResponse_Ad_AppPromotionType

type BidResponse_Ad_AppPromotionType int32

Possible types of app promotion.

const (
	BidResponse_Ad_UNKNOWN_APP_PROMOTION_TYPE BidResponse_Ad_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.
	BidResponse_Ad_INSTALLS BidResponse_Ad_AppPromotionType = 1
	// Other types of app promotion that do not fall into the categories
	// above. No features specific to app promotion types will apply.
	BidResponse_Ad_OTHER BidResponse_Ad_AppPromotionType = 3
)

func (BidResponse_Ad_AppPromotionType) Descriptor

func (BidResponse_Ad_AppPromotionType) Enum

func (BidResponse_Ad_AppPromotionType) EnumDescriptor deprecated

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

Deprecated: Use BidResponse_Ad_AppPromotionType.Descriptor instead.

func (BidResponse_Ad_AppPromotionType) Number

func (BidResponse_Ad_AppPromotionType) String

func (BidResponse_Ad_AppPromotionType) Type

func (*BidResponse_Ad_AppPromotionType) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type BidResponse_Ad_DsaTransparency

type BidResponse_Ad_DsaTransparency 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.
	DisplayedOnBehalf *string `protobuf:"bytes,1,opt,name=displayed_on_behalf,json=displayedOnBehalf" json:"displayed_on_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.
	PayingEntity *string `protobuf:"bytes,2,opt,name=paying_entity,json=payingEntity" json:"paying_entity,omitempty"`
	// Indicates that the buyer will render their own DSA transparency
	// information inside the creative.
	BuyerRender *bool `protobuf:"varint,3,opt,name=buyer_render,json=buyerRender" json:"buyer_render,omitempty"`
	// contains filtered or unexported fields
}

DSA Ad Transparency declarations. See https://support.google.com/admanager/answer/14335032.

func (*BidResponse_Ad_DsaTransparency) Descriptor deprecated

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

Deprecated: Use BidResponse_Ad_DsaTransparency.ProtoReflect.Descriptor instead.

func (*BidResponse_Ad_DsaTransparency) GetBuyerRender

func (x *BidResponse_Ad_DsaTransparency) GetBuyerRender() bool

func (*BidResponse_Ad_DsaTransparency) GetDisplayedOnBehalf

func (x *BidResponse_Ad_DsaTransparency) GetDisplayedOnBehalf() string

func (*BidResponse_Ad_DsaTransparency) GetPayingEntity

func (x *BidResponse_Ad_DsaTransparency) GetPayingEntity() string

func (*BidResponse_Ad_DsaTransparency) ProtoMessage

func (*BidResponse_Ad_DsaTransparency) ProtoMessage()

func (*BidResponse_Ad_DsaTransparency) ProtoReflect

func (*BidResponse_Ad_DsaTransparency) Reset

func (x *BidResponse_Ad_DsaTransparency) Reset()

func (*BidResponse_Ad_DsaTransparency) String

type BidResponse_Ad_ImpressionTrackingResource

type BidResponse_Ad_ImpressionTrackingResource struct {

	// The URL of a Javascript resource. The URLs should not contain script
	// tags. For example: "https://mycdn.com/tracker.js".
	ScriptUrl *string                                             `protobuf:"bytes,1,opt,name=script_url,json=scriptUrl" json:"script_url,omitempty"`
	Context   []BidResponse_Ad_ImpressionTrackingResource_Context `` /* 138-byte string literal not displayed */
	// 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,3,opt,name=verification_parameters,json=verificationParameters" json:"verification_parameters,omitempty"`
	// Used to uniquely identify the verification script provider.
	VendorKey *string `protobuf:"bytes,4,opt,name=vendor_key,json=vendorKey" json:"vendor_key,omitempty"`
	// contains filtered or unexported fields
}

func (*BidResponse_Ad_ImpressionTrackingResource) Descriptor deprecated

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

Deprecated: Use BidResponse_Ad_ImpressionTrackingResource.ProtoReflect.Descriptor instead.

func (*BidResponse_Ad_ImpressionTrackingResource) GetContext

func (*BidResponse_Ad_ImpressionTrackingResource) GetScriptUrl

func (*BidResponse_Ad_ImpressionTrackingResource) GetVendorKey

func (*BidResponse_Ad_ImpressionTrackingResource) GetVerificationParameters

func (x *BidResponse_Ad_ImpressionTrackingResource) GetVerificationParameters() string

func (*BidResponse_Ad_ImpressionTrackingResource) ProtoMessage

func (*BidResponse_Ad_ImpressionTrackingResource) ProtoReflect

func (*BidResponse_Ad_ImpressionTrackingResource) Reset

func (*BidResponse_Ad_ImpressionTrackingResource) String

type BidResponse_Ad_ImpressionTrackingResource_Context

type BidResponse_Ad_ImpressionTrackingResource_Context int32

Additional context provided for rendering.

const (
	BidResponse_Ad_ImpressionTrackingResource_UNKNOWN_CONTEXT BidResponse_Ad_ImpressionTrackingResource_Context = 0
	// Currently not supported.
	BidResponse_Ad_ImpressionTrackingResource_OMID BidResponse_Ad_ImpressionTrackingResource_Context = 1
)

func (BidResponse_Ad_ImpressionTrackingResource_Context) Descriptor

func (BidResponse_Ad_ImpressionTrackingResource_Context) Enum

func (BidResponse_Ad_ImpressionTrackingResource_Context) EnumDescriptor deprecated

Deprecated: Use BidResponse_Ad_ImpressionTrackingResource_Context.Descriptor instead.

func (BidResponse_Ad_ImpressionTrackingResource_Context) Number

func (BidResponse_Ad_ImpressionTrackingResource_Context) String

func (BidResponse_Ad_ImpressionTrackingResource_Context) Type

func (*BidResponse_Ad_ImpressionTrackingResource_Context) UnmarshalJSON deprecated

Deprecated: Do not use.

type BidResponse_Ad_NativeAd

type BidResponse_Ad_NativeAd struct {

	// A video in the form of either a URL for a VAST tag, or an in-line VAST
	// tag. Only set this field if VIDEO is required or recommended in the
	// BidRequest's NativeAdTemplate.
	//
	// Types that are assignable to Video:
	//	*BidResponse_Ad_NativeAd_VideoUrl
	//	*BidResponse_Ad_NativeAd_VideoVastXml
	Video isBidResponse_Ad_NativeAd_Video `protobuf_oneof:"video"`
	// A short title for the ad.
	Headline *string `protobuf:"bytes,1,opt,name=headline" json:"headline,omitempty"`
	// A long description of the ad.
	Body *string `protobuf:"bytes,2,opt,name=body" json:"body,omitempty"`
	// A label for the button that the user is supposed to click
	CallToAction *string `protobuf:"bytes,3,opt,name=call_to_action,json=callToAction" json:"call_to_action,omitempty"`
	// The name of the advertiser or sponsor, to be displayed in the ad
	// creative.
	Advertiser *string `protobuf:"bytes,4,opt,name=advertiser" json:"advertiser,omitempty"`
	// A large image.
	Image *BidResponse_Ad_NativeAd_Image `protobuf:"bytes,5,opt,name=image" json:"image,omitempty"`
	Logo *BidResponse_Ad_NativeAd_Image `protobuf:"bytes,6,opt,name=logo" json:"logo,omitempty"`
	// The app icon, for app download ads.
	AppIcon *BidResponse_Ad_NativeAd_Image `protobuf:"bytes,7,opt,name=app_icon,json=appIcon" json:"app_icon,omitempty"`
	// The app rating in the app store. Must be in the range [0-5].
	StarRating *float64 `protobuf:"fixed64,8,opt,name=star_rating,json=starRating" json:"star_rating,omitempty"`
	// The URL that the browser/SDK will load when the user clicks the ad.
	// This can be the landing page directly, or the first step of a redirect
	// chain that eventually leads to it. For backward compatibility, if this
	// is not set, the first Ad.click_through_url is used.
	ClickLinkUrl *string `protobuf:"bytes,14,opt,name=click_link_url,json=clickLinkUrl" json:"click_link_url,omitempty"`
	// This field is deprecated in favor of the repeated click_tracking_urls
	// field at the BidResponse.Ad level. It will be removed at the end of
	// Q2 2022.
	// The URL to use for click tracking. The SDK pings click tracking url on
	// a background thread. When resolving the url, HTTP 30x redirects are
	// followed. The SDK ignores the contents of the response; this URL
	// has no effect on the landing page for the user.
	//
	// Deprecated: Marked as deprecated in realtime-bidding.proto.
	DEPRECATEDClickTrackingUrl *string `` /* 137-byte string literal not displayed */
	// This field is deprecated in favor of the click_tracking_urls
	// field at the BidResponse.Ad level. It will be removed at the end of
	// Q2 2022.
	// The URLs to use for click tracking. This will be used throughout the
	// serving stack and will incorporate any URL in click_tracking_url.
	//
	// Deprecated: Marked as deprecated in realtime-bidding.proto.
	DEPRECATEDClickTrackingUrls []string `` /* 140-byte string literal not displayed */
	// The price of the promoted app including the currency info.
	Price *string `protobuf:"bytes,10,opt,name=price" json:"price,omitempty"`
	// contains filtered or unexported fields
}

The content of a native ad. Native ads consist of multiple building blocks, which are rendered by the publisher. Only one of the following should be set: html_snippet, video_url, or native_ad. Only set this field if the BidRequest is for a native ad (BidRequest.adslot.native is present).

func (*BidResponse_Ad_NativeAd) Descriptor deprecated

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

Deprecated: Use BidResponse_Ad_NativeAd.ProtoReflect.Descriptor instead.

func (*BidResponse_Ad_NativeAd) GetAdvertiser

func (x *BidResponse_Ad_NativeAd) GetAdvertiser() string

func (*BidResponse_Ad_NativeAd) GetAppIcon

func (*BidResponse_Ad_NativeAd) GetBody

func (x *BidResponse_Ad_NativeAd) GetBody() string

func (*BidResponse_Ad_NativeAd) GetCallToAction

func (x *BidResponse_Ad_NativeAd) GetCallToAction() string

func (*BidResponse_Ad_NativeAd) GetClickLinkUrl

func (x *BidResponse_Ad_NativeAd) GetClickLinkUrl() string

func (*BidResponse_Ad_NativeAd) GetDEPRECATEDClickTrackingUrl deprecated

func (x *BidResponse_Ad_NativeAd) GetDEPRECATEDClickTrackingUrl() string

Deprecated: Marked as deprecated in realtime-bidding.proto.

func (*BidResponse_Ad_NativeAd) GetDEPRECATEDClickTrackingUrls deprecated

func (x *BidResponse_Ad_NativeAd) GetDEPRECATEDClickTrackingUrls() []string

Deprecated: Marked as deprecated in realtime-bidding.proto.

func (*BidResponse_Ad_NativeAd) GetHeadline

func (x *BidResponse_Ad_NativeAd) GetHeadline() string

func (*BidResponse_Ad_NativeAd) GetImage

func (*BidResponse_Ad_NativeAd) GetPrice

func (x *BidResponse_Ad_NativeAd) GetPrice() string

func (*BidResponse_Ad_NativeAd) GetStarRating

func (x *BidResponse_Ad_NativeAd) GetStarRating() float64

func (*BidResponse_Ad_NativeAd) GetVideo

func (m *BidResponse_Ad_NativeAd) GetVideo() isBidResponse_Ad_NativeAd_Video

func (*BidResponse_Ad_NativeAd) GetVideoUrl

func (x *BidResponse_Ad_NativeAd) GetVideoUrl() string

func (*BidResponse_Ad_NativeAd) GetVideoVastXml

func (x *BidResponse_Ad_NativeAd) GetVideoVastXml() string

func (*BidResponse_Ad_NativeAd) ProtoMessage

func (*BidResponse_Ad_NativeAd) ProtoMessage()

func (*BidResponse_Ad_NativeAd) ProtoReflect

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

func (*BidResponse_Ad_NativeAd) Reset

func (x *BidResponse_Ad_NativeAd) Reset()

func (*BidResponse_Ad_NativeAd) String

func (x *BidResponse_Ad_NativeAd) String() string

type BidResponse_Ad_NativeAd_Image

type BidResponse_Ad_NativeAd_Image struct {
	Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
	// Image width and height are specified in pixels. You may provide a
	// larger image than was requested, so long as the aspect ratio is
	// preserved.
	Width  *int32 `protobuf:"varint,2,opt,name=width" json:"width,omitempty"`
	Height *int32 `protobuf:"varint,3,opt,name=height" json:"height,omitempty"`
	// contains filtered or unexported fields
}

func (*BidResponse_Ad_NativeAd_Image) Descriptor deprecated

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

Deprecated: Use BidResponse_Ad_NativeAd_Image.ProtoReflect.Descriptor instead.

func (*BidResponse_Ad_NativeAd_Image) GetHeight

func (x *BidResponse_Ad_NativeAd_Image) GetHeight() int32

func (*BidResponse_Ad_NativeAd_Image) GetUrl

func (*BidResponse_Ad_NativeAd_Image) GetWidth

func (x *BidResponse_Ad_NativeAd_Image) GetWidth() int32

func (*BidResponse_Ad_NativeAd_Image) ProtoMessage

func (*BidResponse_Ad_NativeAd_Image) ProtoMessage()

func (*BidResponse_Ad_NativeAd_Image) ProtoReflect

func (*BidResponse_Ad_NativeAd_Image) Reset

func (x *BidResponse_Ad_NativeAd_Image) Reset()

func (*BidResponse_Ad_NativeAd_Image) String

type BidResponse_Ad_NativeAd_VideoUrl

type BidResponse_Ad_NativeAd_VideoUrl struct {
	// The URL to fetch a video ad. The URL should return an XML response
	// that conforms to VAST standards.
	VideoUrl string `protobuf:"bytes,13,opt,name=video_url,json=videoUrl,oneof"`
}

type BidResponse_Ad_NativeAd_VideoVastXml

type BidResponse_Ad_NativeAd_VideoVastXml struct {
	// The VAST document to be returned. Max size is 100kB.
	VideoVastXml string `protobuf:"bytes,16,opt,name=video_vast_xml,json=videoVastXml,oneof"`
}

type BidResponse_Ad_SKAdNetworkResponse

type BidResponse_Ad_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.mobile.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.mobile.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 (`source_identifier` field) in
	// SKAdNetwork 4.0 and above.
	Campaign *int64 `protobuf:"varint,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 *int64 `protobuf:"varint,11,opt,name=source_identifier,json=sourceIdentifier" json:"source_identifier,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=product_page_id,json=productPageId" json:"product_page_id,omitempty"`
	Fidelities    []*BidResponse_Ad_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.ad.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.mobile.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.ad.skadn.fidelities.timestamp field to support multiple
	// fidelity types.
	Timestamp *int64 `protobuf:"varint,7,opt,name=timestamp" json:"timestamp,omitempty"`
	// SKAdNetwork signature as specified by Apple.
	// Note:  This field will be deprecated in favor of the
	// BidResponse.ad.skadn.fidelities.signature field to support multiple
	// fidelity types.
	Signature    *string                                                `protobuf:"bytes,8,opt,name=signature" json:"signature,omitempty"`
	Skoverlay    *BidResponse_Ad_SKAdNetworkResponse_SKOverlay          `protobuf:"bytes,13,opt,name=skoverlay" json:"skoverlay,omitempty"`
	SkadnOptions *BidResponse_Ad_SKAdNetworkResponse_SKAdNetworkOptions `protobuf:"bytes,10,opt,name=skadn_options,json=skadnOptions" json:"skadn_options,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 (*BidResponse_Ad_SKAdNetworkResponse) Descriptor deprecated

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

Deprecated: Use BidResponse_Ad_SKAdNetworkResponse.ProtoReflect.Descriptor instead.

func (*BidResponse_Ad_SKAdNetworkResponse) GetCampaign

func (x *BidResponse_Ad_SKAdNetworkResponse) GetCampaign() int64

func (*BidResponse_Ad_SKAdNetworkResponse) GetFidelities

func (*BidResponse_Ad_SKAdNetworkResponse) GetItunesitem

func (x *BidResponse_Ad_SKAdNetworkResponse) GetItunesitem() string

func (*BidResponse_Ad_SKAdNetworkResponse) GetNetwork

func (*BidResponse_Ad_SKAdNetworkResponse) GetNonce

func (*BidResponse_Ad_SKAdNetworkResponse) GetProductPageId

func (x *BidResponse_Ad_SKAdNetworkResponse) GetProductPageId() string

func (*BidResponse_Ad_SKAdNetworkResponse) GetSignature

func (x *BidResponse_Ad_SKAdNetworkResponse) GetSignature() string

func (*BidResponse_Ad_SKAdNetworkResponse) GetSkadnOptions

func (*BidResponse_Ad_SKAdNetworkResponse) GetSkoverlay

func (*BidResponse_Ad_SKAdNetworkResponse) GetSourceIdentifier

func (x *BidResponse_Ad_SKAdNetworkResponse) GetSourceIdentifier() int64

func (*BidResponse_Ad_SKAdNetworkResponse) GetSourceapp

func (x *BidResponse_Ad_SKAdNetworkResponse) GetSourceapp() string

func (*BidResponse_Ad_SKAdNetworkResponse) GetTimestamp

func (x *BidResponse_Ad_SKAdNetworkResponse) GetTimestamp() int64

func (*BidResponse_Ad_SKAdNetworkResponse) GetVersion

func (*BidResponse_Ad_SKAdNetworkResponse) ProtoMessage

func (*BidResponse_Ad_SKAdNetworkResponse) ProtoMessage()

func (*BidResponse_Ad_SKAdNetworkResponse) ProtoReflect

func (*BidResponse_Ad_SKAdNetworkResponse) Reset

func (*BidResponse_Ad_SKAdNetworkResponse) String

type BidResponse_Ad_SKAdNetworkResponse_Fidelity

type BidResponse_Ad_SKAdNetworkResponse_Fidelity struct {

	// The fidelity type of the attribution to track.
	FidelityType *SKAdNetworkFidelityType `` /* 148-byte string literal not displayed */
	// 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 *int64 `protobuf:"varint,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 (*BidResponse_Ad_SKAdNetworkResponse_Fidelity) Descriptor deprecated

Deprecated: Use BidResponse_Ad_SKAdNetworkResponse_Fidelity.ProtoReflect.Descriptor instead.

func (*BidResponse_Ad_SKAdNetworkResponse_Fidelity) GetFidelityType

func (*BidResponse_Ad_SKAdNetworkResponse_Fidelity) GetNonce

func (*BidResponse_Ad_SKAdNetworkResponse_Fidelity) GetSignature

func (*BidResponse_Ad_SKAdNetworkResponse_Fidelity) GetTimestamp

func (*BidResponse_Ad_SKAdNetworkResponse_Fidelity) ProtoMessage

func (*BidResponse_Ad_SKAdNetworkResponse_Fidelity) ProtoReflect

func (*BidResponse_Ad_SKAdNetworkResponse_Fidelity) Reset

func (*BidResponse_Ad_SKAdNetworkResponse_Fidelity) String

type BidResponse_Ad_SKAdNetworkResponse_SKAdNetworkOptions

type BidResponse_Ad_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. 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 (*BidResponse_Ad_SKAdNetworkResponse_SKAdNetworkOptions) Descriptor deprecated

Deprecated: Use BidResponse_Ad_SKAdNetworkResponse_SKAdNetworkOptions.ProtoReflect.Descriptor instead.

func (*BidResponse_Ad_SKAdNetworkResponse_SKAdNetworkOptions) GetAlwaysOpenAppstore

func (*BidResponse_Ad_SKAdNetworkResponse_SKAdNetworkOptions) ProtoMessage

func (*BidResponse_Ad_SKAdNetworkResponse_SKAdNetworkOptions) ProtoReflect

func (*BidResponse_Ad_SKAdNetworkResponse_SKAdNetworkOptions) Reset

func (*BidResponse_Ad_SKAdNetworkResponse_SKAdNetworkOptions) String

type BidResponse_Ad_SKAdNetworkResponse_SKOverlay

type BidResponse_Ad_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.
	DelaySeconds *int32 `protobuf:"varint,1,opt,name=delay_seconds,json=delaySeconds" json:"delay_seconds,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_seconds` and `endcard_delay_seconds` are set,
	// the overlay will be automatically dismissed when the ad ends,
	// and shown again after the endcard shows.
	EndcardDelaySeconds *int32 `protobuf:"varint,2,opt,name=endcard_delay_seconds,json=endcardDelaySeconds" json:"endcard_delay_seconds,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 (*BidResponse_Ad_SKAdNetworkResponse_SKOverlay) Descriptor deprecated

Deprecated: Use BidResponse_Ad_SKAdNetworkResponse_SKOverlay.ProtoReflect.Descriptor instead.

func (*BidResponse_Ad_SKAdNetworkResponse_SKOverlay) GetDelaySeconds

func (*BidResponse_Ad_SKAdNetworkResponse_SKOverlay) GetDismissible

func (*BidResponse_Ad_SKAdNetworkResponse_SKOverlay) GetEndcardDelaySeconds

func (x *BidResponse_Ad_SKAdNetworkResponse_SKOverlay) GetEndcardDelaySeconds() int32

func (*BidResponse_Ad_SKAdNetworkResponse_SKOverlay) ProtoMessage

func (*BidResponse_Ad_SKAdNetworkResponse_SKOverlay) ProtoReflect

func (*BidResponse_Ad_SKAdNetworkResponse_SKOverlay) Reset

func (*BidResponse_Ad_SKAdNetworkResponse_SKOverlay) String

type BidResponse_Ad_SdkRenderedAd

type BidResponse_Ad_SdkRenderedAd struct {

	// The identifier for the SDK that will render the ad. Must match a
	// mobile.installed_sdk.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    *BidResponse_Ad_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 a mobile.installed_sdk submessage.

func (*BidResponse_Ad_SdkRenderedAd) Descriptor deprecated

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

Deprecated: Use BidResponse_Ad_SdkRenderedAd.ProtoReflect.Descriptor instead.

func (*BidResponse_Ad_SdkRenderedAd) GetDeclaredAd

func (*BidResponse_Ad_SdkRenderedAd) GetId

func (*BidResponse_Ad_SdkRenderedAd) GetRenderingData

func (x *BidResponse_Ad_SdkRenderedAd) GetRenderingData() string

func (*BidResponse_Ad_SdkRenderedAd) ProtoMessage

func (*BidResponse_Ad_SdkRenderedAd) ProtoMessage()

func (*BidResponse_Ad_SdkRenderedAd) ProtoReflect

func (*BidResponse_Ad_SdkRenderedAd) Reset

func (x *BidResponse_Ad_SdkRenderedAd) Reset()

func (*BidResponse_Ad_SdkRenderedAd) String

type BidResponse_Ad_SdkRenderedAd_DeclaredAd

type BidResponse_Ad_SdkRenderedAd_DeclaredAd struct {

	// Ad content used by SDK to render an ad.
	//
	// Types that are assignable to Content:
	//	*BidResponse_Ad_SdkRenderedAd_DeclaredAd_HtmlSnippet
	//	*BidResponse_Ad_SdkRenderedAd_DeclaredAd_VideoUrl
	//	*BidResponse_Ad_SdkRenderedAd_DeclaredAd_VideoVastXml
	//	*BidResponse_Ad_SdkRenderedAd_DeclaredAd_NativeAd
	Content isBidResponse_Ad_SdkRenderedAd_DeclaredAd_Content `protobuf_oneof:"content"`
	// The final landing pages of the SDK-rendered ad.
	ClickThroughUrl []string `protobuf:"bytes,4,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 (*BidResponse_Ad_SdkRenderedAd_DeclaredAd) Descriptor deprecated

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

Deprecated: Use BidResponse_Ad_SdkRenderedAd_DeclaredAd.ProtoReflect.Descriptor instead.

func (*BidResponse_Ad_SdkRenderedAd_DeclaredAd) GetClickThroughUrl

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

func (*BidResponse_Ad_SdkRenderedAd_DeclaredAd) GetContent

func (m *BidResponse_Ad_SdkRenderedAd_DeclaredAd) GetContent() isBidResponse_Ad_SdkRenderedAd_DeclaredAd_Content

func (*BidResponse_Ad_SdkRenderedAd_DeclaredAd) GetHtmlSnippet

func (x *BidResponse_Ad_SdkRenderedAd_DeclaredAd) GetHtmlSnippet() string

func (*BidResponse_Ad_SdkRenderedAd_DeclaredAd) GetNativeAd

func (*BidResponse_Ad_SdkRenderedAd_DeclaredAd) GetVideoUrl

func (*BidResponse_Ad_SdkRenderedAd_DeclaredAd) GetVideoVastXml

func (x *BidResponse_Ad_SdkRenderedAd_DeclaredAd) GetVideoVastXml() string

func (*BidResponse_Ad_SdkRenderedAd_DeclaredAd) ProtoMessage

func (*BidResponse_Ad_SdkRenderedAd_DeclaredAd) ProtoReflect

func (*BidResponse_Ad_SdkRenderedAd_DeclaredAd) Reset

func (*BidResponse_Ad_SdkRenderedAd_DeclaredAd) String

type BidResponse_Ad_SdkRenderedAd_DeclaredAd_HtmlSnippet

type BidResponse_Ad_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 BidResponse_Ad_SdkRenderedAd_DeclaredAd_NativeAd

type BidResponse_Ad_SdkRenderedAd_DeclaredAd_NativeAd 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.
	NativeAd *BidResponse_Ad_NativeAd `protobuf:"bytes,6,opt,name=native_ad,json=nativeAd,oneof"`
}

type BidResponse_Ad_SdkRenderedAd_DeclaredAd_VideoUrl

type BidResponse_Ad_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 BidResponse_Ad_SdkRenderedAd_DeclaredAd_VideoVastXml

type BidResponse_Ad_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,5,opt,name=video_vast_xml,json=videoVastXml,oneof"`
}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL