Learn more about migrating to the Google Ads API by watching our latest webinar

TagSnippet

The site tag and event snippet pair for a TrackingCodeType.

Fields

type

TrackingCodeType

The type of the generated tag snippets for tracking conversions.

page_format

TrackingCodePageFormat

The format of the web page where the tracking tag and snippet will be installed, e.g. HTML.

global_site_tag

string

The site tag that adds visitors to your basic remarketing lists and sets new cookies on your domain.

event_snippet

string

The event snippet that works with the site tag to track actions that should be counted as conversions.