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.000000 - 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>                                                       
>                                                                               
>                                                 
>
>       <ns1:clientCustomerId>766-238-4385</ns1:clientCustomerId>               
>                                                                               
>                                                 
>
>       <ns1:developerToken></ns1:developerToken>                               
>                                                                               
>                           
>
>       <ns1:userAgent>AwApi-PHP/5.5.0, Common-PHP/5.5.0, 
> PHP/5.4.32)</ns1:userAgent>                                                   
>                                                              
>
>     </ns1:RequestHeader>                                                      
>                                                                               
>                                                 
>   </SOAP-ENV:Header>            
>
>
> <ns1:operations>                                                              
>                                                                               
>                                           
>
>         <ns1:operator>ADD</ns1:operator>                                      
>                                                                               
>                                                 
>
>         <ns1:operand>                                                         
>                                                                               
>                                                 
>
>           <ns1:googleClickId>COTv5PK-xMECFeVaMgodjCUAlg</ns1:googleClickId>   
>                                                                               
>                                                 
>
>           <ns1:conversionName>dealsfound</ns1:conversionName>                 
>                                                                               
>                                                 
>
>           <ns1:conversionTime>20141024 045116 
> Europe/Dublin</ns1:conversionTime>                                            
>                                                                               
>   
>
>           <ns1:conversionValue>0</ns1:conversionValue>                        
>                                                                               
>                                                 
>
>         </ns1:operand>                                                        
>                                                                               
>                                                 
>       </ns1:operations>                  
>
>
> Thank you !
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1daed5a7-c43c-41f5-acde-b5109bd7d4f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to