google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
68 lines (67 loc) • 2.68 kB
TypeScript
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import type { MutateAdGroupLabelsResponse } from "./ad_group_label_service";
import type { MutateAdGroupLabelsRequest } from "./ad_group_label_service";
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
/**
* Service to manage labels on ad groups.
*
* @generated from protobuf service google.ads.googleads.v11.services.AdGroupLabelService
*/
export interface IAdGroupLabelServiceClient {
/**
* Creates and removes ad group labels.
* Operation statuses are returned.
*
* List of thrown errors:
* [AuthenticationError]()
* [AuthorizationError]()
* [DatabaseError]()
* [FieldError]()
* [HeaderError]()
* [InternalError]()
* [LabelError]()
* [MutateError]()
* [NewResourceCreationError]()
* [QuotaError]()
* [RequestError]()
*
* @generated from protobuf rpc: MutateAdGroupLabels(google.ads.googleads.v11.services.MutateAdGroupLabelsRequest) returns (google.ads.googleads.v11.services.MutateAdGroupLabelsResponse);
*/
mutateAdGroupLabels(input: MutateAdGroupLabelsRequest, options?: RpcOptions): UnaryCall<MutateAdGroupLabelsRequest, MutateAdGroupLabelsResponse>;
}
/**
* Service to manage labels on ad groups.
*
* @generated from protobuf service google.ads.googleads.v11.services.AdGroupLabelService
*/
export declare class AdGroupLabelServiceClient implements IAdGroupLabelServiceClient, 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 labels.
* Operation statuses are returned.
*
* List of thrown errors:
* [AuthenticationError]()
* [AuthorizationError]()
* [DatabaseError]()
* [FieldError]()
* [HeaderError]()
* [InternalError]()
* [LabelError]()
* [MutateError]()
* [NewResourceCreationError]()
* [QuotaError]()
* [RequestError]()
*
* @generated from protobuf rpc: MutateAdGroupLabels(google.ads.googleads.v11.services.MutateAdGroupLabelsRequest) returns (google.ads.googleads.v11.services.MutateAdGroupLabelsResponse);
*/
mutateAdGroupLabels(input: MutateAdGroupLabelsRequest, options?: RpcOptions): UnaryCall<MutateAdGroupLabelsRequest, MutateAdGroupLabelsResponse>;
}