Skip to main content

event_tags

Overview

Nameevent_tags
TypeResource
Idgoogleads.dfareporting.event_tags

Fields

NameDatatypeDescription
idstringID of this event tag. This is a read-only, auto-generated field.
namestringName of this event tag. This is a required field and must be less than 256 characters long.
kindstringIdentifies what kind of resource this is. Value: the fixed string "dfareporting#eventTag".
urlEscapeLevelsintegerNumber 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.
advertiserIdDimensionValueobjectRepresents a DimensionValue resource.
siteFilterTypestringSite filter type for this event tag. If no type is specified then the event tag will be applied to all sites.
subaccountIdstringSubaccount ID of this event tag. This is a read-only field that can be left blank.
statusstringStatus of this event tag. Must be ENABLED for this event tag to fire. This is a required field.
siteIdsarrayFilter list of site IDs associated with this event tag. The siteFilterType determines whether this is a allowlist or blocklist filter.
advertiserIdstringAdvertiser ID of this event tag. This field or the campaignId field is required on insertion.
typestringEvent 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.
campaignIdstringCampaign ID of this event tag. This field or the advertiserId field is required on insertion.
urlstringPayload 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.
enabledByDefaultbooleanWhether this event tag should be automatically enabled for all of the advertiser's campaigns and ads.
accountIdstringAccount ID of this event tag. This is a read-only field that can be left blank.
excludeFromAdxRequestsbooleanWhether 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.
campaignIdDimensionValueobjectRepresents a DimensionValue resource.
sslCompliantbooleanWhether this tag is SSL-compliant or not. This is a read-only field.

Methods

NameAccessible byRequired ParamsDescription
eventTags_getSELECTid, profileIdGets one event tag by ID.
eventTags_listSELECTprofileIdRetrieves a list of event tags, possibly filtered.
eventTags_deleteDELETEid, profileIdDeletes an existing event tag.
eventTags_insertEXECprofileIdInserts a new event tag.
eventTags_patchEXECid, profileIdUpdates an existing event tag. This method supports patch semantics.
eventTags_updateEXECprofileIdUpdates an existing event tag.