Url Fetch App Returning Partial Data

539 views
Skip to first unread message

Luke Anderson

unread,
Feb 16, 2017, 4:48:11 PM2/16/17
to AdWords Scripts Forum

Hi,

I am using Url Fetch App to retrieve data from a web page, however it is a very large document will a significant number of lines of html. This is circa 177,000 lines of html. When I push this into a text file on drive, it seems to get 90% through, however does not return all the data.

Is there a limit to the size of the document that Url Fetch App can return?

Thanks,

Paul Justine de Honor

unread,
Feb 16, 2017, 10:26:42 PM2/16/17
to AdWords Scripts Forum
Hi Luke,

You can find the UrlFetchApp limitations here. Also, here's another link for the AdWords Limitations.

Should you have other concerns, feel free to reach us and we'll be glad to assist you.

Thanks,
Paul Justine De Honor
AdWords Scripts Team

Luke Anderson

unread,
Feb 17, 2017, 4:05:01 AM2/17/17
to AdWords Scripts Forum
Hi Paul,

Thanks for the link. In Chrome debugging on network tools, the page I am trying to reach appears to be 380kb. I am performing a GET request with UrlFetchApp, and the data is being returned, however only partially. Is there any method I can use to check whether I will receive a full response? I would have thought the Fetch request would return a timeout error.

Also, which of these quotas related to the response size? Is URL length specifically the byte size of the URL string I am trying to request?

URL Fetch headers 100 / call 100 / call 100 / call 100 / call
URL Fetch header size 8kB / call 8kB / call 8kB / call 8kB / call
URL Fetch POST size 10MB / call 10MB / call 10MB / call 10MB / call
URL Fetch URL length 2kB / call 2kB / call 2kB / call 2kB / call

Thanks,

Joyce Lava (AdWords Scripts Team)

unread,
Feb 20, 2017, 12:04:11 AM2/20/17
to AdWords Scripts Forum
Hi Luke,

It seems that the question above will be better addressed by the Apps Script team instead. Please reach out to them through here.

Thanks,
Joyce Lava
AdWords Scripts Team
Reply all
Reply to author
Forward
0 new messages