Skip to content

DateError.INVALID_STRING_DATE_TIME #234

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
hiakong opened this issue Feb 10, 2017 · 1 comment
Closed

DateError.INVALID_STRING_DATE_TIME #234

hiakong opened this issue Feb 10, 2017 · 1 comment
Assignees

Comments

@hiakong
Copy link

hiakong commented Feb 10, 2017

when I run the example code that UploadOfflineConversions.php , then occur the below errors. What is the right "CONVERSION_TIME" ?
then I use the below date string ,then error also.
"2017-02-8 13:00:00+0500" 、
"2017-02-8 13:00:00 America/Los_Angeles"、
So,How is the right date string? thanks

Fatal error: Uncaught exception 'Google\AdsApi\AdWords\v201609\cm\ApiException' with message 'DateError.INVALID_STRING_DATE_TIME @ ; trigger:'2017-02-08 13:00:00 America/Los_Angeles'' in /home/wwwroot/default/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php:39 Stack trace: #0 /home/wwwroot/default/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php(39): ReflectionClass->newInstanceArgs(Array) #1 /home/wwwroot/default/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/AdsSoapClient.php(162): Google\AdsApi\Common\Util\Reflection->createInstance('Google\AdsApi\A...', 'DateError.INVAL...') #2 /home/wwwroot/default/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/AdsSoapClient.php(126): Google\AdsApi\Common\AdsSoapClient->parseApiExceptionFromSoapFault(Object(SoapFault)) #3 /home/wwwroot/default/vendor/googleads/googleads-php-lib/src/Google/AdsApi/AdWords/v201609/cm/OfflineConversionFeedService.php(88): Google\AdsApi\Common\AdsSoapClient->__soapCal in /home/wwwroot/default/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php on line 39

@hiakong hiakong closed this as completed Feb 10, 2017
@hiakong
Copy link
Author

hiakong commented Feb 10, 2017

https://developers.google.com/adwords/api/docs/appendix/codes-formats#date-and-time-formats ,I use the time like '20170209 145008 Asia/Shanghai' but the error is occur

@fiboknacky fiboknacky self-assigned this Feb 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants