google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
97 lines (96 loc) • 3.91 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 { AssetSetStatusEnum_AssetSetStatus } from "../enums/asset_set_status";
import { AssetSetTypeEnum_AssetSetType } from "../enums/asset_set_type";
/**
* An asset set representing a collection of assets.
* Use AssetSetAsset to link an asset to the asset set.
*
* @generated from protobuf message google.ads.googleads.v11.resources.AssetSet
*/
export interface AssetSet {
/**
* Output only. The ID of the asset set.
*
* @generated from protobuf field: int64 id = 6;
*/
id: bigint;
/**
* Immutable. The resource name of the asset set.
* Asset set resource names have the form:
*
* `customers/{customer_id}/assetSets/{asset_set_id}`
*
* @generated from protobuf field: string resource_name = 1;
*/
resourceName: string;
/**
* Required. Name of the asset set. Required. It must have a minimum length of 1 and
* maximum length of 128.
*
* @generated from protobuf field: string name = 2;
*/
name: string;
/**
* Required. Immutable. The type of the asset set. Required.
*
* @generated from protobuf field: google.ads.googleads.v11.enums.AssetSetTypeEnum.AssetSetType type = 3;
*/
type: AssetSetTypeEnum_AssetSetType;
/**
* Output only. The status of the asset set. Read-only.
*
* @generated from protobuf field: google.ads.googleads.v11.enums.AssetSetStatusEnum.AssetSetStatus status = 4;
*/
status: AssetSetStatusEnum_AssetSetStatus;
/**
* Merchant ID and Feed Label from Google Merchant Center.
*
* @generated from protobuf field: google.ads.googleads.v11.resources.AssetSet.MerchantCenterFeed merchant_center_feed = 5;
*/
merchantCenterFeed?: AssetSet_MerchantCenterFeed;
}
/**
* Merchant ID and Feed Label from Google Merchant Center.
*
* @generated from protobuf message google.ads.googleads.v11.resources.AssetSet.MerchantCenterFeed
*/
export interface AssetSet_MerchantCenterFeed {
/**
* Required. Merchant ID from Google Merchant Center
*
* @generated from protobuf field: int64 merchant_id = 1;
*/
merchantId: bigint;
/**
* Optional. Feed Label from Google Merchant Center.
*
* @generated from protobuf field: optional string feed_label = 2;
*/
feedLabel?: string;
}
declare class AssetSet$Type extends MessageType<AssetSet> {
constructor();
create(value?: PartialMessage<AssetSet>): AssetSet;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AssetSet): AssetSet;
internalBinaryWrite(message: AssetSet, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.resources.AssetSet
*/
export declare const AssetSet: AssetSet$Type;
declare class AssetSet_MerchantCenterFeed$Type extends MessageType<AssetSet_MerchantCenterFeed> {
constructor();
create(value?: PartialMessage<AssetSet_MerchantCenterFeed>): AssetSet_MerchantCenterFeed;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AssetSet_MerchantCenterFeed): AssetSet_MerchantCenterFeed;
internalBinaryWrite(message: AssetSet_MerchantCenterFeed, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.resources.AssetSet.MerchantCenterFeed
*/
export declare const AssetSet_MerchantCenterFeed: AssetSet_MerchantCenterFeed$Type;
export {};