|
||||||
If there is no conversion_last_received_request_date_time tracked, instead of NULL, Google Ads API returns the UNIX epoch timestamp in the account’s timezone! See https://developers.google.com/google-ads/api/reference/rpc/v9/Metrics#conversion_last_received_request_date_time the "The date/time is in the customer's time zone.".
So an account in timezone 'Europe/Amsterdam', turns the epoch timestamp already on Google side from 1970-01-01 00:00:00 UTC to 1970-01-01 01:00:00 CET. An account in America/New_York timezone gets 1969-12-31 19:00:00 ! This feels really weird and doesn't allow simply filtering a single timestamp value so we get it replaced by NULL to resemble the old (in my opinion more correct) behavior.
I think this is an even stronger argument to follow the approach already applied for other optional fields in the Google Ads API (not providing the field in the response if the value is not set like in the example https://github.com/googleads/google-ads-ruby/issues/376 - instead of a pseudo-NULL value like in case of this timestamp).
Thanks,
Robert