google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
80 lines (79 loc) • 3.32 kB
TypeScript
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import type { MutateBillingSetupResponse } from "./billing_setup_service";
import type { MutateBillingSetupRequest } from "./billing_setup_service";
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
/**
* A service for designating the business entity responsible for accrued costs.
*
* A billing setup is associated with a payments account. Billing-related
* activity for all billing setups associated with a particular payments account
* will appear on a single invoice generated monthly.
*
* Mutates:
* The REMOVE operation cancels a pending billing setup.
* The CREATE operation creates a new billing setup.
*
* @generated from protobuf service google.ads.googleads.v11.services.BillingSetupService
*/
export interface IBillingSetupServiceClient {
/**
* Creates a billing setup, or cancels an existing billing setup.
*
* List of thrown errors:
* [AuthenticationError]()
* [AuthorizationError]()
* [BillingSetupError]()
* [DateError]()
* [FieldError]()
* [HeaderError]()
* [InternalError]()
* [MutateError]()
* [QuotaError]()
* [RequestError]()
*
* @generated from protobuf rpc: MutateBillingSetup(google.ads.googleads.v11.services.MutateBillingSetupRequest) returns (google.ads.googleads.v11.services.MutateBillingSetupResponse);
*/
mutateBillingSetup(input: MutateBillingSetupRequest, options?: RpcOptions): UnaryCall<MutateBillingSetupRequest, MutateBillingSetupResponse>;
}
/**
* A service for designating the business entity responsible for accrued costs.
*
* A billing setup is associated with a payments account. Billing-related
* activity for all billing setups associated with a particular payments account
* will appear on a single invoice generated monthly.
*
* Mutates:
* The REMOVE operation cancels a pending billing setup.
* The CREATE operation creates a new billing setup.
*
* @generated from protobuf service google.ads.googleads.v11.services.BillingSetupService
*/
export declare class BillingSetupServiceClient implements IBillingSetupServiceClient, 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 a billing setup, or cancels an existing billing setup.
*
* List of thrown errors:
* [AuthenticationError]()
* [AuthorizationError]()
* [BillingSetupError]()
* [DateError]()
* [FieldError]()
* [HeaderError]()
* [InternalError]()
* [MutateError]()
* [QuotaError]()
* [RequestError]()
*
* @generated from protobuf rpc: MutateBillingSetup(google.ads.googleads.v11.services.MutateBillingSetupRequest) returns (google.ads.googleads.v11.services.MutateBillingSetupResponse);
*/
mutateBillingSetup(input: MutateBillingSetupRequest, options?: RpcOptions): UnaryCall<MutateBillingSetupRequest, MutateBillingSetupResponse>;
}