google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
74 lines (73 loc) • 3.09 kB
TypeScript
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import type { MutateKeywordPlanAdGroupsResponse } from "./keyword_plan_ad_group_service";
import type { MutateKeywordPlanAdGroupsRequest } from "./keyword_plan_ad_group_service";
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
/**
* Service to manage Keyword Plan ad groups.
*
* @generated from protobuf service google.ads.googleads.v11.services.KeywordPlanAdGroupService
*/
export interface IKeywordPlanAdGroupServiceClient {
/**
* Creates, updates, or removes Keyword Plan ad groups. Operation statuses are
* returned.
*
* List of thrown errors:
* [AuthenticationError]()
* [AuthorizationError]()
* [DatabaseError]()
* [FieldError]()
* [FieldMaskError]()
* [HeaderError]()
* [InternalError]()
* [KeywordPlanAdGroupError]()
* [KeywordPlanError]()
* [MutateError]()
* [NewResourceCreationError]()
* [QuotaError]()
* [RequestError]()
* [ResourceCountLimitExceededError]()
*
* @generated from protobuf rpc: MutateKeywordPlanAdGroups(google.ads.googleads.v11.services.MutateKeywordPlanAdGroupsRequest) returns (google.ads.googleads.v11.services.MutateKeywordPlanAdGroupsResponse);
*/
mutateKeywordPlanAdGroups(input: MutateKeywordPlanAdGroupsRequest, options?: RpcOptions): UnaryCall<MutateKeywordPlanAdGroupsRequest, MutateKeywordPlanAdGroupsResponse>;
}
/**
* Service to manage Keyword Plan ad groups.
*
* @generated from protobuf service google.ads.googleads.v11.services.KeywordPlanAdGroupService
*/
export declare class KeywordPlanAdGroupServiceClient implements IKeywordPlanAdGroupServiceClient, ServiceInfo {
private readonly _transport;
typeName: string;
methods: import("@protobuf-ts/runtime-rpc").MethodInfo<any, any>[];
options: {
[extensionName: string]: import("@protobuf-ts/runtime").JsonValue;
};
constructor(_transport: RpcTransport);
/**
* Creates, updates, or removes Keyword Plan ad groups. Operation statuses are
* returned.
*
* List of thrown errors:
* [AuthenticationError]()
* [AuthorizationError]()
* [DatabaseError]()
* [FieldError]()
* [FieldMaskError]()
* [HeaderError]()
* [InternalError]()
* [KeywordPlanAdGroupError]()
* [KeywordPlanError]()
* [MutateError]()
* [NewResourceCreationError]()
* [QuotaError]()
* [RequestError]()
* [ResourceCountLimitExceededError]()
*
* @generated from protobuf rpc: MutateKeywordPlanAdGroups(google.ads.googleads.v11.services.MutateKeywordPlanAdGroupsRequest) returns (google.ads.googleads.v11.services.MutateKeywordPlanAdGroupsResponse);
*/
mutateKeywordPlanAdGroups(input: MutateKeywordPlanAdGroupsRequest, options?: RpcOptions): UnaryCall<MutateKeywordPlanAdGroupsRequest, MutateKeywordPlanAdGroupsResponse>;
}