AI-generated Key Takeaways
-
The operation creates a new excluded video keyword.
-
Calling
getErrors,getResult, orisSuccessfulexecutes the operation and creates the excluded video keyword. -
Storing operations in an array and calling the methods after constructing all operations improves script efficiency.
-
The
getErrors()method returns an array of strings listing errors or an empty array if successful. -
The
getResult()method returns the newly created excluded video keyword ornullif unsuccessful. -
The
isSuccessful()method returns a boolean indicating if the operation was successful.
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 ExcludedVideoKeyword. |
| getResult() | AdsApp.ExcludedVideoKeyword |
Returns the newly created ExcludedVideoKeyword, or null if
the operation was unsuccessful. |
| isSuccessful() | boolean |
Returns true if 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 ExcludedVideoKeyword. Return values:
| Type | Description |
|---|---|
String[] |
The errors that occurred during the ExcludedVideoKeywordOperation . |
getResult()
Returns the newly created ExcludedVideoKeyword, or null if
the operation was unsuccessful. Return values:
| Type | Description |
|---|---|
AdsApp.ExcludedVideoKeyword |
The ExcludedVideoKeyword created by the ExcludedVideoKeywordOperation. |
isSuccessful()
Returns true if the operation was successful. Return values:
| Type | Description |
|---|---|
boolean |
true if the operation was successful. |