google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
56 lines (55 loc) • 2.36 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 { MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus } from "../enums/merchant_center_link_status";
/**
* A data sharing connection, proposed or in use,
* between a Google Ads Customer and a Merchant Center account.
*
* @generated from protobuf message google.ads.googleads.v11.resources.MerchantCenterLink
*/
export interface MerchantCenterLink {
/**
* Immutable. The resource name of the merchant center link.
* Merchant center link resource names have the form:
*
* `customers/{customer_id}/merchantCenterLinks/{merchant_center_id}`
*
* @generated from protobuf field: string resource_name = 1;
*/
resourceName: string;
/**
* Output only. The ID of the Merchant Center account.
* This field is readonly.
*
* @generated from protobuf field: optional int64 id = 6;
*/
id?: bigint;
/**
* Output only. The name of the Merchant Center account.
* This field is readonly.
*
* @generated from protobuf field: optional string merchant_center_account_name = 7;
*/
merchantCenterAccountName?: string;
/**
* The status of the link.
*
* @generated from protobuf field: google.ads.googleads.v11.enums.MerchantCenterLinkStatusEnum.MerchantCenterLinkStatus status = 5;
*/
status: MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus;
}
declare class MerchantCenterLink$Type extends MessageType<MerchantCenterLink> {
constructor();
create(value?: PartialMessage<MerchantCenterLink>): MerchantCenterLink;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MerchantCenterLink): MerchantCenterLink;
internalBinaryWrite(message: MerchantCenterLink, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.resources.MerchantCenterLink
*/
export declare const MerchantCenterLink: MerchantCenterLink$Type;
export {};