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 ad group was successfully added. For information about builders, operation objects, and performance considerations, see What are builders?
Because calling any of this object's methods forces Scripts to flush the build queue, be sure to read the performance considerations carefully.
Method Name | Return Type | Description |
---|---|---|
getErrors | string[] | Gets any errors that occurred when adding the ad group. |
getResult | AdGroup | Gets the ad group that was added. |
isSuccessful | Boolean | Gets a Boolean value that indicates whether the add operation succeeded. |
Gets any errors that occurred when adding the ad group.
Type | Description |
---|---|
string[] | An array of error codes if the operation failed; otherwise, an empty array. For example, if the bid amount is invalid, the call returns CampaignServiceInvalidSearchBids. For a description of these codes, see Operation error codes. |
Gets the ad group that was added.
Type | Description |
---|---|
AdGroup | The ad group that was created if the operation succeeded; otherwise, null. |
Gets a Boolean value that indicates whether the add operation succeeded.
Type | Description |
---|---|
Boolean | Is true if the operation succeeded; otherwise, false. |