UNPKG

google-ads-api-client

Version:

A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.

120 lines (119 loc) 5.53 kB
import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import type { MutateMerchantCenterLinkResponse } from "./merchant_center_link_service"; import type { MutateMerchantCenterLinkRequest } from "./merchant_center_link_service"; import type { MerchantCenterLink } from "../resources/merchant_center_link"; import type { GetMerchantCenterLinkRequest } from "./merchant_center_link_service"; import type { ListMerchantCenterLinksResponse } from "./merchant_center_link_service"; import type { ListMerchantCenterLinksRequest } from "./merchant_center_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 and Google * Merchant Center. * * @generated from protobuf service google.ads.googleads.v11.services.MerchantCenterLinkService */ export interface IMerchantCenterLinkServiceClient { /** * Returns Merchant Center links available for this customer. * * List of thrown errors: * [AuthenticationError]() * [AuthorizationError]() * [HeaderError]() * [InternalError]() * [QuotaError]() * [RequestError]() * * @generated from protobuf rpc: ListMerchantCenterLinks(google.ads.googleads.v11.services.ListMerchantCenterLinksRequest) returns (google.ads.googleads.v11.services.ListMerchantCenterLinksResponse); */ listMerchantCenterLinks(input: ListMerchantCenterLinksRequest, options?: RpcOptions): UnaryCall<ListMerchantCenterLinksRequest, ListMerchantCenterLinksResponse>; /** * Returns the Merchant Center link in full detail. * * List of thrown errors: * [AuthenticationError]() * [AuthorizationError]() * [HeaderError]() * [InternalError]() * [QuotaError]() * [RequestError]() * * @generated from protobuf rpc: GetMerchantCenterLink(google.ads.googleads.v11.services.GetMerchantCenterLinkRequest) returns (google.ads.googleads.v11.resources.MerchantCenterLink); */ getMerchantCenterLink(input: GetMerchantCenterLinkRequest, options?: RpcOptions): UnaryCall<GetMerchantCenterLinkRequest, MerchantCenterLink>; /** * Updates status or removes a Merchant Center link. * * List of thrown errors: * [AuthenticationError]() * [AuthorizationError]() * [FieldMaskError]() * [HeaderError]() * [InternalError]() * [QuotaError]() * [RequestError]() * * @generated from protobuf rpc: MutateMerchantCenterLink(google.ads.googleads.v11.services.MutateMerchantCenterLinkRequest) returns (google.ads.googleads.v11.services.MutateMerchantCenterLinkResponse); */ mutateMerchantCenterLink(input: MutateMerchantCenterLinkRequest, options?: RpcOptions): UnaryCall<MutateMerchantCenterLinkRequest, MutateMerchantCenterLinkResponse>; } /** * This service allows management of links between Google Ads and Google * Merchant Center. * * @generated from protobuf service google.ads.googleads.v11.services.MerchantCenterLinkService */ export declare class MerchantCenterLinkServiceClient implements IMerchantCenterLinkServiceClient, 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 Merchant Center links available for this customer. * * List of thrown errors: * [AuthenticationError]() * [AuthorizationError]() * [HeaderError]() * [InternalError]() * [QuotaError]() * [RequestError]() * * @generated from protobuf rpc: ListMerchantCenterLinks(google.ads.googleads.v11.services.ListMerchantCenterLinksRequest) returns (google.ads.googleads.v11.services.ListMerchantCenterLinksResponse); */ listMerchantCenterLinks(input: ListMerchantCenterLinksRequest, options?: RpcOptions): UnaryCall<ListMerchantCenterLinksRequest, ListMerchantCenterLinksResponse>; /** * Returns the Merchant Center link in full detail. * * List of thrown errors: * [AuthenticationError]() * [AuthorizationError]() * [HeaderError]() * [InternalError]() * [QuotaError]() * [RequestError]() * * @generated from protobuf rpc: GetMerchantCenterLink(google.ads.googleads.v11.services.GetMerchantCenterLinkRequest) returns (google.ads.googleads.v11.resources.MerchantCenterLink); */ getMerchantCenterLink(input: GetMerchantCenterLinkRequest, options?: RpcOptions): UnaryCall<GetMerchantCenterLinkRequest, MerchantCenterLink>; /** * Updates status or removes a Merchant Center link. * * List of thrown errors: * [AuthenticationError]() * [AuthorizationError]() * [FieldMaskError]() * [HeaderError]() * [InternalError]() * [QuotaError]() * [RequestError]() * * @generated from protobuf rpc: MutateMerchantCenterLink(google.ads.googleads.v11.services.MutateMerchantCenterLinkRequest) returns (google.ads.googleads.v11.services.MutateMerchantCenterLinkResponse); */ mutateMerchantCenterLink(input: MutateMerchantCenterLinkRequest, options?: RpcOptions): UnaryCall<MutateMerchantCenterLinkRequest, MutateMerchantCenterLinkResponse>; }