Dear Google Ads API team,

when fetching data from `conversion_action` source (Google Ads API v9, 
using ruby gem v15.0.0), we noticed, that the timestamp format for 
metrics.conversion_last_received_request_date_time is inconsistent. The 
timestamp pattern is mixing "yyyy-MM-dd HH:mm:ss.SSS" and "yyyy-MM-dd 
HH:mm:ss" formats. Note, that this happens within the same report for the 
same account. In the documentation 
https://developers.google.com/google-ads/api/reference/rpc/v9/Metrics#conversion_last_received_request_date_time
 
I see for this specific column no timestamp pattern documented so far - 
however other (e.g. date) do have patterns documented. It would be great to 
document the timestamp pattern and also ensure that e.g. 
metrics.conversion_last_received_request_date_time returns consistently 
timestamps using a single pattern only.

Another inconsistency we noticed, is that for conversions where there is no 
metrics.conversion_last_received_request_date_time present, Google Ads API 
returns 1970-01-01 00:... timestamp. In Google Adwords API the Conversion 
service didn't return last_received_request_time if it had no value. I 
think it would make more sense if the Google Ads API would return `null` 
for metrics.conversion_last_received_request_date_time or do not return 
this column at all in the response if there is no 
metrics.conversion_last_received_request_date_time present . This column is 
an optional column according to 
https://github.com/googleapis/googleapis/blob/master/google/ads/googleads/v9/common/metrics.proto#L208
 
. The Google Ads API already behaves in a way, that it does not return 
optional columns in case the value is not present, see e.g. 
https://github.com/googleads/google-ads-ruby/issues/376 . I feel like there 
is an inconsistency for this case as well.

Best,

Robert

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/aa0479e0-836c-4f2b-9038-b13f3641b0d3n%40googlegroups.com.
  • In... Robert Heise
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Robert Heise
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to