1using System.Collections.Generic;
7 private const string PluginTypeParameter =
"plugin_type";
8 private const string PluginVersionParameter =
"plugin_version";
10 private const string PluginType =
"unity";
14 if (adRequest ==
null)
19 var parameters = adRequest.Parameters ??
new Dictionary<string, string>();
20 parameters.Add(PluginTypeParameter, PluginType);
A class responsible for creating AdRequest objects.
Builder WithParameters(Dictionary< string, string > parameters)
AdRequest Builder initialized with custom Parameters.
AdRequest Build()
Creates AdRequest based on current builder parameters.
Builder WithAdRequest(AdRequest adRequest)
AdRequest Builder initialized with AdRequest.
AdRequest CreateAdRequest(AdRequest adRequest)
Contains targeting information used to fetch an ad. new instance should be created using AdRequestCon...
const string PackageVersion