AdsApp.​ExecutionInfo

Miscellaneous information about the current script execution.

Methods:

MemberTypeDescription
getRemainingCreateQuotaintReturns the remaining number of Google Ads entities the script is allowed to create in this execution.
getRemainingGetQuotaintReturns the remaining number of Google Ads entities the script is allowed to fetch in this execution.
getRemainingTimeintReturns the remaining time in seconds the script is allowed to execute.
getScriptNameStringReturns the name of the current script being executed.
isPreviewbooleanReturns 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
intThe 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
intThe 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
intThe remaining time in seconds the script is allowed to execute.

getScriptName()

Returns the name of the current script being executed.

Return values:

TypeDescription
StringA string representing the name of current script being executed.

isPreview()

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

Return values:

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