সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
এখানে MerchantPerformanceView এর একটি নমুনা ক্যোয়ারী রয়েছে যা program এবং offer_id দ্বারা বিভক্ত, গত 30 দিনে আপনার অ্যাকাউন্টের কর্মক্ষমতা প্রদান করে। আপনি Reports পরিষেবার সাথে পরিচিত হতে এই দ্রুত উদাহরণ চেষ্টা করতে পারেন.
API এক্সপ্লোরারে নমুনা চেষ্টা করতে রান ক্লিক করুন। আপনি রানে ক্লিক করার পরে, অনুরোধ URL-এ আপনার নিজস্ব মার্চেন্ট আইডিতে মার্চেন্ট আইডি প্লেসহোল্ডার আপডেট করুন। আপনি ক্যোয়ারী পরিবর্তন করতে পারেন. API এক্সপ্লোরারের সাথে কাজ করার জন্য সম্পূর্ণ ক্যোয়ারী এক লাইনে থাকতে হবে।
HTTP অনুরোধ URL
অনুরোধে নিম্নলিখিত URL-এ শপিং সার্ভারের জন্য সামগ্রী API-তে একটি HTTP POST রয়েছে:
এখানে একটি HTTP POST অনুরোধের মধ্যে সংযুক্ত উপরে রিপোর্টের সংজ্ঞা দেখানোর একটি সম্পূর্ণ উদাহরণ রয়েছে:
POST/v2.1/merchantId/reports/searchHTTP/1.1Host:shoppingcontent.googleapis.comUser-Agent:curlContent-Type:application/jsonAccept:application/jsonAuthorization:Bearer access tokenParameters:{"query":"SELECT segments.program, segments.offer_id, metrics.impressions, metrics.clicks, metrics.ctr FROM MerchantPerformanceView WHERE segments.date BETWEEN '2020-11-01' AND '2020-11-30'"}
[[["সহজে বোঝা যায়","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-06-19 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["The Merchant API is the new version of the Content API for Shopping and represents the future of the platform."],["You can use the Merchant API to retrieve performance data, such as impressions, clicks, and CTR, segmented by program and offer ID."],["A sample query is provided to demonstrate how to retrieve performance data for the last 30 days using the `MerchantPerformanceView`."],["It's recommended to use one of the client libraries instead of directly making HTTP requests to the Content API for Shopping."]]],["The beta version of the Merchant API, the new Content API for Shopping, is introduced. To use the `Reports` service, users with the Reporting manager role can query the `MerchantPerformanceView` for account performance. A sample query using Merchant Center Query Language is provided to retrieve data on `program`, `offer_id`, `impressions`, `clicks`, and `ctr` between '2020-11-01' and '2020-11-30'. Users can run the sample via the API Explorer, updating the merchant ID and modifying the query.\n"]]