Laura & Danial,
I am having the exact same problem. I did not change the date format for my
uploads and they suddenly started failing with the same message on 3/17. I
also do not include a time zone, but I will try that and let you know if
that's what my problem is.
Danial, I attached an example of my xml. We have spoken before about the
date format giving me errors and I haven't had any problems until 3/17.
-Austin
On Wednesday, March 19, 2014 5:15:14 AM UTC-4, Danial Klimkin wrote:
>
> Hello Laura,
>
>
> What is the API version you are using? Can you please send me exact XML
> request and the server response for this error *over email* ("Reply to
> author" button).
>
>
> -Danial, AdWords API Team.
>
>
> On Wednesday, March 19, 2014 12:55:46 AM UTC+4, Laura Gonzalez wrote:
>>
>>
>> Hello, I am using the adwords-php-lib and I was uploading offline
>> conversions few days ago and I was passing the date as "20140306 143017"
>> (just an example) just by doing $conversionTime->format('Ymd His').
>> According to the documentation, time zone is optional, if it's not passed
>> then it will set it as the one configured in my MMC account.
>>
>> It was working fine until few days ago, I started getting
>> DateError.INVALID_FIELD_VALUES_IN_DATE_TIME (I didn't change anything in my
>> code) and looking at the documentation I see the date formatting is
>> correct.
>>
>> https://developers.google.com/adwords/api/docs/reference/v201309/AdGroupCriterionService.DateError
>>
>> After a couple of hours trying to figure it out, I included the time zone
>> parameter to my request like this $conversionTime->format('Ymd His P')
>> which converts date as "20140306 143017 -08:00", and now it seems to work
>> just fine.
>>
>> I was wondering if something changed in the API side that made it
>> required. If it is, then shouldn't be updated in the documentation too?
>> Because I was relaying on it.
>>
>> Thank you.
>>
>> Laura Gonzalez.
>>
>
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.
<?xml version="1.0" encoding="UTF-8"?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Header>
<RequestHeader
xmlns="https://adwords.google.com/api/adwords/cm/v201309">
<userAgent>Mozilla/5.0 (AwApi-Java, AdWords-AppEngine/1.22.1,
Common-Java/1.22.1, JAX-WS/Unknown, Java/1.7.0, maven)</userAgent>
<developerToken>REDACTED</developerToken>
<clientCustomerId>REDACTED</clientCustomerId>
</RequestHeader>
</S:Header>
<S:Body>
<mutate xmlns="https://adwords.google.com/api/adwords/cm/v201309"
xmlns:ns2="https://adwords.google.com/api/adwords/o/v201309"
xmlns:ns3="https://adwords.google.com/api/adwords/mcm/v201309"
xmlns:ns4="https://adwords.google.com/api/adwords/ch/v201309"
xmlns:ns5="https://adwords.google.com/api/adwords/billing/v201309"
xmlns:ns6="https://adwords.google.com/api/adwords/rm/v201309">
<operations>
<operator>ADD</operator>
<operand>
<googleClickId>REDACTED</googleClickId>
<conversionName>Closed Won</conversionName>
<conversionTime>20140319 163224</conversionTime>
<conversionValue>1.0</conversionValue>
</operand>
</operations>
</mutate>
</S:Body>
</S:Envelope>