🤖chiliad
ClaudeТарифи
Довідковий центрScripts and deployment

How Google Ads script authorization works

What you approve when you authorize a script, who the script acts as, and why authorization sometimes has to be repeated.

Before a script can run, a person has to authorize it. Authorization tells Google that the script may act on the account, and use other Google services, on that person's behalf.

What you are approving

The consent screen lists what the script needs: managing your Google Ads campaigns, and any other services the code uses — Google Sheets, Drive, Gmail, or connecting to external services. Google works this list out from the code it can see in the script.

The script acts as you

A script has no identity of its own. It runs with the access of the user who authorized it:

  • It can reach the accounts and spreadsheets that user can reach, and no others.
  • Emails it sends come from that user.
  • If that user loses access to the account or leaves the organization, the script stops working until someone else authorizes it.

For anything long-lived, authorize with a login that will stay, not a personal one that might disappear.

When you have to authorize again

  • The script begins using a service it did not use before.
  • The authorizing user's access changed or was revoked.
  • Google asks for re-consent after changes to its permissions.

Authorization and the chiliad loader

The loader fetches your code at run time, so Google cannot see which services that code uses. The loader therefore includes a setup() function listing the services detected in your script; it is never called, it exists so the consent screen asks for the right permissions.

If you later add, say, a spreadsheet export to a script that had none, copy the loader again and paste it over the old one, then authorize. Other changes to the code need no action in Google Ads.

Частина посібникаScripts and deployment

Більше на цю тему

  • How to add a script to Google Ads
  • How to schedule a Google Ads script
  • Preview vs Run in Google Ads scripts: what is the difference?
  • Google Ads script limits: execution time, accounts and quotas
  • How to run one Google Ads script on multiple accounts
  • How to update a Google Ads script in every account at once
  • How to use different script settings for each account
  • How to roll back a Google Ads script to an earlier version
  • How a Google Ads script is structured: main(), settings and helpers
  • How to use Google Sheets from a Google Ads script
  • How to send email alerts from a Google Ads script

Не вдалося розібратися?

Надішліть нам запитання з довідкового центру — ми читаємо кожне повідомлення.

Поставити запитання
🤖chiliad

Платформа для керування й автоматизації скриптів Google Ads у великому масштабі. Створена для PPC-агенцій та фрилансерів.

chiliad — Google Ads Script Management - Monitor and manage Google Ads scripts across every account | Product Hunt

Продукт

  • Сценарії використання
  • Можливості
  • Конектор Claude
  • Тарифи
  • Маркетплейс
  • Блог
  • Про нас
  • Дорожня карта
  • Журнал змін

Підтримка

  • Зв’язатися з нами
  • Довідковий центр
  • Умови користування
  • Політика конфіденційності

© 2026 chiliad. Усі права захищено.