google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
58 lines • 2.43 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CustomerExtensionSettingServiceClient = void 0;
const customer_extension_setting_service_1 = require("./customer_extension_setting_service");
const runtime_rpc_1 = require("@protobuf-ts/runtime-rpc");
// Proto file describing the CustomerExtensionSetting service.
/**
* Service to manage customer extension settings.
*
* @generated from protobuf service google.ads.googleads.v11.services.CustomerExtensionSettingService
*/
class CustomerExtensionSettingServiceClient {
constructor(_transport) {
this._transport = _transport;
this.typeName = customer_extension_setting_service_1.CustomerExtensionSettingService.typeName;
this.methods = customer_extension_setting_service_1.CustomerExtensionSettingService.methods;
this.options = customer_extension_setting_service_1.CustomerExtensionSettingService.options;
}
/**
* Creates, updates, or removes customer extension settings. Operation
* statuses are returned.
*
* List of thrown errors:
* [AuthenticationError]()
* [AuthorizationError]()
* [CollectionSizeError]()
* [CriterionError]()
* [DatabaseError]()
* [DateError]()
* [DistinctError]()
* [ExtensionSettingError]()
* [FieldError]()
* [HeaderError]()
* [IdError]()
* [InternalError]()
* [ListOperationError]()
* [MutateError]()
* [NewResourceCreationError]()
* [NotEmptyError]()
* [NullError]()
* [OperatorError]()
* [QuotaError]()
* [RangeError]()
* [RequestError]()
* [SizeLimitError]()
* [StringFormatError]()
* [StringLengthError]()
* [UrlFieldError]()
*
* @generated from protobuf rpc: MutateCustomerExtensionSettings(google.ads.googleads.v11.services.MutateCustomerExtensionSettingsRequest) returns (google.ads.googleads.v11.services.MutateCustomerExtensionSettingsResponse);
*/
mutateCustomerExtensionSettings(input, options) {
const method = this.methods[0], opt = this._transport.mergeOptions(options);
return (0, runtime_rpc_1.stackIntercept)("unary", this._transport, method, opt, input);
}
}
exports.CustomerExtensionSettingServiceClient = CustomerExtensionSettingServiceClient;
//# sourceMappingURL=customer_extension_setting_service.client.js.map