Skip to content

Latest commit

 

History

History
40 lines (34 loc) · 1.85 KB

File metadata and controls

40 lines (34 loc) · 1.85 KB

Zernio::TrackingTag

Properties

Name Type Description Notes
id String Platform-native tag id. Meta: numeric pixel id, as a string.
name String
platform String
kind String Platform-native flavor of the tag (Meta: `pixel`).
status String `inactive` when the platform reports the tag as broken/unavailable.
code String The base-code `<script>` snippet to install on the site. Meta only; populated by `getTrackingTag`, omitted from the list view. [optional]
last_fired_time Integer Unix seconds of the last event the tag received, or `null` if it never fired. The practical &quot;is it installed and working&quot; signal. [optional]
is_unavailable Boolean Whether the tag is in a broken/unavailable state (Meta `is_unavailable`). [optional]
installed Boolean Convenience flag derived from `lastFiredTime` — has the tag ever fired. [optional]
creation_time Integer Unix seconds the tag was created. [optional]
owner_business_id String Business Manager id that owns the tag, or `null` when the tag lives on a personal (non-BM) ad account — such tags can't be shared with other ad accounts. [optional]
owner_ad_account_id String Ad account id (`act_...`) that owns the tag, when reported. [optional]

Example

require 'zernio-sdk'

instance = Zernio::TrackingTag.new(
  id: null,
  name: null,
  platform: null,
  kind: null,
  status: null,
  code: null,
  last_fired_time: null,
  is_unavailable: null,
  installed: null,
  creation_time: null,
  owner_business_id: null,
  owner_ad_account_id: null
)