google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
108 lines (107 loc) • 4.41 kB
TypeScript
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import type { MutateAccountLinkResponse } from "./account_link_service";
import type { MutateAccountLinkRequest } from "./account_link_service";
import type { CreateAccountLinkResponse } from "./account_link_service";
import type { CreateAccountLinkRequest } from "./account_link_service";
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
/**
* This service allows management of links between Google Ads accounts and other
* accounts.
*
* @generated from protobuf service google.ads.googleads.v11.services.AccountLinkService
*/
export interface IAccountLinkServiceClient {
/**
* Creates an account link.
*
* List of thrown errors:
* [AuthenticationError]()
* [AuthorizationError]()
* [DatabaseError]()
* [FieldError]()
* [HeaderError]()
* [InternalError]()
* [MutateError]()
* [QuotaError]()
* [RequestError]()
* [ThirdPartyAppAnalyticsLinkError]()
*
* @generated from protobuf rpc: CreateAccountLink(google.ads.googleads.v11.services.CreateAccountLinkRequest) returns (google.ads.googleads.v11.services.CreateAccountLinkResponse);
*/
createAccountLink(input: CreateAccountLinkRequest, options?: RpcOptions): UnaryCall<CreateAccountLinkRequest, CreateAccountLinkResponse>;
/**
* Creates or removes an account link.
* From V5, create is not supported through
* AccountLinkService.MutateAccountLink. Use
* AccountLinkService.CreateAccountLink instead.
*
* List of thrown errors:
* [AccountLinkError]()
* [AuthenticationError]()
* [AuthorizationError]()
* [FieldMaskError]()
* [HeaderError]()
* [InternalError]()
* [MutateError]()
* [QuotaError]()
* [RequestError]()
*
* @generated from protobuf rpc: MutateAccountLink(google.ads.googleads.v11.services.MutateAccountLinkRequest) returns (google.ads.googleads.v11.services.MutateAccountLinkResponse);
*/
mutateAccountLink(input: MutateAccountLinkRequest, options?: RpcOptions): UnaryCall<MutateAccountLinkRequest, MutateAccountLinkResponse>;
}
/**
* This service allows management of links between Google Ads accounts and other
* accounts.
*
* @generated from protobuf service google.ads.googleads.v11.services.AccountLinkService
*/
export declare class AccountLinkServiceClient implements IAccountLinkServiceClient, 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 an account link.
*
* List of thrown errors:
* [AuthenticationError]()
* [AuthorizationError]()
* [DatabaseError]()
* [FieldError]()
* [HeaderError]()
* [InternalError]()
* [MutateError]()
* [QuotaError]()
* [RequestError]()
* [ThirdPartyAppAnalyticsLinkError]()
*
* @generated from protobuf rpc: CreateAccountLink(google.ads.googleads.v11.services.CreateAccountLinkRequest) returns (google.ads.googleads.v11.services.CreateAccountLinkResponse);
*/
createAccountLink(input: CreateAccountLinkRequest, options?: RpcOptions): UnaryCall<CreateAccountLinkRequest, CreateAccountLinkResponse>;
/**
* Creates or removes an account link.
* From V5, create is not supported through
* AccountLinkService.MutateAccountLink. Use
* AccountLinkService.CreateAccountLink instead.
*
* List of thrown errors:
* [AccountLinkError]()
* [AuthenticationError]()
* [AuthorizationError]()
* [FieldMaskError]()
* [HeaderError]()
* [InternalError]()
* [MutateError]()
* [QuotaError]()
* [RequestError]()
*
* @generated from protobuf rpc: MutateAccountLink(google.ads.googleads.v11.services.MutateAccountLinkRequest) returns (google.ads.googleads.v11.services.MutateAccountLinkResponse);
*/
mutateAccountLink(input: MutateAccountLinkRequest, options?: RpcOptions): UnaryCall<MutateAccountLinkRequest, MutateAccountLinkResponse>;
}