2

Facebook's Ads Insights API returns date_start and date_stop but since they're date objects I can't tell what time zone was used to demarcate the dates. Is it using Facebook's API timezone which they've mentioned to be PT (UTC -8) or is it according to the AdAccount's time zone as I've found mentions of the account's time zone in the Ads Insights API documentation.

kartikluke
  • 2,375
  • 1
  • 19
  • 32

2 Answers2

9

The Facebook API does not have the ability to specify a time zone. The time zone is defined at the advertising account level in the settings. Api adopts and returns a date range based on these settings.

Navegante
  • 186
  • 1
  • 2
0

The time zone used for the insights will be that of the advertiser account set on account creation. You can find out the ad account's time zone with the field AdAccount.timezone_id. There's a list of timezone IDs on this docs page.

sleighty
  • 895
  • 9
  • 29