Class EventTag
Contains properties of an event tag.
Implements
Inherited Members
Namespace: Google.Apis.Dfareporting.v4.Data
Assembly: Google.Apis.Dfareporting.v4.dll
Syntax
public class EventTag : IDirectResponseSchema
Properties
AccountId
Account ID of this event tag. This is a read-only field that can be left blank.
Declaration
[JsonProperty("accountId")]
public virtual long? AccountId { get; set; }
Property Value
Type | Description |
---|---|
long? |
AdvertiserId
Advertiser ID of this event tag. This field or the campaignId field is required on insertion.
Declaration
[JsonProperty("advertiserId")]
public virtual long? AdvertiserId { get; set; }
Property Value
Type | Description |
---|---|
long? |
AdvertiserIdDimensionValue
Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
Declaration
[JsonProperty("advertiserIdDimensionValue")]
public virtual DimensionValue AdvertiserIdDimensionValue { get; set; }
Property Value
Type | Description |
---|---|
DimensionValue |
CampaignId
Campaign ID of this event tag. This field or the advertiserId field is required on insertion.
Declaration
[JsonProperty("campaignId")]
public virtual long? CampaignId { get; set; }
Property Value
Type | Description |
---|---|
long? |
CampaignIdDimensionValue
Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
Declaration
[JsonProperty("campaignIdDimensionValue")]
public virtual DimensionValue CampaignIdDimensionValue { get; set; }
Property Value
Type | Description |
---|---|
DimensionValue |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EnabledByDefault
Whether this event tag should be automatically enabled for all of the advertiser's campaigns and ads.
Declaration
[JsonProperty("enabledByDefault")]
public virtual bool? EnabledByDefault { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ExcludeFromAdxRequests
Whether to remove this event tag from ads that are trafficked through Display & Video 360 to Ad Exchange. This may be useful if the event tag uses a pixel that is unapproved for Ad Exchange bids on one or more networks, such as the Google Display Network.
Declaration
[JsonProperty("excludeFromAdxRequests")]
public virtual bool? ExcludeFromAdxRequests { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Id
ID of this event tag. This is a read-only, auto-generated field.
Declaration
[JsonProperty("id")]
public virtual long? Id { get; set; }
Property Value
Type | Description |
---|---|
long? |
Kind
Identifies what kind of resource this is. Value: the fixed string "dfareporting#eventTag".
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Name of this event tag. This is a required field and must be less than 256 characters long.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
SiteFilterType
Site filter type for this event tag. If no type is specified then the event tag will be applied to all sites.
Declaration
[JsonProperty("siteFilterType")]
public virtual string SiteFilterType { get; set; }
Property Value
Type | Description |
---|---|
string |
SiteIds
Filter list of site IDs associated with this event tag. The siteFilterType determines whether this is a allowlist or blocklist filter.
Declaration
[JsonProperty("siteIds")]
public virtual IList<long?> SiteIds { get; set; }
Property Value
Type | Description |
---|---|
IList<long?> |
SslCompliant
Whether this tag is SSL-compliant or not. This is a read-only field.
Declaration
[JsonProperty("sslCompliant")]
public virtual bool? SslCompliant { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Status
Status of this event tag. Must be ENABLED for this event tag to fire. This is a required field.
Declaration
[JsonProperty("status")]
public virtual string Status { get; set; }
Property Value
Type | Description |
---|---|
string |
SubaccountId
Subaccount ID of this event tag. This is a read-only field that can be left blank.
Declaration
[JsonProperty("subaccountId")]
public virtual long? SubaccountId { get; set; }
Property Value
Type | Description |
---|---|
long? |
Type
Event tag type. Can be used to specify whether to use a third-party pixel, a third-party JavaScript URL, or a third-party click-through URL for either impression or click tracking. This is a required field.
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type | Description |
---|---|
string |
Url
Payload URL for this event tag. The URL on a click-through event tag should have a landing page URL appended to the end of it. This field is required on insertion.
Declaration
[JsonProperty("url")]
public virtual string Url { get; set; }
Property Value
Type | Description |
---|---|
string |
UrlEscapeLevels
Number of times the landing page URL should be URL-escaped before being appended to the click-through event tag URL. Only applies to click-through event tags as specified by the event tag type.
Declaration
[JsonProperty("urlEscapeLevels")]
public virtual int? UrlEscapeLevels { get; set; }
Property Value
Type | Description |
---|---|
int? |