AI-generated Key Takeaways
-
ExcludedVideoGenderOperation represents the creation of a new excluded video gender.
-
Calling any of the operation's methods executes the operation.
-
For efficiency, it is recommended to store operations in an array and call methods after constructing all operations.
-
The
getErrors()
method returns an array of errors if the operation failed, or an empty array if successful. -
The
getResult()
method returns the newly created ExcludedVideoGender object if successful, or null if unsuccessful. -
The
isSuccessful()
method returns a boolean indicating whether 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 ExcludedVideoGender. |
getResult() | AdsApp.ExcludedVideoGender |
Returns the newly created ExcludedVideoGender, 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 ExcludedVideoGender. Return values:
Type | Description |
---|---|
String[] |
The errors that occurred during the ExcludedVideoGenderOperation . |
getResult()
Returns the newly created ExcludedVideoGender, or null
if
the operation was unsuccessful. Return values:
Type | Description |
---|---|
AdsApp.ExcludedVideoGender |
The ExcludedVideoGender created by the ExcludedVideoGenderOperation. |
isSuccessful()
Returns true
if the operation was successful. Return values:
Type | Description |
---|---|
boolean |
true if the operation was successful. |