google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
66 lines (65 loc) • 2.69 kB
TypeScript
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import type { MutateAdGroupAdLabelsResponse } from "./ad_group_ad_label_service";
import type { MutateAdGroupAdLabelsRequest } from "./ad_group_ad_label_service";
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
/**
* Service to manage labels on ad group ads.
*
* @generated from protobuf service google.ads.googleads.v11.services.AdGroupAdLabelService
*/
export interface IAdGroupAdLabelServiceClient {
/**
* Creates and removes ad group ad labels.
* Operation statuses are returned.
*
* List of thrown errors:
* [AuthenticationError]()
* [AuthorizationError]()
* [DatabaseError]()
* [HeaderError]()
* [InternalError]()
* [LabelError]()
* [MutateError]()
* [NewResourceCreationError]()
* [QuotaError]()
* [RequestError]()
*
* @generated from protobuf rpc: MutateAdGroupAdLabels(google.ads.googleads.v11.services.MutateAdGroupAdLabelsRequest) returns (google.ads.googleads.v11.services.MutateAdGroupAdLabelsResponse);
*/
mutateAdGroupAdLabels(input: MutateAdGroupAdLabelsRequest, options?: RpcOptions): UnaryCall<MutateAdGroupAdLabelsRequest, MutateAdGroupAdLabelsResponse>;
}
/**
* Service to manage labels on ad group ads.
*
* @generated from protobuf service google.ads.googleads.v11.services.AdGroupAdLabelService
*/
export declare class AdGroupAdLabelServiceClient implements IAdGroupAdLabelServiceClient, 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 and removes ad group ad labels.
* Operation statuses are returned.
*
* List of thrown errors:
* [AuthenticationError]()
* [AuthorizationError]()
* [DatabaseError]()
* [HeaderError]()
* [InternalError]()
* [LabelError]()
* [MutateError]()
* [NewResourceCreationError]()
* [QuotaError]()
* [RequestError]()
*
* @generated from protobuf rpc: MutateAdGroupAdLabels(google.ads.googleads.v11.services.MutateAdGroupAdLabelsRequest) returns (google.ads.googleads.v11.services.MutateAdGroupAdLabelsResponse);
*/
mutateAdGroupAdLabels(input: MutateAdGroupAdLabelsRequest, options?: RpcOptions): UnaryCall<MutateAdGroupAdLabelsRequest, MutateAdGroupAdLabelsResponse>;
}