建議您使用 Google API 用戶端程式庫設定 Content API for Shopping。本指南以 Python Content API 用戶端程式庫為例,但這些程式庫可用於許多熱門的程式設計語言,並簡化常見的 API 工作,例如驗證、傳送要求和剖析回應。如需其他語言的用戶端程式庫設定說明,請參閱 GitHub 上 googleads/googleads-shopping-samples 存放區中該語言的 README.md 檔案。
[[["容易理解","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 (世界標準時間)。"],[[["The Merchant API is the new version of the Content API for Shopping and represents the future of product data integration."],["To use the Merchant API, you need to set up the Google API client libraries, which are available for various programming languages and simplify API interactions."],["Setup involves creating necessary directories, downloading service account credentials, configuring a `merchant-info.json` file, and adding the service account to your Merchant Center account."],["You'll need to clone the `googleads/googleads-shopping-samples` GitHub repo and install the required dependencies using `pip install -r requirements.txt`."]]],["The content details the setup for using the Google API client library with the new Merchant API beta, an evolution of the Content API for Shopping. Key steps include: creating directories for configuration and authentication files; downloading service account credentials (including generating a JSON private key); setting up `merchant-info.json` with Merchant Center ID and email; adding the service account as a Merchant Center user with Admin access; cloning or downloading the `googleads-shopping-samples` repository; and installing required Python dependencies via `pip`.\n"]]