Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Google Ads komut dosyaları, mümkün olduğunca iyi şekilde yürütülür: Google Ads verilerinde değişiklik yapmaya çalışır ancak belirli bir değişiklik başarılı olmazsa komut dosyası bunu Değişiklikler günlüğüne kaydeder ve yürütmeye devam eder:
// 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.}
Benzer hatalar veren işlemler şunlardır:
Anahtar kelime teklifini kampanya bütçesinden daha yüksek belirleme
Kampanya adını, zaten var olan bir ad olarak ayarlama.
Reklam grubu kotasına ulaşmış bir kampanyada reklam grubu oluşturma.
Bu kodla, tarih aralığı belirtilmediğinden komut dosyası anlamlı bir keywords yineleyici oluşturamaz. Bu nedenle, komut dosyası yürütme işlemi durur ve metin günlüklerine bir hata mesajı kaydedilir.
Kotalar aşılırsa komut dosyası tarafından uyarılar kaydedilir. Komut dosyası yürütülmeye devam eder ancak uyarıları her zaman incelemeniz gerekir.
Yürütme günlüklerinde hatalar kırmızı, uyarılar ise turuncu renkte gösterilir. Ayrıca, sorun giderme ve izleme amacıyla bu günlüklerde özel mesajlar da oluşturabilirsiniz.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-07-13 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."]]],[]]