ETLMCPData Conveyance Works
Log in Start free
Guides

Meta's extra.actions.* and extra.action_values.* columns

Every Meta action type, from leads to add-to-carts, lands in its own extra.actions or extra.action_values column. How to read them without double counting.

Coming This connector is coming.

When the Meta connector is available, your Meta table holds every action type Meta reports, not only purchases. Each action type becomes two columns: extra.actions.<type> for the count and extra.action_values.<type> for the value, such as extra.actions.lead or extra.action_values.omni_add_to_cart. Only omni_purchase fills the common conversions and conversion_value columns. The types overlap, so read one type per question and never add types together.

Where the columns come from

When the connector is available, etlmcp asks Meta's insights report for two list fields, actions and action_values, on every ad and every day. Meta groups these lists by action type: the Insights API Breakdowns page says action_type is the breakdown Meta applies when a request names none, and etlmcp names none. Each entry in the list is one action type with its number.

etlmcp then turns each entry into a field of the row. A lead count reported by Meta as the type lead becomes actions.lead, and its value becomes action_values.lead. Anything that is not one of the common columns is kept under extra, so in a CSV file, a PostgreSQL table or a webhook payload you see it as extra.actions.lead and extra.action_values.lead.

The common columns are fixed. conversions is the count of omni_purchase, and conversion_value is its value, both 0 when Meta lists no omni_purchase entry; the row's currency column names the currency. Every other type, including leads, registrations, add-to-carts, checkouts and app installs, lives only in its own extra column. If your campaigns optimize for leads, conversions will often be 0 while extra.actions.lead has your numbers.

Why you must never add types together

Meta's action types form a hierarchy. The Breakdowns page warns that the entries under actions are hierarchical, so detailed actions sit inside broader ones. Its example nests link clicks, comments, likes and reactions inside post_engagement. Adding post_engagement to link_click counts the same clicks twice.

The same holds for conversions. Meta's Ads Action Stats reference keeps a separate list of grouped action types next to the specific ones:

Grouped type Meta's description
omni_purchase purchases
omni_add_to_cart adds to cart
omni_complete_registration completed registrations
omni_initiated_checkout checkouts started
lead offsite leads plus leads on Facebook
onsite_conversion.lead_grouped all leads on Facebook
leadgen_grouped leads on Facebook from Messenger and Instant Forms

By these descriptions, an Instant Form lead counts in leadgen_grouped, again in onsite_conversion.lead_grouped and again inside lead. Pick the one column that answers your question, usually a grouped type, and use it alone. etlmcp's connector is built on the same rule: it reads omni_purchase alone for conversions and sums nothing across types.

A missing column means nothing was reported

A row carries an action column only when Meta's list for that ad and day includes the type. When the list has no lead entry, the row has no extra.actions.lead value: etlmcp writes no zero into an action column that Meta did not send. Only conversions and conversion_value fall back to 0.

How that looks depends on where your rows go:

  • In a CSV export, the columns are every field that appears in any row of that run. A row without the type has an empty cell.
  • In PostgreSQL, etlmcp adds a column to a table it created the first time a type appears, and leaves it empty on rows that lack it. The PostgreSQL destination page explains how long column names are shortened.

If a column you expect is absent from a whole export, Meta reported none of that action for those ads and days. Treat an empty cell as zero when you total a column, not as missing data.

Attribution

etlmcp's Meta connector requests no attribution windows and no unified attribution setting, so every action column will hold Meta's default. The Ads Action Stats reference describes an entry's value as the figure for the default attribution window, with other windows, such as 7d_click or 1d_view, returned only when asked for. etlmcp does not ask for them, so per-window columns do not appear in your table. Numbers can therefore differ from an Ads Manager view set to another window; the Meta sync page explains this choice.

Working with the columns

  • Find the types you have by listing the column names that start with extra.actions. in your table or export.
  • In SQL, the dotted names need double quotes in PostgreSQL, for example "extra.actions.lead".
  • To give one type a shorter name, a transform's rename rule can move an extra column; see transforms.
  • To ask an assistant about them, use query_data, and name the exact column you mean.

The full list of common fields and where each Meta figure comes from is on the Meta connector page.

Related

Sources

  1. Ads Action Stats — developers.facebook.com, checked
  2. Insights API Breakdowns — developers.facebook.com, checked