google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
60 lines (59 loc) • 2.48 kB
TypeScript
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
import type { IBinaryWriter } from "@protobuf-ts/runtime";
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
import type { IBinaryReader } from "@protobuf-ts/runtime";
import type { PartialMessage } from "@protobuf-ts/runtime";
import { MessageType } from "@protobuf-ts/runtime";
import { ManagerLinkStatusEnum_ManagerLinkStatus } from "../enums/manager_link_status";
/**
* Represents customer client link relationship.
*
* @generated from protobuf message google.ads.googleads.v11.resources.CustomerClientLink
*/
export interface CustomerClientLink {
/**
* Immutable. Name of the resource.
* CustomerClientLink resource names have the form:
* `customers/{customer_id}/customerClientLinks/{client_customer_id}~{manager_link_id}`
*
* @generated from protobuf field: string resource_name = 1;
*/
resourceName: string;
/**
* Immutable. The client customer linked to this customer.
*
* @generated from protobuf field: optional string client_customer = 7;
*/
clientCustomer?: string;
/**
* Output only. This is uniquely identifies a customer client link. Read only.
*
* @generated from protobuf field: optional int64 manager_link_id = 8;
*/
managerLinkId?: bigint;
/**
* This is the status of the link between client and manager.
*
* @generated from protobuf field: google.ads.googleads.v11.enums.ManagerLinkStatusEnum.ManagerLinkStatus status = 5;
*/
status: ManagerLinkStatusEnum_ManagerLinkStatus;
/**
* The visibility of the link. Users can choose whether or not to see hidden
* links in the Google Ads UI.
* Default value is false
*
* @generated from protobuf field: optional bool hidden = 9;
*/
hidden?: boolean;
}
declare class CustomerClientLink$Type extends MessageType<CustomerClientLink> {
constructor();
create(value?: PartialMessage<CustomerClientLink>): CustomerClientLink;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CustomerClientLink): CustomerClientLink;
internalBinaryWrite(message: CustomerClientLink, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.resources.CustomerClientLink
*/
export declare const CustomerClientLink: CustomerClientLink$Type;
export {};