changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "additionalProperties": false,
+ "properties": {
+ "blocked": {
+ "additionalProperties": false,
+ "description": "Events not sent because of consent or bots: `total`, `bots_blocked`, `consent_events_blocked` (integers), `reasons` (object, reason to count: denied, no_decision, gpc, bot), and `event_counts` (object, event to count, such as { \"Purchase\": 9 }). For the individual blocked events, see get_blocked_events.",
+ "properties": {
+ "bots_blocked": {
+ "description": "Blocked as bots.",
+ "type": "integer"
+ },
+ "consent_events_blocked": {
+ "description": "Blocked by consent.",
+ "type": "integer"
+ },
+ "event_counts": {
+ "additionalProperties": {
+ "type": "integer"
+ },
+ "description": "Event to count.",
+ "type": "object"
+ },
+ "reasons": {
+ "additionalProperties": {
+ "type": "integer"
+ },
+ "description": "Reason to count.",
+ "type": "object"
+ },
+ "total": {
+ "description": "All blocked events.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "total",
+ "bots_blocked",
+ "consent_events_blocked",
+ "reasons",
+ "event_counts"
+ ],
+ "type": "object"
+ },
+ "delivered": {
+ "additionalProperties": false,
+ "description": "Events delivered to the ad platforms.",
+ "properties": {
+ "count": {
+ "description": "Events delivered.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "count"
+ ],
+ "type": "object"
+ },
+ "event_count": {
+ "description": "Events read to compute these numbers.",
+ "type": "integer"
+ },
+ "event_counts": {
+ "additionalProperties": {
+ "type": "integer"
+ },
+ "description": "Count per event in the range, such as { \"Purchase\": 64, \"Lead\": 211 }. Events with no count are left out.",
+ "type": "object"
+ },
+ "failed": {
+ "additionalProperties": false,
+ "description": "Events that failed with an error. Events still sending are in neither count.",
+ "properties": {
+ "count": {
+ "description": "Events failed.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "count"
+ ],
+ "type": "object"
+ },
+ "field_presence": {
+ "additionalProperties": false,
+ "description": "Hashed email and phone on the newest conversions in the range. Only recent conversions are checked, from checked_from; null when the whole range is older or the sample could not be read in time. Every other field counts all events.",
+ "properties": {
+ "checked": {
+ "description": "Conversions checked. Below max_checked means every conversion since checked_from was checked.",
+ "type": "integer"
+ },
+ "checked_from": {
+ "description": "Start of the period checked, which runs to window.to: window.from when every conversion was checked, otherwise the time of the oldest conversion checked.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "events": {
+ "description": "Per conversion event, such as Purchase (never PageView): `event`, `checked` (conversions of this event checked), `with_email`, `with_phone` (how many of those carried a hashed email or phone).",
+ "items": {
+ "additionalProperties": false,
+ "description": "One conversion event.",
+ "properties": {
+ "checked": {
+ "description": "Conversions checked.",
+ "type": "integer"
+ },
+ "event": {
+ "description": "Event name.",
+ "type": "string"
+ },
+ "with_email": {
+ "description": "Carried a hashed email.",
+ "type": "integer"
+ },
+ "with_phone": {
+ "description": "Carried a hashed phone.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "event",
+ "checked",
+ "with_email",
+ "with_phone"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "max_checked": {
+ "description": "Most conversions checked in one call.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "max_checked",
+ "checked",
+ "checked_from",
+ "events"
+ ],
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "group_by": {
+ "description": "Series bucket used.",
+ "enum": [
+ "day",
+ "week"
+ ],
+ "type": "string"
+ },
+ "pixels": {
+ "description": "Per pixel: `pixel_id` (integer), `name` (string), `ad_platform` (string or null), `sent` (integer), `failed` (integer, not delivered).",
+ "items": {
+ "additionalProperties": false,
+ "description": "One pixel.",
+ "properties": {
+ "ad_platform": {
+ "description": "Ad platform name.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "failed": {
+ "description": "Events not delivered.",
+ "type": "integer"
+ },
+ "name": {
+ "description": "Pixel name.",
+ "type": "string"
+ },
+ "pixel_id": {
+ "description": "Pixel id.",
+ "type": "integer"
+ },
+ "sent": {
+ "description": "Events sent.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "pixel_id",
+ "name",
+ "ad_platform",
+ "sent",
+ "failed"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "revenue": {
+ "additionalProperties": false,
+ "description": "Revenue in the currency with the most valued events: `amount` (number), `currency` (string or null), `events` (integer, valued events summed).",
+ "properties": {
+ "amount": {
+ "description": "Revenue amount.",
+ "type": "number"
+ },
+ "currency": {
+ "description": "Currency code.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "events": {
+ "description": "Valued events summed.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "amount",
+ "currency",
+ "events"
+ ],
+ "type": "object"
+ },
+ "revenue_by_currency": {
+ "description": "Same fields, one row per currency.",
+ "items": {
+ "additionalProperties": false,
+ "description": "Revenue.",
+ "properties": {
+ "amount": {
+ "description": "Revenue amount.",
+ "type": "number"
+ },
+ "currency": {
+ "description": "Currency code.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "events": {
+ "description": "Valued events summed.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "amount",
+ "currency",
+ "events"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "series": {
+ "description": "Event counts per bucket: `bucket` (string, YYYY-MM-DD of the day or week start in timezone), `event`, `count`.",
+ "items": {
+ "additionalProperties": false,
+ "description": "One bucket and event.",
+ "properties": {
+ "bucket": {
+ "description": "Bucket start date.",
+ "type": "string"
+ },
+ "count": {
+ "description": "Events in the bucket.",
+ "type": "integer"
+ },
+ "event": {
+ "description": "Event name.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "bucket",
+ "event",
+ "count"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "timezone": {
+ "description": "IANA time zone used for dates and buckets. UTC when none was passed.",
+ "type": "string"
+ },
+ "window": {
+ "additionalProperties": false,
+ "description": "Exact range read, after applying timezone.",
+ "properties": {
+ "from": {
+ "description": "First instant included.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "to": {
+ "description": "Last instant included.",
+ "format": "date-time",
+ "type": "string"
+ }
+ },
+ "required": [
+ "from",
+ "to"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "window",
+ "timezone",
+ "group_by",
+ "event_count",
+ "event_counts",
+ "revenue",
+ "revenue_by_currency",
+ "delivered",
+ "failed",
+ "pixels",
+ "blocked",
+ "field_presence",
+ "series"
+ ],
+ "type": "object"
+}