AI-generated Key Takeaways
- 
          ExcludedLocationOperation represents the creation of a new excluded location. 
- 
          Calling getErrors, getResult, or isSuccessful executes the operation. 
- 
          Store operations in an array before calling methods to improve script efficiency. 
- 
          The getErrors method returns a list of errors if the operation failed. 
- 
          The getResult method returns the created ExcludedLocation object if successful. 
- 
          The isSuccessful method returns true if the operation completed without errors. 
Methods:
| Member | Type | Description | 
|---|---|---|
| getErrors() | String[] | Returns an empty array if the operation was successful, otherwise returns the list of errors encountered when trying to create the ExcludedLocation. | 
| getResult() | AdsApp.ExcludedLocation | Returns the newly created ExcludedLocation, or nullif
the operation was unsuccessful. | 
| isSuccessful() | boolean | Returns trueif the operation was successful. | 
getErrors()
  Returns an empty array if the operation was successful, otherwise returns
the list of errors encountered when trying to create the ExcludedLocation.  Return values:
| Type | Description | 
|---|---|
| String[] | The errors that occurred during the ExcludedLocationOperation . | 
getResult()
  Returns the newly created ExcludedLocation, or null if
the operation was unsuccessful.  Return values:
| Type | Description | 
|---|---|
| AdsApp.ExcludedLocation | The ExcludedLocation created by the ExcludedLocationOperation. | 
isSuccessful()
  Returns true if the operation was successful.  Return values:
| Type | Description | 
|---|---|
| boolean | trueif the operation was successful. |