AI-generated Key Takeaways
-
Calling methods on this operation executes the creation of a new excluded audience.
-
To improve efficiency, store operations in an array and call methods only after constructing all operations.
-
The
getErrors()method returns errors if the operation failed. -
The
getResult()method returns the created excluded audience or null. -
The
isSuccessful()method indicates 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 SearchCampaignExcludedAudience. |
| getResult() | AdsApp.SearchCampaignExcludedAudience |
Returns the newly created SearchCampaignExcludedAudience, 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 SearchCampaignExcludedAudience. Return values:
| Type | Description |
|---|---|
String[] |
The errors that occurred during the SearchCampaignExcludedAudienceOperation . |
getResult()
Returns the newly created SearchCampaignExcludedAudience, or null if
the operation was unsuccessful. Return values:
| Type | Description |
|---|---|
AdsApp.SearchCampaignExcludedAudience |
The SearchCampaignExcludedAudience created by the SearchCampaignExcludedAudienceOperation. |
isSuccessful()
Returns true if the operation was successful. Return values:
| Type | Description |
|---|---|
boolean |
true if the operation was successful. |