networkbid

package module
v0.235.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2022 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

View Source
const (
	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 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 values for BidRequest_Mobile fields.

View Source
const (
	Default_BidRequest_Video_Placement         = BidRequest_Video_UNKNOWN_PLACEMENT
	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 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 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_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_NativeAdTemplate_StyleLayoutType = BidRequest_AdSlot_NativeAdTemplate_PIXEL
)

Default values for BidRequest_AdSlot_NativeAdTemplate 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.

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_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",
		3: "DEPRECATED_GOOGLE_REPRESENTED",
	}
	BidRequest_PublisherType_value = map[string]int32{
		"UNKNOWN_PUBLISHER_TYPE":        0,
		"PUBLISHER_OWNED_AND_OPERATED":  1,
		"PUBLISHER_REPRESENTED":         2,
		"DEPRECATED_GOOGLE_REPRESENTED": 3,
	}
)

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_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_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_Floc_FlocType_name = map[int32]string{
		0: "FLOC_TYPE_UNKNOWN",
		2: "SIMULATED_AFFINITY_CLUSTERING_CENTROID_VERTICAL",
		3: "SIMULATED_SIMHASH_SORTING_LSH_DOMAIN_ONE_HOT",
		4: "KCENTER_DOM_FILTERED_TFDIF",
	}
	BidRequest_Floc_FlocType_value = map[string]int32{
		"FLOC_TYPE_UNKNOWN": 0,
		"SIMULATED_AFFINITY_CLUSTERING_CENTROID_VERTICAL": 2,
		"SIMULATED_SIMHASH_SORTING_LSH_DOMAIN_ONE_HOT":    3,
		"KCENTER_DOM_FILTERED_TFDIF":                      4,
	}
)

Enum value maps for BidRequest_Floc_FlocType.

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_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_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_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",
		2: "SERVER_SIDE_AUCTION_WITH_INTEREST_GROUP_SIMULATION",
	}
	BidRequest_AdSlot_AuctionEnvironment_value = map[string]int32{
		"SERVER_SIDE_AUCTION":                                0,
		"ON_DEVICE_INTEREST_GROUP_AUCTION":                   1,
		"SERVER_SIDE_AUCTION_WITH_INTEREST_GROUP_SIMULATION": 2,
	}
)

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",
	}
	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,
	}
)

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_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_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_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_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 (
	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_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"`
	// 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"`
	// 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
	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 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"`
	// Cohort ID that is common to a large cohort of users with similar
	// browsing habits. Currently the cohort ID is simulated by the exchange
	// (as opposed to by the browser). When simulated
	// cohort ID is provided, traditional pseudonymous cookie-based user
	// identifiers or device advertising identifiers would not be populated.
	// Experimental feature; may be subject to change. See
	// https://github.com/WICG/floc for more background on FLoC.
	//
	// FLoC cohort information is not currently populated.
	Floc *BidRequest_Floc `protobuf:"bytes,68,opt,name=floc" json:"floc,omitempty"`
	// User Agent information.
	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, please refer to
	// https://developers.google.com/google-ads/api/reference/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"`
	// 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"`
	// Detected postal code of the appropriate type for the country of the end
	// user (e.g., 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.
	// It is recommended that BidRequest.geo be used instead of this field.
	// See Geotargeting Guide:
	// https://developers.google.com/authorized-buyers/rtb/geotargeting
	PostalCode *string `protobuf:"bytes,33,opt,name=postal_code,json=postalCode" json:"postal_code,omitempty"`
	// It is recommended that BidRequest.geo be used instead of this field.
	// See Geotargeting Guide:
	// https://developers.google.com/authorized-buyers/rtb/geotargeting
	PostalCodePrefix *string `protobuf:"bytes,34,opt,name=postal_code_prefix,json=postalCodePrefix" json:"postal_code_prefix,omitempty"`
	// Hyperlocal targeting signal when available, encrypted as described at
	// https://developers.google.com/authorized-buyers/rtb/response-guide/decrypt-hyperlocal
	EncryptedHyperlocalSet []byte `protobuf:"bytes,40,opt,name=encrypted_hyperlocal_set,json=encryptedHyperlocalSet" json:"encrypted_hyperlocal_set,omitempty"`
	// Unencrypted version of encrypted_hyperlocal_set. This field is only set
	// when using an SSL connection.
	HyperlocalSet *BidRequest_HyperlocalSet `protobuf:"bytes,53,opt,name=hyperlocal_set,json=hyperlocalSet" json:"hyperlocal_set,omitempty"`
	// The offset of the user's time from GMT in minutes. For example, GMT+10 is
	// timezone_offset = 600.
	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"`
	// 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"`
	// 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.
	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/reference/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"`
	// 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 */
	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"`
	// 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 flag 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. Please
	// 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 */
	// 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) 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) GetEncryptedHyperlocalSet

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

func (*BidRequest) GetFloc added in v0.203.0

func (x *BidRequest) GetFloc() *BidRequest_Floc

func (*BidRequest) GetFrequencyCappingScope added in v0.203.0

func (x *BidRequest) GetFrequencyCappingScope() BidRequest_FrequencyCappingScope

func (*BidRequest) GetGeo added in v0.189.0

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 added in v0.226.0

func (x *BidRequest) GetHostPublisherId() string

func (*BidRequest) GetHostedMatchData

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

func (*BidRequest) GetHyperlocalSet

func (x *BidRequest) GetHyperlocalSet() *BidRequest_HyperlocalSet

func (*BidRequest) GetId

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

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 added in v0.187.0

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) GetPageVisibility added in v0.188.0

func (x *BidRequest) GetPageVisibility() BidRequest_VisibilityState

func (*BidRequest) GetPartnerId

func (x *BidRequest) GetPartnerId() uint64

func (*BidRequest) GetPostalCode

func (x *BidRequest) GetPostalCode() string

func (*BidRequest) GetPostalCodePrefix

func (x *BidRequest) GetPostalCodePrefix() string

func (*BidRequest) GetPrivacyTreatments added in v0.230.0

func (x *BidRequest) GetPrivacyTreatments() *BidRequest_PrivacyTreatments

func (*BidRequest) GetPublisherCountry

func (x *BidRequest) GetPublisherCountry() string

func (*BidRequest) GetPublisherId

func (x *BidRequest) GetPublisherId() 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) GetSellerNetworkId

func (x *BidRequest) GetSellerNetworkId() int32

func (*BidRequest) GetSessionId

func (x *BidRequest) GetSessionId() string

func (*BidRequest) GetSupplyChain added in v0.203.0

func (x *BidRequest) GetSupplyChain() *BidRequest_SupplyChain

func (*BidRequest) GetTimezoneOffset

func (x *BidRequest) GetTimezoneOffset() int32

func (*BidRequest) GetUrl

func (x *BidRequest) GetUrl() string

func (*BidRequest) GetUserAgent

func (x *BidRequest) GetUserAgent() string

func (*BidRequest) GetUserAgentData added in v0.203.0

func (x *BidRequest) GetUserAgentData() *BidRequest_UserAgent

func (*BidRequest) GetUserDataTreatment

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

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"`
	// Set of channels of which this ad slot is a member. A channel is a set of
	// ad slots on a site. You can target a channel (like "the sports section",
	// or "all top banners") to get more fine-grained control over where your ad
	// shows. Channel names are provided by the publisher.
	TargetableChannel []string `protobuf:"bytes,10,rep,name=targetable_channel,json=targetableChannel" json:"targetable_channel,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"`
	// 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/reference/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 */
	// 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. Please 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"`
	// 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"`
	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.
	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"`
	BuyerGeneratedRequestData []*BidRequest_AdSlot_BuyerGeneratedRequestData `` /* 134-byte string literal not displayed */
	// 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"`
	// 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 (i.e. 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.
	BillableEventRateAdjustment *float64                            `` /* 148-byte string literal not displayed */
	MultiAdsCellInfo            *BidRequest_AdSlot_MultiAdsCellInfo `protobuf:"bytes,55,opt,name=multi_ads_cell_info,json=multiAdsCellInfo" json:"multi_ads_cell_info,omitempty"`
	// 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.
	AuctionEnvironment *BidRequest_AdSlot_AuctionEnvironment `` /* 180-byte string literal not displayed */
	// 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) 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) 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 added in v0.211.0

func (*BidRequest_AdSlot) GetAuctionEnvironment added in v0.223.0

func (x *BidRequest_AdSlot) GetAuctionEnvironment() BidRequest_AdSlot_AuctionEnvironment

func (*BidRequest_AdSlot) GetAutoRefresh

func (x *BidRequest_AdSlot) GetAutoRefresh() *BidRequest_AdSlot_AutoRefresh

func (*BidRequest_AdSlot) GetBillableEventRateAdjustment added in v0.203.0

func (x *BidRequest_AdSlot) GetBillableEventRateAdjustment() float64

func (*BidRequest_AdSlot) GetBuyerGeneratedRequestData

func (x *BidRequest_AdSlot) GetBuyerGeneratedRequestData() []*BidRequest_AdSlot_BuyerGeneratedRequestData

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 added in v0.206.0

func (x *BidRequest_AdSlot) GetCreativeEnforcementSettings() *BidRequest_AdSlot_CreativeEnforcementSettings

func (*BidRequest_AdSlot) GetDfpAdUnitCode

func (x *BidRequest_AdSlot) GetDfpAdUnitCode() string

func (*BidRequest_AdSlot) GetExchangeBidding

func (x *BidRequest_AdSlot) GetExchangeBidding() *BidRequest_AdSlot_ExchangeBidding

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) 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) 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) GetMultiAdsCellInfo added in v0.203.0

func (x *BidRequest_AdSlot) GetMultiAdsCellInfo() *BidRequest_AdSlot_MultiAdsCellInfo

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 added in v0.185.0

func (x *BidRequest_AdSlot) GetOmidpn() string

func (*BidRequest_AdSlot) GetOmidpv added in v0.185.0

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) 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) GetTargetableChannel

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

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 added in v0.211.0

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 added in v0.211.0

func (BidRequest_AdSlot_APIFramework) Enum added in v0.211.0

func (BidRequest_AdSlot_APIFramework) EnumDescriptor deprecated added in v0.211.0

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

Deprecated: Use BidRequest_AdSlot_APIFramework.Descriptor instead.

func (BidRequest_AdSlot_APIFramework) Number added in v0.211.0

func (BidRequest_AdSlot_APIFramework) String added in v0.211.0

func (BidRequest_AdSlot_APIFramework) Type added in v0.211.0

func (*BidRequest_AdSlot_APIFramework) UnmarshalJSON deprecated added in v0.211.0

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

Deprecated: Do not use.

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, etc.
	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 added in v0.223.0

type BidRequest_AdSlot_AuctionEnvironment int32

Describes the environment where the ad auction is run: either all on the server-side, server-side with sandboxed interest group bidding simulation, or with the contextual auction on the server-side and the interest group bidding and the final auction on the device.

const (
	// The auction determining the winning ad is held server-side.
	BidRequest_AdSlot_SERVER_SIDE_AUCTION BidRequest_AdSlot_AuctionEnvironment = 0
	// This value is currently not in use and will be provided only when
	// browsers start supporting on-device auctions.
	// 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 TURTLEDOVE
	// on device bidding and auction, 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
	// An interest group auction is simulated in a sandboxed environment, and
	// its results are entered into the conventional server-side auction to
	// determine the winning ad. Experimental feature; may be subject to
	// change. For more information regarding about the TURTLEDOVE simulation
	// for RTB, see:
	// https://github.com/google/ads-privacy/tree/master/experiments/turtledove-simulation,
	// https://developers.google.com/authorized-buyers/rtb/turtledove,
	// and https://developers.google.com/authorized-buyers/rtb/fledge
	BidRequest_AdSlot_SERVER_SIDE_AUCTION_WITH_INTEREST_GROUP_SIMULATION BidRequest_AdSlot_AuctionEnvironment = 2
)

func (BidRequest_AdSlot_AuctionEnvironment) Descriptor added in v0.223.0

func (BidRequest_AdSlot_AuctionEnvironment) Enum added in v0.223.0

func (BidRequest_AdSlot_AuctionEnvironment) EnumDescriptor deprecated added in v0.223.0

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

Deprecated: Use BidRequest_AdSlot_AuctionEnvironment.Descriptor instead.

func (BidRequest_AdSlot_AuctionEnvironment) Number added in v0.223.0

func (BidRequest_AdSlot_AuctionEnvironment) String added in v0.223.0

func (BidRequest_AdSlot_AuctionEnvironment) Type added in v0.223.0

func (*BidRequest_AdSlot_AuctionEnvironment) UnmarshalJSON deprecated added in v0.223.0

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
	BidRequest_AdSlot_AutoRefresh_AutoRefreshSettings_USER_ACTION               BidRequest_AdSlot_AutoRefresh_AutoRefreshSettings_AutoRefreshType = 1 // Refresh triggered by user-initiated action such
	// as scrolling.
	BidRequest_AdSlot_AutoRefresh_AutoRefreshSettings_EVENT BidRequest_AdSlot_AutoRefresh_AutoRefreshSettings_AutoRefreshType = 2 // Event-driven content change. For example, ads refresh
	// when the football game score changes on the page.
	BidRequest_AdSlot_AutoRefresh_AutoRefreshSettings_TIME BidRequest_AdSlot_AutoRefresh_AutoRefreshSettings_AutoRefreshType = 3 // Time-based refresh. Ads refresh on a predefined time
)

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_BuyerGeneratedRequestData

type BidRequest_AdSlot_BuyerGeneratedRequestData struct {

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

Encrypted data to be passed to a buyer by the publisher.

func (*BidRequest_AdSlot_BuyerGeneratedRequestData) Descriptor deprecated

Deprecated: Use BidRequest_AdSlot_BuyerGeneratedRequestData.ProtoReflect.Descriptor instead.

func (*BidRequest_AdSlot_BuyerGeneratedRequestData) GetData

func (*BidRequest_AdSlot_BuyerGeneratedRequestData) GetSource

func (m *BidRequest_AdSlot_BuyerGeneratedRequestData) GetSource() isBidRequest_AdSlot_BuyerGeneratedRequestData_Source

func (*BidRequest_AdSlot_BuyerGeneratedRequestData) GetSourceApp

func (*BidRequest_AdSlot_BuyerGeneratedRequestData) GetSourceJs added in v0.223.0

func (*BidRequest_AdSlot_BuyerGeneratedRequestData) ProtoMessage

func (*BidRequest_AdSlot_BuyerGeneratedRequestData) ProtoReflect

func (*BidRequest_AdSlot_BuyerGeneratedRequestData) Reset

func (*BidRequest_AdSlot_BuyerGeneratedRequestData) String

type BidRequest_AdSlot_BuyerGeneratedRequestData_SourceApp

type BidRequest_AdSlot_BuyerGeneratedRequestData_SourceApp struct {

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

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

func (*BidRequest_AdSlot_BuyerGeneratedRequestData_SourceApp) Descriptor deprecated

Deprecated: Use BidRequest_AdSlot_BuyerGeneratedRequestData_SourceApp.ProtoReflect.Descriptor instead.

func (*BidRequest_AdSlot_BuyerGeneratedRequestData_SourceApp) GetId

func (*BidRequest_AdSlot_BuyerGeneratedRequestData_SourceApp) ProtoMessage

func (*BidRequest_AdSlot_BuyerGeneratedRequestData_SourceApp) ProtoReflect

func (*BidRequest_AdSlot_BuyerGeneratedRequestData_SourceApp) Reset

func (*BidRequest_AdSlot_BuyerGeneratedRequestData_SourceApp) String

type BidRequest_AdSlot_BuyerGeneratedRequestData_SourceApp_

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

type BidRequest_AdSlot_BuyerGeneratedRequestData_SourceJs added in v0.223.0

type BidRequest_AdSlot_BuyerGeneratedRequestData_SourceJs struct {

	// Identifier of the JavaScript library that generated this data
	Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// contains filtered or unexported fields
}

The source of the signal when this request is from a web page.

func (*BidRequest_AdSlot_BuyerGeneratedRequestData_SourceJs) Descriptor deprecated added in v0.223.0

Deprecated: Use BidRequest_AdSlot_BuyerGeneratedRequestData_SourceJs.ProtoReflect.Descriptor instead.

func (*BidRequest_AdSlot_BuyerGeneratedRequestData_SourceJs) GetId added in v0.223.0

func (*BidRequest_AdSlot_BuyerGeneratedRequestData_SourceJs) ProtoMessage added in v0.223.0

func (*BidRequest_AdSlot_BuyerGeneratedRequestData_SourceJs) ProtoReflect added in v0.223.0

func (*BidRequest_AdSlot_BuyerGeneratedRequestData_SourceJs) Reset added in v0.223.0

func (*BidRequest_AdSlot_BuyerGeneratedRequestData_SourceJs) String added in v0.223.0

type BidRequest_AdSlot_BuyerGeneratedRequestData_SourceJs_ added in v0.223.0

type BidRequest_AdSlot_BuyerGeneratedRequestData_SourceJs_ struct {
	SourceJs *BidRequest_AdSlot_BuyerGeneratedRequestData_SourceJs `protobuf:"bytes,3,opt,name=source_js,json=sourceJs,oneof"`
}

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 via
	// the Additional Consent string (see
	// https://support.google.com/admanager/answer/9681920 for details about
	// Google's Additional Consent mode). ATPs consented via 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 added in v0.223.0

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 added in v0.206.0

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 */
	// Indicates whether the policy, scan and publisher blocks level
	// combination is the default combination for this bidder.
	IsDefault *bool `protobuf:"varint,4,opt,name=is_default,json=isDefault" json:"is_default,omitempty"`
	// contains filtered or unexported fields
}

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

func (*BidRequest_AdSlot_CreativeEnforcementSettings) Descriptor deprecated added in v0.206.0

Deprecated: Use BidRequest_AdSlot_CreativeEnforcementSettings.ProtoReflect.Descriptor instead.

func (*BidRequest_AdSlot_CreativeEnforcementSettings) GetIsDefault added in v0.206.0

func (*BidRequest_AdSlot_CreativeEnforcementSettings) GetPolicyEnforcement added in v0.206.0

func (*BidRequest_AdSlot_CreativeEnforcementSettings) GetPublisherBlocksEnforcement added in v0.206.0

func (*BidRequest_AdSlot_CreativeEnforcementSettings) ProtoMessage added in v0.206.0

func (*BidRequest_AdSlot_CreativeEnforcementSettings) ProtoReflect added in v0.206.0

func (*BidRequest_AdSlot_CreativeEnforcementSettings) Reset added in v0.206.0

func (*BidRequest_AdSlot_CreativeEnforcementSettings) String added in v0.206.0

type BidRequest_AdSlot_CreativeEnforcementSettings_PolicyEnforcement added in v0.206.0

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 via 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 added in v0.206.0

func (BidRequest_AdSlot_CreativeEnforcementSettings_PolicyEnforcement) Enum added in v0.206.0

func (BidRequest_AdSlot_CreativeEnforcementSettings_PolicyEnforcement) EnumDescriptor deprecated added in v0.206.0

Deprecated: Use BidRequest_AdSlot_CreativeEnforcementSettings_PolicyEnforcement.Descriptor instead.

func (BidRequest_AdSlot_CreativeEnforcementSettings_PolicyEnforcement) Number added in v0.206.0

func (BidRequest_AdSlot_CreativeEnforcementSettings_PolicyEnforcement) String added in v0.206.0

func (BidRequest_AdSlot_CreativeEnforcementSettings_PolicyEnforcement) Type added in v0.206.0

func (*BidRequest_AdSlot_CreativeEnforcementSettings_PolicyEnforcement) UnmarshalJSON deprecated added in v0.206.0

Deprecated: Do not use.

type BidRequest_AdSlot_CreativeEnforcementSettings_PublisherBlocksEnforcement added in v0.206.0

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. Please 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 added in v0.206.0

func (BidRequest_AdSlot_CreativeEnforcementSettings_PublisherBlocksEnforcement) Enum added in v0.206.0

func (BidRequest_AdSlot_CreativeEnforcementSettings_PublisherBlocksEnforcement) EnumDescriptor deprecated added in v0.206.0

Deprecated: Use BidRequest_AdSlot_CreativeEnforcementSettings_PublisherBlocksEnforcement.Descriptor instead.

func (BidRequest_AdSlot_CreativeEnforcementSettings_PublisherBlocksEnforcement) Number added in v0.206.0

func (BidRequest_AdSlot_CreativeEnforcementSettings_PublisherBlocksEnforcement) String added in v0.206.0

func (BidRequest_AdSlot_CreativeEnforcementSettings_PublisherBlocksEnforcement) Type added in v0.206.0

func (*BidRequest_AdSlot_CreativeEnforcementSettings_PublisherBlocksEnforcement) UnmarshalJSON deprecated added in v0.206.0

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 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,
	// 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"`
	// 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) GetCreativeSource added in v0.182.0

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_CreativeSourceType added in v0.182.0

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 added in v0.182.0

func (BidRequest_AdSlot_MatchingAdData_DirectDeal_CreativeSourceType) Enum added in v0.182.0

func (BidRequest_AdSlot_MatchingAdData_DirectDeal_CreativeSourceType) EnumDescriptor deprecated added in v0.182.0

Deprecated: Use BidRequest_AdSlot_MatchingAdData_DirectDeal_CreativeSourceType.Descriptor instead.

func (BidRequest_AdSlot_MatchingAdData_DirectDeal_CreativeSourceType) Number added in v0.182.0

func (BidRequest_AdSlot_MatchingAdData_DirectDeal_CreativeSourceType) String added in v0.182.0

func (BidRequest_AdSlot_MatchingAdData_DirectDeal_CreativeSourceType) Type added in v0.182.0

func (*BidRequest_AdSlot_MatchingAdData_DirectDeal_CreativeSourceType) UnmarshalJSON deprecated added in v0.182.0

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
)

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_MultiAdsCellInfo added in v0.203.0

type BidRequest_AdSlot_MultiAdsCellInfo struct {

	// The row this cell belongs to.
	CellRow *int32 `protobuf:"varint,1,opt,name=cell_row,json=cellRow" json:"cell_row,omitempty"`
	// The column this cell belongs to.
	CellColumn *int32 `protobuf:"varint,2,opt,name=cell_column,json=cellColumn" json:"cell_column,omitempty"`
	// Total number of rows in the grid for this cell.
	GridRows *int32 `protobuf:"varint,3,opt,name=grid_rows,json=gridRows" json:"grid_rows,omitempty"`
	// Total number of columns in the grid for this cell.
	GridColumns *int32 `protobuf:"varint,4,opt,name=grid_columns,json=gridColumns" json:"grid_columns,omitempty"`
	// Unique ID for the grid. It identifies a single grid on a single
	// instance of a page and is the same for all cells within that grid. If a
	// page has multiple grids, the grid_id for other grids would be
	// different. It would also be different for the same grid in two
	// different pageviews.
	// This is distinct from the google_query_id, which will differ for every
	// request for a cell in the grid.
	GridId *int64 `protobuf:"varint,5,opt,name=grid_id,json=gridId" json:"grid_id,omitempty"`
	// contains filtered or unexported fields
}

Note: This feature is currently in beta testing for publishers and is subject to change. This message is populated when the request is for an individual cell within a multi-ad grid. It provides cell level information as well as information about the grid this cell belongs to in the AdSlot. Only native ads are supported for cells in a multi-ad grid at this time.

func (*BidRequest_AdSlot_MultiAdsCellInfo) Descriptor deprecated added in v0.203.0

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

Deprecated: Use BidRequest_AdSlot_MultiAdsCellInfo.ProtoReflect.Descriptor instead.

func (*BidRequest_AdSlot_MultiAdsCellInfo) GetCellColumn added in v0.203.0

func (x *BidRequest_AdSlot_MultiAdsCellInfo) GetCellColumn() int32

func (*BidRequest_AdSlot_MultiAdsCellInfo) GetCellRow added in v0.203.0

func (x *BidRequest_AdSlot_MultiAdsCellInfo) GetCellRow() int32

func (*BidRequest_AdSlot_MultiAdsCellInfo) GetGridColumns added in v0.203.0

func (x *BidRequest_AdSlot_MultiAdsCellInfo) GetGridColumns() int32

func (*BidRequest_AdSlot_MultiAdsCellInfo) GetGridId added in v0.203.0

func (*BidRequest_AdSlot_MultiAdsCellInfo) GetGridRows added in v0.203.0

func (x *BidRequest_AdSlot_MultiAdsCellInfo) GetGridRows() int32

func (*BidRequest_AdSlot_MultiAdsCellInfo) ProtoMessage added in v0.203.0

func (*BidRequest_AdSlot_MultiAdsCellInfo) ProtoMessage()

func (*BidRequest_AdSlot_MultiAdsCellInfo) ProtoReflect added in v0.203.0

func (*BidRequest_AdSlot_MultiAdsCellInfo) Reset added in v0.203.0

func (*BidRequest_AdSlot_MultiAdsCellInfo) String added in v0.203.0

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 - i.e., 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, etc.
	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_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 request originated from an ad slot that scrolls along with
	// the contents of the page vertically.
	VerticalStickiness *BidRequest_AdSlot_StickySettings_Stickiness `` /* 186-byte string literal not displayed */
	// Whether the request originated from an ad slot that scrolls along with
	// the contents of the page horizontally, and is located at the top of the
	// page.
	TopHorizontalStickiness *BidRequest_AdSlot_StickySettings_Stickiness `` /* 203-byte string literal not displayed */
	// Whether the request originated from an ad slot that scrolls along with
	// the contents of the page horizontally, and is located at the bottom of
	// the page.
	BottomHorizontalStickiness *BidRequest_AdSlot_StickySettings_Stickiness `` /* 212-byte string literal not displayed */
	// contains filtered or unexported fields
}

Stickiness settings declared by the publisher. Next Tag: 4

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"`
	// 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"`
	// 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. Please contact your account manager if you wish 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) GetBuyerCreativeId

func (x *BidRequest_BidResponseFeedback) GetBuyerCreativeId() 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) 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) ProtoMessage

func (*BidRequest_BidResponseFeedback) ProtoMessage()

func (*BidRequest_BidResponseFeedback) ProtoReflect

func (*BidRequest_BidResponseFeedback) Reset

func (x *BidRequest_BidResponseFeedback) Reset()

func (*BidRequest_BidResponseFeedback) String

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, e.g., Nokia, Samsung.
	Brand *string `protobuf:"bytes,3,opt,name=brand,def=" json:"brand,omitempty"`
	// The model of the device, e.g., N70, Galaxy.
	Model *string `protobuf:"bytes,4,opt,name=model,def=" json:"model,omitempty"`
	// The OS version; e.g., 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 via a carrier (as opposed to via WiFi). To look up carrier
	// name from carrier ID, please 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 (e.g., 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 */
	// Apple iOS device model, e.g., "iphone 5s", "iphone 6+", "ipad 4".
	HardwareVersion *string `protobuf:"bytes,11,opt,name=hardware_version,json=hardwareVersion" json:"hardware_version,omitempty"`
	// Indicates whether the user has opted out of interest based advertising or
	// ads personalization as determined by an OS-level setting in iOS or
	// Android:
	// https://support.apple.com/en-us/HT202074
	// https://support.google.com/googleplay/answer/3405269
	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 */
	// 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 added in v0.223.0

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) GetDeviceType

func (*BidRequest_Device) GetHardwareVersion

func (x *BidRequest_Device) GetHardwareVersion() string

func (*BidRequest_Device) GetLimitAdTracking added in v0.206.0

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 added in v0.223.0

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 added in v0.223.0

func (BidRequest_Device_AuthorizationStatus) Enum added in v0.223.0

func (BidRequest_Device_AuthorizationStatus) EnumDescriptor deprecated added in v0.223.0

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

Deprecated: Use BidRequest_Device_AuthorizationStatus.Descriptor instead.

func (BidRequest_Device_AuthorizationStatus) Number added in v0.223.0

func (BidRequest_Device_AuthorizationStatus) String added in v0.223.0

func (BidRequest_Device_AuthorizationStatus) Type added in v0.223.0

func (*BidRequest_Device_AuthorizationStatus) UnmarshalJSON deprecated added in v0.223.0

func (x *BidRequest_Device_AuthorizationStatus) 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_Floc added in v0.203.0

type BidRequest_Floc struct {

	// The value of a cohort ID – a string identifier that is common to a large
	// cohort of users with similar browsing habits.
	//
	// Not currently populated.
	Id   *string                   `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	Type *BidRequest_Floc_FlocType `protobuf:"varint,2,opt,name=type,enum=com.google.protos.adx.BidRequest_Floc_FlocType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*BidRequest_Floc) Descriptor deprecated added in v0.203.0

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

Deprecated: Use BidRequest_Floc.ProtoReflect.Descriptor instead.

func (*BidRequest_Floc) GetId added in v0.203.0

func (x *BidRequest_Floc) GetId() string

func (*BidRequest_Floc) GetType added in v0.203.0

func (*BidRequest_Floc) ProtoMessage added in v0.203.0

func (*BidRequest_Floc) ProtoMessage()

func (*BidRequest_Floc) ProtoReflect added in v0.203.0

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

func (*BidRequest_Floc) Reset added in v0.203.0

func (x *BidRequest_Floc) Reset()

func (*BidRequest_Floc) String added in v0.203.0

func (x *BidRequest_Floc) String() string

type BidRequest_Floc_FlocType added in v0.203.0

type BidRequest_Floc_FlocType int32

The type of the FLoC. See https://github.com/google/ads-privacy/blob/master/proposals/FLoC/FLOC-Whitepaper-Google.pdf.

const (
	// Default value that should not be used.
	BidRequest_Floc_FLOC_TYPE_UNKNOWN BidRequest_Floc_FlocType = 0
	// FLoC simulated using affinity hierarchical clustering with centroids
	// and feature extraction based on Topic categories as described in the
	// whitepaper.
	BidRequest_Floc_SIMULATED_AFFINITY_CLUSTERING_CENTROID_VERTICAL BidRequest_Floc_FlocType = 2
	// FLoC simulated using SortingLSH clustering algorithm and Domain One-hot
	// encoding feature extraction as described in the whitepaper.
	BidRequest_Floc_SIMULATED_SIMHASH_SORTING_LSH_DOMAIN_ONE_HOT BidRequest_Floc_FlocType = 3
	// FLoC simulated using a k Random Centers locality-sensitive hash
	// function as described in
	// https://github.com/google/ads-privacy/blob/master/proposals/FLoC/k-random-centers.md
	// with Domain TF-IDF feature extraction as described in the whitepaper.
	BidRequest_Floc_KCENTER_DOM_FILTERED_TFDIF BidRequest_Floc_FlocType = 4
)

func (BidRequest_Floc_FlocType) Descriptor added in v0.203.0

func (BidRequest_Floc_FlocType) Enum added in v0.203.0

func (BidRequest_Floc_FlocType) EnumDescriptor deprecated added in v0.203.0

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

Deprecated: Use BidRequest_Floc_FlocType.Descriptor instead.

func (BidRequest_Floc_FlocType) Number added in v0.203.0

func (BidRequest_Floc_FlocType) String added in v0.203.0

func (x BidRequest_Floc_FlocType) String() string

func (BidRequest_Floc_FlocType) Type added in v0.203.0

func (*BidRequest_Floc_FlocType) UnmarshalJSON deprecated added in v0.203.0

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

Deprecated: Do not use.

type BidRequest_FrequencyCappingScope added in v0.203.0

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 added in v0.203.0

func (BidRequest_FrequencyCappingScope) Enum added in v0.203.0

func (BidRequest_FrequencyCappingScope) EnumDescriptor deprecated added in v0.203.0

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

Deprecated: Use BidRequest_FrequencyCappingScope.Descriptor instead.

func (BidRequest_FrequencyCappingScope) Number added in v0.203.0

func (BidRequest_FrequencyCappingScope) String added in v0.203.0

func (BidRequest_FrequencyCappingScope) Type added in v0.203.0

func (*BidRequest_FrequencyCappingScope) UnmarshalJSON deprecated added in v0.203.0

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

Deprecated: Do not use.

type BidRequest_Geo added in v0.189.0

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 (e.g. centroid) for the IP geolocation-derived location that's also carried by the other fields (e.g. 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 added in v0.189.0

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

Deprecated: Use BidRequest_Geo.ProtoReflect.Descriptor instead.

func (*BidRequest_Geo) GetAccuracy added in v0.189.0

func (x *BidRequest_Geo) GetAccuracy() int32

func (*BidRequest_Geo) GetCity added in v0.189.0

func (x *BidRequest_Geo) GetCity() string

func (*BidRequest_Geo) GetCountry added in v0.189.0

func (x *BidRequest_Geo) GetCountry() string

func (*BidRequest_Geo) GetLat added in v0.189.0

func (x *BidRequest_Geo) GetLat() float64

func (*BidRequest_Geo) GetLon added in v0.189.0

func (x *BidRequest_Geo) GetLon() float64

func (*BidRequest_Geo) GetMetro added in v0.189.0

func (x *BidRequest_Geo) GetMetro() string

func (*BidRequest_Geo) GetRegion added in v0.189.0

func (x *BidRequest_Geo) GetRegion() string

func (*BidRequest_Geo) GetUtcoffset added in v0.189.0

func (x *BidRequest_Geo) GetUtcoffset() int32

func (*BidRequest_Geo) GetZip added in v0.189.0

func (x *BidRequest_Geo) GetZip() string

func (*BidRequest_Geo) ProtoMessage added in v0.189.0

func (*BidRequest_Geo) ProtoMessage()

func (*BidRequest_Geo) ProtoReflect added in v0.189.0

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

func (*BidRequest_Geo) Reset added in v0.189.0

func (x *BidRequest_Geo) Reset()

func (*BidRequest_Geo) String added in v0.189.0

func (x *BidRequest_Geo) String() string

type BidRequest_Hyperlocal

type BidRequest_Hyperlocal struct {

	// The mobile 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
}

A hyperlocal targeting location when available.

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 the 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, e.g., 343200656. For Android devices, this is the fully qualified
	// package name, e.g., com.rovio.angrybirds. For Windows devices it's the
	// App ID, e.g., 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, please refer to
	// https://developers.google.com/google-ads/api/reference/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 */
	// 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 (i.e. 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 smartphone 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) 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 {

	// Version of SKAdNetwork supported. Dependent on both the OS version
	// and the SDK version.
	// Note:  This field will be replaced by the
	// BidRequest.mobile.skadn.versions field to support a list of version
	// numbers.
	Version *string `protobuf:"bytes,1,opt,name=version" json:"version,omitempty"`
	// List of SKAdNetwork versions supported, 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 */
	// 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) GetSourceapp

func (x *BidRequest_Mobile_SKAdNetworkRequest) GetSourceapp() string

func (*BidRequest_Mobile_SKAdNetworkRequest) GetSupportedFidelityTypes added in v0.226.0

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

func (*BidRequest_Mobile_SKAdNetworkRequest) GetVersion

func (*BidRequest_Mobile_SKAdNetworkRequest) GetVersions added in v0.212.0

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_PrivacyTreatments added in v0.230.0

type BidRequest_PrivacyTreatments struct {
	NonPersonalizedAdsReason []BidRequest_PrivacyTreatments_NonPersonalizedAdsReason `` /* 219-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*BidRequest_PrivacyTreatments) Descriptor deprecated added in v0.230.0

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

Deprecated: Use BidRequest_PrivacyTreatments.ProtoReflect.Descriptor instead.

func (*BidRequest_PrivacyTreatments) GetNonPersonalizedAdsReason added in v0.230.0

func (*BidRequest_PrivacyTreatments) ProtoMessage added in v0.230.0

func (*BidRequest_PrivacyTreatments) ProtoMessage()

func (*BidRequest_PrivacyTreatments) ProtoReflect added in v0.230.0

func (*BidRequest_PrivacyTreatments) Reset added in v0.230.0

func (x *BidRequest_PrivacyTreatments) Reset()

func (*BidRequest_PrivacyTreatments) String added in v0.230.0

type BidRequest_PrivacyTreatments_NonPersonalizedAdsReason added in v0.230.0

type BidRequest_PrivacyTreatments_NonPersonalizedAdsReason int32

Specifies the reasons that ads returned in response to this request should not be personalized.

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 added in v0.230.0

func (BidRequest_PrivacyTreatments_NonPersonalizedAdsReason) Enum added in v0.230.0

func (BidRequest_PrivacyTreatments_NonPersonalizedAdsReason) EnumDescriptor deprecated added in v0.230.0

Deprecated: Use BidRequest_PrivacyTreatments_NonPersonalizedAdsReason.Descriptor instead.

func (BidRequest_PrivacyTreatments_NonPersonalizedAdsReason) Number added in v0.230.0

func (BidRequest_PrivacyTreatments_NonPersonalizedAdsReason) String added in v0.230.0

func (BidRequest_PrivacyTreatments_NonPersonalizedAdsReason) Type added in v0.230.0

func (*BidRequest_PrivacyTreatments_NonPersonalizedAdsReason) UnmarshalJSON deprecated added in v0.230.0

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
	// Deprecated: Do not use.
	BidRequest_DEPRECATED_GOOGLE_REPRESENTED BidRequest_PublisherType = 3
)

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_SupplyChain added in v0.203.0

type BidRequest_SupplyChain struct {

	// Flag indicating 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, i.e. 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 added in v0.203.0

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

Deprecated: Use BidRequest_SupplyChain.ProtoReflect.Descriptor instead.

func (*BidRequest_SupplyChain) GetComplete added in v0.203.0

func (x *BidRequest_SupplyChain) GetComplete() bool

func (*BidRequest_SupplyChain) GetNodes added in v0.203.0

func (*BidRequest_SupplyChain) GetVersion added in v0.203.0

func (x *BidRequest_SupplyChain) GetVersion() string

func (*BidRequest_SupplyChain) ProtoMessage added in v0.203.0

func (*BidRequest_SupplyChain) ProtoMessage()

func (*BidRequest_SupplyChain) ProtoReflect added in v0.203.0

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

func (*BidRequest_SupplyChain) Reset added in v0.203.0

func (x *BidRequest_SupplyChain) Reset()

func (*BidRequest_SupplyChain) String added in v0.203.0

func (x *BidRequest_SupplyChain) String() string

type BidRequest_SupplyChain_SupplyChainNode added in v0.203.0

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, i.e. "publisher_id" in 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 added in v0.203.0

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

Deprecated: Use BidRequest_SupplyChain_SupplyChainNode.ProtoReflect.Descriptor instead.

func (*BidRequest_SupplyChain_SupplyChainNode) GetAdvertisingSystemIdentifier added in v0.203.0

func (x *BidRequest_SupplyChain_SupplyChainNode) GetAdvertisingSystemIdentifier() string

func (*BidRequest_SupplyChain_SupplyChainNode) GetHandlesPayment added in v0.203.0

func (x *BidRequest_SupplyChain_SupplyChainNode) GetHandlesPayment() bool

func (*BidRequest_SupplyChain_SupplyChainNode) GetSellerIdentifier added in v0.203.0

func (x *BidRequest_SupplyChain_SupplyChainNode) GetSellerIdentifier() string

func (*BidRequest_SupplyChain_SupplyChainNode) ProtoMessage added in v0.203.0

func (*BidRequest_SupplyChain_SupplyChainNode) ProtoReflect added in v0.203.0

func (*BidRequest_SupplyChain_SupplyChainNode) Reset added in v0.203.0

func (*BidRequest_SupplyChain_SupplyChainNode) String added in v0.203.0

type BidRequest_UserAgent added in v0.203.0

type BidRequest_UserAgent struct {

	// Identifies the browser. Prefer using the new field: browsers.
	Browser *BidRequest_UserAgent_BrandVersion `protobuf:"bytes,1,opt,name=browser" json:"browser,omitempty"`
	// Identifies the browser.
	Browsers []*BidRequest_UserAgent_BrandVersion `protobuf:"bytes,8,rep,name=browsers" json:"browsers,omitempty"`
	// Identifies the platform.
	Platform *BidRequest_UserAgent_BrandVersion `protobuf:"bytes,2,opt,name=platform" json:"platform,omitempty"`
	// True if the agent prefers "mobile-optimized" content. Refer to the
	// BidRequest.device field for specific information about the device, which
	// may or may not be consistent with this field (for example, a smartphone's
	// browser can be requesting "Desktop site").
	Mobile *bool `protobuf:"varint,3,opt,name=mobile" json:"mobile,omitempty"`
	// Device architecture, e.g. "x86" or "arm".
	Architecture *string `protobuf:"bytes,4,opt,name=architecture" json:"architecture,omitempty"`
	// Device's bitness, e.g. "64" for 64-bit architecture.
	Bitness *string `protobuf:"bytes,9,opt,name=bitness" json:"bitness,omitempty"`
	// Device model.
	Model *string `protobuf:"bytes,5,opt,name=model" json:"model,omitempty"`
	// contains filtered or unexported fields
}

User Agent information. This will be populated with information about the user agent, extracted from the User-Agent header or from Sec-CH-UA headers (https://wicg.github.io/ua-client-hints/).

func (*BidRequest_UserAgent) Descriptor deprecated added in v0.203.0

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

Deprecated: Use BidRequest_UserAgent.ProtoReflect.Descriptor instead.

func (*BidRequest_UserAgent) GetArchitecture added in v0.203.0

func (x *BidRequest_UserAgent) GetArchitecture() string

func (*BidRequest_UserAgent) GetBitness added in v0.230.0

func (x *BidRequest_UserAgent) GetBitness() string

func (*BidRequest_UserAgent) GetBrowser added in v0.203.0

func (*BidRequest_UserAgent) GetBrowsers added in v0.235.0

func (*BidRequest_UserAgent) GetMobile added in v0.203.0

func (x *BidRequest_UserAgent) GetMobile() bool

func (*BidRequest_UserAgent) GetModel added in v0.203.0

func (x *BidRequest_UserAgent) GetModel() string

func (*BidRequest_UserAgent) GetPlatform added in v0.203.0

func (*BidRequest_UserAgent) ProtoMessage added in v0.203.0

func (*BidRequest_UserAgent) ProtoMessage()

func (*BidRequest_UserAgent) ProtoReflect added in v0.203.0

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

func (*BidRequest_UserAgent) Reset added in v0.203.0

func (x *BidRequest_UserAgent) Reset()

func (*BidRequest_UserAgent) String added in v0.203.0

func (x *BidRequest_UserAgent) String() string

type BidRequest_UserAgent_BrandVersion added in v0.203.0

type BidRequest_UserAgent_BrandVersion struct {

	// Brand identifier, e.g., "Chrome" or "Windows".
	Brand *string `protobuf:"bytes,1,opt,name=brand" json:"brand,omitempty"`
	// Version, split in components if needed, e.g., {"85", "1"} = v85.1.
	Version []string `protobuf:"bytes,2,rep,name=version" json:"version,omitempty"`
	// contains filtered or unexported fields
}

A tuple of (brand, version) for the user agent or platform.

func (*BidRequest_UserAgent_BrandVersion) Descriptor deprecated added in v0.203.0

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

Deprecated: Use BidRequest_UserAgent_BrandVersion.ProtoReflect.Descriptor instead.

func (*BidRequest_UserAgent_BrandVersion) GetBrand added in v0.203.0

func (*BidRequest_UserAgent_BrandVersion) GetVersion added in v0.203.0

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

func (*BidRequest_UserAgent_BrandVersion) ProtoMessage added in v0.203.0

func (*BidRequest_UserAgent_BrandVersion) ProtoMessage()

func (*BidRequest_UserAgent_BrandVersion) ProtoReflect added in v0.203.0

func (*BidRequest_UserAgent_BrandVersion) Reset added in v0.203.0

func (*BidRequest_UserAgent_BrandVersion) String added in v0.203.0

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 {
	Placement *BidRequest_Video_Placement `` /* 126-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"`
	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"`
	// 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) GetDescriptionUrl

func (x *BidRequest_Video) GetDescriptionUrl() string

func (*BidRequest_Video) GetEndCapSupport

func (x *BidRequest_Video) GetEndCapSupport() BidRequest_Video_EndCapSupport

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) GetMinAdDuration

func (x *BidRequest_Video) GetMinAdDuration() int32

func (*BidRequest_Video) GetPlacement

func (x *BidRequest_Video) GetPlacement() BidRequest_Video_Placement

func (*BidRequest_Video) GetPlaybackMethod

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_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 (
	BidRequest_Video_END_CAP_NOT_ENABLED BidRequest_Video_EndCapSupport = 0 // Companion ad won't be rendered as end cap.
	BidRequest_Video_END_CAP_OPTIONAL    BidRequest_Video_EndCapSupport = 1 // End cap will be rendered if response contains
	// Not used at this time.
	BidRequest_Video_END_CAP_FORBIDDEN BidRequest_Video_EndCapSupport = 2 // Response with companion ad is filtered.
	// Not used at this time.
	BidRequest_Video_END_CAP_REQUIRED BidRequest_Video_EndCapSupport = 3 // Response without companion ad is filtered.
)

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_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,
	// (e.g., 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_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
	BidRequest_Video_VIDEO_FLV            BidRequest_Video_VideoFormat = 0 // Flash video files are accepted (FLV).
	BidRequest_Video_VIDEO_MP4            BidRequest_Video_VideoFormat = 1
	BidRequest_Video_YT_HOSTED            BidRequest_Video_VideoFormat = 2 // Valid VAST ads with at least one media file hosted
	// on youtube.com.
	BidRequest_Video_VPAID_FLASH   BidRequest_Video_VideoFormat = 3 // Flash VPAID (SWF).
	BidRequest_Video_VPAID_JS      BidRequest_Video_VideoFormat = 4 // JavaScript VPAID.
	BidRequest_Video_AUDIO_MP3     BidRequest_Video_VideoFormat = 5
	BidRequest_Video_AUDIO_OGG     BidRequest_Video_VideoFormat = 6
	BidRequest_Video_AUDIO_MP3_OGG BidRequest_Video_VideoFormat = 7 // Requires both MP3 & OGG as Google does not know
	// which codecs are installed on the player.
	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
	BidRequest_Video_AUDIO_MP4A BidRequest_Video_VideoFormat = 13 // Audio version of MP4.
)

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 (e.g., 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 (e.g., 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 added in v0.188.0

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 added in v0.188.0

func (BidRequest_VisibilityState) Enum added in v0.188.0

func (BidRequest_VisibilityState) EnumDescriptor deprecated added in v0.188.0

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

Deprecated: Use BidRequest_VisibilityState.Descriptor instead.

func (BidRequest_VisibilityState) Number added in v0.188.0

func (BidRequest_VisibilityState) String added in v0.188.0

func (BidRequest_VisibilityState) Type added in v0.188.0

func (*BidRequest_VisibilityState) UnmarshalJSON deprecated added in v0.188.0

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. Please do not 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"`
	// Please 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 wish 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 added in v0.184.0

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 64 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"`
	// The HTML snippet that will be placed on the web page to display the ad.
	// Please 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. Please 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. Please 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"`
	// This field is deprecated due to being unused.
	// For exchange bidders (third party exchanges doing real-time bidding on
	// DFP), the name of the bidder that the exchange called to provide the ad.
	// This is arbitrary UTF8 text but should be sufficient to identify the
	// bidder and should be set consistently to the same value for the same
	// bidder.
	//
	// Deprecated: Do not use.
	DEPRECATEDBidderName *string `protobuf:"bytes,22,opt,name=DEPRECATED_bidder_name,json=DEPRECATEDBidderName" json:"DEPRECATED_bidder_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"`
	// The Agency associated with this ad. See agencies.txt file in the
	// technical documentation for a list of ids. If this ad has no associated
	// agency then the value NONE (agency_id: 1) should be used rather than
	// leaving this field unset.
	AgencyId *int64                   `protobuf:"varint,16,opt,name=agency_id,json=agencyId" json:"agency_id,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"`
	// 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 whitelisted 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"`
	// 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) GetAdvertiserName

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

func (*BidResponse_Ad) GetAgencyId

func (x *BidResponse_Ad) GetAgencyId() int64

func (*BidResponse_Ad) GetAmpAdUrl

func (x *BidResponse_Ad) GetAmpAdUrl() string

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) GetDEPRECATEDBidderName deprecated added in v0.186.0

func (x *BidResponse_Ad) GetDEPRECATEDBidderName() string

Deprecated: Do not use.

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 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).
	// The bidding currency is determined by:
	// 1. The bidder-level currency, if configured.
	// 2. Otherwise, the currency of the buyer account indicated by the
	// billing ID in the billing_id field.
	// 3. If billing_id is empty, the currency of the buyer account indicated
	// by the sole billing ID in the bid request.
	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 bidding currency. This may
	// represent a second price if you choose max_cpm as the highest of
	// several bids, or some form of reserve price if you wish 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. The bidding
	// currency is determined by:
	// 1. The bidder-level currency, if configured.
	// 2. Otherwise, the currency of the buyer account indicated by the
	// billing ID in the billing_id field.
	// 3. If billing_id is empty, the currency of the buyer account indicated
	// by the sole billing ID in the bid request.
	MinCpmMicros *int64 `protobuf:"varint,3,opt,name=min_cpm_micros,json=minCpmMicros" json:"min_cpm_micros,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 */
	// 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"`
	// 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) GetBillingId

func (x *BidResponse_Ad_AdSlot) GetBillingId() int64

func (*BidResponse_Ad_AdSlot) GetBuyerReportingId

func (x *BidResponse_Ad_AdSlot) GetBuyerReportingId() 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 added in v0.203.0

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) 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 added in v0.203.0

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, etc.
	// 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 vice versa.

func (*BidResponse_Ad_AdSlot_FrequencyCap) Descriptor deprecated added in v0.203.0

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

Deprecated: Use BidResponse_Ad_AdSlot_FrequencyCap.ProtoReflect.Descriptor instead.

func (*BidResponse_Ad_AdSlot_FrequencyCap) GetFrequencyCapId added in v0.203.0

func (x *BidResponse_Ad_AdSlot_FrequencyCap) GetFrequencyCapId() string

func (*BidResponse_Ad_AdSlot_FrequencyCap) GetMaxImpressions added in v0.203.0

func (x *BidResponse_Ad_AdSlot_FrequencyCap) GetMaxImpressions() int32

func (*BidResponse_Ad_AdSlot_FrequencyCap) GetTimeRange added in v0.203.0

func (x *BidResponse_Ad_AdSlot_FrequencyCap) GetTimeRange() int32

func (*BidResponse_Ad_AdSlot_FrequencyCap) GetTimeUnit added in v0.203.0

func (*BidResponse_Ad_AdSlot_FrequencyCap) ProtoMessage added in v0.203.0

func (*BidResponse_Ad_AdSlot_FrequencyCap) ProtoMessage()

func (*BidResponse_Ad_AdSlot_FrequencyCap) ProtoReflect added in v0.203.0

func (*BidResponse_Ad_AdSlot_FrequencyCap) Reset added in v0.203.0

func (*BidResponse_Ad_AdSlot_FrequencyCap) String added in v0.203.0

type BidResponse_Ad_AdSlot_FrequencyCap_TimeUnit added in v0.203.0

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 added in v0.203.0

func (BidResponse_Ad_AdSlot_FrequencyCap_TimeUnit) Enum added in v0.203.0

func (BidResponse_Ad_AdSlot_FrequencyCap_TimeUnit) EnumDescriptor deprecated added in v0.203.0

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 added in v0.203.0

func (BidResponse_Ad_AdSlot_FrequencyCap_TimeUnit) String added in v0.203.0

func (BidResponse_Ad_AdSlot_FrequencyCap_TimeUnit) Type added in v0.203.0

func (*BidResponse_Ad_AdSlot_FrequencyCap_TimeUnit) UnmarshalJSON deprecated added in v0.203.0

Deprecated: Do not use.

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 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"`
	// 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"`
	// 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"`
	// 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.
	// This field is planned to be deprecated and we are moving to the
	// repeated click_tracking_urls field.
	ClickTrackingUrl *string `protobuf:"bytes,11,opt,name=click_tracking_url,json=clickTrackingUrl" json:"click_tracking_url,omitempty"`
	// The URLs to use for click tracking. This will be used throughout the
	// serving stack and will incorporate any URL in click_tracking_url.
	ClickTrackingUrls []string `protobuf:"bytes,15,rep,name=click_tracking_urls,json=clickTrackingUrls" json:"click_tracking_urls,omitempty"`
	// 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) GetClickTrackingUrl

func (x *BidResponse_Ad_NativeAd) GetClickTrackingUrl() string

func (*BidResponse_Ad_NativeAd) GetClickTrackingUrls

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

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 added in v0.208.0

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 added in v0.208.0

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 added in v0.208.0

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 added in v0.208.0

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.
	Campaign *int64 `protobuf:"varint,3,opt,name=campaign" json:"campaign,omitempty"`
	// ID of advertiser's app in Apple's app store.
	Itunesitem *string                                        `protobuf:"bytes,4,opt,name=itunesitem" json:"itunesitem,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"`
	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 added in v0.226.0

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) GetSignature

func (x *BidResponse_Ad_SKAdNetworkResponse) GetSignature() string

func (*BidResponse_Ad_SKAdNetworkResponse) GetSkadnOptions added in v0.223.0

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 added in v0.226.0

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 added in v0.226.0

Deprecated: Use BidResponse_Ad_SKAdNetworkResponse_Fidelity.ProtoReflect.Descriptor instead.

func (*BidResponse_Ad_SKAdNetworkResponse_Fidelity) GetFidelityType added in v0.226.0

func (*BidResponse_Ad_SKAdNetworkResponse_Fidelity) GetNonce added in v0.226.0

func (*BidResponse_Ad_SKAdNetworkResponse_Fidelity) GetSignature added in v0.226.0

func (*BidResponse_Ad_SKAdNetworkResponse_Fidelity) GetTimestamp added in v0.226.0

func (*BidResponse_Ad_SKAdNetworkResponse_Fidelity) ProtoMessage added in v0.226.0

func (*BidResponse_Ad_SKAdNetworkResponse_Fidelity) ProtoReflect added in v0.226.0

func (*BidResponse_Ad_SKAdNetworkResponse_Fidelity) Reset added in v0.226.0

func (*BidResponse_Ad_SKAdNetworkResponse_Fidelity) String added in v0.226.0

type BidResponse_Ad_SKAdNetworkResponse_SKAdNetworkOptions added in v0.223.0

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.  This flag 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 added in v0.223.0

Deprecated: Use BidResponse_Ad_SKAdNetworkResponse_SKAdNetworkOptions.ProtoReflect.Descriptor instead.

func (*BidResponse_Ad_SKAdNetworkResponse_SKAdNetworkOptions) GetAlwaysOpenAppstore added in v0.223.0

func (*BidResponse_Ad_SKAdNetworkResponse_SKAdNetworkOptions) ProtoMessage added in v0.223.0

func (*BidResponse_Ad_SKAdNetworkResponse_SKAdNetworkOptions) ProtoReflect added in v0.223.0

func (*BidResponse_Ad_SKAdNetworkResponse_SKAdNetworkOptions) Reset added in v0.223.0

func (*BidResponse_Ad_SKAdNetworkResponse_SKAdNetworkOptions) String added in v0.223.0

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 added in v0.223.0

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 added in v0.223.0

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
	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 added in v0.223.0

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

Deprecated: Use BidResponse_Ad_SdkRenderedAd_DeclaredAd.ProtoReflect.Descriptor instead.

func (*BidResponse_Ad_SdkRenderedAd_DeclaredAd) GetClickThroughUrl added in v0.223.0

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

func (*BidResponse_Ad_SdkRenderedAd_DeclaredAd) GetContent added in v0.223.0

func (m *BidResponse_Ad_SdkRenderedAd_DeclaredAd) GetContent() isBidResponse_Ad_SdkRenderedAd_DeclaredAd_Content

func (*BidResponse_Ad_SdkRenderedAd_DeclaredAd) GetHtmlSnippet added in v0.223.0

func (x *BidResponse_Ad_SdkRenderedAd_DeclaredAd) GetHtmlSnippet() string

func (*BidResponse_Ad_SdkRenderedAd_DeclaredAd) GetVideoUrl added in v0.223.0

func (*BidResponse_Ad_SdkRenderedAd_DeclaredAd) GetVideoVastXml added in v0.223.0

func (x *BidResponse_Ad_SdkRenderedAd_DeclaredAd) GetVideoVastXml() string

func (*BidResponse_Ad_SdkRenderedAd_DeclaredAd) ProtoMessage added in v0.223.0

func (*BidResponse_Ad_SdkRenderedAd_DeclaredAd) ProtoReflect added in v0.223.0

func (*BidResponse_Ad_SdkRenderedAd_DeclaredAd) Reset added in v0.223.0

func (*BidResponse_Ad_SdkRenderedAd_DeclaredAd) String added in v0.223.0

type BidResponse_Ad_SdkRenderedAd_DeclaredAd_HtmlSnippet added in v0.223.0

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_VideoUrl added in v0.223.0

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 added in v0.223.0

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 added in v0.226.0

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 added in v0.226.0

func (SKAdNetworkFidelityType) Enum added in v0.226.0

func (SKAdNetworkFidelityType) EnumDescriptor deprecated added in v0.226.0

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

Deprecated: Use SKAdNetworkFidelityType.Descriptor instead.

func (SKAdNetworkFidelityType) Number added in v0.226.0

func (SKAdNetworkFidelityType) String added in v0.226.0

func (x SKAdNetworkFidelityType) String() string

func (SKAdNetworkFidelityType) Type added in v0.226.0

func (*SKAdNetworkFidelityType) UnmarshalJSON deprecated added in v0.226.0

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