ETLMCPData Conveyance Works
Log in Start free
Guides

Pinterest API days are UTC days, not your account's days

Pinterest report days in etlmcp are UTC days. Ads Manager shows local time once an account has a time zone, so switch it to UTC before you compare.

Coming This connector is coming.

Every Pinterest day in etlmcp is a UTC day, midnight to midnight in Coordinated Universal Time. Pinterest Ads Manager, by contrast, can show reporting in your ad account's local time zone once one has been added. If your daily spend in etlmcp does not match Ads Manager day by day, the time zone is the first thing to check: set the reporting dashboard's time zone control to UTC and compare again.

What Pinterest's reporting API does

Pinterest's API reference describes the report start and end dates as UTC dates. A report request can also name a reporting time zone, with two choices:

  • PINTEREST_TIME_ZONE, which is UTC. It is the default when a request names none.
  • AD_ACCOUNT_TIME_ZONE, the time zone set on the ad account. It works only when the account has one: for an account without a time zone, the request is refused with HTTP 400.

The API reference adds two details about the account time zone. Pinterest needs one to two months to backfill historical data in the local time zone after you add it, and billing and order lines stay in UTC either way.

What Ads Manager shows

In Ads Manager, reporting in your local time zone becomes available once you have added one to the ad account in Business Manager (the account's settings, under Ad accounts). The reporting dashboard has a time zone control at the top right that switches between your local time zone and UTC.

What etlmcp does

When the Pinterest connector is available, etlmcp asks every report for PINTEREST_TIME_ZONE, so each row's date is the UTC day Pinterest put the activity on. It does not ask for the account's time zone, because that request fails outright for an account that has none. The account picker shows the ad account's time zone next to its currency when Pinterest returns one, but the reports do not use it.

A scheduled sync works out its last day from the pipeline's own time zone, then the Pinterest connector cuts that range off at today in UTC. A pipeline set to a time zone ahead of UTC can reach a local day that has not started in UTC yet; Pinterest has no rows for that day, so none are asked for. Each routine sync pulls the last 7 days again, so a UTC day that was still open at the last sync is filled in later. See the pipeline schedule and the trailing window.

How the shift shows up in your numbers

Take an account set to US Pacific time. During standard time, midnight UTC is 4 p.m. the day before in Los Angeles, so evening spend on Monday local time lands on Tuesday's row in etlmcp. Each day in your table differs from the local day in Ads Manager, yet the sum over a long range is nearly the same: the shift only moves activity across the edges of the range.

You cannot turn UTC daily rows into local days after the fact, because a day's row holds no hours. Work in UTC days instead.

Comparing etlmcp with Ads Manager

  1. In Ads Manager, open reporting for the ad account and set the time zone control to UTC.
  2. Pick the same dates you have in your table, at the ad level if you can, since etlmcp's rows are per ad per day.
  3. Compare day by day. If UTC days still differ, recent days may not be final yet, or the conversion settings may differ: see when Pinterest data is final and the Pinterest connector.

Related

Sources

  1. Pinterest REST API (OpenAPI description, version 5.32.0) — raw.githubusercontent.com, checked
  2. Review reporting — help.pinterest.com, checked