This is the legacy documentation for Google Ads scripts. Go to the current docs.

AdsApp.​ExecutionInfo

Miscellaneous information about the current script execution.

Methods:

MemberTypeDescription
getRemainingCreateQuota int Returns the remaining number of Google Ads entities the script is allowed to create in this execution.
getRemainingGetQuota int Returns the remaining number of Google Ads entities the script is allowed to fetch in this execution.
getRemainingTime int Returns the remaining time in seconds the script is allowed to execute.
isPreview boolean Returns true if the script is currently being previewed, or false if it is a live execution.

getRemainingCreateQuota()

Returns the remaining number of Google Ads entities the script is allowed to create in this execution. See the 'Limits' page for more information.

Return values:

TypeDescription
int The remaining number of Google Ads entities the script is allowed to create in this execution.

getRemainingGetQuota()

Returns the remaining number of Google Ads entities the script is allowed to fetch in this execution. See the 'Limits' page for more information.

Return values:

TypeDescription
int The remaining number of Google Ads entities the script is allowed to fetch in this execution.

getRemainingTime()

Returns the remaining time in seconds the script is allowed to execute. See the 'Limits' page for more information.

Return values:

TypeDescription
int The remaining time in seconds the script is allowed to execute.

isPreview()

Returns true if the script is currently being previewed, or false if it is a live execution.

Return values:

TypeDescription
boolean true if the script is currently being previewed, or false if it is a live execution.