現在、
Routes Preferred API は一部のお客様のみご利用いただけます。詳しくは、
営業担当者までお問い合わせください。
スタートガイド
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
コードで Routes Preferred API メソッドを使用するには、事前に有効にしておく必要があります。
プロジェクトで Routes Preferred API メソッドを有効にするには:
Cloud コンソールにログインし、プロジェクト選択タブを選択します。

[選択元] ウィンドウで、[新しいプロジェクト] を選択します。
![[新しいプロジェクト] を選択します。](https://developers-dot-devsite-v2-prod.appspot.com/static/maps/documentation/routes_preferred/images/new_project.png?authuser=6&hl=ja)
プロジェクトの名前と場所を指定し、[作成] を選択します。

Google 担当者に連絡する。
プロジェクトで Routes Preferred API がまだ有効になっていない場合は、Google Cloud コンソールの [API とサービス] ライブラリに移動します。ルート優先がすでに有効になっている場合は、この手順をスキップできます。

次に、Routes Preferred を検索して、Routes Preferred API を開きます。

API を有効にするには、[有効にする] を選択します。
プロジェクトに関連付けられた API キーがまだない場合は、[認証情報] タブに移動します。API キーがすでにある場合は、この手順をスキップできます。
![[認証情報] タブに移動](https://developers-dot-devsite-v2-prod.appspot.com/static/maps/documentation/routes_preferred/images/go_credentials.png?authuser=6&hl=ja)
[認証情報を作成]、[API キー] の順に選択します。

特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-09-10 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-09-10 UTC。"],[[["\u003cp\u003eTo utilize Routes Preferred API, you must first enable it for your project through the Google Cloud console.\u003c/p\u003e\n"],["\u003cp\u003eEnabling the API involves creating a new project, contacting your Google representative, and enabling the Routes Preferred API in the API library.\u003c/p\u003e\n"],["\u003cp\u003eMake sure to check and adjust your quota limits as needed and create an API key for your project to use the Routes Preferred API.\u003c/p\u003e\n"]]],[],null,[]]