Miscellaneous information about the current script execution.
Methods:
Member | Type | Description |
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:
Type | Description |
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:
Type | Description |
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:
Type | Description |
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:
Type | Description |
boolean |
true if the script is currently being previewed, or false if it is a
live execution. |