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.
getScriptName String Returns the name of the current script being executed.
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.

getScriptName()

Returns the name of the current script being executed.

Return values:

TypeDescription
String A 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
boolean true if the script is currently being previewed, or false if it is a live execution.