ETLMCPData Conveyance Works
Log in Start free
Glossary

extra.row_level (Google Ads)

What the values ad and campaign in extra.row_level mean on Google Ads rows, and which rows to keep for spend totals or ad analysis.

Coming This connector is coming.

extra.row_level tells you which grain a Google Ads row was read at. It holds one of two values: ad or campaign. An ad row is the performance of a single ad on one day. A campaign row holds spend, clicks, impressions and conversions for one campaign and one day that Google reported for the campaign but not for any of its ads. Add both kinds together and you get the campaign's full figures for that day; keep only ad rows and you get what the ads themselves account for. This applies once the Google Ads connector is available on your server.

Why there are two levels

Google's API has no ad groups and no ads for Performance Max campaigns: their creative lives in asset groups, so a report built on ads returns nothing for them. etlmcp therefore reads each stretch of days twice, once per campaign and once per ad, and compares the two.

How etlmcp fills the column

  • For every ad Google returns, etlmcp writes a row with row_level set to ad, with ad group, ad and the extra column ad_type filled in.
  • For each campaign and day, it subtracts the sum of that campaign's ad rows from the campaign's own figures. If anything is left over, it writes one campaign row holding only that leftover. The ad group and ad columns stay empty, and the extra column channel_type names the campaign's channel, such as PERFORMANCE_MAX.
  • A campaign with no ads at all, like Performance Max, gets its whole daily figures as a campaign row, unchanged.
  • A leftover is never negative. Tiny conversion differences caused by rounding are treated as zero, so they do not create rows.
  • Because Google can revise clicks, cost and conversions between the two reads, a leftover on a campaign type that does have ads only counts if a second campaign read still shows it. Each figure then uses the lower of the two campaign reads.

The result is that no spend is dropped and none is counted twice.

Using it in your table

In a CSV file or a PostgreSQL table the column is named extra.row_level, since extra fields get that prefix. Two common filters:

  • Account or campaign spend: keep every row. Filtering to ad would leave Performance Max and other leftovers out.
  • Ad or creative analysis: keep rows where extra.row_level is ad.

Microsoft Advertising rows use the same idea: its leftover rows also carry row_level set to campaign. Its ad rows leave the column empty, so when you mix both platforms, filter on campaign rather than on ad.

Related

Sources

  1. Performance Max reporting — developers.google.com, checked