Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Contains the methods for determining whether the negative keywords list was successfully added. For information about builders, operation objects, and performance considerations, see What are builders?
Methods
Method Name | Return Type | Description |
---|---|---|
getErrors | string[] | Gets the errors that occurred when adding the negative keywords list. |
getResult | NegativeKeywordList | Gets the negative keywords list that was added. |
isSuccessful | Boolean | Gets a Boolean value that indicates whether this operation succeeded. |
getErrors
Gets the errors that occurred when adding the negative keywords list.
Returns
Type | Description |
---|---|
string[] | An array of symbolic error codes if the add operation failed; otherwise, an empty array. For example, if one of the negative keywords matches a search keyword, the call returns CampaignServiceNegativeKeywordMatchesKeyword. For a description of these codes, see Operation error codes. |
getResult
Gets the negative keywords list that was added.
Returns
Type | Description |
---|---|
NegativeKeywordList | The negative keywords list that was added if the operation succeeded; otherwise, null. |
isSuccessful
Gets a Boolean value that indicates whether this operation succeeded.
Returns
Type | Description |
---|---|
Boolean | Is true if this operation succeeded; otherwise, false. |