google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
76 lines (75 loc) • 3.2 kB
TypeScript
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import type { UploadUserDataResponse } from "./user_data_service";
import type { UploadUserDataRequest } from "./user_data_service";
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
/**
* Service to manage user data uploads.
* Any uploads made to a Customer Match list through this service will be
* eligible for matching as per the customer matching process. See
* https://support.google.com/google-ads/answer/7474263. However, the uploads
* made through this service will not be visible under the 'Segment members'
* section for the Customer Match List in the Google Ads UI.
*
* @generated from protobuf service google.ads.googleads.v11.services.UserDataService
*/
export interface IUserDataServiceClient {
/**
* Uploads the given user data.
*
* List of thrown errors:
* [AuthenticationError]()
* [AuthorizationError]()
* [CollectionSizeError]()
* [FieldError]()
* [HeaderError]()
* [InternalError]()
* [MutateError]()
* [OfflineUserDataJobError]()
* [QuotaError]()
* [RequestError]()
* [UserDataError]()
*
* @generated from protobuf rpc: UploadUserData(google.ads.googleads.v11.services.UploadUserDataRequest) returns (google.ads.googleads.v11.services.UploadUserDataResponse);
*/
uploadUserData(input: UploadUserDataRequest, options?: RpcOptions): UnaryCall<UploadUserDataRequest, UploadUserDataResponse>;
}
/**
* Service to manage user data uploads.
* Any uploads made to a Customer Match list through this service will be
* eligible for matching as per the customer matching process. See
* https://support.google.com/google-ads/answer/7474263. However, the uploads
* made through this service will not be visible under the 'Segment members'
* section for the Customer Match List in the Google Ads UI.
*
* @generated from protobuf service google.ads.googleads.v11.services.UserDataService
*/
export declare class UserDataServiceClient implements IUserDataServiceClient, 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);
/**
* Uploads the given user data.
*
* List of thrown errors:
* [AuthenticationError]()
* [AuthorizationError]()
* [CollectionSizeError]()
* [FieldError]()
* [HeaderError]()
* [InternalError]()
* [MutateError]()
* [OfflineUserDataJobError]()
* [QuotaError]()
* [RequestError]()
* [UserDataError]()
*
* @generated from protobuf rpc: UploadUserData(google.ads.googleads.v11.services.UploadUserDataRequest) returns (google.ads.googleads.v11.services.UploadUserDataResponse);
*/
uploadUserData(input: UploadUserDataRequest, options?: RpcOptions): UnaryCall<UploadUserDataRequest, UploadUserDataResponse>;
}