google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
43 lines • 1.86 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CustomerClientLinkServiceClient = void 0;
const customer_client_link_service_1 = require("./customer_client_link_service");
const runtime_rpc_1 = require("@protobuf-ts/runtime-rpc");
/**
* Service to manage customer client links.
*
* @generated from protobuf service google.ads.googleads.v11.services.CustomerClientLinkService
*/
class CustomerClientLinkServiceClient {
constructor(_transport) {
this._transport = _transport;
this.typeName = customer_client_link_service_1.CustomerClientLinkService.typeName;
this.methods = customer_client_link_service_1.CustomerClientLinkService.methods;
this.options = customer_client_link_service_1.CustomerClientLinkService.options;
}
/**
* Creates or updates a customer client link. Operation statuses are returned.
*
* List of thrown errors:
* [AuthenticationError]()
* [AuthorizationError]()
* [DatabaseError]()
* [FieldError]()
* [FieldMaskError]()
* [HeaderError]()
* [InternalError]()
* [ManagerLinkError]()
* [MutateError]()
* [NewResourceCreationError]()
* [QuotaError]()
* [RequestError]()
*
* @generated from protobuf rpc: MutateCustomerClientLink(google.ads.googleads.v11.services.MutateCustomerClientLinkRequest) returns (google.ads.googleads.v11.services.MutateCustomerClientLinkResponse);
*/
mutateCustomerClientLink(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.CustomerClientLinkServiceClient = CustomerClientLinkServiceClient;
//# sourceMappingURL=customer_client_link_service.client.js.map