हमारा सुझाव है कि Shopping के लिए Content API का इस्तेमाल करने वाले कोड की जांच करने के लिए, सिर्फ़ जांच के लिए एक अलग Merchant Center खाता बनाएं. इससे चालू फ़ीड या शॉपिंग कैंपेन पर असर डाले बिना, Content API for Shopping का इस्तेमाल करने वाले कोड के लिए, मैन्युअल और ऑटोमेटेड, दोनों तरह से टेस्ट किए जा सकते हैं.
टेस्ट एनवायरमेंट को सेट अप करें
एक नया Google खाता बनाएं
जो Merchant Center खाते से जुड़ा होगा. यहां दिए गए चरणों को पूरा करने के लिए, नए Google खाते में साइन इन करें और उसका इस्तेमाल करें.
नया Merchant Center खाता सेट अप करने के लिए, शुरू करना में दिया गया तरीका अपनाएं. आपको टेस्टिंग खाते के लिए, वेबसाइट के यूआरएल की पुष्टि करने की ज़रूरत नहीं है.
आपको जिस कोड की जांच करनी है उसके लिए सही क्रेडेंशियल बनाएं. टेस्ट कोड के लिए, हमारा सुझाव है कि आप टेस्टिंग फ़्रेमवर्क के लिए सेवा खाते की गाइड में बताए गए सेवा खाता फ़्लो का इस्तेमाल करें. इससे अनुमति, ऐक्सेस टोकन, और रीफ़्रेश टोकन के अनुरोध से जुड़ी समस्याओं से बचा जा सकता है.
अपने नए Merchant Center खाते और क्रेडेंशियल की मदद से, अब आपके पास Shopping के लिए Content API की मदद से अपने कोड की जांच करने का विकल्प है. अगर आपने Content API का इस्तेमाल अभी-अभी शुरू किया है, तो Python क्लाइंट लाइब्रेरी के साथ टेस्टिंग एनवायरमेंट का इस्तेमाल करने का तरीका जानने के लिए, शुरू करने से जुड़ी गाइड पढ़ें. इसके अलावा, सैंपल और लाइब्रेरी पेज पर जाएं. यहां आपको कोड के ऐसे उदाहरण मिलेंगे जिनकी मदद से, नए टेस्टिंग एनवायरमेंट की जांच की जा सकती है.
एपीआई अब भी पुष्टि की जांच करेगा. इससे, ज़रूरी फ़ील्ड मौजूद न होने जैसी सामान्य गड़बड़ियों के बारे में जानकारी मिलती है. हालांकि, डेटा क्वालिटी की जांच नहीं की जाएगी, क्योंकि अपलोड किए गए किसी भी प्रॉडक्ट को अपने-आप अस्वीकार कर दिया जाएगा.
[null,null,["आखिरी बार 2024-11-08 (UTC) को अपडेट किया गया."],[[["The Merchant API is the new version of the Content API for Shopping and represents the future of the platform."],["Developers are encouraged to create a separate Merchant Center account solely for testing the API to avoid impacting live data."],["Setting up a test environment involves creating a new Google account, Merchant Center account, and developer project with the Content API enabled."],["While data quality checks aren't performed on test accounts, the API still conducts validation checks to provide feedback on errors."],["Testing accounts will eventually be suspended due to invalid product information, which is expected and won't affect Content API testing."]]],["The Merchant API beta, the new version of the Content API for Shopping, is introduced. To test this API, create a separate Merchant Center test account. This includes creating a new Google account, setting up a new Merchant Center account without website validation, and creating a new developer project to enable the Content API. Generate credentials, ideally using service accounts, for testing. Note that the test account will likely be suspended for invalid products, but this will not impact the API testing.\n"]]