AdsManagerApp.ExecutionResult
Stay organized with collections
Save and categorize content based on your preferences.
Details passed into a callback function. The callback function is called when
all the executions from an
ManagedAccountSelector.executeInParallel
call finish.
Methods:
Member | Type | Description |
getCustomerId |
String |
Returns the customer ID of the account. |
getError |
String |
Returns null if the execution completed successfully. |
getReturnValue |
String |
Returns null if no value was returned by the function that
executed on the account. |
getStatus |
String |
Returns the status of the execution. |
getCustomerId()
Returns the customer ID of the account. The returned value will be in the
standard Google Ads format, e.g.
'123-456-7890'
.
Return values:
Type | Description |
String |
The customer ID of the account. |
getError()
Returns
null
if the execution completed successfully.
Otherwise, returns the encountered error.
Return values:
Type | Description |
String |
null if the execution completed successfully.
Otherwise, returns the encountered error. |
getReturnValue()
Returns
null
if no value was returned by the function that
executed on the account. Otherwise, returns the value returned.
Return values:
Type | Description |
String |
null if no value was returned. Otherwise, returns the
return value of the function. |
getStatus()
Returns the status of the execution.
Possible return values:
OK
- execution has finished successfully.
ERROR
- execution has failed to finish due to an error.
TIMEOUT
- execution has failed to finish because it ran
out of time.
Return values:
Type | Description |
String |
The status of the execution. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-18 UTC."],[[["Provides details about executions from a `ManagedAccountSelector.executeInParallel` call, accessible through a callback function."],["Includes methods to retrieve the customer ID, error messages, return values, and execution status for each account."],["`getError()` returns `null` for successful executions or the encountered error message for failures."],["`getReturnValue()` returns `null` if the executed function didn't return a value, otherwise provides the returned value."],["Execution statuses can be `OK`, `ERROR`, or `TIMEOUT`, indicating successful completion, failure due to an error, or timeout, respectively."]]],[]]