Response Code

174 views
Skip to first unread message

ComputerBob

unread,
Dec 10, 2012, 11:58:45 AM12/10/12
to adwords...@googlegroups.com
Is it possible to get a 302 response code back? All my pages that have a 302 redirect come back as 200.  The full UrlFetch class has doNotFollowRedirect() but it dosen't seem to work in UrlFetchApp?

Any advice?

Kevin Winter (AdWords Scripts Team)

unread,
Dec 13, 2012, 5:41:37 PM12/13/12
to adwords...@googlegroups.com
Hi,

Apps Script isn't backed by appengine, so this option isn't available.  What are you trying to accomplish?

- Kevin Winter
AdWords Scripts Team

ComputerBob

unread,
Dec 17, 2012, 11:51:26 AM12/17/12
to adwords...@googlegroups.com
Hey Kevin

I am trying to pause keywords with destination urls that have a response code of 302.  It seems as though the urlfetchapp will return 302s as 200.  As a fix I am just outputting the destination url to a Google Spreadsheet checking them with my own php script, then pausing the redirects.  We have a over 50,000 keywords. We are a dedicated support customer.

Thanks
Reply all
Reply to author
Forward
0 new messages