google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
77 lines (76 loc) • 3.98 kB
TypeScript
import { ServiceType } from "@protobuf-ts/runtime-rpc";
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
import type { IBinaryWriter } from "@protobuf-ts/runtime";
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
import type { IBinaryReader } from "@protobuf-ts/runtime";
import type { PartialMessage } from "@protobuf-ts/runtime";
import { MessageType } from "@protobuf-ts/runtime";
import { KeywordThemeConstant } from "../resources/keyword_theme_constant";
/**
* Request message for
* [KeywordThemeConstantService.SuggestKeywordThemeConstants][google.ads.googleads.v11.services.KeywordThemeConstantService.SuggestKeywordThemeConstants].
*
* @generated from protobuf message google.ads.googleads.v11.services.SuggestKeywordThemeConstantsRequest
*/
export interface SuggestKeywordThemeConstantsRequest {
/**
* The query text of a keyword theme that will be used to map to similar
* keyword themes. For example, "plumber" or "roofer".
*
* @generated from protobuf field: string query_text = 1;
*/
queryText: string;
/**
* Upper-case, two-letter country code as defined by ISO-3166. This for
* refining the scope of the query, default to 'US' if not set.
*
* @generated from protobuf field: string country_code = 2;
*/
countryCode: string;
/**
* The two letter language code for get corresponding keyword theme for
* refining the scope of the query, default to 'en' if not set.
*
* @generated from protobuf field: string language_code = 3;
*/
languageCode: string;
}
/**
* Response message for
* [KeywordThemeConstantService.SuggestKeywordThemeConstants][google.ads.googleads.v11.services.KeywordThemeConstantService.SuggestKeywordThemeConstants].
*
* @generated from protobuf message google.ads.googleads.v11.services.SuggestKeywordThemeConstantsResponse
*/
export interface SuggestKeywordThemeConstantsResponse {
/**
* Smart Campaign keyword theme suggestions.
*
* @generated from protobuf field: repeated google.ads.googleads.v11.resources.KeywordThemeConstant keyword_theme_constants = 1;
*/
keywordThemeConstants: KeywordThemeConstant[];
}
declare class SuggestKeywordThemeConstantsRequest$Type extends MessageType<SuggestKeywordThemeConstantsRequest> {
constructor();
create(value?: PartialMessage<SuggestKeywordThemeConstantsRequest>): SuggestKeywordThemeConstantsRequest;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SuggestKeywordThemeConstantsRequest): SuggestKeywordThemeConstantsRequest;
internalBinaryWrite(message: SuggestKeywordThemeConstantsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.services.SuggestKeywordThemeConstantsRequest
*/
export declare const SuggestKeywordThemeConstantsRequest: SuggestKeywordThemeConstantsRequest$Type;
declare class SuggestKeywordThemeConstantsResponse$Type extends MessageType<SuggestKeywordThemeConstantsResponse> {
constructor();
create(value?: PartialMessage<SuggestKeywordThemeConstantsResponse>): SuggestKeywordThemeConstantsResponse;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SuggestKeywordThemeConstantsResponse): SuggestKeywordThemeConstantsResponse;
internalBinaryWrite(message: SuggestKeywordThemeConstantsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.services.SuggestKeywordThemeConstantsResponse
*/
export declare const SuggestKeywordThemeConstantsResponse: SuggestKeywordThemeConstantsResponse$Type;
/**
* @generated ServiceType for protobuf service google.ads.googleads.v11.services.KeywordThemeConstantService
*/
export declare const KeywordThemeConstantService: ServiceType;
export {};