# Google-Apps-Script

> Google-Apps-Script fetches external URLs and APIs for user-created scripts that call the UrlFetchApp service. User-triggered fetchers ignore robots.txt.

Canonical: https://promptlyfound.com/crawlers/google-apps-script
Updated: 2026-11-24

## Short answer

Google-Apps-Script fetches external URLs and APIs for scripts that users write in Google Apps Script with the UrlFetchApp service. Each request carries the ID of the script. **A robots.txt rule does not stop it, because Google says user-triggered fetchers ignore robots.txt rules.** To report abusive requests, Google asks for the full user agent string, the source IP address and the timestamp.

## Key findings

- Google Apps Script fetches external URLs and APIs on behalf of user-created scripts that call the UrlFetchApp service across Google Workspace. [1]
- Google says user-triggered fetchers generally ignore robots.txt rules, because a user requested the fetch. [1]
- To report abusive requests, Google asks for the full user agent string with id: SCRIPT_ID, the source IP address and the timestamp. [1]
- Google lists three IP files for user-triggered fetchers and does not say which one Apps Script uses. [2]

## What blocking it does

Google's [list of user-triggered fetchers](https://developers.google.com/crawling/docs/crawlers-fetchers/google-user-triggered-fetchers) says Google Apps Script fetches external URLs and APIs for user-created scripts. These scripts call the UrlFetchApp service across Google Workspace.[1]

To report abusive requests, Google points to its Report suspected abuse on Google Cloud form. Include the full user agent string with `id: SCRIPT_ID`, the source IP address and the timestamp.[1]

## robots.txt rules

Google says user-triggered fetchers generally ignore robots.txt rules, because a user requested the fetch.[1] Its guide to verifying requests says these fetchers ignore robots.txt rules.[2] Google publishes no robots.txt token for them. A group like this one has no documented effect:

```
User-agent: Google-Apps-Script
Disallow: /
```

## Verify a request

The user agent is `Mozilla/5.0 (compatible; Google-Apps-Script; beanserver; +https://script.google.com; id: SCRIPT_ID)`.[1] Google's guide to [verifying requests from Google](https://developers.google.com/crawling/docs/crawlers-fetchers/verify-google-requests) lists three IP files for user-triggered fetchers. It does not say which file Apps Script uses. Fetchers that Google controls resolve to google.com names. Addresses in [user-triggered-fetchers.json](https://developers.google.com/static/crawling/ipranges/user-triggered-fetchers.json) resolve to gae.googleusercontent.com names.[2] [3]

## Sources

1. List of Google user-triggered fetchers. Google for Developers, 2026-11-23. https://developers.google.com/crawling/docs/crawlers-fetchers/google-user-triggered-fetchers
2. Verify requests from Google crawlers and fetchers. Google for Developers, 2026-11-23. https://developers.google.com/crawling/docs/crawlers-fetchers/verify-google-requests
3. user-triggered-fetchers.json. Google for Developers. https://developers.google.com/static/crawling/ipranges/user-triggered-fetchers.json

---

This is a plain-text copy of https://promptlyfound.com/crawlers/google-apps-script from Promptly Found. The web page is the canonical version and includes the charts.
