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.
Implements
Inherited Members
Namespace: Google.Apis.Adsense.v2.Data
Assembly: Google.Apis.Adsense.v2.dll
Syntax
public class AdUnit : IDirectResponseSchema
Properties
ContentAdsSettings
Required. Settings specific to content ads (AFC).
Declaration
[JsonProperty("contentAdsSettings")]
public virtual ContentAdsSettings ContentAdsSettings { get; set; }
Property Value
Type | Description |
---|---|
ContentAdsSettings |
DisplayName
Required. 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 |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Output only. 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 |
---|---|
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 |
---|---|
string |
State
Required. State of the ad unit.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type | Description |
---|---|
string |