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 det

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 u

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

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(con

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

Re: UploadOfflineConversion: How to send ConversionDateTime in click conversion

2021-06-23 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(DateTimeFo

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.ope

UploadOfflineConversion: How to send ConversionDateTime in click conversion

2021-06-23 Thread Priya Sharma
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: Conversio