Index
AccountLabelsService
(interface)AccountsService
(interface)CssProductInputsService
(interface)CssProductsService
(interface)Account
(message)Account.AccountType
(enum)AccountLabel
(message)AccountLabel.LabelType
(enum)Attributes
(message)Certification
(message)CreateAccountLabelRequest
(message)CssProduct
(message)CssProductInput
(message)CssProductStatus
(message)CssProductStatus.DestinationStatus
(message)CssProductStatus.ItemLevelIssue
(message)DeleteAccountLabelRequest
(message)DeleteCssProductInputRequest
(message)GetAccountRequest
(message)GetCssProductRequest
(message)InsertCssProductInputRequest
(message)ListAccountLabelsRequest
(message)ListAccountLabelsResponse
(message)ListChildAccountsRequest
(message)ListChildAccountsResponse
(message)ListCssProductsRequest
(message)ListCssProductsResponse
(message)ProductDetail
(message)ProductDimension
(message)ProductWeight
(message)UpdateAccountLabelRequest
(message)UpdateAccountLabelsRequest
(message)
AccountLabelsService
Manages Merchant Center and CSS accounts labels.
CreateAccountLabel |
---|
Creates a new label, not assigned to any account.
|
DeleteAccountLabel |
---|
Deletes a label and removes it from all accounts to which it was assigned.
|
ListAccountLabels |
---|
Lists the labels assigned to an account.
|
UpdateAccountLabel |
---|
Updates a label.
|
AccountsService
Service for managing CSS/MC account information.
GetAccount |
---|
Retrieves a single CSS/MC account by ID.
|
ListChildAccounts |
---|
Lists all the accounts under the specified CSS account ID, and optionally filters by label ID and account name.
|
UpdateLabels |
---|
Updates labels assigned to CSS/MC accounts by a CSS domain.
|
CssProductInputsService
Service to use CssProductInput resource. This service helps to insert/update/delete CSS Products.
DeleteCssProductInput |
---|
Deletes a CSS Product input from your CSS Center account. After a delete it may take several minutes until the input is no longer available.
|
InsertCssProductInput |
---|
Uploads a CssProductInput to your CSS Center account. If an input with the same contentLanguage, identity, feedLabel and feedId already exists, this method replaces that entry. After inserting, updating, or deleting a CSS Product input, it may take several minutes before the processed CSS Product can be retrieved.
|
CssProductsService
Service for doing get and list on Css Products(a.k.a Aggregate Offers internally).
GetCssProduct |
---|
Retrieves the processed CSS Product from your CSS Center account. After inserting, updating, or deleting a product input, it may take several minutes before the updated final product can be retrieved.
|
ListCssProducts |
---|
Lists the processed CSS Products in your CSS Center account. The response might contain fewer items than specified by pageSize. Rely on pageToken to determine if there are more items to be requested. After inserting, updating, or deleting a CSS product input, it may take several minutes before the updated processed CSS product can be retrieved.
|
Account
Information about CSS/MC account.
Fields | |
---|---|
name |
The label resource name. Format: accounts/{account} |
full_name |
Output only. Immutable. The CSS/MC account's full name. |
label_ids[] |
Manually created label IDs assigned to the CSS/MC account by a CSS parent account. |
automatic_label_ids[] |
Automatically created label IDs assigned to the MC account by CSS Center. |
account_type |
Output only. The type of this account. |
display_name |
The CSS/MC account's short display name. |
homepage_uri |
Output only. Immutable. The CSS/MC account's homepage. |
parent |
The CSS/MC account's parent resource. CSS group for CSS domains; CSS domain for MC accounts. Returned only if the user has access to the parent account. |
AccountType
The account type.
Enums | |
---|---|
ACCOUNT_TYPE_UNSPECIFIED |
Unknown account type. |
CSS_GROUP |
CSS group account. |
CSS_DOMAIN |
CSS domain account. |
MC_PRIMARY_CSS_MCA |
MC Primary CSS MCA account. |
MC_CSS_MCA |
MC CSS MCA account. |
MC_MARKETPLACE_MCA |
MC Marketplace MCA account. |
MC_OTHER_MCA |
MC Other MCA account. |
MC_STANDALONE |
MC Standalone account. |
MC_MCA_SUBACCOUNT |
MC MCA sub-account. |
AccountLabel
Label assigned by CSS domain or CSS group to one of its sub-accounts.
Fields | |
---|---|
name |
The resource name of the label. Format: accounts/{account}/labels/{label} |
label_id |
Output only. The ID of the label. |
account_id |
Output only. The ID of account this label belongs to. |
label_type |
Output only. The type of this label. |
display_name |
The display name of this label. |
description |
The description of this label. |
LabelType
The label type.
Enums | |
---|---|
LABEL_TYPE_UNSPECIFIED |
Unknown label type. |
MANUAL |
Indicates that the label was created manually. |
AUTOMATIC |
Indicates that the label was created automatically by CSS Center. |
Attributes
Attributes for CSS Product.
Fields | |
---|---|
low_price |
Low Price of the aggregate offer. |
high_price |
High Price of the aggregate offer. |
headline_offer_price |
Headline Price of the aggregate offer. |
headline_offer_shipping_price |
Headline Price of the aggregate offer. |
additional_image_links[] |
Additional URL of images of the item. |
product_types[] |
Categories of the item (formatted as in products data specification). |
size_types[] |
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)). |
product_details[] |
Technical specification or additional product details. |
product_weight |
The weight of the product in the units provided. The value must be between 0 (exclusive) and 2000 (inclusive). |
product_length |
The length of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive). |
product_width |
The width of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive). |
product_height |
The height of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive). |
product_highlights[] |
Bullet points describing the most relevant highlights of a product. |
certifications[] |
A list of certificates claimed by the CSS for the given product. |
expiration_date |
Date on which the item should expire, as specified upon insertion, in ISO 8601 format. The actual expiration date is exposed in |
included_destinations[] |
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 |
excluded_destinations[] |
The list of destinations to exclude for this target (corresponds to unchecked check boxes in Merchant Center). |
cpp_link |
URL directly linking to your the Product Detail Page of the CSS. |
cpp_mobile_link |
URL for the mobile-optimized version of the Product Detail Page of the CSS. |
cpp_ads_redirect |
Allows advertisers to override the item URL when the product is shown within the context of Product Ads. |
number_of_offers |
The number of aggregate offers. |
headline_offer_condition |
Condition of the headline offer. |
headline_offer_link |
Link to the headline offer. |
headline_offer_mobile_link |
Mobile Link to the headline offer. |
title |
Title of the item. |
image_link |
URL of an image of the item. |
description |
Description of the item. |
brand |
Product Related Attributes.[14-36] Brand of the item. |
mpn |
Manufacturer Part Number (MPN) of the item. |
gtin |
Global Trade Item Number (GTIN) of the item. |
google_product_category |
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. |
adult |
Set to true if the item is targeted towards adults. |
multipack |
The number of identical products in a merchant-defined multipack. |
is_bundle |
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. |
age_group |
Target age group of the item. |
color |
Color of the item. |
gender |
Target gender of the item. |
material |
The material of which the item is made. |
pattern |
The item's pattern (e.g. polka dots). |
size |
Size of the item. Only one value is allowed. For variants with different sizes, insert a separate product for each size with the same |
size_system |
System in which the size is specified. Recommended for apparel items. |
item_group_id |
Shared identifier for all variants of the same product. |
pause |
Publication of this item will be temporarily paused. |
custom_label_0 |
Custom label 0 for custom grouping of items in a Shopping campaign. |
custom_label_1 |
Custom label 1 for custom grouping of items in a Shopping campaign. |
custom_label_2 |
Custom label 2 for custom grouping of items in a Shopping campaign. |
custom_label_3 |
Custom label 3 for custom grouping of items in a Shopping campaign. |
custom_label_4 |
Custom label 4 for custom grouping of items in a Shopping campaign. |
Certification
The certification for the product.
Fields | |
---|---|
name |
Name of the certification. |
authority |
Name of the certification body. |
code |
A unique code to identify the certification. |
CreateAccountLabelRequest
Request message for the 'CreateAccountLanel' method.
Fields | |
---|---|
parent |
Required. The parent account. Format: accounts/{account} |
account_label |
Required. The label to create. |
CssProduct
The processed CSS Product(a.k.a Aggregate Offer internally).
Fields | |
---|---|
name |
The name of the CSS Product. Format: |
raw_provided_id |
Output only. Your unique raw identifier for the product. |
content_language |
Output only. The two-letter ISO 639-1 language code for the product. |
feed_label |
Output only. The feed label for the product. |
attributes |
Output only. A list of product attributes. |
custom_attributes[] |
Output only. A list of custom (CSS-provided) attributes. It can also be used to submit any attribute of the feed specification in its generic form (for example, |
css_product_status |
Output only. The status of a product, data validation issues, that is, information about a product computed asynchronously. |
CssProductInput
This resource represents input data you submit for a CSS Product, not the processed CSS Product that you see in CSS Center, in Shopping Ads, or across Google surfaces.
Fields | |
---|---|
name |
The name of the CSS Product input. Format: |
final_name |
Output only. The name of the processed CSS Product. Format: |
raw_provided_id |
Required. Your unique identifier for the CSS Product. This is the same for the CSS Product input and processed CSS Product. We only allow ids with alphanumerics, underscores and dashes. See the products feed specification for details. |
content_language |
Required. The two-letter ISO 639-1 language code for the CSS Product. |
feed_label |
Required. The feed label for the CSS Product. Feed Label is synonymous to "target country" and hence should always be a valid region code. For example: 'DE' for Germany, 'FR' for France. |
freshness_time |
Represents the existing version (freshness) of the CSS Product, which can be used to preserve the right order when multiple updates are done at the same time. This field must not be set to the future time. If set, the update is prevented if a newer version of the item already exists in our system (that is the last update time of the existing CSS products is later than the freshness time set in the update). If the update happens, the last update time is then set to this freshness time. If not set, the update will not be prevented and the last update time will default to when this request was received by the CSS API. If the operation is prevented, the aborted exception will be thrown. |
attributes |
A list of CSS Product attributes. |
custom_attributes[] |
A list of custom (CSS-provided) attributes. It can also be used for submitting any attribute of the feed specification in its generic form (for example: |
CssProductStatus
The status of the Css Product, data validation issues, that is, information about the Css Product computed asynchronously.
Fields | |
---|---|
destination_statuses[] |
The intended destinations for the product. |
item_level_issues[] |
A list of all issues associated with the product. |
creation_date |
Date on which the item has been created, in ISO 8601 format. |
last_update_date |
Date on which the item has been last updated, in ISO 8601 format. |
google_expiration_date |
Date on which the item expires, in ISO 8601 format. |
DestinationStatus
The destination status of the product status.
Fields | |
---|---|
destination |
The name of the destination |
approved_countries[] |
List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is approved. |
pending_countries[] |
List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is pending approval. |
disapproved_countries[] |
List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is disapproved. |
ItemLevelIssue
The ItemLevelIssue of the product status.
Fields | |
---|---|
code |
The error code of the issue. |
servability |
How this issue affects serving of the aggregate offer. |
resolution |
Whether the issue can be resolved by the merchant. |
attribute |
The attribute's name, if the issue is caused by a single attribute. |
destination |
The destination the issue applies to. |
description |
A short issue description in English. |
detail |
A detailed issue description in English. |
documentation |
The URL of a web page to help with resolving this issue. |
applicable_countries[] |
List of country codes (ISO 3166-1 alpha-2) where issue applies to the aggregate offer. |
DeleteAccountLabelRequest
Request message for the 'DeleteAccountLabel' method.
Fields | |
---|---|
name |
Required. The name of the label to delete. Format: accounts/{account}/labels/{label} |
DeleteCssProductInputRequest
Request message for the DeleteCssProductInput method.
Fields | |
---|---|
name |
Required. The name of the CSS product input resource to delete. Format: accounts/{account}/cssProductInputs/{css_product_input} |
supplemental_feed_id |
The Content API Supplemental Feed ID. The field must not be set if the action applies to a primary feed. If the field is set, then product action applies to a supplemental feed instead of primary Content API feed. |
GetAccountRequest
The request message for the GetAccount
method.
Fields | |
---|---|
name |
Required. The name of the managed CSS/MC account. Format: accounts/{account} |
parent |
Optional. Only required when retrieving MC account information. The CSS domain that is the parent resource of the MC account. Format: accounts/{account} |
GetCssProductRequest
The request message for the GetCssProduct
method.
Fields | |
---|---|
name |
Required. The name of the CSS product to retrieve. |
InsertCssProductInputRequest
Request message for the InsertCssProductInput method.
Fields | |
---|---|
parent |
Required. The account where this CSS Product will be inserted. Format: accounts/{account} |
css_product_input |
Required. The CSS Product Input to insert. |
feed_id |
Required. The primary or supplemental feed id. If CSS Product already exists and feed id provided is different, then the CSS Product will be moved to a new feed. Note: For now, CSSs do not need to provide feed ids as we create feeds on the fly. We do not have supplemental feed support for CSS Products yet. |
ListAccountLabelsRequest
Request message for the ListAccountLabels
method.
Fields | |
---|---|
parent |
Required. The parent account. Format: accounts/{account} |
page_size |
The maximum number of labels to return. The service may return fewer than this value. If unspecified, at most 50 labels will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |
page_token |
A page token, received from a previous When paginating, all other parameters provided to |
ListAccountLabelsResponse
Response message for the ListAccountLabels
method.
Fields | |
---|---|
account_labels[] |
The labels from the specified account. |
next_page_token |
A token, which can be sent as |
ListChildAccountsRequest
The request message for the ListChildAccounts
method.
Fields | |
---|---|
parent |
Required. The parent account. Must be a CSS group or domain. Format: accounts/{account} |
page_size |
Optional. The maximum number of accounts to return. The service may return fewer than this value. If unspecified, at most 50 accounts will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |
page_token |
Optional. A page token, received from a previous When paginating, all other parameters provided to |
label_id |
If set, only the MC accounts with the given label ID will be returned. |
full_name |
If set, only the MC accounts with the given name (case sensitive) will be returned. |
ListChildAccountsResponse
Response message for the ListChildAccounts
method.
Fields | |
---|---|
accounts[] |
The CSS/MC accounts returned for the specified CSS parent account. |
next_page_token |
A token, which can be sent as |
ListCssProductsRequest
Request message for the ListCssProducts method.
Fields | |
---|---|
parent |
Required. The account/domain to list processed CSS Products for. Format: accounts/{account} |
page_size |
The maximum number of CSS Products to return. The service may return fewer than this value. The maximum value is 1000; values above 1000 will be coerced to 1000. If unspecified, the maximum number of CSS products will be returned. |
page_token |
A page token, received from a previous When paginating, all other parameters provided to |
ListCssProductsResponse
Response message for the ListCssProducts method.
Fields | |
---|---|
css_products[] |
The processed CSS products from the specified account. These are your processed CSS products after applying rules and supplemental feeds. |
next_page_token |
A token, which can be sent as |
ProductDetail
The product details.
Fields | |
---|---|
section_name |
The section header used to group a set of product details. |
attribute_name |
The name of the product detail. |
attribute_value |
The value of the product detail. |
ProductDimension
The dimension of the product.
Fields | |
---|---|
value |
Required. The dimension value represented as a number. The value can have a maximum precision of four decimal places. |
unit |
Required. The dimension units. Acceptable values are: * " |
ProductWeight
The weight of the product.
Fields | |
---|---|
value |
Required. The weight represented as a number. The weight can have a maximum precision of four decimal places. |
unit |
Required. The weight unit. Acceptable values are: * " |
UpdateAccountLabelRequest
Request message for the UpdateAccountLabel
method.
Fields | |
---|---|
account_label |
Required. The updated label. All fields must be provided. |
UpdateAccountLabelsRequest
The request message for the UpdateLabels
method.
Fields | |
---|---|
name |
Required. The label resource name. Format: accounts/{account} |
label_ids[] |
The list of label IDs to overwrite the existing account label IDs. If the list is empty, all currently assigned label IDs will be deleted. |
parent |
Optional. Only required when updating MC account labels. The CSS domain that is the parent resource of the MC account. Format: accounts/{account} |