Class AdUnit
Representation of an ad unit. An ad unit represents a saved ad unit with a specific set of ad settings that have been customized within an account.
Inheritance
System.Object
AdUnit
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Adsense.v2.Data
Assembly: Google.Apis.Adsense.v2.dll
Syntax
public class AdUnit : IDirectResponseSchema
Properties
ContentAdsSettings
Settings specific to content ads (AFC).
Declaration
[JsonProperty("contentAdsSettings")]
public virtual ContentAdsSettings ContentAdsSettings { get; set; }
Property Value
Type | Description |
---|---|
ContentAdsSettings |
DisplayName
Display name of the ad unit, as provided when the ad unit was created.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
Resource name of the ad unit. Format: accounts/{account}/adclients/{adclient}/adunits/{adunit}
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ReportingDimensionId
Output only. Unique ID of the ad unit as used in the AD_UNIT_ID
reporting dimension.
Declaration
[JsonProperty("reportingDimensionId")]
public virtual string ReportingDimensionId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
State
State of the ad unit.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type | Description |
---|---|
System.String |