プロンプトが表示されたら、Google Merchant Center アカウントに関連付けられている Google アカウントでログインします。
Merchant Center アカウントが正しく設定されている場合、リクエストは成功し、HTTP レスポンス コード 200 が返されます。新しいアカウントを作成したばかりの場合、accounts.products.list メソッドは商品を返しません。
次に、クライアント ライブラリを使用して、他の Merchant Center アカウントへのアクセスをリクエストします。クライアント ライブラリはユーザー認可をサポートしています。これにより、Merchant Center アカウントデータにアクセスして管理する権限をアプリケーションに付与できます。
サービス アカウントを使用して、独自のアカウントへの API アクセスを承認することもできます。サービス アカウントは、個々のエンドユーザーではなくアプリケーションに属する特別な種類のアカウントです。詳細については、サービス アカウントの概要をご覧ください。
[[["わかりやすい","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-07-25 UTC。"],[[["Existing merchant account holders can use the API explorer to verify their account's compatibility with the Merchant API."],["Account verification involves locating your `merchantId`, constructing the resource name, and executing the `accounts.products.list` method within the API Explorer using your credentials."],["Successful verification is indicated by an HTTP response code `200`, although new accounts may not return any product data."],["After verification, users can proceed to utilize client libraries for accessing other merchant accounts or employ service accounts for authorizing API access to their own account."]]],["To verify a merchant account for API use, locate your `merchantId` in Google Merchant Center and construct the account's resource name. In the API Explorer, use the `accounts.products.list` method, input the resource name in the `parent` field, and select Google OAuth 2.0 and API key credentials. Executing the request should return an HTTP 200 code, confirming successful setup. For new accounts, the product list will be empty. Further access can be configured via client libraries or service accounts.\n"]]