GoogleMobileAds.Api.AdRequest.Builder

Constructs a Builder.

Summary

Constructors and Destructors

Builder()

Public functions

AddExtra(string key, string value)
Extra parameters to be sent in the ad request.
AddKeyword(string keyword)
Words or phrase describing the current activity of the user for targeting purposes.
AddMediationExtras(MediationExtras extras)
Extra parameters to be sent to a specific ad partner in the ad request.
Build()
Constructs an AdRequest with the specified attributes.

Public functions

AddExtra

Builder AddExtra(
  string key,
  string value
)

Extra parameters to be sent in the ad request.

Details
Parameters
key
The extra key to add.
value
The extra value to add.

AddKeyword

Builder AddKeyword(
  string keyword
)

Words or phrase describing the current activity of the user for targeting purposes.

Details
Parameters
keyword
Word or phrase describing the current activity of the user for targeting purposes.

AddMediationExtras

Builder AddMediationExtras(
  MediationExtras extras
)

Extra parameters to be sent to a specific ad partner in the ad request.

Details
Parameters
extras
Extra parameters for mediation custom events.

Build

AdRequest Build()

Constructs an AdRequest with the specified attributes.

Builder

 Builder()