Hi,

I also encountered an issue with *conversionDateTime* in the 
customers.uploadClickConversions 
call: 
https://developers.google.com/google-ads/api/reference/rpc/v17/ClickConversion?hl=en#conversion_date_time

The documentation states the value should be: The date time at which the 
conversion occurred. Must be after the click time. The timezone must be 
specified. The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, 
"2019-01-01 12:32:45-08:00".

I'm assuming the API expects a *UTC* date time (i.e. Date() or Date.now() 
in JavaScript, transformed to the string format) followed by a timezone 
offset suffix (e.g. '+02:00' for 'GTM+2'),  but the documentation does not 
explicitly state this. I tried sending a conversion with a 
conversionDateTime in UTC time including a '+02:00' timezone offset suffix 
(for Central European Summer Time) but received the following error:

"The imported event has a conversion_date_time that precedes the click. 
Make sure your conversion_date_time is correct and try again.",

Also, in what time does Google Ads store the *click* itself? Does it use 
the same format as *conversionDateTime*?

Thanks!

On Tuesday 19 April 2022 at 03:54:07 UTC+2 Google Ads API Forum Advisor 
wrote:

Hi Ajit,
 

Thanks for reaching out to the Google Ads API Support team.


With regards to this concern, to know more about *"variable "conversion" in 
conversion.getDateTime()." *in Google Ads API. You can check this 
documentation conversion_date_time 
<https://developers.google.com/google-ads/api/reference/rpc/v10/ClickConversion?hl=en#conversion_date_time>
 and Upload ClickConversion 
<https://developers.google.com/google-ads/api/docs/conversions/upload-clicks?hl=en#upload_clickconversion>
 for 
more information on this.
 

Let us know if you have further questions.


Regards,
[image: Google Logo] Darwin Google Ads API Team   

ref:_00D1U1174p._5004Q2a4A3A:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/beb2c923-9794-4b55-ba4c-bc13f72b193an%40googlegroups.com.
  • Re... Vogels
    • ... Vogels
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to