google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
88 lines (87 loc) • 3.57 kB
TypeScript
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import type { MutateAccountBudgetProposalResponse } from "./account_budget_proposal_service";
import type { MutateAccountBudgetProposalRequest } from "./account_budget_proposal_service";
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
/**
* A service for managing account-level budgets through proposals.
*
* A proposal is a request to create a new budget or make changes to an
* existing one.
*
* Mutates:
* The CREATE operation creates a new proposal.
* UPDATE operations aren't supported.
* The REMOVE operation cancels a pending proposal.
*
* @generated from protobuf service google.ads.googleads.v11.services.AccountBudgetProposalService
*/
export interface IAccountBudgetProposalServiceClient {
/**
* Creates, updates, or removes account budget proposals. Operation statuses
* are returned.
*
* List of thrown errors:
* [AccountBudgetProposalError]()
* [AuthenticationError]()
* [AuthorizationError]()
* [DatabaseError]()
* [DateError]()
* [FieldError]()
* [FieldMaskError]()
* [HeaderError]()
* [InternalError]()
* [MutateError]()
* [QuotaError]()
* [RequestError]()
* [StringLengthError]()
*
* @generated from protobuf rpc: MutateAccountBudgetProposal(google.ads.googleads.v11.services.MutateAccountBudgetProposalRequest) returns (google.ads.googleads.v11.services.MutateAccountBudgetProposalResponse);
*/
mutateAccountBudgetProposal(input: MutateAccountBudgetProposalRequest, options?: RpcOptions): UnaryCall<MutateAccountBudgetProposalRequest, MutateAccountBudgetProposalResponse>;
}
/**
* A service for managing account-level budgets through proposals.
*
* A proposal is a request to create a new budget or make changes to an
* existing one.
*
* Mutates:
* The CREATE operation creates a new proposal.
* UPDATE operations aren't supported.
* The REMOVE operation cancels a pending proposal.
*
* @generated from protobuf service google.ads.googleads.v11.services.AccountBudgetProposalService
*/
export declare class AccountBudgetProposalServiceClient implements IAccountBudgetProposalServiceClient, 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 account budget proposals. Operation statuses
* are returned.
*
* List of thrown errors:
* [AccountBudgetProposalError]()
* [AuthenticationError]()
* [AuthorizationError]()
* [DatabaseError]()
* [DateError]()
* [FieldError]()
* [FieldMaskError]()
* [HeaderError]()
* [InternalError]()
* [MutateError]()
* [QuotaError]()
* [RequestError]()
* [StringLengthError]()
*
* @generated from protobuf rpc: MutateAccountBudgetProposal(google.ads.googleads.v11.services.MutateAccountBudgetProposalRequest) returns (google.ads.googleads.v11.services.MutateAccountBudgetProposalResponse);
*/
mutateAccountBudgetProposal(input: MutateAccountBudgetProposalRequest, options?: RpcOptions): UnaryCall<MutateAccountBudgetProposalRequest, MutateAccountBudgetProposalResponse>;
}