Class AdUnit
Implements
Inherited Members
Namespace: Google.Apis.AdSenseHost.v4_1.Data
Assembly: Google.Apis.AdSenseHost.v4_1.dll
Syntax
public class AdUnit : IDirectResponseSchema
Properties
Code
Identity code of this ad unit, not necessarily unique across ad clients.
Declaration
[JsonProperty("code")]
public virtual string Code { get; set; }
Property Value
Type | Description |
---|---|
string |
ContentAdsSettings
Settings specific to content ads (AFC) and highend mobile content ads (AFMC - deprecated).
Declaration
[JsonProperty("contentAdsSettings")]
public virtual AdUnit.ContentAdsSettingsData ContentAdsSettings { get; set; }
Property Value
Type | Description |
---|---|
AdUnit.ContentAdsSettingsData |
CustomStyle
Custom style information specific to this ad unit.
Declaration
[JsonProperty("customStyle")]
public virtual AdStyle CustomStyle { get; set; }
Property Value
Type | Description |
---|---|
AdStyle |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Id
Unique identifier of this ad unit. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type | Description |
---|---|
string |
Kind
Kind of resource this is, in this case adsensehost#adUnit.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
MobileContentAdsSettings
Settings specific to WAP mobile content ads (AFMC - deprecated).
Declaration
[JsonProperty("mobileContentAdsSettings")]
public virtual AdUnit.MobileContentAdsSettingsData MobileContentAdsSettings { get; set; }
Property Value
Type | Description |
---|---|
AdUnit.MobileContentAdsSettingsData |
Name
Name of this ad unit.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Status
Status of this ad unit. Possible values are: NEW: Indicates that the ad unit was created within the last seven days and does not yet have any activity associated with it. ACTIVE: Indicates that there has been activity on this ad unit in the last seven days. INACTIVE: Indicates that there has been no activity on this ad unit in the last seven days.
Declaration
[JsonProperty("status")]
public virtual string Status { get; set; }
Property Value
Type | Description |
---|---|
string |