Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Por que a autorização é necessária
O acesso normal ao Google Ads exige que um usuário esteja presente e fazendo mudanças ativamente com uma sessão ativa para fazer alterações ou ler dados de uma conta do Google Ads. No entanto, os scripts do Google Ads são diferentes porque podem
ser executados mesmo quando o usuário não está conectado:
Os scripts programados são executados periodicamente, independentemente de o usuário estar conectado ou não no momento.
Como os scripts podem levar até 30 minutos para serem concluídos, o usuário pode ter feito logout do Google Ads nesse período.
Os scripts são basicamente entidades independentes que realizam ações em nome do usuário. Por isso, é necessário conceder permissão explícita para que os scripts sejam executados.
Para revisar as permissões concedidas aos seus scripts e outros aplicativos, acesse a página "Segurança" da sua conta e clique em Gerenciar o acesso de terceiros.
Como autorizar
Na primeira vez que você tentar visualizar ou executar um script, ou sempre que a autorização expirar por qualquer motivo, será necessário autorizar o script automaticamente. Siga as instruções na tela quando isso acontecer.
[null,null,["Última atualização 2025-08-27 UTC."],[[["\u003cp\u003eGoogle Ads scripts require authorization because they can run independently of the user's active session, performing actions on their behalf.\u003c/p\u003e\n"],["\u003cp\u003eScripts need explicit user permission to access and modify Google Ads account data, even when the user is not signed in.\u003c/p\u003e\n"],["\u003cp\u003eUsers can manage script and application permissions through their Google Account's Security page, reviewing and controlling third-party access.\u003c/p\u003e\n"],["\u003cp\u003eScripts may need reauthorization if the original author loses access to the Google Ads account, ensuring continued functionality.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization is typically a straightforward process, prompted automatically when previewing, running a script, or after authorization lapse, requiring users to follow on-screen instructions.\u003c/p\u003e\n"]]],[],null,["# Authorization\n\nWhy authorization is necessary\n------------------------------\n\nNormal access to Google Ads requires that a user be present and actively making\nchanges with an active session in order to make changes or read data from a\nGoogle Ads account. Google Ads scripts, however, are different in that they can\nexecute even when the user is not signed in:\n\n- Scheduled scripts run periodically, whether or not the user happens to be signed in at the time.\n- Since scripts can take up to 30 minutes to complete, the user could have signed out of Google Ads in the meantime.\n\nScripts are basically independent entities that take actions **on the user's\nbehalf**. For that reason, you must explicitly grant scripts permission to run.\n\nYou can review permissions granted to your scripts and other applications by\nnavigating to [your account's Security page](//www.google.com/settings/security)\nand clicking **Manage third-party access**.\n| **Note:** If the original author of a script is disassociated with the Google Ads account from which the script was created, the script will stop running but remain available. If you wish for the script to continue to run, someone who still has access to the account must reauthorize it.\n\nHow to authorize\n----------------\n\nThe first time you try to preview or run a script, or whenever authorization\nhas lapsed for any reason, you are prompted to authorize the script\nautomatically. Just follow the on-screen instructions when this happens."]]