google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
64 lines (63 loc) • 2.78 kB
TypeScript
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import type { ListPaymentsAccountsResponse } from "./payments_account_service";
import type { ListPaymentsAccountsRequest } from "./payments_account_service";
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
/**
* Service to provide payments accounts that can be used to set up consolidated
* billing.
*
* @generated from protobuf service google.ads.googleads.v11.services.PaymentsAccountService
*/
export interface IPaymentsAccountServiceClient {
/**
* Returns all payments accounts associated with all managers
* between the login customer ID and specified serving customer in the
* hierarchy, inclusive.
*
* List of thrown errors:
* [AuthenticationError]()
* [AuthorizationError]()
* [HeaderError]()
* [InternalError]()
* [PaymentsAccountError]()
* [QuotaError]()
* [RequestError]()
*
* @generated from protobuf rpc: ListPaymentsAccounts(google.ads.googleads.v11.services.ListPaymentsAccountsRequest) returns (google.ads.googleads.v11.services.ListPaymentsAccountsResponse);
*/
listPaymentsAccounts(input: ListPaymentsAccountsRequest, options?: RpcOptions): UnaryCall<ListPaymentsAccountsRequest, ListPaymentsAccountsResponse>;
}
/**
* Service to provide payments accounts that can be used to set up consolidated
* billing.
*
* @generated from protobuf service google.ads.googleads.v11.services.PaymentsAccountService
*/
export declare class PaymentsAccountServiceClient implements IPaymentsAccountServiceClient, 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);
/**
* Returns all payments accounts associated with all managers
* between the login customer ID and specified serving customer in the
* hierarchy, inclusive.
*
* List of thrown errors:
* [AuthenticationError]()
* [AuthorizationError]()
* [HeaderError]()
* [InternalError]()
* [PaymentsAccountError]()
* [QuotaError]()
* [RequestError]()
*
* @generated from protobuf rpc: ListPaymentsAccounts(google.ads.googleads.v11.services.ListPaymentsAccountsRequest) returns (google.ads.googleads.v11.services.ListPaymentsAccountsResponse);
*/
listPaymentsAccounts(input: ListPaymentsAccountsRequest, options?: RpcOptions): UnaryCall<ListPaymentsAccountsRequest, ListPaymentsAccountsResponse>;
}