CSS API ওভারভিউ
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
আপনি আপনার CSS পরিচালনা করতে এবং আপনার CSS পণ্য পোর্টফোলিও নিয়ন্ত্রণ করতে CSS API ব্যবহার করতে পারেন।
CSS API হল কেনাকাটার জন্য সামগ্রী API- তে CSS বৈশিষ্ট্যগুলির একটি পুনঃডিজাইন।
CSS API বনাম মার্চেন্ট API
CSS API এবং মার্চেন্ট API-এর মধ্যে পার্থক্য বোঝা আপনার পণ্যগুলিকে কার্যকরভাবে পরিচালনা করার মূল চাবিকাঠি। প্রতিটি API একটি ভিন্ন উদ্দেশ্য পরিবেশন করে এবং বিভিন্ন অ্যাকাউন্টের ধরন এবং আইডি স্পেসে কাজ করে:
CSS API (v1): CSS অ্যাকাউন্ট এবং তাদের সম্পর্কিত CSS পণ্য পরিচালনার সাথে সম্পর্কিত সমস্ত কার্যকারিতার জন্য এই API ব্যবহার করুন। এই API css.googleapis.com
হোস্টনাম ব্যবহার করে এবং পণ্য পরিচালনার জন্য একটি CSS ডোমেন আইডি প্রয়োজন৷
- উদাহরণ:
POST https://css.googleapis.com/v1/accounts/{cssDomainId}/cssProductInputs:insert
মার্চেন্ট এপিআই (v1): স্ট্যান্ডার্ড মার্চেন্ট সেন্টার অ্যাকাউন্ট এবং তাদের পণ্যগুলির সাথে সম্পর্কিত সমস্ত কার্যকারিতার জন্য এই API ব্যবহার করুন। এই APIটি merchantapi.googleapis.com
হোস্টনাম ব্যবহার করে এবং একটি আদর্শ বণিক কেন্দ্র আইডি প্রয়োজন৷
- উদাহরণ:
POST https://merchantapi.googleapis.com/v1/accounts/{merchantId}/productInputs:insert
মূল টেকঅ্যাওয়ে: পণ্যের শেষ পয়েন্টের জন্য মার্চেন্ট এপিআই সহ একটি CSS ডোমেন আইডি ব্যবহার করবেন না এবং CSS API পণ্যের শেষ পয়েন্টগুলির সাথে একটি মার্চেন্ট সেন্টার আইডি ব্যবহার করবেন না। ভুল API এর সাথে ভুল ID ব্যবহার করলে ত্রুটি দেখা দেবে।
CSS API এবং Merchant API একসাথে কেনাকাটার জন্য পুরানো সামগ্রী API (v2.1) প্রতিস্থাপন করে, যা আর ব্যবহার করা উচিত নয়।
এখানে CSS API আপগ্রেড করার কিছু কারণ রয়েছে:
আরও তথ্যের জন্য শুরু করুন দেখুন।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল 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."]]