ExecutionResult

Contains the methods used to get the execution result of the executeInParallel function (see BingAdsAccountSelector).

Methods

Method Name Return Type Description
getAccountId String Gets the ID of the account that was processed.
getCustomerId String Gets the ID of the customer that owns the account.
getError String Gets the error message if the executeInParallel function failed.
getReturnValue String Gets the return value that the executeInParallel function returned.
getStatus String Gets the status that indicates whether the function succeeded.

getAccountId

Gets the ID of the account that was processed.

Returns

Type Description
String The ID of the account that was processed.

getCustomerId

Gets the ID of the customer that owns the account.

Returns

Type Description
String The ID of the customer that owns the account.

getError

Gets the error message if the executeInParallel function failed.

Returns

Type Description
String The error message if the executeInParallel function failed. The error is set if the getStatus method returns ERROR. This method returns null if there was no error.

getReturnValue

Gets the return value that the executeInParallel function returned. For details, see BingAdsAccountSelector.

Returns

Type Description
String The return value that the executeInParallel function returned. Returns null if the function did not return a value.

getStatus

Gets the status that indicates whether the function succeeded.

Returns

Type Description
String The status that indicates whether the function succeeded. Possible values are:
  • OK — The function finished successfully.
  • ERROR — An error occurred while executing the function.
  • TIMEOUT — The function failed to complete in the required time.