बड़ी रिपोर्ट चलाना
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
AdSense Management API में डिफ़ॉल्ट रूप से, रिपोर्ट की ज़्यादा से ज़्यादा 1,00,000 लाइनें होती हैं. अगर आप:
अगर डेटा प्रोसेस करते समय इन सीमाओं के करीब जाना हो या परफ़ॉर्मेंस से जुड़ी समस्याएं आ रही हों, तो
यहाँ आपको मदद मिल सकती है.
अपनी रिपोर्ट का दायरा कम करना
किसी रिपोर्ट को छोटा करने के लिए सबसे पहले, उन डाइमेंशन की सूची को देखना चाहिए
इसका इस्तेमाल करना; आपके जोड़े गए हर डाइमेंशन से, दिखाई जाने वाली पंक्तियों की संख्या पर गुणा करने पर असर पड़ता है. पक्का करें कि
आपको सिर्फ़ अपनी ज़रूरत के हिसाब से डाइमेंशन जोड़ने हैं!
अपनी रिपोर्ट को बांटना
कभी-कभी, आपको रिपोर्ट के सिर्फ़ किसी हिस्से के लिए बेहद सटीक डेटा की ज़रूरत होती है. हालांकि, बाकी का डेटा उपलब्ध हो जाता है
इससे उन्हें कम जानकारी मिलती है. उदाहरण के लिए, आपको पिछले दस्तावेज़ के लिए बेहद सटीक जानकारी की ज़रूरत पड़ सकती है
से हुई कमाई, हर दिन के हिसाब से देश और चैनल के आंकड़ों के साथ देखी जा सकती है, लेकिन आपको सिर्फ़
देश-लेवल का डेटा इकट्ठा किया जा सकता है. इसलिए आप
पिछले महीने के लिए थोड़ा आसान है.
CSV फ़ाइल पर स्विच करके, JSON को पार्स करने से बचें
AdSense Management API की मदद से, आपको सामान्य JSON के बजाय, CSV फ़ॉर्मैट में रिपोर्ट मिलती हैं.
ऐसा करने के लिए, अन्य generateCsv तरीके को कॉल करें.
उदाहरण
DATE,CLICKS
2014-01-01,2
2014-01-02,1
2014-01-03,4
2014-01-04,1
2014-01-05,1
अगले चरण
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eAdSense Management API reports have a default maximum length of 100,000 rows, and exceeding this limit may cause performance issues.\u003c/p\u003e\n"],["\u003cp\u003eMinimizing the number of dimensions used in a report can significantly reduce its size and improve performance.\u003c/p\u003e\n"],["\u003cp\u003eFor reports requiring varying levels of granularity, consider splitting them into multiple reports with different dimension sets to optimize data retrieval.\u003c/p\u003e\n"],["\u003cp\u003eSwitching from JSON to CSV format for report retrieval can avoid JSON parsing overhead and improve efficiency.\u003c/p\u003e\n"]]],["To manage large AdSense reports, reduce the scale by minimizing the number of dimensions used, as each dimension increases rows. Split reports into detailed and less detailed sections based on data accuracy needs. For improved performance, switch from JSON to CSV format by using the `generateCsv` method. Consider batching and optimizing dimension usage for further improvements.\n"],null,["# Run Large Reports\n\nReports have a maximum length of 100,000 rows in the AdSense Management API, by default. If you're\nrunning close to these limits, or running into performance issues while processing the data, here\nare some tips that may help.\n\nReducing the scale of your report\n---------------------------------\n\nThe first thing to look for when trying to make a report smaller is the list of dimensions you're\nusing; each dimension you add has a multiplicative effect on the number of returned rows. Make sure\nyou only add the dimensions you need!\n\nSplitting your reports\n----------------------\n\nSometimes, you only need extremely accurate data for a portion of the report, with the rest\nallowing for less detail. For example, you could need extremely accurate details for the previous\nmonth's earnings, with stats per country and channel across every day, but only really need the\ncountry-level data when looking before that. You could therefore run a complex report for the\nprevious month, but a simpler one for the time before that.\n\nAvoid JSON parsing by switching to CSV\n--------------------------------------\n\nThe AdSense Management API allows you to receive your reports in CSV format, rather than the usual JSON.\n\nTo do that, simply call the alternate [generateCsv](/adsense/management/reference/rest/v2/accounts.reports/generateCsv) method.\n\n#### Example\n\n```\nDATE,CLICKS\n2014-01-01,2\n2014-01-02,1\n2014-01-03,4\n2014-01-04,1\n2014-01-05,1\n```\n\nNext steps\n----------\n\n- [Batching](/adsense/management/reporting/batching)\n- [Using Multiple Dimensions Wisely](/adsense/management/reporting/dimensions_metrics#usingmultiple)"]]