アドオンの種類
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
このページでは、Google Workspace アドオンとエディタ用アドオンの 2 種類のアドオンの概要について説明します。これらのアドオン タイプは、拡張するアプリケーション、作成方法、制限事項が異なります。
Google Workspace アドオン
Google Workspace アドオンは最新世代のアドオンであり、次のような多くの機能を提供します。
複数の Google Workspace アプリ用の 1 つのアドオンを構築する: 各 Google Workspace アプリケーション用に個別の Google Workspace アドオンを作成するのではなく、Google Workspace 全体で動作する単一の Google Workspace アドオンを構築して管理できます。Google Workspace アドオンは、次のホスト アプリケーションを拡張できます。
- Gmail
- Google カレンダー
- Google Chat(デベロッパー プレビュー)
- Google ドキュメント
- Google ドライブ
- Google Meet
- Google スプレッドシート
- Google スライド
ブランド認知度を高める: アドオンのアイコンは、アドオンのホストアプリの右側のパネルにデフォルトで表示されます。
ホームページ エクスペリエンスを構築する: アドオンが拡張する Google Workspace アプリごとに個別のホームページを作成したり、複数のアプリで同じホームページを使用したりできます。
ユーザーのコンテキストをアドオンに反映する: アドオンのホストアプリに固有のインターフェースを表示するように Google Workspace アドオンを設計できます。たとえば、メールやカレンダーの予定の情報を表示したり、現在の Google Workspace アプリのページに基づいてアクションを提案したりできます。
標準化されたインターフェースを使用する: Apps Script の Card
サービスによって提供される組み込みウィジェット要素からユーザー インターフェースを構築します。これらのインターフェースを定義するのに、HTML や CSS の専門知識は必要ありません。
Gmail のパソコン版とモバイル版のクライアントを拡張する: Google Workspace アドオンが Gmail を拡張する場合、Gmail のパソコン版とモバイル版の両方で使用できます。Gmail を拡張する Google Workspace アドオンを構築する場合、アドオンのモバイル バージョンを別途設計する必要はありません。同じインターフェースがどこでも使用されます。
優先するランタイムを使用します。Google Workspace アドオンは、お好みのホスティング インフラストラクチャ、開発ツールチェーン、ソース管理システム、コーディング言語、コード ライブラリを使用して開発できます。
エディタのアドオン
エディタ アドオンは、Google エディタ アプリケーション(ドキュメント、スプレッドシート、スライド、フォームなど)のいずれかを拡張します。各エディタ アドオン タイプ(スプレッドシート アドオンなど)には、タイプ固有の機能、制限事項、特別な考慮事項がそれぞれあります。エディタ用アドオンを構築する際は、エディタ固有のこれらの詳細を理解することが重要です。特定のエディタのアドオンについて詳しくは、該当するセクションをご覧ください。
エディタ アドオンは、ファイルの作成、編集、書式設定、アプリケーション間のデータの移動など、一般的なエディタ タスクを自動化できます。エディタ アドオンのインターフェースは、手元のタスクに合わせて高度にカスタマイズできます。
エディタ用アドオンは、Google ドキュメント、スプレッドシート、スライド、フォーム内のタスクを自動化して、個人または社内で使用する場合に最適です。多数のユーザーを処理する必要がある大規模な機能、低レイテンシが必要な機能、インフラストラクチャの完全な制御が必要な機能を含むアドオンの場合は、インフラストラクチャ、デプロイ、リリース プロセスをより適切に制御するために、別のランタイム環境で Google Workspace アドオンを構築することを検討してください。
エディタ アドオンは、次の点で Google Workspace アドオンとは動作が異なります。
- エディタ アドオンは、メニュー項目、ダイアログ、サイドバーで構成されるインターフェースを作成できます。アドオンのダイアログとサイドバーは、標準の HTML と CSS を使用して定義されます。
- エディタ用アドオンは、Google ドライブ内のファイルを作成、変更、操作するため、特別な承認ルールが適用されます。エディタ用アドオンを開発する際は、エディタ用アドオンの認証を理解しておくことが重要です。
- 各エディタで作成および更新されたファイルには、特定の構造があります。たとえば、Google スライドのプレゼンテーションは、スライド、マスター、レイアウトなどのページで構成されています。アドオンはファイルの読み取りや編集の際にこれらのファイル構造とやり取りすることが多いため、これらのファイル構造を理解しておく必要があります。
- エディタ アドオンはパソコン クライアントでのみ機能し、Android や iOS では機能しません。
- エディタ用アドオンは Apps Script で実装する必要があります。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-08-26 UTC。
[null,null,["最終更新日 2025-08-26 UTC。"],[[["\u003cp\u003eGoogle Workspace add-ons offer a unified solution, extending functionalities across multiple Google Workspace applications like Gmail, Calendar, and Docs with a single add-on.\u003c/p\u003e\n"],["\u003cp\u003eEditor add-ons focus on enhancing specific Google Editors (Docs, Sheets, Slides, Forms) with custom interfaces and automation capabilities but are limited to desktop use.\u003c/p\u003e\n"],["\u003cp\u003eWhile Workspace add-ons utilize standardized interfaces and work seamlessly across platforms, Editor add-ons require HTML/CSS knowledge and adhere to specific authorization rules.\u003c/p\u003e\n"],["\u003cp\u003eBoth add-on types provide distinct advantages; Workspace add-ons enhance cross-application workflows, while Editor add-ons offer deep, editor-specific customization and task automation.\u003c/p\u003e\n"]]],["There are two add-on types: Google Workspace and Editor add-ons. Google Workspace add-ons offer a single build for multiple apps (Gmail, Calendar, Chat, Docs, Drive, Sheets, Slides), and they feature standardized interfaces, mobile and desktop compatibility, and customizable homepages. Editor add-ons extend Docs, Sheets, Slides, and Forms, allowing for highly customizable interfaces using HTML and CSS, but require specific authorization and only function on desktop. They are built to automate common editor tasks.\n"],null,["This page provides a general overview of the two types of add-ons\nyou can build:\n*Google Workspace add-ons* and *Editor add-ons*. These\nadd-on types differ in what applications they extend,\nhow they are created, and what restrictions they have.\n\nGoogle Workspace add-ons\n\n*Google Workspace add-ons* are the latest generation of add-ons, and\nprovide many capabilities, including:\n\n- **Build just one add-on for multiple\n Google Workspace apps**: Instead of creating separate\n add-ons for\n each Google Workspace application, you can build and manage a single\n Google Workspace add-on that works across Google Workspace.\n A Google Workspace add-on can extend the following host applications:\n\n - Gmail\n - Google Calendar\n - Google Chat (Developer Preview)\n - Google Docs\n - Google Drive\n - Google Meet\n - Google Sheets\n - Google Slides\n- **Increase your brand awareness**: Add-ons icons are by\n default visible in the right-side panel of the\n add-on's host apps.\n\n- **Build homepage experiences** : You can create individual [homepages](/workspace/add-ons/concepts/homepages)\n for each Google Workspace app your add-on\n extends, or use the same homepage for multiple apps.\n\n- **Reflect the user's context in your add-on**: You\n can design your Google Workspace add-on to show interfaces specific to the\n add-on's host app. For example, your\n add-on can display info from an email or calendar\n event, or suggest an action based on the current Google Workspace app\n page.\n\n- **Use standardized interfaces** : Construct user interfaces from built-in\n widget elements provided by the Apps Script\n [`Card`](/apps-script/reference/card-service/card) service. You don't need\n any expertise with HTML or CSS to define these interfaces.\n\n- **Extend desktop and mobile clients for Gmail**: If a\n Google Workspace add-on extends Gmail, you can use it in both the\n desktop and mobile versions of Gmail. If you build a\n Google Workspace add-on that extends Gmail, you don't need to\n design a separate mobile version of the add-on. The\n same interface is used everywhere.\n\n- **Use your preferred runtime.** You can develop Google Workspace add-ons with your\n preferred hosting infrastructure, development tool chain, source control\n system, coding language, and code libraries.\n\nEditor add-ons\n\n*Editor add-ons* extend one of the Google Editor applications,\nsuch as Docs, Sheets, Slides, or\nForms. Each Editor add-on type (for\nexample, Sheets add-ons) can have its own set of\ntype-specific capabilities, restrictions, and special considerations. When\nbuilding Editor add-ons, it's important to understand these\nEditor-specific details. For more details on add-ons for specific\nEditors, see the corresponding sections:\n\n- [Google Docs](/workspace/add-ons/editors/docs)\n- [Google Forms](/workspace/add-ons/editors/forms)\n- [Google Sheets](/workspace/add-ons/editors/sheets)\n- [Google Slides](/workspace/add-ons/editors/slides)\n\nEditor add-ons can automate common editor tasks such as file\ncreation, editing, formatting, and moving data between applications.\nEditor add-on interfaces are highly-customizable for\nthe tasks at hand.\n\nEditor add-ons are ideal for automating tasks within Google\nDocs, Sheets, Slides, or\nForms for individual or internal use. For add-ons\nrequiring large-scale capabilities that need to handle many users, require low\nlatency, or demands full control over your infrastructure, consider building a\nGoogle Workspace add-ons on a [different runtime](/workspace/add-ons/guides/alternate-runtimes)\nenvironment for better control over infrastructure, deployment and release\nprocesses.\n\nEditor add-ons behave differently from Google Workspace add-ons in the\nfollowing ways:\n\n- Editor add-ons can create interfaces consisting of menu items, dialogs, and sidebars. Add-ons dialogs and sidebars are defined using standard [HTML and\n CSS](/workspace/add-ons/concepts/html-interfaces).\n- Editor add-ons have special authorization rules because they create, modify, or otherwise interact with files within Google Drive. It is important to understand the [Editor add-on\n authorization](/workspace/add-ons/concepts/editor-auth-lifecycle) while developing an Editor add-on.\n- Files created and updated in each editor have specific structures. For example, Google Slides presentations are composed of pages which can be slides, masters, or layouts. You should understand these file structures, as add-ons often interact with them when reading or editing files.\n- Editor add-ons only function in desktop clients, not Android or iOS.\n- Editor add-ons must be implemented in Apps Script."]]