Re: UploadOfflineConversion: How to send ConversionDateTime in click conversion

2024-07-11 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,

Please find the answers for your questions below:

1. Google Ads uses the Google Click Identifier (GCLID) to track clicks and 
associate them with conversions. While Google Ads does not store the GCLID 
itself in your account data, it uses the associated metadata, including 
timestamps, to determine when the click occurred.

2. Google Ads records the exact timestamp when a click occurs. This timestamp 
is in UTC (Coordinated Universal Time). When you upload a conversion, you 
provide a conversionDateTime. This value can be in any timezone, but it must be 
formatted correctly and should ideally be in UTC for consistency. If you 
provide a timezone offset, Google Ads will convert the conversionDateTime to 
UTC before comparing it with the click timestamp. If your conversion timestamp 
(2024-07-09 10:30:47+00:00) is correctly later than the click timestamp 
(2024-07-09 09:57:47+00:00), then there should be no CONVERSION_PRECEDES_EVENT 
error unless there was an issue with the timezone conversion or the recorded 
click timestamp. I would recommend you to kindly refer to the 
''conversion_date_time" guide for more detailed information.

In order to investigate your issue further, kindly provide us with the complete 
API logs (request and response logs with request-id and request header) 
generated at your end to better assist you further.

If you are using a client library and haven't enabled the logging yet, I would 
request you to enable logging for the specific client library that you are 
using. You can refer to the guides Java, .Net, PHP, Python, Ruby or Perl to 
enable logging at your end. For REST interface requests, you can enable logging 
via the curl command by using the -i flag.

You can send the details via Reply privately to the author option, or direct 
private reply to this email.
This message is in relation to case "ref:!00D1U01174p.!5004Q02a4A3A:ref" 
(ADR-00102574)

Thanks,

Google Ads API Team


Register for the upcoming workshop: Performance Max and the Google Ads API!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/49BlV0SGGW0I00deC9tTXZR1-nxlzyibwvbw%40sfdc.net.


Re: UploadOfflineConversion: How to send ConversionDateTime in click conversion

2024-07-11 Thread Vogels
Ok, two questions:

- How does Google Ads determine the time between a click (GCLID) and the 
conversionDateTime value (if it does not store GCLID like you mentioned) to 
generate a (partial failure) error like CONVERSION_PRECEDES_EVENT? What 
timestamp (or datetime value) does it use and does it use a timezone offset?
- I uploaded a conversionDateTime of "2024-07-09 12:30:47+02:00" (UTC time 
with GMT+2 timezone suffix) that resulted in a CONVERSION_PRECEDES_EVENT 
partial failure error. The click that resulted in this particular 
conversion happened approximately 33 minutes prior to the conversion at 
this datetime. Why did I get this error? If the conversionDateTime value 
was incorrect, what is the expected value? Either UTC time with a timezone 
suffix or local time (e.g. "2024-07-09 12:30:47" becomes "2024-07-09 
14:30:47+02:00" due to the the +2 hour offset) with a timezone offset of 
'+00:00' or +'02:00'?


On Tuesday 9 July 2024 at 22:01:34 UTC+2 Google Ads API Forum Advisor wrote:

> Hi,
>
> I would like to inform you that Google Ads does not store the click Ids. I 
> would recommend that you refer to your tagging setup to know the timezone 
> for the stored GCLIDS. I would also recommend that you try to upload with 
> the conversions with the same timezone that you find with the stored GCLID.
>   
>
>
> *This message is in relation to case "ref:!00D1U01174p.!5004Q02a4A3A:ref" 
> (ADR-00102574) Thanks,*
>   
> [image: Google Logo] *Google Ads API Team* 
> *Register 
>  for 
> the upcoming workshop: Performance Max and the Google Ads API!*
>  
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b5ad9622-3d4d-4dea-a65f-cfa8fc8cd652n%40googlegroups.com.


Re: UploadOfflineConversion: How to send ConversionDateTime in click conversion

2024-07-09 Thread Vogels
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 "-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 

 and 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: UploadOfflineConversion

2023-02-22 Thread Google Ads API and AdWords API Forum
Re-posting the last inquiry (
https://groups.google.com/g/adwords-api/c/RqXhmZHxRXs) from the forum as it 
wasn't routed to our support queue.

Regards,
Carmela
Google Ads API Team
On Wednesday, February 22, 2023 at 12:08:04 PM UTC+8 22834...@qq.com wrote:

> when I upload offline conversion encounters the following error
>
> The click associated with the given identifier or iOS URL parameter is 
> either too old to be imported or occurred before the conversion click 
> through lookback window for the specified combination of conversion date 
> and conversion action (default is 90 days)
>
> What does this mean? What should I do
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b23f9ceb-0ed3-4a65-8038-5fd804692f16n%40googlegroups.com.


Re: UploadOfflineConversion: How to send ConversionDateTime in click conversion

2022-04-17 Thread Ajit Trivedi
Hi,
What is the variable "conversion" in conversion.getDateTime().
Thanks


On Wednesday, June 23, 2021 at 10:46:27 PM UTC+5:30 Pete Lavetsky (AdWords 
API Guru) wrote:

> Hey Priya,
>
> We ran into this too and here's how we do it in Java:
>
> final String conversionDateTime = ZonedDateTime.of(conversion.getDateTime(), 
> ZoneId.of("UTC")).format(DateTimeFormatter.ofPattern("-MM-dd 
> hh:mm:ss")) + "+00:00"; // ignore the totaly hack tacked on at the end 
> https://bugs.openjdk.java.net/browse/JDK-8066806
>
> Hope that helps
> Pete
>
> On Wednesday, June 23, 2021 at 7:21:48 AM UTC-4 priya@bold.com wrote:
>
>> I am using the date in UTC or ETC/GMT which was working fine with adwords 
>> API, but according to the new google Ads API I get the below error.
>>
>> "The string date time's format should be -mm-dd hh:mm:ss+|-hh:m., at 
>> conversions[0].conversion_date_time"
>>
>> In adwords API, I used as below: 
>> ConversionDateTime= ConversionTime.Value.ToString("MMdd HHmmss") + " 
>> Etc/GMT"
>>
>> Please advise how to use this in google Ads API.
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5bbe124a-7e0a-41b1-adc5-0fc0d6e03545n%40googlegroups.com.


RE: UploadOfflineConversion: How to send ConversionDateTime in click conversion

2021-06-27 Thread Google Ads API Forum Advisor
Hi,

Adding the guide on how to upload your click conversions using the Google Ads 
API :

"The conversion_date_time must have a timezone specified, and the format is as 
-mm-dd hh:mm:ss+|-hh:mm, for example, 2019-01-01 12:32:45-08:00. The 
timezone can be for any valid value: it does not have to match the account's 
timezone."

I hope this helps. Should you encounter issues, you may provide the complete 
request and response logs, with the request-id. If you haven't yet, logging can 
be enabled by navigating to the Client libraries > Your client library (ex. 
Java) > Logging documentation, which you can access from this link.

You may then send the requested information via the Reply privately to author 
option. If this option is not available, you may send the details directly to 
our googleadsapi-supp...@google.com alias instead.

Best regards,

Peter Laurence Napa Oliquino
Google Ads API Team
ref:_00D1U1174p._5004Q2Iy1K6: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 
"AdWords API and Google Ads 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/CkJ9y0QVE6LB00BjQsYaU_TBea2Qt8_wgycQ%40sfdc.net.


Re: UploadOfflineConversion: How to send ConversionDateTime in click conversion

2021-06-24 Thread Priya Sharma
Thanks Pete!!

On Wednesday, June 23, 2021 at 10:46:27 PM UTC+5:30 Pete Lavetsky (AdWords 
API Guru) wrote:

> Hey Priya,
>
> We ran into this too and here's how we do it in Java:
>
> final String conversionDateTime = ZonedDateTime.of(conversion.getDateTime(), 
> ZoneId.of("UTC")).format(DateTimeFormatter.ofPattern("-MM-dd 
> hh:mm:ss")) + "+00:00"; // ignore the totaly hack tacked on at the end 
> https://bugs.openjdk.java.net/browse/JDK-8066806
>
> Hope that helps
> Pete
>
> On Wednesday, June 23, 2021 at 7:21:48 AM UTC-4 priya@bold.com wrote:
>
>> I am using the date in UTC or ETC/GMT which was working fine with adwords 
>> API, but according to the new google Ads API I get the below error.
>>
>> "The string date time's format should be -mm-dd hh:mm:ss+|-hh:m., at 
>> conversions[0].conversion_date_time"
>>
>> In adwords API, I used as below: 
>> ConversionDateTime= ConversionTime.Value.ToString("MMdd HHmmss") + " 
>> Etc/GMT"
>>
>> Please advise how to use this in google Ads API.
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/42c94d6e-61c5-4845-9dc8-3a3e389856d5n%40googlegroups.com.


Re: UploadOfflineConversion: How to send ConversionDateTime in click conversion

2021-06-23 Thread Pete Lavetsky (AdWords API Guru)
Hey Priya,

We ran into this too and here's how we do it in Java:

final String conversionDateTime = ZonedDateTime.of(conversion.getDateTime(), 
ZoneId.of("UTC")).format(DateTimeFormatter.ofPattern("-MM-dd 
hh:mm:ss")) + "+00:00"; // ignore the totaly hack tacked on at the end 
https://bugs.openjdk.java.net/browse/JDK-8066806

Hope that helps
Pete

On Wednesday, June 23, 2021 at 7:21:48 AM UTC-4 priya@bold.com wrote:

> I am using the date in UTC or ETC/GMT which was working fine with adwords 
> API, but according to the new google Ads API I get the below error.
>
> "The string date time's format should be -mm-dd hh:mm:ss+|-hh:m., at 
> conversions[0].conversion_date_time"
>
> In adwords API, I used as below: 
> ConversionDateTime= ConversionTime.Value.ToString("MMdd HHmmss") + " 
> Etc/GMT"
>
> Please advise how to use this in google Ads API.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/808ae4f9-c536-4302-bb64-2eb622e012c5n%40googlegroups.com.