Class AdUnit
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.AdSense.v1_4.Data
Assembly: Google.Apis.AdSense.v1_4.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 |
---|---|
System.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 |
---|---|
System.String |
FeedAdsSettings
Settings specific to feed ads (AFF) - deprecated.
Declaration
[JsonProperty("feedAdsSettings")]
public virtual AdUnit.FeedAdsSettingsData FeedAdsSettings { get; set; }
Property Value
Type | Description |
---|---|
AdUnit.FeedAdsSettingsData |
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 |
---|---|
System.String |
Kind
Kind of resource this is, in this case adsense#adUnit.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.String |
SavedStyleId
ID of the saved ad style which holds this ad unit's style information.
Declaration
[JsonProperty("savedStyleId")]
public virtual string SavedStyleId { get; set; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.String |