Questions about last_change_date_time in change_status

47 views
Skip to first unread message

wangdon...@gmail.com

unread,
Sep 27, 2020, 1:31:40 AM9/27/20
to AdWords API and Google Ads API Forum
Hi,

I have 2 questions here about last_change_date_time in change_status.
  1. Does it support timezone?
    From my local test, I can not specify the timezone with my query, and it looks like the service uses the timezone of the queried account by default. 
    If that is the case, it may be inconvenient if I want to query based on UTC or some other timezone. 
    However, AdWords API supports timezone in the query towards CustomerSyncService. 
    Is it possible to support timezone in change_status query? 

  2. Does it support the Time part like "2020-09-26 01:23:45"?
    From my local test, it does, and I can specify the concrete date and time in query and get concrete date and time from response. 
    However, from the API description, it looks like that the data type is DATE. 
    Can you please help clarify about that? 
Thank you.

Best,
Dongqi

Google Ads API Forum Advisor Prod

unread,
Sep 28, 2020, 3:59:01 PM9/28/20
to wangdon...@gmail.com, adwor...@googlegroups.com
Hi Dongqi,

1. The reports will return to you in your account's timezone.

2. Yes, that is possible.

Regards,
Anthony
Google Ads API Team

Google Logo
Anthony
Google Ads API Team
 


ref:_00D1U1174p._5004Q25XEPH:ref

cv

unread,
Dec 31, 2020, 8:07:41 AM12/31/20
to AdWords API and Google Ads API Forum
Hi,

last_change_date_time is followed based on timezone of account,

So how I need to relate it with account? 

Should I consider date written 2020-12-17 20:55:14.077551 as yyyy-MM-dd HH:mm:ss.microseconds ?


Thanks,





Google Ads API Forum Advisor Prod

unread,
Dec 31, 2020, 4:14:38 PM12/31/20
to chirag....@gmail.com, adwor...@googlegroups.com

Hi,

Thank you for reaching out. Yes, it’s correct. This datetime instance is based on the timezone of the account. In the datetime module, the smallest unit is microsecond so in your case you could read it as 14.077551 seconds or 14077551 microseconds.

Thanks and regards,
Xiaoming, Google Ads API Team

 

Google Logo
Xiaoming
Google Ads API Team
 


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