Re: Issue on Conversion Time which getting an error OfflineConversionError.CONVERSION_PRECEDES_CLICK

2015-03-04 Thread Marlon Haniff
FIXED

Conversions were reported back to my database with a time zone 3 hours 
behind me, hence the confusion of the click/conversion time span.  BTW, I 
used the same format below by including the Region/City after the date.

All the best,
Marlon

On Tuesday, March 3, 2015 at 7:35:25 PM UTC-5, Marlon Haniff wrote:

 Hi Josh,

 We are using a Ruby script and getting the following with API 
 version v201409:

 AdwordsApi::V201409::OfflineConversionFeedService::ApiException - 
 [OfflineConversionError.CONVERSION_PRECEDES_CLICK @ operations[0].operand]

 Our DATETIME_FORMAT = %Y%m%d %H%M%S America/New_York - is this correct?

 Also, we have only one conversion to report in the database which was 
 generated a couple weeks ago.  Over the last week of we have refreshed 
 tokens etc - could this be the reason?

 Thanks,
 Marlon


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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 Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a5a67914-2ddf-4e24-bb08-ddfba3a875b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Issue on Conversion Time which getting an error OfflineConversionError.CONVERSION_PRECEDES_CLICK

2015-03-03 Thread Marlon Haniff
Hi Josh,

We are using a Ruby script and getting the following with API 
version v201409:

AdwordsApi::V201409::OfflineConversionFeedService::ApiException - 
[DateError.INVALID_STRING_DATE_TIME @ operations[0].operand]

Our DATETIME_FORMAT = %Y%m%d %H%M%S America/New_York - is this correct?

Also, we have only one conversion to report in the database which was 
generated a couple weeks ago.  Over the last week of we have refreshed 
tokens etc - could this be the reason?

Thanks,
Marlon

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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 Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/9f70bddc-d476-4d77-9f6c-96fcf46cb92e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Issue on Conversion Time which getting an error OfflineConversionError.CONVERSION_PRECEDES_CLICK

2015-03-03 Thread Marlon Haniff
Hi Josh,

We are using a Ruby script and getting the following with API 
version v201409:

AdwordsApi::V201409::OfflineConversionFeedService::ApiException - 
[OfflineConversionError.CONVERSION_PRECEDES_CLICK @ operations[0].operand]

Our DATETIME_FORMAT = %Y%m%d %H%M%S America/New_York - is this correct?

Also, we have only one conversion to report in the database which was 
generated a couple weeks ago.  Over the last week of we have refreshed 
tokens etc - could this be the reason?

Thanks,
Marlon

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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 Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a334d337-89ae-468f-82cd-c02b723c8cbd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Issue on Conversion Time which getting an error OfflineConversionError.CONVERSION_PRECEDES_CLICK

2014-10-31 Thread Josh Radcliff (AdWords API Team)
Hi,

You do need to specify a timezone, but it does *not* have to be the 
timezone of the account (see the Importing Conversions guide 
https://developers.google.com/adwords/api/docs/guides/importing-conversions
).

In your particular case, the click occurred at:

2014-10-24 04:51:15 *GMT*

Your upload has conversion time:

2014-10-24 04:51:16 *Europe/Dublin*

Note that as of 2014-10-24 
http://www.timeanddate.com/time/zone/ireland/dublin, *Europe/Dublin* was 
*GMT+1:00*, which means the time you specified converts to the following in 
GMT (subtract an hour):

2014-10-24 03:51:16 *GMT*

Since that is 59 minutes 59 seconds *before* the click time, the API 
returns the CONVERSION_PRECEDES_CLICK error.

To resolve this, make sure that you are performing the proper conversions 
to the timezone you are using in your upload. Let me know if this doesn't 
help resolve the issue.

Thanks,
Josh, AdWords API Team

On Sunday, October 26, 2014 8:11:59 PM UTC-4, Joey Belarmino wrote:

 Hi Adwords API Team,

 I've read in a blog (
 http://www.ewanheming.com/adwords-api-offline-conversion-import) that the 
 conversion time - timezone should be the same as our Adwords Account 
 Timezone.
 I followed this and converted the datetime field to the adwords timezone 
 and when uploading through API added the timezone ID as per documentation 
 which is Europe/Dublin

 The ctcLookbackWindow settings is 90 and viewthroughLookbackwindow is 30 
 for the conversion name created. 

 Upon testing our script just today and trying to upload data from October 
 23rd, we are getting the 
 error OfflineConversionError.CONVERSION_PRECEDES_CLICK

 So it seems that the conversiontime timezone is incorrect. 

 Can you please help me in finding out what is wrong, our client Id is 
 766-238-4385, and here's a snapshot of the soap xml log:

  [Oct 26 2014 17:36:19.00 - ERROR] POST 
 /api/adwords/cm/v201406/OfflineConversionFeedService HTTP/1.1 
 

 Host: adwords.google.com
   
   
 

 Connection: Keep-Alive
   
 

 User-Agent: PHP-SOAP/5.4.32, gzip 
   
 

 Accept-Encoding: gzip, deflate
   
 

 Content-Encoding: gzip
   
 

 Content-Type: text/xml; charset=utf-8 
   
 

 SOAPAction: 
   
 

 Content-Length: 63926 
   
 

 Authorization: Bearer 
 ya29.qgBY0RCusI-Ln2fPa_jixEtk4R3DS6iWEULe3UKzUsTFAle9nzm2dIZY4DQ2LeqXQgs-B2t7nSgalw
   
  

   
   
 

 ?xml version=1.0 encoding=UTF-8?
   
 
 SOAP-ENV:Envelope xmlns:SOAP-ENV=
 http://schemas.xmlsoap.org/soap/envelope/; xmlns:ns1=
 https://adwords.google.com/api/adwords/cm/v201406
 

   SOAP-ENV:Header   
   
 

 ns1:RequestHeader