Class MediationGroupMediationGroupLine
Settings for an ad network used by a mediation group.
Implements
Inherited Members
Namespace: Google.Apis.AdMob.v1beta.Data
Assembly: Google.Apis.AdMob.v1beta.dll
Syntax
public class MediationGroupMediationGroupLine : IDirectResponseSchema
Properties
AdSourceId
The ID of the ad source this mediation line is associated with.
Declaration
[JsonProperty("adSourceId")]
public virtual string AdSourceId { get; set; }
Property Value
Type | Description |
---|---|
string |
AdUnitMappings
References of the ad unit mappings for each ad unit associated with this mediation line. Key is the ad unit ID, value is resource name of the ad unit mapping. For mediation lines where the ad source id is the AdMob Network, ad unit mappings will be ignored.
Declaration
[JsonProperty("adUnitMappings")]
public virtual IDictionary<string, string> AdUnitMappings { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
CpmMicros
The CPM for this allocation line. $0.01 is the minimum allowed amount. For LIVE CPM modes, the default
amount is $0.01. This value is ignored if cpm_mode
is LIVE
. Warning: "USD" is the only supported
currency at the moment. The unit is in micros.
Declaration
[JsonProperty("cpmMicros")]
public virtual long? CpmMicros { get; set; }
Property Value
Type | Description |
---|---|
long? |
CpmMode
Indicates how the CPM for this mediation line is provided. Note that MANUAL
and LIVE
are the only
fully-supported mode at the moment. Please use the AdMob UI (https://admob.google.com) if you wish to create
or update to other cpm modes.
Declaration
[JsonProperty("cpmMode")]
public virtual string CpmMode { get; set; }
Property Value
Type | Description |
---|---|
string |
DisplayName
User-provided label for this mediation line. The maximum length allowed is 255 characters.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ExperimentVariant
Output only. The Mediation A/B experiment variant to which the mediation group line belongs to.
Declaration
[JsonProperty("experimentVariant")]
public virtual string ExperimentVariant { get; set; }
Property Value
Type | Description |
---|---|
string |
Id
The 16 digit ID for this mediation line e.g. 0123456789012345. When creating a new mediation group line, use a distinct negative integer as the ID place holder.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type | Description |
---|---|
string |
State
The status of the mediation group line. Only enabled mediation group lines will be served.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type | Description |
---|---|
string |