初めてのクライアント アプリケーションを作成する
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
Search Ads 360 API を使用して、小規模で実用的なクライアント アプリケーションを作成するには、このセクションのガイドラインに従ってください。
-
前提条件
- Google API Console でプロジェクトを作成し、ユーティリティ スクリプトをインストールして、REST と JSON について学習します。
-
クライアント ライブラリをインストールする
- 対象のプログラミング言語のクライアント ライブラリをダウンロードします。
-
承認を設定する
- Search Ads 360 API へのすべてのリクエストに必要な認証情報を取得します。
-
アプリケーションを設定する
-
Doubleclicksearch
オブジェクトを初期化するクラスを作成します。
-
サンプル リクエストを送信する
- API にサンプル リクエストを送信します。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2023-02-27 UTC。
[null,null,["最終更新日 2023-02-27 UTC。"],[[["\u003cp\u003eThis guide helps you build a basic Search Ads 360 API client application with minimal setup.\u003c/p\u003e\n"],["\u003cp\u003eBefore starting, ensure you've completed prerequisites like project creation, utility script installation, and understanding REST/JSON.\u003c/p\u003e\n"],["\u003cp\u003eYou'll need to install a client library in your preferred programming language, set up authorization, and configure your application.\u003c/p\u003e\n"],["\u003cp\u003eFinally, you'll send a sample request to the Search Ads 360 API to verify functionality.\u003c/p\u003e\n"]]],["Begin by creating a Google API Console project, installing a utility script, and understanding REST and JSON. Next, download a client library for your chosen language. Obtain necessary credentials for API requests, then develop a class to initialize a `Doubleclicksearch` object. Finally, send a sample request to the Search Ads 360 API to ensure proper setup. These are the key steps to building a functional client.\n"],null,["# Write Your First Client Application\n\nTo create a small but functional basic client application using the Search Ads 360 API,\nfollow the guidelines in this section.\n\n\n[Prerequisites](/search-ads/v2/prereqs)\n: Create a project in the Google API Console, install a utility script, and learn\n about REST and JSON.\n\n\n[Install a client library](/search-ads/v2/libraries)\n: Download a client library for your programming language.\n\n\n[Set up authorization](/search-ads/v2/authorizing)\n: Get the credentials you'll need for all requests to the Search Ads 360 API.\n\n\n[Set up your application](/search-ads/v2/configure)\n:\n Write a class that initializes a `Doubleclicksearch` object.\n\n\n[Send a sample request](/search-ads/v2/requests)\n: Send a sample request to the API."]]