संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
जब स्क्रिप्ट को झलक मोड में चलाया जाता है, तो वे कैंपेन के असल डेटा में कोई बदलाव नहीं करतीं. इसके बजाय, स्क्रिप्ट रन करने पर, वे बदलाव दिखते हैं जो स्क्रिप्ट रन होने पर होते
थे. आउटपुट से संतुष्ट होने के बाद, स्क्रिप्ट को लाइव तौर पर चलाया जा सकता है या उसे शेड्यूल किया जा सकता है.
झलक मोड ��क बेहतरीन सुविधा है. इसकी मदद से, Google Ads के डेटा में गलत बदलाव होने की चिंता किए बिना, स्क्रिप्ट को डेवलप और डीबग किया जा सकता है.
झलक मोड का असर सिर्फ़ उन कॉल पर पड़ता है जो एंट्री पॉइंट के तौर पर AdsApp का इस्तेमाल करते हैं. अन्य सेवाओं पर कॉल करने पर, आपको पहले की तरह ही सेवा मिलेगी. उदाहरण के लिए, अगर कोई स्क्रिप्ट ईमेल भेजने के लिए
MailApp का इस्तेमाल कर रही है, तो ईमेल भेज दिया जाएगा. भले ही, स्क्रिप्ट की झलक देखी गई हो या नहीं. इन दोनों स्थितियों में स्प्रेडशीट भी अपडेट हो जाएंगी. स्क्रिप्ट, कार्रवाई की जानकारी की मदद से यह पता लगा सकती है कि वह झलक मोड में चल रही है या नहीं.
झलक मोड में, यह स्निपेट उम्मीद के मुताबिक काम नहीं करेगा:
// Suppose the ad group has no keywords.letadGroup=findAnEmptyAdGroup();// Create a keyword.adGroup.createKeyword("test");// Fetch all keywords in the ad group.letkeywords=adGroup.keywords().get();// In preview mode, will log "false": keyword was not actually created.// In real execution, will log "true".console.log("Are there keywords in the ad group? "+keywords.hasNext());
[[["समझने में आसान है","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-03 (UTC) को अपडेट किया गया."],[[["Preview mode executes scripts without making actual changes to campaign data, allowing for risk-free testing and debugging."],["It provides a safe environment to develop and refine Google Ads scripts before applying them to live campaigns."],["Scripts in preview mode can still interact with external services like sending emails or updating spreadsheets."],["Certain actions, like creating or modifying objects, will not produce the same results in preview mode as in live execution."],["Scripts can determine whether they are running in preview or live mode using execution information."]]],[]]