Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Attributes

import type { Attributes } from "https://googleapis.deno.dev/v1/css:v1.ts";

Attributes for CSS Product.

interface Attributes {
additionalImageLinks?: string[];
adult?: boolean;
ageGroup?: string;
brand?: string;
certifications?: Certification[];
color?: string;
cppAdsRedirect?: string;
cppLink?: string;
cppMobileLink?: string;
customLabel0?: string;
customLabel1?: string;
customLabel2?: string;
customLabel3?: string;
customLabel4?: string;
description?: string;
excludedDestinations?: string[];
expirationDate?: Date;
gender?: string;
googleProductCategory?: string;
gtin?: string;
headlineOfferCondition?: string;
headlineOfferInstallment?: HeadlineOfferInstallment;
headlineOfferLink?: string;
headlineOfferMobileLink?: string;
headlineOfferPrice?: Price;
headlineOfferShippingPrice?: Price;
headlineOfferSubscriptionCost?: HeadlineOfferSubscriptionCost;
highPrice?: Price;
imageLink?: string;
includedDestinations?: string[];
isBundle?: boolean;
itemGroupId?: string;
lowPrice?: Price;
material?: string;
mpn?: string;
multipack?: bigint;
numberOfOffers?: bigint;
pattern?: string;
pause?: string;
productDetails?: ProductDetail[];
productHeight?: ProductDimension;
productHighlights?: string[];
productLength?: ProductDimension;
productTypes?: string[];
productWeight?: ProductWeight;
productWidth?: ProductDimension;
size?: string;
sizeSystem?: string;
sizeTypes?: string[];
title?: string;
}

§Properties

§
adult?: boolean
[src]

Set to true if the item is targeted towards adults.

§
ageGroup?: string
[src]

Target age group of the item.

§
brand?: string
[src]

Product Related Attributes.[14-36] Brand of the item.

§
certifications?: Certification[]
[src]

A list of certificates claimed by the CSS for the given product.

§
color?: string
[src]

Color of the item.

§
cppAdsRedirect?: string
[src]

Allows advertisers to override the item URL when the product is shown within the context of Product Ads.

§
customLabel0?: string
[src]

Custom label 0 for custom grouping of items in a Shopping campaign.

§
customLabel1?: string
[src]

Custom label 1 for custom grouping of items in a Shopping campaign.

§
customLabel2?: string
[src]

Custom label 2 for custom grouping of items in a Shopping campaign.

§
customLabel3?: string
[src]

Custom label 3 for custom grouping of items in a Shopping campaign.

§
customLabel4?: string
[src]

Custom label 4 for custom grouping of items in a Shopping campaign.

§
description?: string
[src]

Description of the item.

§
excludedDestinations?: string[]
[src]

The list of destinations to exclude for this target (corresponds to unchecked check boxes in Merchant Center).

§
expirationDate?: Date
[src]

Date on which the item should expire, as specified upon insertion, in ISO 8601 format. The actual expiration date is exposed in productstatuses as googleExpirationDate and might be earlier if expirationDate is too far in the future. Note: It may take 2+ days from the expiration date for the item to actually get deleted.

§
gender?: string
[src]

Target gender of the item.

§
googleProductCategory?: string
[src]

Google's category of the item (see Google product taxonomy). When querying products, this field will contain the user provided value. There is currently no way to get back the auto assigned google product categories through the API.

§
gtin?: string
[src]

Global Trade Item Number (GTIN) of the item.

§
headlineOfferCondition?: string
[src]

Condition of the headline offer.

§
headlineOfferInstallment?: HeadlineOfferInstallment
[src]

Number and amount of installments to pay for an item.

§
headlineOfferPrice?: Price
[src]

Headline Price of the aggregate offer.

§
headlineOfferShippingPrice?: Price
[src]

Headline Price of the aggregate offer.

§
headlineOfferSubscriptionCost?: HeadlineOfferSubscriptionCost
[src]

Number of periods (months or years) and amount of payment per period for an item with an associated subscription contract.

§
highPrice?: Price
[src]

High Price of the aggregate offer.

§
includedDestinations?: string[]
[src]

The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in excludedDestinations.

§
isBundle?: boolean
[src]

Whether the item is a merchant-defined bundle. A bundle is a custom grouping of different products sold by a merchant for a single price.

§
itemGroupId?: string
[src]

Shared identifier for all variants of the same product.

§
lowPrice?: Price
[src]

Low Price of the aggregate offer.

§
material?: string
[src]

The material of which the item is made.

§
mpn?: string
[src]

Manufacturer Part Number (MPN) of the item.

§
multipack?: bigint
[src]

The number of identical products in a merchant-defined multipack.

§
numberOfOffers?: bigint
[src]

The number of aggregate offers.

§
pattern?: string
[src]

The item's pattern (e.g. polka dots).

§
pause?: string
[src]

Publication of this item will be temporarily paused.

§
productDetails?: ProductDetail[]
[src]

Technical specification or additional product details.

§
productHeight?: ProductDimension
[src]

The height of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).

§
productHighlights?: string[]
[src]

Bullet points describing the most relevant highlights of a product.

§
productLength?: ProductDimension
[src]

The length of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).

§
productTypes?: string[]
[src]

Categories of the item (formatted as in products data specification).

§
productWeight?: ProductWeight
[src]

The weight of the product in the units provided. The value must be between 0 (exclusive) and 2000 (inclusive).

§
productWidth?: ProductDimension
[src]

The width of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).

§
size?: string
[src]

Size of the item. Only one value is allowed. For variants with different sizes, insert a separate product for each size with the same itemGroupId value (see [https://support.google.com/merchants/answer/6324492](size definition)).

§
sizeSystem?: string
[src]

System in which the size is specified. Recommended for apparel items.

§
sizeTypes?: string[]
[src]

The cut of the item. It can be used to represent combined size types for apparel items. Maximum two of size types can be provided (see [https://support.google.com/merchants/answer/6324497](size type)).

§
title?: string
[src]

Title of the item.