संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
Google Ads स्क्रिप्ट, पूरी कोशिश के साथ काम करती हैं: वे Google Ads डेटा में बदलाव करने की कोशिश करती हैं. हालांकि, अगर कोई बदलाव पूरा नहीं होता है, तो स्क्रिप्ट उसे बदलावों के लॉग में रिकॉर्ड करती है और बदलाव करने की प्रोसेस जारी रखती है:
// Attempt an invalid change.letamount=999999999999;campaign.getBudget().setAmount(amount);// Error is logged into Changes log, but the script keeps running.// Suppose we must know whether the change actually happened.if(campaign.getBudget()!=amount){// The current value of budget is not the one we expected.// The change must have failed.}
मिलती-जुलती गड़बड़ियां दिखाने वाले ऑपरेशन में ये शामिल हैं:
कैंपेन के बजट से ज़्यादा कीवर्ड बिड सेट करना.
कैंपेन का नाम पहले से मौजूद नाम पर सेट करना.
किसी ऐसे कैंपेन में विज्ञापन ग्रुप बनाना जो विज्ञापन ग्रुप के लिए तय कोटे तक पहुंच चुका है.
हालांकि, कुछ गड़बड़ियों को अनदेखा नहीं किया जा सकता. उदाहरण के लिए:
इस कोड की मदद से, स्क्रिप्ट कोई काम का keywords iterator नहीं बना सकती, क्योंकि तारीख की सीमा तय नहीं की गई है. इसलिए, स्क्रिप्ट का एक्सीक्यूशन रुक जाएगा और टेक्स्ट लॉग में गड़बड़ी का मैसेज लॉग हो जाएगा.
अगर कोटा से ज़्यादा अनुरोध किए जाते हैं, तो स्क्रिप्ट चेतावनियां लॉग करती है. स्क्रिप्ट को फिर भी चलाया जाएगा, लेकिन आपको चेतावनियों की हमेशा समीक्षा करनी चाहिए.
एक्ज़ीक्यूशन लॉग में, गड़बड़ियां लाल रंग में और चेतावनियां नारंगी रंग में दिखती हैं. समस्या हल करने और निगरानी करने के लिए, इन लॉग में पसंद के मुताबिक मैसेज भी दिखाए जा सकते हैं.
[[["समझने में आसान है","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-04 (UTC) को अपडेट किया गया."],[[["Google Ads scripts will log errors when changes fail but continue running, allowing you to check if a change was successful and handle it accordingly."],["Certain errors, such as missing required parameters, will halt script execution and require fixing before the script can run."],["While scripts proceed even when exceeding quotas, warnings are logged and should be reviewed."],["Script execution logs provide valuable information through errors (red), warnings (orange), and custom messages for debugging and monitoring."],["Successfully returned objects from Google Ads scripts are safe to use, indicating the operation was successful."]]],[]]