google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
38 lines • 1.8 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.KeywordThemeConstantServiceClient = void 0;
const keyword_theme_constant_service_1 = require("./keyword_theme_constant_service");
const runtime_rpc_1 = require("@protobuf-ts/runtime-rpc");
// Proto file describing the Smart Campaign keyword theme constant service.
/**
* Service to fetch Smart Campaign keyword themes.
*
* @generated from protobuf service google.ads.googleads.v11.services.KeywordThemeConstantService
*/
class KeywordThemeConstantServiceClient {
constructor(_transport) {
this._transport = _transport;
this.typeName = keyword_theme_constant_service_1.KeywordThemeConstantService.typeName;
this.methods = keyword_theme_constant_service_1.KeywordThemeConstantService.methods;
this.options = keyword_theme_constant_service_1.KeywordThemeConstantService.options;
}
/**
* Returns KeywordThemeConstant suggestions by keyword themes.
*
* List of thrown errors:
* [AuthenticationError]()
* [AuthorizationError]()
* [HeaderError]()
* [InternalError]()
* [QuotaError]()
* [RequestError]()
*
* @generated from protobuf rpc: SuggestKeywordThemeConstants(google.ads.googleads.v11.services.SuggestKeywordThemeConstantsRequest) returns (google.ads.googleads.v11.services.SuggestKeywordThemeConstantsResponse);
*/
suggestKeywordThemeConstants(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.KeywordThemeConstantServiceClient = KeywordThemeConstantServiceClient;
//# sourceMappingURL=keyword_theme_constant_service.client.js.map