transaction date time

30 views
Skip to first unread message

Milad Shaddelan

unread,
Jan 25, 2021, 1:45:23 PM1/25/21
to AdWords API and Google Ads API Forum
Hi,

It is a bit unclear on transaction_attribute.transaction_date_time. My timezone is Central, if a transaction happened at "2018-02-01 14:00:00" Eastern time, should I have something like this?  "2018-02-01 14:00:00+01:00"

Thanks a lot.

Sincerely,
Milad

Google Ads API Forum Advisor Prod

unread,
Jan 26, 2021, 1:12:42 PM1/26/21
to milad.s...@sleepnumber.com, adwor...@googlegroups.com
Hi Milad,

Yes, that is correct. Please note that transaction_date_time will default to the account's timezone. This is also discussed in a comment in the store sales direct upload code example:
 
// Specifies the date and time of the transaction. This date and time will be
// interpreted by the API using the Google Ads customer's time zone.
// The date/time must be in the format "yyyy-MM-dd hh:mm:ss".
.setTransactionDateTime("2020-05-14 19:07:02")

Regards,
Matt
Google Ads API Team

Google Logo
Matt
Google Ads API Team
 


ref:_00D1U1174p._5004Q2B3DNa:ref
Reply all
Reply to author
Forward
0 new messages