ETLMCPData Conveyance Works
Log in Start free
Compare

Currency handling across ad platforms, GA4 and Shopify

Ad accounts, GA4 properties and Shopify stores each report money in their own currency. What each one uses, and why etlmcp never mixes them silently.

Every source you connect reports money in a currency of its own. An ad platform reports spend and conversion value in the ad account's currency. GA4 reports revenue in the property's currency, converting whatever currency each purchase was sent in. Shopify gives every order amount twice, in the store's currency and in the currency the shopper paid in. etlmcp keeps each figure in the currency its source reported and writes that currency on every row. It converts nothing until you add an fx rule to the pipeline, so a total across a euro account and a dollar account is only right once you convert or group by currency.

Side by side

Source Which currency the figures are in Worth knowing
Google Ads The account's currency, one of the ISO 4217 codes Google accepts Google's field reference marks the account currency as immutable
Meta The ad account's currency The insights endpoint lists it as the account_currency summary field
GA4 The property's reporting currency, US dollars unless you choose another Changing the reporting currency converts the property's past data too
Shopify Each amount in the store's base currency and in the presentment currency the customer used Each order records the store currency in force when it was placed

Ad platforms

Two ad accounts on the same platform can therefore be in two currencies, and a report that rolls up several accounts adds unlike amounts unless you split it by currency. For the Google Ads case in detail, see account currency and time zone; LinkedIn's own split between local currency and US dollars is covered in LinkedIn local currency vs USD.

GA4

A GA4 property reports every money figure, such as purchase revenue, tax and shipping, in one reporting currency. A site that sells in several currencies can send a local currency code with each purchase, and Google Analytics converts it into the reporting currency at the exchange rate of the day before the transaction. Changing the reporting currency restates the whole history in the new one, which matters for any copy you stored earlier: see changing a GA4 property's currency.

Shopify

Shopify's Order object has two currency codes. currencyCode is the store's currency at the time the order was placed, and presentmentCurrencyCode is the currency the customer saw and paid in, which differs when you sell internationally with local pricing. Every amount field, such as the order total, is a money bag holding both: a shop amount and a presentment amount. Shopify order totals explains which of the amounts a revenue figure uses.

What etlmcp delivers

Every delivered row has a currency column next to cost and conversion_value, so a table always says what its amounts are in. The figures are filled this way:

  • Ad platforms. cost and conversion_value are in the ad account's own currency, never converted. For Google Ads, cost is the platform's micro amount divided by one million, still in the account currency. The row's currency comes from the platform's report or account details: Google's account currency code, Meta's account_currency, Microsoft Advertising's CurrencyCode, and the account currency on TikTok and Pinterest. For Meta, Microsoft Advertising, TikTok and Pinterest, a row whose currency cannot be found fails the run rather than storing unlabelled money.
  • GA4. GA4 reports no ad cost, so cost and conversion_value stay empty. Revenue lands in extra.revenue as purchase revenue minus refunds, in the property's currency. The currency code is read from each report; a report without a valid three-letter code is treated as unreadable and tried again.
  • Shopify. Every amount is the shop amount, in the store's currency. Presentment amounts are not read. If one order holds amounts in two store currencies, or the store currency changed partway through a day, the sync fails with shopify returned an order in more than one store currency or this store's currency changed during a day; its orders cannot be added rather than adding the two together.

Getting one total

etlmcp does not look up exchange rates. You have two ways to report across currencies:

  1. An fx rule in the pipeline. You give the target currency and a rate per source currency, and the rule multiplies the column you name and sets the row's currency to the target. Converting cost also converts cpc, cpm and cpa, but conversion_value and extra.revenue each need their own rule. The rates are fixed numbers in the rule, so every day of a sync uses the same rate. The fx rule page covers its shape, where it goes in the rule list and its errors.
  2. Conversion in your own queries. Keep the currency column and join each row to a daily rate table in your warehouse, or group by currency and never add amounts across it.

Either way, convert before you add anything up. A group rule sums cost and conversion_value without looking at currency, and once a rule drops the currency column, a later fx rule with rates is refused when you save it, because the amounts' currency is no longer known.

A ratio such as ROAS, conversion value over cost, is only meaningful when both amounts are in one currency. On an ad platform row they already are. When you compare GA4 or Shopify revenue against ad spend, check that the property or store currency matches the ad account's, or convert one side first.

Related

Sources

  1. Currency reference — support.google.com, checked
  2. Order - GraphQL Admin — shopify.dev, checked
  3. MoneyBag - GraphQL Admin — shopify.dev, checked
  4. Customer — developers.google.com, checked
  5. Ad Account, Insights — developers.facebook.com, checked