Sometimes the request to google adwords server gets much long time to response.

45 views
Skip to first unread message

Chathurangika Premarathna

unread,
Dec 17, 2019, 11:00:02 PM12/17/19
to AdWords API and Google Ads API Forum
I am using a test client account to do API calls. And the connections are tested in the local environment. Sometimes the requests from my application to the google adword server spends much long time to get the response. Once it get 37 minutes to complete the request. But sometimes it finished with 5 - 6 seconds. I could not find any reason for this. Even I have done some configurations such as change the timeout time and disable soap wsdl caching, as shown below. 

soap.wsdl_cache_enabled=0
default_socket_timeout = 180 

But the time taken to the request as same as. I need to know the reason for this and as well as the solution.

Google Ads API Forum Advisor Prod

unread,
Dec 18, 2019, 10:41:36 AM12/18/19
to chath...@gmail.com, adwor...@googlegroups.com

Hi Chathurangika,

Thanks for reaching out.This delay in response could be an intermittent issue. Could you send us the complete SOAP request and response logs for us to further investigate? 

Thanks and regards,
Xiaoming, Google Ads API Team



 

ref:_00D1U1174p._5001UOEnfQ:ref
Message has been deleted

Google Ads API Forum Advisor Prod

unread,
Dec 19, 2019, 4:34:33 PM12/19/19
to chath...@gmail.com, adwor...@googlegroups.com

Hi Chathurangika,

By looking into your request and the response I found the responseTimes are in normal range. I noticed you encountered the ImageError.UNEXPECTED_SIZE which could be the cause for the delay. The image that you're uploading needs to match one of the dimensions or a variation of that dimension outlined in this guide



Thanks and regards,
Xiaoming, Google Ads API Team



 

ref:_00D1U1174p._5001UOEnjh:ref

Chathurangika Premarathna

unread,
Dec 23, 2019, 12:22:35 AM12/23/19
to AdWords API and Google Ads API Forum

Here I am getting validations of image Ads in return. The number of images sending is vary. I have uploaded file shows my code.

 


 

ref:_00D1U1174p._5001UOEnjh:ref
validateImagesCode

Google Ads API Forum Advisor Prod

unread,
Dec 23, 2019, 3:30:09 PM12/23/19
to chath...@gmail.com, adwor...@googlegroups.com

Hi Chathurangika,

You are getting ImageError.UNEXPECTED_SIZE error and this error occurs when the images you're uploading do not match one of the dimensions or a variation of that dimension outlined in this guide. Please let me know if you have any further questions.



Thanks and regards,
Xiaoming, Google Ads API Team

 


 

ref:_00D1U1174p._5001UOEnjh:ref
Reply all
Reply to author
Forward
0 new messages