Method: accounts.cssProductInputs.insert

  • This method uploads a CssProductInput to your CSS Center account, replacing an existing entry if one with the same identifiers exists.

  • After performing insert, update, or delete operations on a CSS Product input, there may be a delay before the processed CSS Product is available for retrieval.

  • The HTTP request uses a POST method with a URL that includes a required parent path parameter specifying the target account.

  • The request body should contain an instance of CssProductInput.

  • This operation requires the https://www.googleapis.com/auth/content OAuth scope for authorization.

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.

HTTP request

POST https://css.googleapis.com/v1/{parent=accounts/*}/cssProductInputs:insert

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The account where this CSS Product will be inserted. Format: accounts/{account}

Query parameters

Parameters
feedId
(deprecated)

string (int64 format)

Optional. DEPRECATED. Feed id is not required for CSS Products. 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.

Request body

The request body contains an instance of CssProductInput.

Response body

If successful, the response body contains an instance of CssProductInput.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/content

For more information, see the OAuth 2.0 Overview.