google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
76 lines (75 loc) • 3.15 kB
TypeScript
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import type { MutateKeywordPlanCampaignsResponse } from "./keyword_plan_campaign_service";
import type { MutateKeywordPlanCampaignsRequest } from "./keyword_plan_campaign_service";
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
/**
* Service to manage Keyword Plan campaigns.
*
* @generated from protobuf service google.ads.googleads.v11.services.KeywordPlanCampaignService
*/
export interface IKeywordPlanCampaignServiceClient {
/**
* Creates, updates, or removes Keyword Plan campaigns. Operation statuses are
* returned.
*
* List of thrown errors:
* [AuthenticationError]()
* [AuthorizationError]()
* [DatabaseError]()
* [FieldError]()
* [FieldMaskError]()
* [HeaderError]()
* [InternalError]()
* [KeywordPlanCampaignError]()
* [KeywordPlanError]()
* [ListOperationError]()
* [MutateError]()
* [QuotaError]()
* [RangeError]()
* [RequestError]()
* [ResourceCountLimitExceededError]()
*
* @generated from protobuf rpc: MutateKeywordPlanCampaigns(google.ads.googleads.v11.services.MutateKeywordPlanCampaignsRequest) returns (google.ads.googleads.v11.services.MutateKeywordPlanCampaignsResponse);
*/
mutateKeywordPlanCampaigns(input: MutateKeywordPlanCampaignsRequest, options?: RpcOptions): UnaryCall<MutateKeywordPlanCampaignsRequest, MutateKeywordPlanCampaignsResponse>;
}
/**
* Service to manage Keyword Plan campaigns.
*
* @generated from protobuf service google.ads.googleads.v11.services.KeywordPlanCampaignService
*/
export declare class KeywordPlanCampaignServiceClient implements IKeywordPlanCampaignServiceClient, 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 campaigns. Operation statuses are
* returned.
*
* List of thrown errors:
* [AuthenticationError]()
* [AuthorizationError]()
* [DatabaseError]()
* [FieldError]()
* [FieldMaskError]()
* [HeaderError]()
* [InternalError]()
* [KeywordPlanCampaignError]()
* [KeywordPlanError]()
* [ListOperationError]()
* [MutateError]()
* [QuotaError]()
* [RangeError]()
* [RequestError]()
* [ResourceCountLimitExceededError]()
*
* @generated from protobuf rpc: MutateKeywordPlanCampaigns(google.ads.googleads.v11.services.MutateKeywordPlanCampaignsRequest) returns (google.ads.googleads.v11.services.MutateKeywordPlanCampaignsResponse);
*/
mutateKeywordPlanCampaigns(input: MutateKeywordPlanCampaignsRequest, options?: RpcOptions): UnaryCall<MutateKeywordPlanCampaignsRequest, MutateKeywordPlanCampaignsResponse>;
}