সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
আপনি যেভাবে একত্রিত পণ্য পরিসংখ্যান এবং সমস্যাগুলি পুনরুদ্ধার করবেন তা পরিবর্তিত হয়েছে৷ শপিংয়ের জন্য সামগ্রী API-তে accountstatuses রিসোর্সে আগে উপলব্ধ কার্যকারিতা এখন মার্চেন্ট API-এ ডেডিকেটেড রিসোর্সে বিভক্ত। নতুন aggregateProductStatuses রিসোর্স ব্যবহার করার জন্য কিভাবে আপনার ইন্টিগ্রেশন স্থানান্তর করতে হয় এই গাইডটি ব্যাখ্যা করে।
দ্রষ্টব্য : মার্চেন্ট এপিআই-এ, অ্যাকাউন্ট-স্তরের সমস্যা এবং মোট পণ্যের অবস্থা বিভক্ত করা হয়। এছাড়াও accountstatuses থেকে অ্যাকাউন্ট সমস্যায় স্থানান্তরিত করার জন্য আমাদের গাইড পর্যালোচনা করুন।
মূল পার্থক্য
শপিং এবং মার্চেন্ট এপিআই-এর জন্য সামগ্রী API-তে পণ্যের স্থিতি বৈশিষ্ট্যগুলির মধ্যে মূল পার্থক্যগুলি এখানে রয়েছে:
উত্সর্গীকৃত সংস্থান : কেনাকাটার জন্য সামগ্রী API থেকে accountstatuses সংস্থান এখন বিভক্ত। মার্চেন্ট এপিআই-এ, অ্যাকাউন্ট-লেভেলের সমস্যাগুলি accountissues রিসোর্সের মাধ্যমে পাওয়া যায়, যখন নতুন aggregateProductStatuses রিসোর্সের মাধ্যমে একত্রিত পণ্যের পরিসংখ্যান এবং আইটেম-স্তরের সমস্যা পাওয়া যায়।
নতুন রিসোর্স স্ট্রাকচার : AggregateProductStatus হল একটি নতুন রিসোর্স যা রিপোর্টিং প্রেক্ষাপট এবং একটি দেশের নির্দিষ্ট সমন্বয়ের জন্য পরিসংখ্যান এবং সমস্যাগুলিকে উপস্থাপন করে।
ফিল্টারিং মেকানিজম : ডেটা নির্বাচন করতে destinations মতো ক্যোয়ারী প্যারামিটার ব্যবহার করার পরিবর্তে, মার্চেন্ট এপিআই নির্দিষ্ট রিপোর্টিং প্রসঙ্গ এবং দেশগুলির জন্য ক্যোয়ারী করার জন্য একটি filter স্ট্রিং সহ একটি list পদ্ধতি ব্যবহার করে।
চ্যানেল ক্ষেত্র অপসারণ : channel ক্ষেত্রটি আর ব্যবহার করা হয় না। এই তথ্যটি এখন reportingContext এর অন্তর্নিহিত অংশ।
অনুরোধ
বণিক API সমষ্টিগত পণ্যের স্থিতি পুনরুদ্ধার করতে filter প্যারামিটার সহ একটি GET অনুরোধ ব্যবহার করে।
GET https://merchantapi.googleapis.com/issueresolution/v1/{parent=accounts/*}/aggregateProductStatuses
URL বিন্যাস অনুরোধ করুন
বিবরণ অনুরোধ করুন
কেনাকাটার জন্য সামগ্রী API
বণিক API
পণ্য পরিসংখ্যান এবং সমস্যা পান
GET /content/v2.1/{merchantId}/accountstatuses/{accountId}
GET /issueresolution/v1/accounts/{accountId}/aggregateProductStatuses
শনাক্তকারী
নতুন কাঠামোকে সমর্থন করার জন্য সম্পদ চিহ্নিত করার উপায় পরিবর্তিত হয়েছে।
শনাক্তকারী বিন্যাস
শনাক্তকারীর বিবরণ
কেনাকাটার জন্য সামগ্রী API
বণিক API
সম্পদ শনাক্তকারী
accountId দ্বারা সম্পদ সনাক্ত করা হয়েছিল। ক্যোয়ারী প্যারামিটার সহ নির্দিষ্ট ডেটা স্লাইস নির্বাচন করা হয়েছিল।
রিসোর্স নামটি একটি নির্দিষ্ট রিপোর্টিং প্রেক্ষাপট এবং দেশের ডেটাকে অনন্যভাবে সনাক্ত করে: accounts/{account}/aggregateProductStatuses/{reportingContext}~{country} ।
পদ্ধতি
পণ্যের স্থিতি পুনরুদ্ধারের পদ্ধতিটি একটি list পদ্ধতিতে আপডেট করা হয়েছে যা ফিল্টারিং সমর্থন করে।
শপিং পদ্ধতির জন্য সামগ্রী API
মার্চেন্ট API পদ্ধতি
প্রাপ্যতা এবং নোট
accountstatuses.get
aggregateProductStatuses.list
accountstatuses.get পদ্ধতিটি সমস্ত পণ্য পরিসংখ্যান সমন্বিত একটি একক সম্পদ ফেরত দিয়েছে। নতুন aggregateProductStatuses.list পদ্ধতি সম্পদের একটি তালিকা প্রদান করে, প্রতিটি প্রতিবেদনের প্রসঙ্গ এবং দেশের সমন্বয়ের জন্য একটি। নির্দিষ্ট ডেটা পুনরুদ্ধার করতে filter প্যারামিটার ব্যবহার করুন। অ্যাকাউন্ট-স্তরের সমস্যাগুলির জন্য, accountissues.list ব্যবহার করুন।
বিস্তারিত ক্ষেত্রের পরিবর্তন
পণ্য পরিসংখ্যান এবং সমস্যাগুলির জন্য ক্ষেত্রগুলি নতুন AggregateProductStatus সংস্থানে আপডেট এবং পুনর্গঠন করা হয়েছে৷
কেনাকাটার জন্য সামগ্রী API
বণিক API
বর্ণনা
products
aggregate_product_statuses
products বিন্যাস তালিকার প্রতিক্রিয়াতে aggregate_product_statuses পুনরাবৃত্তি ক্ষেত্র দ্বারা প্রতিস্থাপিত হয়।
destination
reporting_context
destination ক্ষেত্র reporting_context দ্বারা প্রতিস্থাপিত হয়, যা পরিসংখ্যানের জন্য প্রোগ্রামের প্রসঙ্গ নির্দিষ্ট করে।
channel
(কোন সমতুল্য ক্ষেত্র নেই)
channel ক্ষেত্র সরানো হয়. এই তথ্য এখন reporting_context অংশ।
statistics
stats
statistics বস্তুর নাম পরিবর্তন করে stats করা হয়েছে। মধ্যে ক্ষেত্র নাম snake_case রূপান্তরিত হয়, উদাহরণস্বরূপ, activeCount এখন active_count ।
itemLevelIssues.servability
item_level_issues.severity
একটি সমস্যার প্রভাব বর্ণনা করার জন্য servability enum severity enum দ্বারা প্রতিস্থাপিত হয়।
itemLevelIssues.attributeName
item_level_issues.attribute
ফিল্ড attributeName নাম পরিবর্তন করে attribute করা হয়েছে।
itemLevelIssues.documentation
item_level_issues.documentation_uri
ক্ষেত্রের documentation নামকরণ করা হয়েছে documentation_uri .
itemLevelIssues.numItems
item_level_issues.product_count
ক্ষেত্র numItems পরিবর্তন করে product_count হয়েছে।
[[["সহজে বোঝা যায়","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-08-08 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# Migrate accountstatuses to Aggregate Product Statuses\n\nThe way you retrieve aggregated product statistics and issues has changed. The\nfunctionality previously available in the `accountstatuses` resource in the\nContent API for Shopping is now split into dedicated resources in the Merchant\nAPI. This guide explains how to migrate your integration to use the new\n[`aggregateProductStatuses`](/merchant/api/reference/rest/issueresolution_v1/accounts.aggregateProductStatuses)\nresource.\n\n**Note** : In Merchant API, account-level issues and aggregate product statuses\nare split. Also review our guide to migrate from `accountstatuses` to\n[account issues](/merchant/api/guides/compatibility/migrate-view-issues).\n\nKey differences\n---------------\n\nHere are the key differences between the product status features in Content\nAPI for Shopping and Merchant API:\n\n- **Dedicated resources** : The `accountstatuses` resource from Content API for Shopping is now split. In Merchant API, account-level issues are available through the [`accountissues`](/merchant/api/reference/rest/accounts_v1/accounts.issues) resource, while aggregated product statistics and item-level issues are available through the new [`aggregateProductStatuses`](/merchant/api/reference/rest/issueresolution_v1/accounts.aggregateProductStatuses) resource.\n- **New resource structure** : `AggregateProductStatus` is a new resource that represents the statistics and issues for a specific combination of a reporting context and a country.\n- **Filtering mechanism** : Instead of using query parameters like `destinations` to select data, Merchant API uses a `list` method with a `filter` string to query for specific reporting contexts and countries.\n- **Channel field removal** : The `channel` field is no longer used. This information is now implicitly part of the `reportingContext`.\n\nRequests\n--------\n\nMerchant API uses a `GET` request with a `filter` parameter to retrieve\naggregated product statuses.\n\n`GET\nhttps://merchantapi.googleapis.com/issueresolution/v1/{parent=accounts/*}/aggregateProductStatuses`\n\n### Request URL format\n\n| Request description | Content API for Shopping | Merchant API |\n|-----------------------------------|--------------------------------------------------------------|-------------------------------------------------------------------------|\n| Get product statistics and issues | `GET /content/v2.1/{merchantId}/accountstatuses/{accountId}` | `GET /issueresolution/v1/accounts/{accountId}/aggregateProductStatuses` |\n\nIdentifiers\n-----------\n\nThe way resources are identified has changed to support the new structure.\n\n### Identifier format\n\n| Identifier description | Content API for Shopping | Merchant API |\n|------------------------|-------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Resource Identifier | The resource was identified by `accountId`. Specific data slices were selected with query parameters. | The resource name uniquely identifies the data for a specific reporting context and country: `accounts/{account}/aggregateProductStatuses/{reportingContext}~{country}`. |\n\nMethods\n-------\n\nThe method for retrieving product statuses has been updated to a `list` method\nthat supports filtering.\n\n| Content API for Shopping method | Merchant API method | Availability \\& notes |\n|---------------------------------|---------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `accountstatuses.get` | `aggregateProductStatuses.list` | The `accountstatuses.get` method returned a single resource containing all product statistics. The new `aggregateProductStatuses.list` method returns a list of resources, one for each reporting context and country combination. Use the `filter` parameter to retrieve specific data. For account-level issues, use `accountissues.list`. |\n\nDetailed field changes\n----------------------\n\nThe fields for product statistics and issues have been updated and restructured\nin the new `AggregateProductStatus` resource.\n\n| Content API for Shopping | Merchant API | Description |\n|---------------------------------|---------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------|\n| `products` | `aggregate_product_statuses` | The `products` array is replaced by the `aggregate_product_statuses` repeated field in the list response. |\n| `destination` | `reporting_context` | The `destination` field is replaced by `reporting_context`, which specifies the program context for the stats. |\n| `channel` | (no equivalent field) | The `channel` field is removed. This information is now part of the `reporting_context`. |\n| `statistics` | `stats` | The `statistics` object is renamed to `stats`. Field names within are converted to snake_case, for example, `activeCount` is now `active_count`. |\n| `itemLevelIssues.servability` | `item_level_issues.severity` | The `servability` enum is replaced by the `severity` enum to describe the impact of an issue. |\n| `itemLevelIssues.attributeName` | `item_level_issues.attribute` | The field `attributeName` is renamed to `attribute`. |\n| `itemLevelIssues.documentation` | `item_level_issues.documentation_uri` | The field `documentation` is renamed to `documentation_uri`. |\n| `itemLevelIssues.numItems` | `item_level_issues.product_count` | The field `numItems` is renamed to `product_count`. |"]]