CSS API 개요
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
CSS API를 사용하여 CSS를 관리하고 CSS 제품 포트폴리오를 제어할 수 있습니다.
CSS API는 Content API for Shopping의 CSS 기능을 재설계한 것입니다.
CSS API와 Merchant API 비교
CSS API와 Merchant API의 차이점을 이해하는 것은 제품을 효과적으로 관리하는 데 중요합니다. 각 API는 서로 다른 용도로 사용되며 서로 다른 계정 유형과 ID 공간에서 작동합니다.
CSS API (v1): CSS 계정 및 연결된 CSS 제품 관리에 관련된 모든 기능에 이 API를 사용합니다. 이 API는 css.googleapis.com
호스트 이름을 사용하며 제품 작업에 CSS 도메인 ID가 필요합니다.
- 예:
POST https://css.googleapis.com/v1/accounts/{cssDomainId}/cssProductInputs:insert
Merchant API
(v1): 표준 Merchant Center 계정 및 제품과 관련된 모든 기능에 이 API를 사용합니다. 이 API는 merchantapi.googleapis.com
호스트 이름을 사용하며 표준 판매자 센터 ID가 필요합니다.
- 예:
POST https://merchantapi.googleapis.com/v1/accounts/{merchantId}/productInputs:insert
핵심 사항: 제품 엔드포인트에 Merchant API와 함께 CSS 도메인 ID를 사용하지 말고 CSS API 제품 엔드포인트에 Merchant Center ID를 사용하지 마세요. 잘못된 API와 함께 잘못된 ID를 사용하면 오류가 발생합니다.
CSS API와 Merchant API는 더 이상 사용해서는 안 되는 이전 Content API for Shopping(v2.1)을 대체합니다.
CSS API로 업그레이드해야 하는 이유는 다음과 같습니다.
- 새로운 기능으로
- Google의 API 개선 제안과의 일관성이 개선되었습니다.
- 문서 및 샘플이 업데이트되었습니다.
자세한 내용은 시작하기를 참고하세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-08-13(UTC)
[null,null,["최종 업데이트: 2025-08-13(UTC)"],[[["\u003cp\u003eThe CSS API enables managing CSS and controlling your CSS Products portfolio.\u003c/p\u003e\n"],["\u003cp\u003eThe CSS API offers new features, improved alignment with Google's API improvement proposals, and updated documentation and samples.\u003c/p\u003e\n"],["\u003cp\u003eUpgrading from the Content API for Shopping to the CSS API is recommended.\u003c/p\u003e\n"]]],[],null,["# CSS API overview\n\nYou can use the CSS API to manage your CSS and control your CSS Products\nportfolio.\n\nThe CSS API is a redesign of the CSS features in [Content API for\nShopping](/shopping-content).\n\nCSS API versus Merchant API\n---------------------------\n\nUnderstanding the distinction between the CSS API and the Merchant API is key\nto effectively managing your products. Each API serves a different purpose and\noperates on different account types and ID spaces:\n\n- **CSS API (v1):** Use this API for all functionalities related to managing\n CSS accounts and their associated CSS products. This API uses the\n `css.googleapis.com` hostname and requires a **CSS Domain ID** for product\n operations.\n\n - Example: `POST https://css.googleapis.com/v1/accounts/{cssDomainId}/cssProductInputs:insert`\n- **[Merchant API](https://developers.google.com/merchant/api/overview)\n (v1):** Use this API for all functionalities related to\n standard Merchant Center accounts and their products. This API uses the\n `merchantapi.googleapis.com` hostname and requires a standard **Merchant\n Center ID**.\n\n - Example: `POST https://merchantapi.googleapis.com/v1/accounts/{merchantId}/productInputs:insert`\n\n**Key takeaway:** Don't use a CSS Domain ID with the Merchant API for product\nendpoints, and don't use a Merchant Center ID with the CSS API product\nendpoints. Using the wrong ID with the wrong API will result in errors.\n\nThe CSS API and Merchant API together replace the older Content API for Shopping\n(v2.1), which should no longer be used.\n\nHere are some reasons to upgrade to the CSS API:\n\n- New features.\n- Improved alignment with Google's [API improvement proposals](//google.aip.dev/).\n- Updated documentation and [samples](/comparison-shopping-services/api/code-samples).\n\nSee [Get started](/comparison-shopping-services/api/guides/quickstart) for more\ninformation."]]