Panoramica del prodotto
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Gli script Google Ads forniscono un modo per gestire ed eseguire query sui dati Google Ads in modo programmatico
utilizzando JavaScript in un IDE basato su browser. La maggior parte delle funzionalità di Google Ads è disponibile negli script Google Ads tramite le chiamate mutate e search. Puoi utilizzare gli script per automatizzare le procedure comuni o interagire con
dati esterni per uno o più account Google Ads.
Perché utilizzare gli script?
Gli script Google Ads potrebbero essere la soluzione ideale se:
Prerequisiti
È necessaria solo una conoscenza di base di JavaScript. L'IDE aiuta con l'evidenziazione della sintassi, il completamento automatico e l'anteprima. Per iniziare a scrivere il tuo primo script, ti serve solo un account
Google Ads.
Feedback
Se hai feedback sugli script Google Ads, saremo felici di riceverli. Contattaci su Discord.
Se hai bisogno di assistenza,
contatta l'assistenza tecnica per gli script.
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-09-10 UTC.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-10 UTC."],[[["\u003cp\u003eGoogle Ads scripts allow you to automate Google Ads tasks and interact with external data using JavaScript within a browser-based IDE.\u003c/p\u003e\n"],["\u003cp\u003eBasic JavaScript knowledge is sufficient to get started, and a Google Ads account is all you need.\u003c/p\u003e\n"],["\u003cp\u003eThe new Google Ads scripts experience offers a rewritten backend with benefits like ES6 support, improved performance, better validation, and enhanced campaign bidding strategy support.\u003c/p\u003e\n"],["\u003cp\u003eYou can easily transition to the new infrastructure using a toggle within the script editor.\u003c/p\u003e\n"],["\u003cp\u003eFeedback on Google Ads scripts is encouraged and can be shared through the designated forum.\u003c/p\u003e\n"]]],[],null,["Google Ads scripts provide a way to programmatically manage and query your Google Ads data\nusing JavaScript in a browser-based IDE. Most features of Google Ads are available\nin Google Ads scripts through [mutate](https://developers.google.com/google-ads/scripts/docs/features/mutate)\nand [search](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp#search_query-optArgs)\ncalls. You can use scripts to automate common procedures or interact with\nexternal data---for one to many Google Ads accounts.\n\nWhy use scripts?\n\nGoogle Ads scripts may be right for you if:\n\n- You want to make changes to your Google Ads account programmatically, without needing to set up a server or coding environment.\n- You want to apply [Bulk Uploads](https://developers.google.com/google-ads/scripts/docs/features/bulk-upload) or [manage Video Campaigns](https://developers.google.com/google-ads/scripts/docs/features/video-campaigns) programmatically.\n- You want to [manage advertiser accounts at the manager level](https://developers.google.com/google-ads/scripts/docs/features/manager-scripts) by writing one script that can access all serving child accounts.\n- You want to schedule scripts to run without needing an [active user session](https://developers.google.com/google-ads/scripts/docs/concepts/authorization#why_authorization_is_necessary).\n- You want to integrate with other [Google APIs](https://developers.google.com/google-ads/scripts/docs/features/advanced-apis) or [third party APIs](https://developers.google.com/google-ads/scripts/docs/features/third-party-apis).\n- Your script will take [less than 30 minutes to run](https://developers.google.com/google-ads/scripts/docs/limits) (or 60 minutes if run in parallel from a manager account).\n\nPrerequisites\n\nOnly entry-level familiarity with JavaScript is needed---the IDE helps with\nsyntax highlighting, auto-complete, and previewing. All you need is a\n[Google Ads](//ads.google.com) account to start writing your first script.\n\nFeedback\n\nIf you have any feedback on Google Ads scripts, we would love to hear it! Reach\nout to us on [Discord](//goo.gle/google-ads-discord).\n\nIf you need support,\n[contact scripts technical support](/google-ads/scripts/docs/support/contact)."]]