{
"auth": {
"oauth2": {
"scopes": {
"https://www.googleapis.com/auth/content": {
"description": "Manage your product listings and accounts for Google Shopping"
}
}
}
},
"basePath": "/content/v2.1/",
"baseUrl": "https://shoppingcontent.googleapis.com/content/v2.1/",
"batchPath": "batch",
"canonicalName": "Shopping Content",
"description": "This API is deprecated. Please use Merchant API instead: https://developers.google.com/merchant/api. ",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/shopping-content/v2/",
"fullyEncodeReservedExpansion": true,
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
},
"id": "content:v2.1",
"kind": "discovery#restDescription",
"mtlsRootUrl": "https://shoppingcontent.mtls.googleapis.com/",
"name": "content",
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
"$.xgafv": {
"description": "V1 error format.",
"enum": [
"1",
"2"
],
"enumDescriptions": [
"v1 error format",
"v2 error format"
],
"location": "query",
"type": "string"
},
"access_token": {
"description": "OAuth access token.",
"location": "query",
"type": "string"
},
"alt": {
"default": "json",
"description": "Data format for response.",
"enum": [
"json",
"media",
"proto"
],
"enumDescriptions": [
"Responses with Content-Type of application/json",
"Media download with context-dependent Content-Type",
"Responses with Content-Type of application/x-protobuf"
],
"location": "query",
"type": "string"
},
"callback": {
"description": "JSONP",
"location": "query",
"type": "string"
},
"fields": {
"description": "Selector specifying which fields to include in a partial response.",
"location": "query",
"type": "string"
},
"key": {
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
"location": "query",
"type": "string"
},
"oauth_token": {
"description": "OAuth 2.0 token for the current user.",
"location": "query",
"type": "string"
},
"prettyPrint": {
"default": "true",
"description": "Returns response with indentations and line breaks.",
"location": "query",
"type": "boolean"
},
"quotaUser": {
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
"location": "query",
"type": "string"
},
"uploadType": {
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query",
"type": "string"
},
"upload_protocol": {
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query",
"type": "string"
}
},
"protocol": "rest",
"resources": {
"accounts": {
"methods": {
"authinfo": {
"description": "Returns information about the authenticated user.",
"flatPath": "accounts/authinfo",
"httpMethod": "GET",
"id": "content.accounts.authinfo",
"parameterOrder": [],
"parameters": {},
"path": "accounts/authinfo",
"response": {
"$ref": "AccountsAuthInfoResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"claimwebsite": {
"description": "Claims the website of a Merchant Center sub-account. Merchant accounts with approved third-party CSSs aren't required to claim a website.",
"flatPath": "{merchantId}/accounts/{accountId}/claimwebsite",
"httpMethod": "POST",
"id": "content.accounts.claimwebsite",
"parameterOrder": [
"merchantId",
"accountId"
],
"parameters": {
"accountId": {
"description": "The ID of the account whose website is claimed.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"merchantId": {
"description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"overwrite": {
"description": "Only available to selected merchants, for example multi-client accounts (MCAs) and their sub-accounts. When set to `True`, this option removes any existing claim on the requested website and replaces it with a claim from the account that makes the request.",
"location": "query",
"type": "boolean"
}
},
"path": "{merchantId}/accounts/{accountId}/claimwebsite",
"response": {
"$ref": "AccountsClaimWebsiteResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"custombatch": {
"description": "Retrieves, inserts, updates, and deletes multiple Merchant Center (sub-)accounts in a single request.",
"flatPath": "accounts/batch",
"httpMethod": "POST",
"id": "content.accounts.custombatch",
"parameterOrder": [],
"parameters": {},
"path": "accounts/batch",
"request": {
"$ref": "AccountsCustomBatchRequest"
},
"response": {
"$ref": "AccountsCustomBatchResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"delete": {
"description": "Deletes a Merchant Center sub-account.",
"flatPath": "{merchantId}/accounts/{accountId}",
"httpMethod": "DELETE",
"id": "content.accounts.delete",
"parameterOrder": [
"merchantId",
"accountId"
],
"parameters": {
"accountId": {
"description": "The ID of the account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"force": {
"default": "false",
"description": "Option to delete sub-accounts with products. The default value is false.",
"location": "query",
"type": "boolean"
},
"merchantId": {
"description": "The ID of the managing account. This must be a multi-client account, and accountId must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/accounts/{accountId}",
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"get": {
"description": "Retrieves a Merchant Center account.",
"flatPath": "{merchantId}/accounts/{accountId}",
"httpMethod": "GET",
"id": "content.accounts.get",
"parameterOrder": [
"merchantId",
"accountId"
],
"parameters": {
"accountId": {
"description": "The ID of the account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"merchantId": {
"description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"view": {
"description": "Controls which fields will be populated. Acceptable values are: \"merchant\" and \"css\". The default value is \"merchant\".",
"enum": [
"MERCHANT",
"CSS"
],
"enumDescriptions": [
"Default. View is populated with Merchant Center fields.",
"View is populated with Comparison Shopping Services fields."
],
"location": "query",
"type": "string"
}
},
"path": "{merchantId}/accounts/{accountId}",
"response": {
"$ref": "Account"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"insert": {
"description": "Creates a Merchant Center sub-account.",
"flatPath": "{merchantId}/accounts",
"httpMethod": "POST",
"id": "content.accounts.insert",
"parameterOrder": [
"merchantId"
],
"parameters": {
"merchantId": {
"description": "The ID of the managing account. This must be a multi-client account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/accounts",
"request": {
"$ref": "Account"
},
"response": {
"$ref": "Account"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"link": {
"description": "Performs an action on a link between two Merchant Center accounts, namely accountId and linkedAccountId.",
"flatPath": "{merchantId}/accounts/{accountId}/link",
"httpMethod": "POST",
"id": "content.accounts.link",
"parameterOrder": [
"merchantId",
"accountId"
],
"parameters": {
"accountId": {
"description": "The ID of the account that should be linked.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"merchantId": {
"description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/accounts/{accountId}/link",
"request": {
"$ref": "AccountsLinkRequest"
},
"response": {
"$ref": "AccountsLinkResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"list": {
"description": "Lists the sub-accounts in your Merchant Center account.",
"flatPath": "{merchantId}/accounts",
"httpMethod": "GET",
"id": "content.accounts.list",
"parameterOrder": [
"merchantId"
],
"parameters": {
"label": {
"description": "If view is set to \"css\", only return accounts that are assigned label with given ID.",
"format": "uint64",
"location": "query",
"type": "string"
},
"maxResults": {
"description": "The maximum number of accounts to return in the response, used for paging.",
"format": "uint32",
"location": "query",
"type": "integer"
},
"merchantId": {
"description": "The ID of the managing account. This must be a multi-client account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"name": {
"description": "If set, only the accounts with the given name (case sensitive) will be returned.",
"location": "query",
"type": "string"
},
"pageToken": {
"description": "The token returned by the previous request.",
"location": "query",
"type": "string"
},
"view": {
"description": "Controls which fields will be populated. Acceptable values are: \"merchant\" and \"css\". The default value is \"merchant\".",
"enum": [
"MERCHANT",
"CSS"
],
"enumDescriptions": [
"Default. View is populated with Merchant Center fields.",
"View is populated with Comparison Shopping Services fields."
],
"location": "query",
"type": "string"
}
},
"path": "{merchantId}/accounts",
"response": {
"$ref": "AccountsListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"listlinks": {
"description": "Returns the list of accounts linked to your Merchant Center account.",
"flatPath": "{merchantId}/accounts/{accountId}/listlinks",
"httpMethod": "GET",
"id": "content.accounts.listlinks",
"parameterOrder": [
"merchantId",
"accountId"
],
"parameters": {
"accountId": {
"description": "The ID of the account for which to list links.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"maxResults": {
"description": "The maximum number of links to return in the response, used for pagination. The minimum allowed value is 5 results per page. If provided value is lower than 5, it will be automatically increased to 5.",
"format": "uint32",
"location": "query",
"type": "integer"
},
"merchantId": {
"description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"pageToken": {
"description": "The token returned by the previous request.",
"location": "query",
"type": "string"
}
},
"path": "{merchantId}/accounts/{accountId}/listlinks",
"response": {
"$ref": "AccountsListLinksResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"requestphoneverification": {
"description": "Request verification code to start phone verification.",
"flatPath": "{merchantId}/accounts/{accountId}/requestphoneverification",
"httpMethod": "POST",
"id": "content.accounts.requestphoneverification",
"parameterOrder": [
"merchantId",
"accountId"
],
"parameters": {
"accountId": {
"description": "Required. The ID of the account.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
},
"merchantId": {
"description": "Required. The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/accounts/{accountId}/requestphoneverification",
"request": {
"$ref": "RequestPhoneVerificationRequest"
},
"response": {
"$ref": "RequestPhoneVerificationResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"update": {
"description": "Updates a Merchant Center account. Any fields that are not provided are deleted from the resource.",
"flatPath": "{merchantId}/accounts/{accountId}",
"httpMethod": "PUT",
"id": "content.accounts.update",
"parameterOrder": [
"merchantId",
"accountId"
],
"parameters": {
"accountId": {
"description": "The ID of the account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"merchantId": {
"description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/accounts/{accountId}",
"request": {
"$ref": "Account"
},
"response": {
"$ref": "Account"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"updatelabels": {
"description": "Updates labels that are assigned to the Merchant Center account by CSS user.",
"flatPath": "{merchantId}/accounts/{accountId}/updatelabels",
"httpMethod": "POST",
"id": "content.accounts.updatelabels",
"parameterOrder": [
"merchantId",
"accountId"
],
"parameters": {
"accountId": {
"description": "The ID of the account whose labels are updated.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"merchantId": {
"description": "The ID of the managing account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/accounts/{accountId}/updatelabels",
"request": {
"$ref": "AccountsUpdateLabelsRequest"
},
"response": {
"$ref": "AccountsUpdateLabelsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"verifyphonenumber": {
"description": "Validates verification code to verify phone number for the account. If successful this will overwrite the value of `accounts.businessinformation.phoneNumber`. Only verified phone number will replace an existing verified phone number.",
"flatPath": "{merchantId}/accounts/{accountId}/verifyphonenumber",
"httpMethod": "POST",
"id": "content.accounts.verifyphonenumber",
"parameterOrder": [
"merchantId",
"accountId"
],
"parameters": {
"accountId": {
"description": "Required. The ID of the account.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
},
"merchantId": {
"description": "Required. The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/accounts/{accountId}/verifyphonenumber",
"request": {
"$ref": "VerifyPhoneNumberRequest"
},
"response": {
"$ref": "VerifyPhoneNumberResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
}
},
"resources": {
"credentials": {
"methods": {
"create": {
"description": "Uploads credentials for the Merchant Center account. If credentials already exist for this Merchant Center account and purpose, this method updates them.",
"flatPath": "accounts/{accountId}/credentials",
"httpMethod": "POST",
"id": "content.accounts.credentials.create",
"parameterOrder": [
"accountId"
],
"parameters": {
"accountId": {
"description": "Required. The merchant id of the account these credentials belong to.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "accounts/{accountId}/credentials",
"request": {
"$ref": "AccountCredentials"
},
"response": {
"$ref": "AccountCredentials"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
}
}
},
"labels": {
"methods": {
"create": {
"description": "Creates a new label, not assigned to any account.",
"flatPath": "accounts/{accountId}/labels",
"httpMethod": "POST",
"id": "content.accounts.labels.create",
"parameterOrder": [
"accountId"
],
"parameters": {
"accountId": {
"description": "Required. The id of the account this label belongs to.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "accounts/{accountId}/labels",
"request": {
"$ref": "AccountLabel"
},
"response": {
"$ref": "AccountLabel"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"delete": {
"description": "Deletes a label and removes it from all accounts to which it was assigned.",
"flatPath": "accounts/{accountId}/labels/{labelId}",
"httpMethod": "DELETE",
"id": "content.accounts.labels.delete",
"parameterOrder": [
"accountId",
"labelId"
],
"parameters": {
"accountId": {
"description": "Required. The id of the account that owns the label.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
},
"labelId": {
"description": "Required. The id of the label to delete.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "accounts/{accountId}/labels/{labelId}",
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"list": {
"description": "Lists the labels assigned to an account.",
"flatPath": "accounts/{accountId}/labels",
"httpMethod": "GET",
"id": "content.accounts.labels.list",
"parameterOrder": [
"accountId"
],
"parameters": {
"accountId": {
"description": "Required. The account id for whose labels are to be listed.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
},
"pageSize": {
"description": "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.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "A page token, received from a previous `ListAccountLabels` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAccountLabels` must match the call that provided the page token.",
"location": "query",
"type": "string"
}
},
"path": "accounts/{accountId}/labels",
"response": {
"$ref": "ListAccountLabelsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"patch": {
"description": "Updates a label.",
"flatPath": "accounts/{accountId}/labels/{labelId}",
"httpMethod": "PATCH",
"id": "content.accounts.labels.patch",
"parameterOrder": [
"accountId",
"labelId"
],
"parameters": {
"accountId": {
"description": "Required. The id of the account this label belongs to.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
},
"labelId": {
"description": "Required. The id of the label to update.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "accounts/{accountId}/labels/{labelId}",
"request": {
"$ref": "AccountLabel"
},
"response": {
"$ref": "AccountLabel"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
}
}
},
"returncarrier": {
"methods": {
"create": {
"description": "Links return carrier to a merchant account.",
"flatPath": "accounts/{accountId}/returncarrier",
"httpMethod": "POST",
"id": "content.accounts.returncarrier.create",
"parameterOrder": [
"accountId"
],
"parameters": {
"accountId": {
"description": "Required. The Merchant Center Account Id under which the Return Carrier is to be linked.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "accounts/{accountId}/returncarrier",
"request": {
"$ref": "AccountReturnCarrier"
},
"response": {
"$ref": "AccountReturnCarrier"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"delete": {
"description": "Delete a return carrier in the merchant account.",
"flatPath": "accounts/{accountId}/returncarrier/{carrierAccountId}",
"httpMethod": "DELETE",
"id": "content.accounts.returncarrier.delete",
"parameterOrder": [
"accountId",
"carrierAccountId"
],
"parameters": {
"accountId": {
"description": "Required. The Merchant Center Account Id under which the Return Carrier is to be linked.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
},
"carrierAccountId": {
"description": "Required. The Google-provided unique carrier ID, used to update the resource.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "accounts/{accountId}/returncarrier/{carrierAccountId}",
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"list": {
"description": "Lists available return carriers in the merchant account.",
"flatPath": "accounts/{accountId}/returncarrier",
"httpMethod": "GET",
"id": "content.accounts.returncarrier.list",
"parameterOrder": [
"accountId"
],
"parameters": {
"accountId": {
"description": "Required. The Merchant Center Account Id under which the Return Carrier is to be linked.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "accounts/{accountId}/returncarrier",
"response": {
"$ref": "ListAccountReturnCarrierResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"patch": {
"description": "Updates a return carrier in the merchant account.",
"flatPath": "accounts/{accountId}/returncarrier/{carrierAccountId}",
"httpMethod": "PATCH",
"id": "content.accounts.returncarrier.patch",
"parameterOrder": [
"accountId",
"carrierAccountId"
],
"parameters": {
"accountId": {
"description": "Required. The Merchant Center Account Id under which the Return Carrier is to be linked.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
},
"carrierAccountId": {
"description": "Required. The Google-provided unique carrier ID, used to update the resource.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "accounts/{accountId}/returncarrier/{carrierAccountId}",
"request": {
"$ref": "AccountReturnCarrier"
},
"response": {
"$ref": "AccountReturnCarrier"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
}
}
}
}
},
"accountstatuses": {
"methods": {
"custombatch": {
"description": "Retrieves multiple Merchant Center account statuses in a single request.",
"flatPath": "accountstatuses/batch",
"httpMethod": "POST",
"id": "content.accountstatuses.custombatch",
"parameterOrder": [],
"parameters": {},
"path": "accountstatuses/batch",
"request": {
"$ref": "AccountstatusesCustomBatchRequest"
},
"response": {
"$ref": "AccountstatusesCustomBatchResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"get": {
"description": "Retrieves the status of a Merchant Center account. No itemLevelIssues are returned for multi-client accounts.",
"flatPath": "{merchantId}/accountstatuses/{accountId}",
"httpMethod": "GET",
"id": "content.accountstatuses.get",
"parameterOrder": [
"merchantId",
"accountId"
],
"parameters": {
"accountId": {
"description": "The ID of the account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"destinations": {
"description": "If set, only issues for the specified destinations are returned, otherwise only issues for the Shopping destination.",
"location": "query",
"repeated": true,
"type": "string"
},
"merchantId": {
"description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/accountstatuses/{accountId}",
"response": {
"$ref": "AccountStatus"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"list": {
"description": "Lists the statuses of the sub-accounts in your Merchant Center account.",
"flatPath": "{merchantId}/accountstatuses",
"httpMethod": "GET",
"id": "content.accountstatuses.list",
"parameterOrder": [
"merchantId"
],
"parameters": {
"destinations": {
"description": "If set, only issues for the specified destinations are returned, otherwise only issues for the Shopping destination.",
"location": "query",
"repeated": true,
"type": "string"
},
"maxResults": {
"description": "The maximum number of account statuses to return in the response, used for paging.",
"format": "uint32",
"location": "query",
"type": "integer"
},
"merchantId": {
"description": "The ID of the managing account. This must be a multi-client account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"name": {
"description": "If set, only the accounts with the given name (case sensitive) will be returned.",
"location": "query",
"type": "string"
},
"pageToken": {
"description": "The token returned by the previous request.",
"location": "query",
"type": "string"
}
},
"path": "{merchantId}/accountstatuses",
"response": {
"$ref": "AccountstatusesListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
}
}
},
"accounttax": {
"methods": {
"custombatch": {
"description": "Retrieves and updates tax settings of multiple accounts in a single request.",
"flatPath": "accounttax/batch",
"httpMethod": "POST",
"id": "content.accounttax.custombatch",
"parameterOrder": [],
"parameters": {},
"path": "accounttax/batch",
"request": {
"$ref": "AccounttaxCustomBatchRequest"
},
"response": {
"$ref": "AccounttaxCustomBatchResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"get": {
"description": "Retrieves the tax settings of the account.",
"flatPath": "{merchantId}/accounttax/{accountId}",
"httpMethod": "GET",
"id": "content.accounttax.get",
"parameterOrder": [
"merchantId",
"accountId"
],
"parameters": {
"accountId": {
"description": "The ID of the account for which to get/update account tax settings.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"merchantId": {
"description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/accounttax/{accountId}",
"response": {
"$ref": "AccountTax"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"list": {
"description": "Lists the tax settings of the sub-accounts in your Merchant Center account.",
"flatPath": "{merchantId}/accounttax",
"httpMethod": "GET",
"id": "content.accounttax.list",
"parameterOrder": [
"merchantId"
],
"parameters": {
"maxResults": {
"description": "The maximum number of tax settings to return in the response, used for paging.",
"format": "uint32",
"location": "query",
"type": "integer"
},
"merchantId": {
"description": "The ID of the managing account. This must be a multi-client account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"pageToken": {
"description": "The token returned by the previous request.",
"location": "query",
"type": "string"
}
},
"path": "{merchantId}/accounttax",
"response": {
"$ref": "AccounttaxListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"update": {
"description": "Updates the tax settings of the account. Any fields that are not provided are deleted from the resource.",
"flatPath": "{merchantId}/accounttax/{accountId}",
"httpMethod": "PUT",
"id": "content.accounttax.update",
"parameterOrder": [
"merchantId",
"accountId"
],
"parameters": {
"accountId": {
"description": "The ID of the account for which to get/update account tax settings.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"merchantId": {
"description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/accounttax/{accountId}",
"request": {
"$ref": "AccountTax"
},
"response": {
"$ref": "AccountTax"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
}
}
},
"collections": {
"methods": {
"create": {
"description": "Uploads a collection to your Merchant Center account. If a collection with the same collectionId already exists, this method updates that entry. In each update, the collection is completely replaced by the fields in the body of the update request.",
"flatPath": "{merchantId}/collections",
"httpMethod": "POST",
"id": "content.collections.create",
"parameterOrder": [
"merchantId"
],
"parameters": {
"merchantId": {
"description": "Required. The ID of the account that contains the collection. This account cannot be a multi-client account.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/collections",
"request": {
"$ref": "Collection"
},
"response": {
"$ref": "Collection"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"delete": {
"description": "Deletes a collection from your Merchant Center account.",
"flatPath": "{merchantId}/collections/{collectionId}",
"httpMethod": "DELETE",
"id": "content.collections.delete",
"parameterOrder": [
"merchantId",
"collectionId"
],
"parameters": {
"collectionId": {
"description": "Required. The collectionId of the collection. CollectionId is the same as the REST ID of the collection.",
"location": "path",
"required": true,
"type": "string"
},
"merchantId": {
"description": "Required. The ID of the account that contains the collection. This account cannot be a multi-client account.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/collections/{collectionId}",
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"get": {
"description": "Retrieves a collection from your Merchant Center account.",
"flatPath": "{merchantId}/collections/{collectionId}",
"httpMethod": "GET",
"id": "content.collections.get",
"parameterOrder": [
"merchantId",
"collectionId"
],
"parameters": {
"collectionId": {
"description": "Required. The REST ID of the collection.",
"location": "path",
"required": true,
"type": "string"
},
"merchantId": {
"description": "Required. The ID of the account that contains the collection. This account cannot be a multi-client account.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/collections/{collectionId}",
"response": {
"$ref": "Collection"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"list": {
"description": "Lists the collections in your Merchant Center account. The response might contain fewer items than specified by page_size. Rely on next_page_token to determine if there are more items to be requested.",
"flatPath": "{merchantId}/collections",
"httpMethod": "GET",
"id": "content.collections.list",
"parameterOrder": [
"merchantId"
],
"parameters": {
"merchantId": {
"description": "Required. The ID of the account that contains the collection. This account cannot be a multi-client account.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
},
"pageSize": {
"description": "The maximum number of collections to return in the response, used for paging. Defaults to 50; values above 1000 will be coerced to 1000.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Token (if provided) to retrieve the subsequent page. All other parameters must match the original call that provided the page token.",
"location": "query",
"type": "string"
}
},
"path": "{merchantId}/collections",
"response": {
"$ref": "ListCollectionsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
}
}
},
"collectionstatuses": {
"methods": {
"get": {
"description": "Gets the status of a collection from your Merchant Center account.",
"flatPath": "{merchantId}/collectionstatuses/{collectionId}",
"httpMethod": "GET",
"id": "content.collectionstatuses.get",
"parameterOrder": [
"merchantId",
"collectionId"
],
"parameters": {
"collectionId": {
"description": "Required. The collectionId of the collection. CollectionId is the same as the REST ID of the collection.",
"location": "path",
"required": true,
"type": "string"
},
"merchantId": {
"description": "Required. The ID of the account that contains the collection. This account cannot be a multi-client account.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/collectionstatuses/{collectionId}",
"response": {
"$ref": "CollectionStatus"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"list": {
"description": "Lists the statuses of the collections in your Merchant Center account.",
"flatPath": "{merchantId}/collectionstatuses",
"httpMethod": "GET",
"id": "content.collectionstatuses.list",
"parameterOrder": [
"merchantId"
],
"parameters": {
"merchantId": {
"description": "Required. The ID of the account that contains the collection. This account cannot be a multi-client account.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
},
"pageSize": {
"description": "The maximum number of collection statuses to return in the response, used for paging. Defaults to 50; values above 1000 will be coerced to 1000.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Token (if provided) to retrieve the subsequent page. All other parameters must match the original call that provided the page token.",
"location": "query",
"type": "string"
}
},
"path": "{merchantId}/collectionstatuses",
"response": {
"$ref": "ListCollectionStatusesResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
}
}
},
"conversionsources": {
"methods": {
"create": {
"description": "Creates a new conversion source.",
"flatPath": "{merchantId}/conversionsources",
"httpMethod": "POST",
"id": "content.conversionsources.create",
"parameterOrder": [
"merchantId"
],
"parameters": {
"merchantId": {
"description": "Required. The ID of the account that owns the new conversion source.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/conversionsources",
"request": {
"$ref": "ConversionSource"
},
"response": {
"$ref": "ConversionSource"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"delete": {
"description": "Archives an existing conversion source. It will be recoverable for 30 days. This archiving behavior is not typical in the Content API and unique to this service.",
"flatPath": "{merchantId}/conversionsources/{conversionSourceId}",
"httpMethod": "DELETE",
"id": "content.conversionsources.delete",
"parameterOrder": [
"merchantId",
"conversionSourceId"
],
"parameters": {
"conversionSourceId": {
"description": "Required. The ID of the conversion source to be deleted.",
"location": "path",
"required": true,
"type": "string"
},
"merchantId": {
"description": "Required. The ID of the account that owns the new conversion source.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/conversionsources/{conversionSourceId}",
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"get": {
"description": "Fetches a conversion source.",
"flatPath": "{merchantId}/conversionsources/{conversionSourceId}",
"httpMethod": "GET",
"id": "content.conversionsources.get",
"parameterOrder": [
"merchantId",
"conversionSourceId"
],
"parameters": {
"conversionSourceId": {
"description": "Required. The REST ID of the collection.",
"location": "path",
"required": true,
"type": "string"
},
"merchantId": {
"description": "Required. The ID of the account that owns the new conversion source.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/conversionsources/{conversionSourceId}",
"response": {
"$ref": "ConversionSource"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"list": {
"description": "Retrieves the list of conversion sources the caller has access to.",
"flatPath": "{merchantId}/conversionsources",
"httpMethod": "GET",
"id": "content.conversionsources.list",
"parameterOrder": [
"merchantId"
],
"parameters": {
"merchantId": {
"description": "Required. The ID of the account that owns the new conversion source.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
},
"pageSize": {
"description": "The maximum number of conversion sources to return in a page. If no `page_size` is specified, `100` is used as the default value. The maximum value is `200`. Values above `200` will be coerced to `200`. Regardless of pagination, at most `200` conversion sources are returned in total.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Page token.",
"location": "query",
"type": "string"
},
"showDeleted": {
"description": "If true, also returns archived conversion sources.",
"location": "query",
"type": "boolean"
}
},
"path": "{merchantId}/conversionsources",
"response": {
"$ref": "ListConversionSourcesResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"patch": {
"description": "Updates information of an existing conversion source.",
"flatPath": "{merchantId}/conversionsources/{conversionSourceId}",
"httpMethod": "PATCH",
"id": "content.conversionsources.patch",
"parameterOrder": [
"merchantId",
"conversionSourceId"
],
"parameters": {
"conversionSourceId": {
"description": "Required. The ID of the conversion source to be updated.",
"location": "path",
"required": true,
"type": "string"
},
"merchantId": {
"description": "Required. The ID of the account that owns the new conversion source.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
},
"updateMask": {
"description": "Optional. List of fields being updated. The following fields can be updated: `attribution_settings`, `display_name`, `currency_code`.",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "{merchantId}/conversionsources/{conversionSourceId}",
"request": {
"$ref": "ConversionSource"
},
"response": {
"$ref": "ConversionSource"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"undelete": {
"description": "Re-enables an archived conversion source.",
"flatPath": "{merchantId}/conversionsources/{conversionSourceId}:undelete",
"httpMethod": "POST",
"id": "content.conversionsources.undelete",
"parameterOrder": [
"merchantId",
"conversionSourceId"
],
"parameters": {
"conversionSourceId": {
"description": "Required. The ID of the conversion source to be undeleted.",
"location": "path",
"required": true,
"type": "string"
},
"merchantId": {
"description": "Required. The ID of the account that owns the new conversion source.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/conversionsources/{conversionSourceId}:undelete",
"request": {
"$ref": "UndeleteConversionSourceRequest"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
}
}
},
"csses": {
"methods": {
"get": {
"description": "Retrieves a single CSS domain by ID.",
"flatPath": "{cssGroupId}/csses/{cssDomainId}",
"httpMethod": "GET",
"id": "content.csses.get",
"parameterOrder": [
"cssGroupId",
"cssDomainId"
],
"parameters": {
"cssDomainId": {
"description": "Required. The ID of the CSS domain to return.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
},
"cssGroupId": {
"description": "Required. The ID of the managing account. If this parameter is not the same as [cssDomainId](#cssDomainId), then this ID must be a CSS group ID and `cssDomainId` must be the ID of a CSS domain affiliated with this group.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{cssGroupId}/csses/{cssDomainId}",
"response": {
"$ref": "Css"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"list": {
"description": "Lists CSS domains affiliated with a CSS group.",
"flatPath": "{cssGroupId}/csses",
"httpMethod": "GET",
"id": "content.csses.list",
"parameterOrder": [
"cssGroupId"
],
"parameters": {
"cssGroupId": {
"description": "Required. The CSS group ID of CSS domains to be listed.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
},
"pageSize": {
"description": "The maximum number of CSS domains to return. The service may return fewer than this value. If unspecified, at most 50 CSS domains will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "A page token, received from a previous `ListCsses` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCsses` must match the call that provided the page token.",
"location": "query",
"type": "string"
}
},
"path": "{cssGroupId}/csses",
"response": {
"$ref": "ListCssesResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"updatelabels": {
"description": "Updates labels that are assigned to a CSS domain by its CSS group.",
"flatPath": "{cssGroupId}/csses/{cssDomainId}/updatelabels",
"httpMethod": "POST",
"id": "content.csses.updatelabels",
"parameterOrder": [
"cssGroupId",
"cssDomainId"
],
"parameters": {
"cssDomainId": {
"description": "Required. The ID of the updated CSS domain.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
},
"cssGroupId": {
"description": "Required. The CSS group ID of the updated CSS domain.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{cssGroupId}/csses/{cssDomainId}/updatelabels",
"request": {
"$ref": "LabelIds"
},
"response": {
"$ref": "Css"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
}
}
},
"datafeeds": {
"methods": {
"custombatch": {
"description": "Deletes, fetches, gets, inserts and updates multiple datafeeds in a single request.",
"flatPath": "datafeeds/batch",
"httpMethod": "POST",
"id": "content.datafeeds.custombatch",
"parameterOrder": [],
"parameters": {},
"path": "datafeeds/batch",
"request": {
"$ref": "DatafeedsCustomBatchRequest"
},
"response": {
"$ref": "DatafeedsCustomBatchResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"delete": {
"description": "Deletes a datafeed configuration from your Merchant Center account.",
"flatPath": "{merchantId}/datafeeds/{datafeedId}",
"httpMethod": "DELETE",
"id": "content.datafeeds.delete",
"parameterOrder": [
"merchantId",
"datafeedId"
],
"parameters": {
"datafeedId": {
"description": "The ID of the datafeed.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"merchantId": {
"description": "The ID of the account that manages the datafeed. This account cannot be a multi-client account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/datafeeds/{datafeedId}",
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"fetchnow": {
"description": "Invokes a fetch for the datafeed in your Merchant Center account. If you need to call this method more than once per day, we recommend you use the [Products service](https://developers.google.com/shopping-content/reference/rest/v2.1/products) to update your product data.",
"flatPath": "{merchantId}/datafeeds/{datafeedId}/fetchNow",
"httpMethod": "POST",
"id": "content.datafeeds.fetchnow",
"parameterOrder": [
"merchantId",
"datafeedId"
],
"parameters": {
"datafeedId": {
"description": "The ID of the datafeed to be fetched.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"merchantId": {
"description": "The ID of the account that manages the datafeed. This account cannot be a multi-client account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/datafeeds/{datafeedId}/fetchNow",
"response": {
"$ref": "DatafeedsFetchNowResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"get": {
"description": "Retrieves a datafeed configuration from your Merchant Center account.",
"flatPath": "{merchantId}/datafeeds/{datafeedId}",
"httpMethod": "GET",
"id": "content.datafeeds.get",
"parameterOrder": [
"merchantId",
"datafeedId"
],
"parameters": {
"datafeedId": {
"description": "The ID of the datafeed.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"merchantId": {
"description": "The ID of the account that manages the datafeed. This account cannot be a multi-client account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/datafeeds/{datafeedId}",
"response": {
"$ref": "Datafeed"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"insert": {
"description": "Registers a datafeed configuration with your Merchant Center account.",
"flatPath": "{merchantId}/datafeeds",
"httpMethod": "POST",
"id": "content.datafeeds.insert",
"parameterOrder": [
"merchantId"
],
"parameters": {
"merchantId": {
"description": "The ID of the account that manages the datafeed. This account cannot be a multi-client account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/datafeeds",
"request": {
"$ref": "Datafeed"
},
"response": {
"$ref": "Datafeed"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"list": {
"description": "Lists the configurations for datafeeds in your Merchant Center account.",
"flatPath": "{merchantId}/datafeeds",
"httpMethod": "GET",
"id": "content.datafeeds.list",
"parameterOrder": [
"merchantId"
],
"parameters": {
"maxResults": {
"description": "The maximum number of products to return in the response, used for paging.",
"format": "uint32",
"location": "query",
"type": "integer"
},
"merchantId": {
"description": "The ID of the account that manages the datafeeds. This account cannot be a multi-client account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"pageToken": {
"description": "The token returned by the previous request.",
"location": "query",
"type": "string"
}
},
"path": "{merchantId}/datafeeds",
"response": {
"$ref": "DatafeedsListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"update": {
"description": "Updates a datafeed configuration of your Merchant Center account. Any fields that are not provided are deleted from the resource.",
"flatPath": "{merchantId}/datafeeds/{datafeedId}",
"httpMethod": "PUT",
"id": "content.datafeeds.update",
"parameterOrder": [
"merchantId",
"datafeedId"
],
"parameters": {
"datafeedId": {
"description": "The ID of the datafeed.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"merchantId": {
"description": "The ID of the account that manages the datafeed. This account cannot be a multi-client account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/datafeeds/{datafeedId}",
"request": {
"$ref": "Datafeed"
},
"response": {
"$ref": "Datafeed"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
}
}
},
"datafeedstatuses": {
"methods": {
"custombatch": {
"description": "Gets multiple Merchant Center datafeed statuses in a single request.",
"flatPath": "datafeedstatuses/batch",
"httpMethod": "POST",
"id": "content.datafeedstatuses.custombatch",
"parameterOrder": [],
"parameters": {},
"path": "datafeedstatuses/batch",
"request": {
"$ref": "DatafeedstatusesCustomBatchRequest"
},
"response": {
"$ref": "DatafeedstatusesCustomBatchResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"get": {
"description": "Retrieves the status of a datafeed from your Merchant Center account.",
"flatPath": "{merchantId}/datafeedstatuses/{datafeedId}",
"httpMethod": "GET",
"id": "content.datafeedstatuses.get",
"parameterOrder": [
"merchantId",
"datafeedId"
],
"parameters": {
"country": {
"description": "Deprecated. Use `feedLabel` instead. The country to get the datafeed status for. If this parameter is provided then `language` must also be provided. Note that this parameter is required for feeds targeting multiple countries and languages, since a feed may have a different status for each target.",
"location": "query",
"type": "string"
},
"datafeedId": {
"description": "The ID of the datafeed.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"feedLabel": {
"description": "The feed label to get the datafeed status for. If this parameter is provided then `language` must also be provided. Note that this parameter is required for feeds targeting multiple countries and languages, since a feed may have a different status for each target.",
"location": "query",
"type": "string"
},
"language": {
"description": "The language to get the datafeed status for. If this parameter is provided then `country` must also be provided. Note that this parameter is required for feeds targeting multiple countries and languages, since a feed may have a different status for each target.",
"location": "query",
"type": "string"
},
"merchantId": {
"description": "The ID of the account that manages the datafeed. This account cannot be a multi-client account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/datafeedstatuses/{datafeedId}",
"response": {
"$ref": "DatafeedStatus"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"list": {
"description": "Lists the statuses of the datafeeds in your Merchant Center account.",
"flatPath": "{merchantId}/datafeedstatuses",
"httpMethod": "GET",
"id": "content.datafeedstatuses.list",
"parameterOrder": [
"merchantId"
],
"parameters": {
"maxResults": {
"description": "The maximum number of products to return in the response, used for paging.",
"format": "uint32",
"location": "query",
"type": "integer"
},
"merchantId": {
"description": "The ID of the account that manages the datafeeds. This account cannot be a multi-client account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"pageToken": {
"description": "The token returned by the previous request.",
"location": "query",
"type": "string"
}
},
"path": "{merchantId}/datafeedstatuses",
"response": {
"$ref": "DatafeedstatusesListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
}
}
},
"freelistingsprogram": {
"methods": {
"get": {
"description": "Retrieves the status and review eligibility for the free listing program. Returns errors and warnings if they require action to resolve, will become disapprovals, or impact impressions. Use `accountstatuses` to view all issues for an account.",
"flatPath": "{merchantId}/freelistingsprogram",
"httpMethod": "GET",
"id": "content.freelistingsprogram.get",
"parameterOrder": [
"merchantId"
],
"parameters": {
"merchantId": {
"description": "Required. The ID of the account.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/freelistingsprogram",
"response": {
"$ref": "FreeListingsProgramStatus"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"requestreview": {
"description": "Requests a review of free listings in a specific region. This method deprecated. Use the `MerchantSupportService` to view product and account issues and request a review.",
"flatPath": "{merchantId}/freelistingsprogram/requestreview",
"httpMethod": "POST",
"id": "content.freelistingsprogram.requestreview",
"parameterOrder": [
"merchantId"
],
"parameters": {
"merchantId": {
"description": "Required. The ID of the account.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/freelistingsprogram/requestreview",
"request": {
"$ref": "RequestReviewFreeListingsRequest"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
}
},
"resources": {
"checkoutsettings": {
"methods": {
"delete": {
"description": "Deletes `Checkout` settings and unenrolls merchant from `Checkout` program.",
"flatPath": "{merchantId}/freelistingsprogram/checkoutsettings",
"httpMethod": "DELETE",
"id": "content.freelistingsprogram.checkoutsettings.delete",
"parameterOrder": [
"merchantId"
],
"parameters": {
"merchantId": {
"description": "Required. The ID of the account.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/freelistingsprogram/checkoutsettings",
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"get": {
"description": "Gets Checkout settings for the given merchant. This includes information about review state, enrollment state and URL settings.",
"flatPath": "{merchantId}/freelistingsprogram/checkoutsettings",
"httpMethod": "GET",
"id": "content.freelistingsprogram.checkoutsettings.get",
"parameterOrder": [
"merchantId"
],
"parameters": {
"merchantId": {
"description": "Required. The ID of the account.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/freelistingsprogram/checkoutsettings",
"response": {
"$ref": "CheckoutSettings"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"insert": {
"description": "Enrolls merchant in `Checkout` program.",
"flatPath": "{merchantId}/freelistingsprogram/checkoutsettings",
"httpMethod": "POST",
"id": "content.freelistingsprogram.checkoutsettings.insert",
"parameterOrder": [
"merchantId"
],
"parameters": {
"merchantId": {
"description": "Required. The ID of the account.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/freelistingsprogram/checkoutsettings",
"request": {
"$ref": "InsertCheckoutSettingsRequest"
},
"response": {
"$ref": "CheckoutSettings"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
}
}
}
}
},
"liasettings": {
"methods": {
"custombatch": {
"description": "Retrieves and/or updates the LIA settings of multiple accounts in a single request.",
"flatPath": "liasettings/batch",
"httpMethod": "POST",
"id": "content.liasettings.custombatch",
"parameterOrder": [],
"parameters": {},
"path": "liasettings/batch",
"request": {
"$ref": "LiasettingsCustomBatchRequest"
},
"response": {
"$ref": "LiasettingsCustomBatchResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"get": {
"description": "Retrieves the LIA settings of the account.",
"flatPath": "{merchantId}/liasettings/{accountId}",
"httpMethod": "GET",
"id": "content.liasettings.get",
"parameterOrder": [
"merchantId",
"accountId"
],
"parameters": {
"accountId": {
"description": "The ID of the account for which to get or update LIA settings.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"merchantId": {
"description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/liasettings/{accountId}",
"response": {
"$ref": "LiaSettings"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"getaccessiblegmbaccounts": {
"description": "Retrieves the list of accessible Business Profiles.",
"flatPath": "{merchantId}/liasettings/{accountId}/accessiblegmbaccounts",
"httpMethod": "GET",
"id": "content.liasettings.getaccessiblegmbaccounts",
"parameterOrder": [
"merchantId",
"accountId"
],
"parameters": {
"accountId": {
"description": "The ID of the account for which to retrieve accessible Business Profiles.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"merchantId": {
"description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/liasettings/{accountId}/accessiblegmbaccounts",
"response": {
"$ref": "LiasettingsGetAccessibleGmbAccountsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"list": {
"description": "Lists the LIA settings of the sub-accounts in your Merchant Center account.",
"flatPath": "{merchantId}/liasettings",
"httpMethod": "GET",
"id": "content.liasettings.list",
"parameterOrder": [
"merchantId"
],
"parameters": {
"maxResults": {
"description": "The maximum number of LIA settings to return in the response, used for paging.",
"format": "uint32",
"location": "query",
"type": "integer"
},
"merchantId": {
"description": "The ID of the managing account. This must be a multi-client account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"pageToken": {
"description": "The token returned by the previous request.",
"location": "query",
"type": "string"
}
},
"path": "{merchantId}/liasettings",
"response": {
"$ref": "LiasettingsListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"listposdataproviders": {
"description": "Retrieves the list of POS data providers that have active settings for the all eiligible countries.",
"flatPath": "liasettings/posdataproviders",
"httpMethod": "GET",
"id": "content.liasettings.listposdataproviders",
"parameterOrder": [],
"parameters": {},
"path": "liasettings/posdataproviders",
"response": {
"$ref": "LiasettingsListPosDataProvidersResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"requestgmbaccess": {
"description": "Requests access to a specified Business Profile.",
"flatPath": "{merchantId}/liasettings/{accountId}/requestgmbaccess",
"httpMethod": "POST",
"id": "content.liasettings.requestgmbaccess",
"parameterOrder": [
"merchantId",
"accountId",
"gmbEmail"
],
"parameters": {
"accountId": {
"description": "The ID of the account for which Business Profile access is requested.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"gmbEmail": {
"description": "The email of the Business Profile.",
"location": "query",
"required": true,
"type": "string"
},
"merchantId": {
"description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/liasettings/{accountId}/requestgmbaccess",
"response": {
"$ref": "LiasettingsRequestGmbAccessResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"requestinventoryverification": {
"description": "Requests inventory validation for the specified country.",
"flatPath": "{merchantId}/liasettings/{accountId}/requestinventoryverification/{country}",
"httpMethod": "POST",
"id": "content.liasettings.requestinventoryverification",
"parameterOrder": [
"merchantId",
"accountId",
"country"
],
"parameters": {
"accountId": {
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"country": {
"description": "The country for which inventory validation is requested.",
"location": "path",
"required": true,
"type": "string"
},
"merchantId": {
"description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/liasettings/{accountId}/requestinventoryverification/{country}",
"response": {
"$ref": "LiasettingsRequestInventoryVerificationResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"setinventoryverificationcontact": {
"description": "Sets the inventory verification contact for the specified country.",
"flatPath": "{merchantId}/liasettings/{accountId}/setinventoryverificationcontact",
"httpMethod": "POST",
"id": "content.liasettings.setinventoryverificationcontact",
"parameterOrder": [
"merchantId",
"accountId",
"country",
"language",
"contactName",
"contactEmail"
],
"parameters": {
"accountId": {
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"contactEmail": {
"description": "The email of the inventory verification contact.",
"location": "query",
"required": true,
"type": "string"
},
"contactName": {
"description": "The name of the inventory verification contact.",
"location": "query",
"required": true,
"type": "string"
},
"country": {
"description": "The country for which inventory verification is requested.",
"location": "query",
"required": true,
"type": "string"
},
"language": {
"description": "The language for which inventory verification is requested.",
"location": "query",
"required": true,
"type": "string"
},
"merchantId": {
"description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/liasettings/{accountId}/setinventoryverificationcontact",
"response": {
"$ref": "LiasettingsSetInventoryVerificationContactResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"setomnichannelexperience": {
"description": "Sets the omnichannel experience for the specified country. Only supported for merchants whose POS data provider is trusted to enable the corresponding experience. For more context, see these help articles [about LFP](https://support.google.com/merchants/answer/7676652) and [how to get started](https://support.google.com/merchants/answer/7676578) with it.",
"flatPath": "{merchantId}/liasettings/{accountId}/setomnichannelexperience",
"httpMethod": "POST",
"id": "content.liasettings.setomnichannelexperience",
"parameterOrder": [
"merchantId",
"accountId"
],
"parameters": {
"accountId": {
"description": "The ID of the account for which to retrieve accessible Business Profiles.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"country": {
"description": "The CLDR country code (for example, \"US\") for which the omnichannel experience is selected.",
"location": "query",
"type": "string"
},
"lsfType": {
"description": "The Local Store Front (LSF) type for this country. Acceptable values are: - \"`ghlsf`\" (Google-Hosted Local Store Front) - \"`mhlsfBasic`\" (Merchant-Hosted Local Store Front Basic) - \"`mhlsfFull`\" (Merchant-Hosted Local Store Front Full) More details about these types can be found here.",
"location": "query",
"type": "string"
},
"merchantId": {
"description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"pickupTypes": {
"description": "The Pickup types for this country. Acceptable values are: - \"`pickupToday`\" - \"`pickupLater`\" ",
"location": "query",
"repeated": true,
"type": "string"
}
},
"path": "{merchantId}/liasettings/{accountId}/setomnichannelexperience",
"response": {
"$ref": "LiaOmnichannelExperience"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"setposdataprovider": {
"description": "Sets the POS data provider for the specified country.",
"flatPath": "{merchantId}/liasettings/{accountId}/setposdataprovider",
"httpMethod": "POST",
"id": "content.liasettings.setposdataprovider",
"parameterOrder": [
"merchantId",
"accountId",
"country"
],
"parameters": {
"accountId": {
"description": "The ID of the account for which to retrieve accessible Business Profiles.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"country": {
"description": "The country for which the POS data provider is selected.",
"location": "query",
"required": true,
"type": "string"
},
"merchantId": {
"description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"posDataProviderId": {
"description": "The ID of POS data provider.",
"format": "uint64",
"location": "query",
"type": "string"
},
"posExternalAccountId": {
"description": "The account ID by which this merchant is known to the POS data provider.",
"location": "query",
"type": "string"
}
},
"path": "{merchantId}/liasettings/{accountId}/setposdataprovider",
"response": {
"$ref": "LiasettingsSetPosDataProviderResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"update": {
"description": "Updates the LIA settings of the account. Any fields that are not provided are deleted from the resource.",
"flatPath": "{merchantId}/liasettings/{accountId}",
"httpMethod": "PUT",
"id": "content.liasettings.update",
"parameterOrder": [
"merchantId",
"accountId"
],
"parameters": {
"accountId": {
"description": "The ID of the account for which to get or update LIA settings.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"merchantId": {
"description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/liasettings/{accountId}",
"request": {
"$ref": "LiaSettings"
},
"response": {
"$ref": "LiaSettings"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
}
}
},
"localinventory": {
"methods": {
"custombatch": {
"description": "Updates local inventory for multiple products or stores in a single request.",
"flatPath": "localinventory/batch",
"httpMethod": "POST",
"id": "content.localinventory.custombatch",
"parameterOrder": [],
"parameters": {},
"path": "localinventory/batch",
"request": {
"$ref": "LocalinventoryCustomBatchRequest"
},
"response": {
"$ref": "LocalinventoryCustomBatchResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"insert": {
"description": "Updates the local inventory of a product in your Merchant Center account.",
"flatPath": "{merchantId}/products/{productId}/localinventory",
"httpMethod": "POST",
"id": "content.localinventory.insert",
"parameterOrder": [
"merchantId",
"productId"
],
"parameters": {
"merchantId": {
"description": "The ID of the account that contains the product. This account cannot be a multi-client account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"productId": {
"description": "The REST ID of the product for which to update local inventory.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/products/{productId}/localinventory",
"request": {
"$ref": "LocalInventory"
},
"response": {
"$ref": "LocalInventory"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
}
}
},
"merchantsupport": {
"methods": {
"renderaccountissues": {
"description": "Provide a list of merchant's issues with a support content and available actions. This content and actions are meant to be rendered and shown in third-party applications.",
"flatPath": "{merchantId}/merchantsupport/renderaccountissues",
"httpMethod": "POST",
"id": "content.merchantsupport.renderaccountissues",
"parameterOrder": [
"merchantId"
],
"parameters": {
"languageCode": {
"description": "Optional. The [IETF BCP-47](https://tools.ietf.org/html/bcp47) language code used to localize support content. If not set, the result will be in default language `en-US`.",
"location": "query",
"type": "string"
},
"merchantId": {
"description": "Required. The ID of the account to fetch issues for.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
},
"timeZone": {
"description": "Optional. The [IANA](https://www.iana.org/time-zones) timezone used to localize times in support content. For example 'America/Los_Angeles'. If not set, results will use as a default UTC.",
"location": "query",
"type": "string"
}
},
"path": "{merchantId}/merchantsupport/renderaccountissues",
"request": {
"$ref": "RenderAccountIssuesRequestPayload"
},
"response": {
"$ref": "RenderAccountIssuesResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"renderproductissues": {
"description": "Provide a list of issues for merchant's product with a support content and available actions. This content and actions are meant to be rendered and shown in third-party applications.",
"flatPath": "{merchantId}/merchantsupport/renderproductissues/{productId}",
"httpMethod": "POST",
"id": "content.merchantsupport.renderproductissues",
"parameterOrder": [
"merchantId",
"productId"
],
"parameters": {
"languageCode": {
"description": "Optional. The [IETF BCP-47](https://tools.ietf.org/html/bcp47) language code used to localize support content. If not set, the result will be in default language `en-US`.",
"location": "query",
"type": "string"
},
"merchantId": {
"description": "Required. The ID of the account that contains the product.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
},
"productId": {
"description": "Required. The [REST_ID](https://developers.google.com/shopping-content/reference/rest/v2.1/products#Product.FIELDS.id) of the product to fetch issues for.",
"location": "path",
"required": true,
"type": "string"
},
"timeZone": {
"description": "Optional. The [IANA](https://www.iana.org/time-zones) timezone used to localize times in support content. For example 'America/Los_Angeles'. If not set, results will use as a default UTC.",
"location": "query",
"type": "string"
}
},
"path": "{merchantId}/merchantsupport/renderproductissues/{productId}",
"request": {
"$ref": "RenderProductIssuesRequestPayload"
},
"response": {
"$ref": "RenderProductIssuesResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"triggeraction": {
"description": "Start an action. The action can be requested by merchants in third-party application. Before merchants can request the action, the third-party application needs to show them action specific content and display a user input form. You can submit an allowlist request in the [Shopping API Support Form](https://support.google.com/merchants/contact/shopping_api_support_form) under \"What is the issue/question?\" to get access to this feature. The action can be successfully started only once all `required` inputs are provided. If any `required` input is missing, or invalid value was provided, the service will return 400 error. Validation errors will contain Ids for all problematic field together with translated, human readable error messages that can be shown to the user.",
"flatPath": "{merchantId}/merchantsupport/triggeraction",
"httpMethod": "POST",
"id": "content.merchantsupport.triggeraction",
"parameterOrder": [
"merchantId"
],
"parameters": {
"languageCode": {
"description": "Optional. Language code [IETF BCP 47 syntax](https://tools.ietf.org/html/bcp47) used to localize the response. If not set, the result will be in default language `en-US`.",
"location": "query",
"type": "string"
},
"merchantId": {
"description": "Required. The ID of the merchant's account.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/merchantsupport/triggeraction",
"request": {
"$ref": "TriggerActionPayload"
},
"response": {
"$ref": "TriggerActionResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
}
}
},
"ordertrackingsignals": {
"methods": {
"create": {
"description": "Creates new order tracking signal.",
"flatPath": "{merchantId}/ordertrackingsignals",
"httpMethod": "POST",
"id": "content.ordertrackingsignals.create",
"parameterOrder": [
"merchantId"
],
"parameters": {
"merchantId": {
"description": "The ID of the merchant for which the order signal is created.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/ordertrackingsignals",
"request": {
"$ref": "OrderTrackingSignal"
},
"response": {
"$ref": "OrderTrackingSignal"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
}
}
},
"pos": {
"methods": {
"custombatch": {
"description": "Batches multiple POS-related calls in a single request.",
"flatPath": "pos/batch",
"httpMethod": "POST",
"id": "content.pos.custombatch",
"parameterOrder": [],
"parameters": {},
"path": "pos/batch",
"request": {
"$ref": "PosCustomBatchRequest"
},
"response": {
"$ref": "PosCustomBatchResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"delete": {
"description": "Deletes a store for the given merchant.",
"flatPath": "{merchantId}/pos/{targetMerchantId}/store/{storeCode}",
"httpMethod": "DELETE",
"id": "content.pos.delete",
"parameterOrder": [
"merchantId",
"targetMerchantId",
"storeCode"
],
"parameters": {
"merchantId": {
"description": "The ID of the POS or inventory data provider.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"storeCode": {
"description": "A store code that is unique per merchant.",
"location": "path",
"required": true,
"type": "string"
},
"targetMerchantId": {
"description": "The ID of the target merchant.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/pos/{targetMerchantId}/store/{storeCode}",
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"get": {
"description": "Retrieves information about the given store.",
"flatPath": "{merchantId}/pos/{targetMerchantId}/store/{storeCode}",
"httpMethod": "GET",
"id": "content.pos.get",
"parameterOrder": [
"merchantId",
"targetMerchantId",
"storeCode"
],
"parameters": {
"merchantId": {
"description": "The ID of the POS or inventory data provider.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"storeCode": {
"description": "A store code that is unique per merchant.",
"location": "path",
"required": true,
"type": "string"
},
"targetMerchantId": {
"description": "The ID of the target merchant.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/pos/{targetMerchantId}/store/{storeCode}",
"response": {
"$ref": "PosStore"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"insert": {
"description": "Creates a store for the given merchant.",
"flatPath": "{merchantId}/pos/{targetMerchantId}/store",
"httpMethod": "POST",
"id": "content.pos.insert",
"parameterOrder": [
"merchantId",
"targetMerchantId"
],
"parameters": {
"merchantId": {
"description": "The ID of the POS or inventory data provider.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"targetMerchantId": {
"description": "The ID of the target merchant.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/pos/{targetMerchantId}/store",
"request": {
"$ref": "PosStore"
},
"response": {
"$ref": "PosStore"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"inventory": {
"description": "Submit inventory for the given merchant.",
"flatPath": "{merchantId}/pos/{targetMerchantId}/inventory",
"httpMethod": "POST",
"id": "content.pos.inventory",
"parameterOrder": [
"merchantId",
"targetMerchantId"
],
"parameters": {
"merchantId": {
"description": "The ID of the POS or inventory data provider.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"targetMerchantId": {
"description": "The ID of the target merchant.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/pos/{targetMerchantId}/inventory",
"request": {
"$ref": "PosInventoryRequest"
},
"response": {
"$ref": "PosInventoryResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"list": {
"description": "Lists the stores of the target merchant.",
"flatPath": "{merchantId}/pos/{targetMerchantId}/store",
"httpMethod": "GET",
"id": "content.pos.list",
"parameterOrder": [
"merchantId",
"targetMerchantId"
],
"parameters": {
"merchantId": {
"description": "The ID of the POS or inventory data provider.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"targetMerchantId": {
"description": "The ID of the target merchant.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/pos/{targetMerchantId}/store",
"response": {
"$ref": "PosListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"sale": {
"description": "Submit a sale event for the given merchant.",
"flatPath": "{merchantId}/pos/{targetMerchantId}/sale",
"httpMethod": "POST",
"id": "content.pos.sale",
"parameterOrder": [
"merchantId",
"targetMerchantId"
],
"parameters": {
"merchantId": {
"description": "The ID of the POS or inventory data provider.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"targetMerchantId": {
"description": "The ID of the target merchant.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/pos/{targetMerchantId}/sale",
"request": {
"$ref": "PosSaleRequest"
},
"response": {
"$ref": "PosSaleResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
}
}
},
"productdeliverytime": {
"methods": {
"create": {
"description": "Creates or updates the delivery time of a product.",
"flatPath": "{merchantId}/productdeliverytime",
"httpMethod": "POST",
"id": "content.productdeliverytime.create",
"parameterOrder": [
"merchantId"
],
"parameters": {
"merchantId": {
"description": "The Google merchant ID of the account that contains the product. This account cannot be a multi-client account.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/productdeliverytime",
"request": {
"$ref": "ProductDeliveryTime"
},
"response": {
"$ref": "ProductDeliveryTime"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"delete": {
"description": "Deletes the delivery time of a product.",
"flatPath": "{merchantId}/productdeliverytime/{productId}",
"httpMethod": "DELETE",
"id": "content.productdeliverytime.delete",
"parameterOrder": [
"merchantId",
"productId"
],
"parameters": {
"merchantId": {
"description": "Required. The Google merchant ID of the account that contains the product. This account cannot be a multi-client account.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
},
"productId": {
"description": "Required. The Content API ID of the product, in the form `channel:contentLanguage:targetCountry:offerId`.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/productdeliverytime/{productId}",
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"get": {
"description": "Gets `productDeliveryTime` by `productId`.",
"flatPath": "{merchantId}/productdeliverytime/{productId}",
"httpMethod": "GET",
"id": "content.productdeliverytime.get",
"parameterOrder": [
"merchantId",
"productId"
],
"parameters": {
"merchantId": {
"description": "Required. The Google merchant ID of the account that contains the product. This account cannot be a multi-client account.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
},
"productId": {
"description": "Required. The Content API ID of the product, in the form `channel:contentLanguage:targetCountry:offerId`.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/productdeliverytime/{productId}",
"response": {
"$ref": "ProductDeliveryTime"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
}
}
},
"products": {
"methods": {
"custombatch": {
"description": "Retrieves, inserts, and deletes multiple products in a single request.",
"flatPath": "products/batch",
"httpMethod": "POST",
"id": "content.products.custombatch",
"parameterOrder": [],
"parameters": {},
"path": "products/batch",
"request": {
"$ref": "ProductsCustomBatchRequest"
},
"response": {
"$ref": "ProductsCustomBatchResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"delete": {
"description": "Deletes a product from your Merchant Center account.",
"flatPath": "{merchantId}/products/{productId}",
"httpMethod": "DELETE",
"id": "content.products.delete",
"parameterOrder": [
"merchantId",
"productId"
],
"parameters": {
"feedId": {
"description": "The Content API Supplemental Feed ID. If present then product deletion applies to the data in a supplemental feed. If absent, entire product will be deleted.",
"format": "uint64",
"location": "query",
"type": "string"
},
"merchantId": {
"description": "The ID of the account that contains the product. This account cannot be a multi-client account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"productId": {
"description": "The REST ID of the product.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/products/{productId}",
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"get": {
"description": "Retrieves a product from your Merchant Center account.",
"flatPath": "{merchantId}/products/{productId}",
"httpMethod": "GET",
"id": "content.products.get",
"parameterOrder": [
"merchantId",
"productId"
],
"parameters": {
"merchantId": {
"description": "The ID of the account that contains the product. This account cannot be a multi-client account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"productId": {
"description": "The REST ID of the product.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/products/{productId}",
"response": {
"$ref": "Product"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"insert": {
"description": "Uploads a product to your Merchant Center account. If an item with the same channel, contentLanguage, offerId, and targetCountry already exists, this method updates that entry.",
"flatPath": "{merchantId}/products",
"httpMethod": "POST",
"id": "content.products.insert",
"parameterOrder": [
"merchantId"
],
"parameters": {
"feedId": {
"description": "The Content API Supplemental Feed ID. If present then product insertion applies to the data in a supplemental feed.",
"format": "uint64",
"location": "query",
"type": "string"
},
"merchantId": {
"description": "The ID of the account that contains the product. This account cannot be a multi-client account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/products",
"request": {
"$ref": "Product"
},
"response": {
"$ref": "Product"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"list": {
"description": "Lists the products in your Merchant Center account. The response might contain fewer items than specified by maxResults. Rely on nextPageToken to determine if there are more items to be requested.",
"flatPath": "{merchantId}/products",
"httpMethod": "GET",
"id": "content.products.list",
"parameterOrder": [
"merchantId"
],
"parameters": {
"maxResults": {
"description": "The maximum number of products to return in the response, used for paging. The default value is 25. The maximum value is 250.",
"format": "uint32",
"location": "query",
"type": "integer"
},
"merchantId": {
"description": "The ID of the account that contains the products. This account cannot be a multi-client account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"pageToken": {
"description": "The token returned by the previous request.",
"location": "query",
"type": "string"
}
},
"path": "{merchantId}/products",
"response": {
"$ref": "ProductsListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"update": {
"description": "Updates an existing product in your Merchant Center account. Only updates attributes provided in the request.",
"flatPath": "{merchantId}/products/{productId}",
"httpMethod": "PATCH",
"id": "content.products.update",
"parameterOrder": [
"merchantId",
"productId"
],
"parameters": {
"merchantId": {
"description": "The ID of the account that contains the product. This account cannot be a multi-client account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"productId": {
"description": "The REST ID of the product for which to update.",
"location": "path",
"required": true,
"type": "string"
},
"updateMask": {
"description": "The comma-separated list of product attributes to be updated. Example: `\"title,salePrice\"`. Attributes specified in the update mask without a value specified in the body will be deleted from the product. *You must specify the update mask to delete attributes.* Only top-level product attributes can be updated. If not defined, product attributes with set values will be updated and other attributes will stay unchanged.",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "{merchantId}/products/{productId}",
"request": {
"$ref": "Product"
},
"response": {
"$ref": "Product"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
}
}
},
"productstatuses": {
"methods": {
"custombatch": {
"description": "Gets the statuses of multiple products in a single request.",
"flatPath": "productstatuses/batch",
"httpMethod": "POST",
"id": "content.productstatuses.custombatch",
"parameterOrder": [],
"parameters": {},
"path": "productstatuses/batch",
"request": {
"$ref": "ProductstatusesCustomBatchRequest"
},
"response": {
"$ref": "ProductstatusesCustomBatchResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"get": {
"description": "Gets the status of a product from your Merchant Center account.",
"flatPath": "{merchantId}/productstatuses/{productId}",
"httpMethod": "GET",
"id": "content.productstatuses.get",
"parameterOrder": [
"merchantId",
"productId"
],
"parameters": {
"destinations": {
"description": "If set, only issues for the specified destinations are returned, otherwise only issues for the Shopping destination.",
"location": "query",
"repeated": true,
"type": "string"
},
"merchantId": {
"description": "The ID of the account that contains the product. This account cannot be a multi-client account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"productId": {
"description": "The REST ID of the product.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/productstatuses/{productId}",
"response": {
"$ref": "ProductStatus"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"list": {
"description": "Lists the statuses of the products in your Merchant Center account.",
"flatPath": "{merchantId}/productstatuses",
"httpMethod": "GET",
"id": "content.productstatuses.list",
"parameterOrder": [
"merchantId"
],
"parameters": {
"destinations": {
"description": "If set, only issues for the specified destinations are returned, otherwise only issues for the Shopping destination.",
"location": "query",
"repeated": true,
"type": "string"
},
"maxResults": {
"description": "The maximum number of product statuses to return in the response, used for paging. The default value is 25. The maximum value is 250.",
"format": "uint32",
"location": "query",
"type": "integer"
},
"merchantId": {
"description": "The ID of the account that contains the products. This account cannot be a multi-client account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"pageToken": {
"description": "The token returned by the previous request.",
"location": "query",
"type": "string"
}
},
"path": "{merchantId}/productstatuses",
"response": {
"$ref": "ProductstatusesListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
}
}
},
"promotions": {
"methods": {
"create": {
"description": "Inserts a promotion for your Merchant Center account. If the promotion already exists, then it updates the promotion instead. To [end or delete] (https://developers.google.com/shopping-content/guides/promotions#end_a_promotion) a promotion update the time period of the promotion to a time that has already passed.",
"flatPath": "{merchantId}/promotions",
"httpMethod": "POST",
"id": "content.promotions.create",
"parameterOrder": [
"merchantId"
],
"parameters": {
"merchantId": {
"description": "Required. The ID of the account that contains the collection.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/promotions",
"request": {
"$ref": "Promotion"
},
"response": {
"$ref": "Promotion"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"get": {
"description": "Retrieves a promotion from your Merchant Center account.",
"flatPath": "{merchantId}/promotions/{id}",
"httpMethod": "GET",
"id": "content.promotions.get",
"parameterOrder": [
"merchantId",
"id"
],
"parameters": {
"id": {
"description": "Required. REST ID of the promotion to retrieve.",
"location": "path",
"required": true,
"type": "string"
},
"merchantId": {
"description": "Required. The ID of the account that contains the collection.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/promotions/{id}",
"response": {
"$ref": "Promotion"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"list": {
"description": "List all promotions from your Merchant Center account.",
"flatPath": "{merchantId}/promotions",
"httpMethod": "GET",
"id": "content.promotions.list",
"parameterOrder": [
"merchantId"
],
"parameters": {
"countryCode": {
"description": "[CLDR country code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) (for example, \"US\"), used as a filter on promotions target country.",
"location": "query",
"type": "string"
},
"languageCode": {
"description": "The two-letter ISO 639-1 language code associated with the promotions, used as a filter.",
"location": "query",
"type": "string"
},
"merchantId": {
"description": "Required. The ID of the account that contains the collection.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
},
"pageSize": {
"description": "The maximum number of promotions 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.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "A page token, received from a previous `ListPromotion` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPromotion` must match the call that provided the page token.",
"location": "query",
"type": "string"
}
},
"path": "{merchantId}/promotions",
"response": {
"$ref": "ListPromotionResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
}
}
},
"pubsubnotificationsettings": {
"methods": {
"get": {
"description": "Retrieves a Merchant Center account's pubsub notification settings.",
"flatPath": "{merchantId}/pubsubnotificationsettings",
"httpMethod": "GET",
"id": "content.pubsubnotificationsettings.get",
"parameterOrder": [
"merchantId"
],
"parameters": {
"merchantId": {
"description": "The ID of the account for which to get pubsub notification settings.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/pubsubnotificationsettings",
"response": {
"$ref": "PubsubNotificationSettings"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"update": {
"description": "Register a Merchant Center account for pubsub notifications. Note that cloud topic name shouldn't be provided as part of the request.",
"flatPath": "{merchantId}/pubsubnotificationsettings",
"httpMethod": "PUT",
"id": "content.pubsubnotificationsettings.update",
"parameterOrder": [
"merchantId"
],
"parameters": {
"merchantId": {
"description": "The ID of the account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/pubsubnotificationsettings",
"request": {
"$ref": "PubsubNotificationSettings"
},
"response": {
"$ref": "PubsubNotificationSettings"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
}
}
},
"quotas": {
"methods": {
"list": {
"description": "Lists the daily call quota and usage per method for your Merchant Center account.",
"flatPath": "{merchantId}/quotas",
"httpMethod": "GET",
"id": "content.quotas.list",
"parameterOrder": [
"merchantId"
],
"parameters": {
"merchantId": {
"description": "Required. The ID of the account that has quota. This account must be an admin.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
},
"pageSize": {
"description": "The maximum number of quotas to return in the response, used for paging. Defaults to 500; values above 1000 will be coerced to 1000.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Token (if provided) to retrieve the subsequent page. All other parameters must match the original call that provided the page token.",
"location": "query",
"type": "string"
}
},
"path": "{merchantId}/quotas",
"response": {
"$ref": "ListMethodQuotasResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
}
}
},
"recommendations": {
"methods": {
"generate": {
"description": "Generates recommendations for a merchant.",
"flatPath": "{merchantId}/recommendations/generate",
"httpMethod": "GET",
"id": "content.recommendations.generate",
"parameterOrder": [
"merchantId"
],
"parameters": {
"allowedTag": {
"description": "Optional. List of allowed tags. Tags are a set of predefined strings that describe the category that individual recommendation types belong to. User can specify zero or more tags in this field to indicate what categories of recommendations they want to receive. Current list of supported tags: - TREND",
"location": "query",
"repeated": true,
"type": "string"
},
"languageCode": {
"description": "Optional. Language code of the client. If not set, the result will be in default language (English). This language code affects all fields prefixed with \"localized\". This should be set to ISO 639-1 country code. List of currently verified supported language code: en, fr, cs, da, de, es, it, nl, no, pl, pt, pt, fi, sv, vi, tr, th, ko, zh-CN, zh-TW, ja, id, hi",
"location": "query",
"type": "string"
},
"merchantId": {
"description": "Required. The ID of the account to fetch recommendations for.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/recommendations/generate",
"response": {
"$ref": "GenerateRecommendationsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"reportInteraction": {
"description": "Reports an interaction on a recommendation for a merchant.",
"flatPath": "{merchantId}/recommendations/reportInteraction",
"httpMethod": "POST",
"id": "content.recommendations.reportInteraction",
"parameterOrder": [
"merchantId"
],
"parameters": {
"merchantId": {
"description": "Required. The ID of the account that wants to report an interaction.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/recommendations/reportInteraction",
"request": {
"$ref": "ReportInteractionRequest"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
}
}
},
"regionalinventory": {
"methods": {
"custombatch": {
"description": "Updates regional inventory for multiple products or regions in a single request.",
"flatPath": "regionalinventory/batch",
"httpMethod": "POST",
"id": "content.regionalinventory.custombatch",
"parameterOrder": [],
"parameters": {},
"path": "regionalinventory/batch",
"request": {
"$ref": "RegionalinventoryCustomBatchRequest"
},
"response": {
"$ref": "RegionalinventoryCustomBatchResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"insert": {
"description": "Updates the regional inventory of a product in your Merchant Center account. If a regional inventory with the same region ID already exists, this method updates that entry.",
"flatPath": "{merchantId}/products/{productId}/regionalinventory",
"httpMethod": "POST",
"id": "content.regionalinventory.insert",
"parameterOrder": [
"merchantId",
"productId"
],
"parameters": {
"merchantId": {
"description": "The ID of the account that contains the product. This account cannot be a multi-client account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"productId": {
"description": "The REST ID of the product for which to update the regional inventory.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/products/{productId}/regionalinventory",
"request": {
"$ref": "RegionalInventory"
},
"response": {
"$ref": "RegionalInventory"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
}
}
},
"regions": {
"methods": {
"create": {
"description": "Creates a region definition in your Merchant Center account.",
"flatPath": "{merchantId}/regions",
"httpMethod": "POST",
"id": "content.regions.create",
"parameterOrder": [
"merchantId"
],
"parameters": {
"merchantId": {
"description": "Required. The id of the merchant for which to create region definition.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
},
"regionId": {
"description": "Required. The id of the region to create.",
"location": "query",
"type": "string"
}
},
"path": "{merchantId}/regions",
"request": {
"$ref": "Region"
},
"response": {
"$ref": "Region"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"delete": {
"description": "Deletes a region definition from your Merchant Center account.",
"flatPath": "{merchantId}/regions/{regionId}",
"httpMethod": "DELETE",
"id": "content.regions.delete",
"parameterOrder": [
"merchantId",
"regionId"
],
"parameters": {
"merchantId": {
"description": "Required. The id of the merchant for which to delete region definition.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
},
"regionId": {
"description": "Required. The id of the region to delete.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/regions/{regionId}",
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"get": {
"description": "Retrieves a region defined in your Merchant Center account.",
"flatPath": "{merchantId}/regions/{regionId}",
"httpMethod": "GET",
"id": "content.regions.get",
"parameterOrder": [
"merchantId",
"regionId"
],
"parameters": {
"merchantId": {
"description": "Required. The id of the merchant for which to retrieve region definition.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
},
"regionId": {
"description": "Required. The id of the region to retrieve.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/regions/{regionId}",
"response": {
"$ref": "Region"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"list": {
"description": "Lists the regions in your Merchant Center account.",
"flatPath": "{merchantId}/regions",
"httpMethod": "GET",
"id": "content.regions.list",
"parameterOrder": [
"merchantId"
],
"parameters": {
"merchantId": {
"description": "Required. The id of the merchant for which to list region definitions.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
},
"pageSize": {
"description": "The maximum number of regions to return. The service may return fewer than this value. If unspecified, at most 50 rules will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "A page token, received from a previous `ListRegions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListRegions` must match the call that provided the page token.",
"location": "query",
"type": "string"
}
},
"path": "{merchantId}/regions",
"response": {
"$ref": "ListRegionsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"patch": {
"description": "Updates a region definition in your Merchant Center account.",
"flatPath": "{merchantId}/regions/{regionId}",
"httpMethod": "PATCH",
"id": "content.regions.patch",
"parameterOrder": [
"merchantId",
"regionId"
],
"parameters": {
"merchantId": {
"description": "Required. The id of the merchant for which to update region definition.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
},
"regionId": {
"description": "Required. The id of the region to update.",
"location": "path",
"required": true,
"type": "string"
},
"updateMask": {
"description": "Optional. The comma-separated field mask indicating the fields to update. Example: `\"displayName,postalCodeArea.regionCode\"`.",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "{merchantId}/regions/{regionId}",
"request": {
"$ref": "Region"
},
"response": {
"$ref": "Region"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
}
}
},
"reports": {
"methods": {
"search": {
"description": "Retrieves merchant performance metrics matching the search query and optionally segmented by selected dimensions.",
"flatPath": "{merchantId}/reports/search",
"httpMethod": "POST",
"id": "content.reports.search",
"parameterOrder": [
"merchantId"
],
"parameters": {
"merchantId": {
"description": "Required. Id of the merchant making the call. Must be a standalone account or an MCA subaccount.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/reports/search",
"request": {
"$ref": "SearchRequest"
},
"response": {
"$ref": "SearchResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
}
}
},
"returnpolicyonline": {
"methods": {
"create": {
"description": "Creates a new return policy.",
"flatPath": "{merchantId}/returnpolicyonline",
"httpMethod": "POST",
"id": "content.returnpolicyonline.create",
"parameterOrder": [
"merchantId"
],
"parameters": {
"merchantId": {
"description": "Required. The id of the merchant for which to retrieve the return policy online object.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/returnpolicyonline",
"request": {
"$ref": "ReturnPolicyOnline"
},
"response": {
"$ref": "ReturnPolicyOnline"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"delete": {
"description": "Deletes an existing return policy.",
"flatPath": "{merchantId}/returnpolicyonline/{returnPolicyId}",
"httpMethod": "DELETE",
"id": "content.returnpolicyonline.delete",
"parameterOrder": [
"merchantId",
"returnPolicyId"
],
"parameters": {
"merchantId": {
"description": "Required. The id of the merchant for which to retrieve the return policy online object.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
},
"returnPolicyId": {
"description": "Required. The id of the return policy to delete.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/returnpolicyonline/{returnPolicyId}",
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"get": {
"description": "Gets an existing return policy.",
"flatPath": "{merchantId}/returnpolicyonline/{returnPolicyId}",
"httpMethod": "GET",
"id": "content.returnpolicyonline.get",
"parameterOrder": [
"merchantId",
"returnPolicyId"
],
"parameters": {
"merchantId": {
"description": "Required. The id of the merchant for which to retrieve the return policy online object.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
},
"returnPolicyId": {
"description": "Required. The id of the return policy to retrieve.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/returnpolicyonline/{returnPolicyId}",
"response": {
"$ref": "ReturnPolicyOnline"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"list": {
"description": "Lists all existing return policies.",
"flatPath": "{merchantId}/returnpolicyonline",
"httpMethod": "GET",
"id": "content.returnpolicyonline.list",
"parameterOrder": [
"merchantId"
],
"parameters": {
"merchantId": {
"description": "Required. The id of the merchant for which to retrieve the return policy online object.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/returnpolicyonline",
"response": {
"$ref": "ListReturnPolicyOnlineResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"patch": {
"description": "Updates an existing return policy.",
"flatPath": "{merchantId}/returnpolicyonline/{returnPolicyId}",
"httpMethod": "PATCH",
"id": "content.returnpolicyonline.patch",
"parameterOrder": [
"merchantId",
"returnPolicyId"
],
"parameters": {
"merchantId": {
"description": "Required. The id of the merchant for which to retrieve the return policy online object.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
},
"returnPolicyId": {
"description": "Required. The id of the return policy to update.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/returnpolicyonline/{returnPolicyId}",
"request": {
"$ref": "ReturnPolicyOnline"
},
"response": {
"$ref": "ReturnPolicyOnline"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
}
}
},
"shippingsettings": {
"methods": {
"custombatch": {
"description": "Retrieves and updates the shipping settings of multiple accounts in a single request.",
"flatPath": "shippingsettings/batch",
"httpMethod": "POST",
"id": "content.shippingsettings.custombatch",
"parameterOrder": [],
"parameters": {},
"path": "shippingsettings/batch",
"request": {
"$ref": "ShippingsettingsCustomBatchRequest"
},
"response": {
"$ref": "ShippingsettingsCustomBatchResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"get": {
"description": "Retrieves the shipping settings of the account.",
"flatPath": "{merchantId}/shippingsettings/{accountId}",
"httpMethod": "GET",
"id": "content.shippingsettings.get",
"parameterOrder": [
"merchantId",
"accountId"
],
"parameters": {
"accountId": {
"description": "The ID of the account for which to get/update shipping settings.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"merchantId": {
"description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/shippingsettings/{accountId}",
"response": {
"$ref": "ShippingSettings"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"getsupportedcarriers": {
"description": "Retrieves supported carriers and carrier services for an account.",
"flatPath": "{merchantId}/supportedCarriers",
"httpMethod": "GET",
"id": "content.shippingsettings.getsupportedcarriers",
"parameterOrder": [
"merchantId"
],
"parameters": {
"merchantId": {
"description": "The ID of the account for which to retrieve the supported carriers.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/supportedCarriers",
"response": {
"$ref": "ShippingsettingsGetSupportedCarriersResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"getsupportedholidays": {
"description": "Retrieves supported holidays for an account.",
"flatPath": "{merchantId}/supportedHolidays",
"httpMethod": "GET",
"id": "content.shippingsettings.getsupportedholidays",
"parameterOrder": [
"merchantId"
],
"parameters": {
"merchantId": {
"description": "The ID of the account for which to retrieve the supported holidays.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/supportedHolidays",
"response": {
"$ref": "ShippingsettingsGetSupportedHolidaysResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"getsupportedpickupservices": {
"description": "Retrieves supported pickup services for an account.",
"flatPath": "{merchantId}/supportedPickupServices",
"httpMethod": "GET",
"id": "content.shippingsettings.getsupportedpickupservices",
"parameterOrder": [
"merchantId"
],
"parameters": {
"merchantId": {
"description": "The ID of the account for which to retrieve the supported pickup services.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/supportedPickupServices",
"response": {
"$ref": "ShippingsettingsGetSupportedPickupServicesResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"list": {
"description": "Lists the shipping settings of the sub-accounts in your Merchant Center account.",
"flatPath": "{merchantId}/shippingsettings",
"httpMethod": "GET",
"id": "content.shippingsettings.list",
"parameterOrder": [
"merchantId"
],
"parameters": {
"maxResults": {
"description": "The maximum number of shipping settings to return in the response, used for paging.",
"format": "uint32",
"location": "query",
"type": "integer"
},
"merchantId": {
"description": "The ID of the managing account. This must be a multi-client account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"pageToken": {
"description": "The token returned by the previous request.",
"location": "query",
"type": "string"
}
},
"path": "{merchantId}/shippingsettings",
"response": {
"$ref": "ShippingsettingsListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"update": {
"description": "Updates the shipping settings of the account. Any fields that are not provided are deleted from the resource.",
"flatPath": "{merchantId}/shippingsettings/{accountId}",
"httpMethod": "PUT",
"id": "content.shippingsettings.update",
"parameterOrder": [
"merchantId",
"accountId"
],
"parameters": {
"accountId": {
"description": "The ID of the account for which to get/update shipping settings.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
},
"merchantId": {
"description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
"format": "uint64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/shippingsettings/{accountId}",
"request": {
"$ref": "ShippingSettings"
},
"response": {
"$ref": "ShippingSettings"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
}
}
},
"shoppingadsprogram": {
"methods": {
"get": {
"description": "Retrieves the status and review eligibility for the Shopping Ads program. Returns errors and warnings if they require action to resolve, will become disapprovals, or impact impressions. Use `accountstatuses` to view all issues for an account.",
"flatPath": "{merchantId}/shoppingadsprogram",
"httpMethod": "GET",
"id": "content.shoppingadsprogram.get",
"parameterOrder": [
"merchantId"
],
"parameters": {
"merchantId": {
"description": "Required. The ID of the account.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/shoppingadsprogram",
"response": {
"$ref": "ShoppingAdsProgramStatus"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
},
"requestreview": {
"description": "Requests a review of Shopping ads in a specific region. This method deprecated. Use the `MerchantSupportService` to view product and account issues and request a review.",
"flatPath": "{merchantId}/shoppingadsprogram/requestreview",
"httpMethod": "POST",
"id": "content.shoppingadsprogram.requestreview",
"parameterOrder": [
"merchantId"
],
"parameters": {
"merchantId": {
"description": "Required. The ID of the account.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{merchantId}/shoppingadsprogram/requestreview",
"request": {
"$ref": "RequestReviewShoppingAdsRequest"
},
"scopes": [
"https://www.googleapis.com/auth/content"
]
}
}
}
},
"revision": "20260429",
"rootUrl": "https://shoppingcontent.googleapis.com/",
"schemas": {
"Account": {
"description": "Account data. After the creation of a new account it may take a few minutes before it's fully operational. The methods delete, insert, and update require the admin role.",
"id": "Account",
"properties": {
"accountManagement": {
"description": "Output only. How the account is managed. Acceptable values are: - \"`manual`\" - \"`automatic`\" ",
"readOnly": true,
"type": "string"
},
"adsLinks": {
"description": "Linked Ads accounts that are active or pending approval. To create a new link request, add a new link with status `active` to the list. It will remain in a `pending` state until approved or rejected either in the Ads interface or through the Google Ads API. To delete an active link, or to cancel a link request, remove it from the list.",
"items": {
"$ref": "AccountAdsLink"
},
"type": "array"
},
"adultContent": {
"description": "Indicates whether the merchant sells adult content.",
"type": "boolean"
},
"automaticImprovements": {
"$ref": "AccountAutomaticImprovements",
"description": "The automatic improvements of the account can be used to automatically update items, improve images and shipping. Each section inside AutomaticImprovements is updated separately."
},
"automaticLabelIds": {
"description": "Automatically created label IDs that are assigned to the account by CSS Center.",
"items": {
"format": "uint64",
"type": "string"
},
"type": "array"
},
"businessIdentity": {
"$ref": "AccountBusinessIdentity",
"description": "The business identity attributes can be used to self-declare attributes that let customers know more about your business."
},
"businessInformation": {
"$ref": "AccountBusinessInformation",
"description": "The business information of the account."
},
"conversionSettings": {
"$ref": "AccountConversionSettings",
"description": "Settings for conversion tracking."
},
"cssId": {
"description": "ID of CSS the account belongs to.",
"format": "uint64",
"type": "string"
},
"googleMyBusinessLink": {
"$ref": "AccountGoogleMyBusinessLink",
"description": "The Business Profile which is linked or in the process of being linked with the Merchant Center account."
},
"id": {
"description": "Required. 64-bit Merchant Center account ID.",
"format": "uint64",
"type": "string"
},
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#account`\".",
"type": "string"
},
"labelIds": {
"description": "Manually created label IDs that are assigned to the account by CSS.",
"items": {
"format": "uint64",
"type": "string"
},
"type": "array"
},
"name": {
"description": "Required. Display name for the account.",
"type": "string"
},
"sellerId": {
"description": "Client-specific, locally-unique, internal ID for the child account.",
"type": "string"
},
"users": {
"description": "Users with access to the account. Every account (except for subaccounts) must have at least one admin user.",
"items": {
"$ref": "AccountUser"
},
"type": "array"
},
"websiteUrl": {
"description": "The merchant's website.",
"type": "string"
},
"youtubeChannelLinks": {
"description": "Linked YouTube channels that are active or pending approval. To create a new link request, add a new link with status `active` to the list. It will remain in a `pending` state until approved or rejected in the YT Creator Studio interface. To delete an active link, or to cancel a link request, remove it from the list.",
"items": {
"$ref": "AccountYouTubeChannelLink"
},
"type": "array"
}
},
"type": "object"
},
"AccountAddress": {
"id": "AccountAddress",
"properties": {
"country": {
"description": "CLDR country code (for example, \"US\"). All MCA sub-accounts inherit the country of their parent MCA by default, however the country can be updated for individual sub-accounts.",
"type": "string"
},
"locality": {
"description": "City, town or commune. May also include dependent localities or sublocalities (for example, neighborhoods or suburbs).",
"type": "string"
},
"postalCode": {
"description": "Postal code or ZIP (for example, \"94043\").",
"type": "string"
},
"region": {
"description": "Top-level administrative subdivision of the country. For example, a state like California (\"CA\") or a province like Quebec (\"QC\").",
"type": "string"
},
"streetAddress": {
"description": "Street-level part of the address. Use `\\n` to add a second line.",
"type": "string"
}
},
"type": "object"
},
"AccountAdsLink": {
"id": "AccountAdsLink",
"properties": {
"adsId": {
"description": "Customer ID of the Ads account.",
"format": "uint64",
"type": "string"
},
"status": {
"description": "Status of the link between this Merchant Center account and the Ads account. Upon retrieval, it represents the actual status of the link and can be either `active` if it was approved in Google Ads or `pending` if it's pending approval. Upon insertion, it represents the *intended* status of the link. Re-uploading a link with status `active` when it's still pending or with status `pending` when it's already active will have no effect: the status will remain unchanged. Re-uploading a link with deprecated status `inactive` is equivalent to not submitting the link at all and will delete the link if it was active or cancel the link request if it was pending. Acceptable values are: - \"`active`\" - \"`pending`\" ",
"type": "string"
}
},
"type": "object"
},
"AccountAutomaticImprovements": {
"description": "The automatic improvements of the account can be used to automatically update items, improve images and shipping.",
"id": "AccountAutomaticImprovements",
"properties": {
"imageImprovements": {
"$ref": "AccountImageImprovements",
"description": "This improvement will attempt to automatically correct submitted images if they don't meet the [image requirements](https://support.google.com/merchants/answer/6324350), for example, removing overlays. If successful, the image will be replaced and approved. This improvement is only applied to images of disapproved offers. For more information see: [Automatic image improvements](https://support.google.com/merchants/answer/9242973) This field is only updated (cleared) if provided."
},
"itemUpdates": {
"$ref": "AccountItemUpdates",
"description": "Turning on [item updates](https://support.google.com/merchants/answer/3246284) allows Google to automatically update items for you. When item updates are on, Google uses the structured data markup on the website and advanced data extractors to update the price and availability of the items. When the item updates are off, items with mismatched data aren't shown. This field is only updated (cleared) if provided."
},
"shippingImprovements": {
"$ref": "AccountShippingImprovements",
"description": "Not available for MCAs [accounts](https://support.google.com/merchants/answer/188487). By turning on [automatic shipping improvements](https://support.google.com/merchants/answer/10027038), you are allowing Google to improve the accuracy of your delivery times shown to shoppers using Google. More accurate delivery times, especially when faster, typically lead to better conversion rates. Google will improve your estimated delivery times based on various factors: - Delivery address of an order - Current handling time and shipping time settings - Estimated weekdays or business days - Parcel tracking data This field is only updated (cleared) if provided."
}
},
"type": "object"
},
"AccountBusinessIdentity": {
"description": "The [business identity attributes](https://support.google.com/merchants/answer/10342414) can be used to self-declare attributes that let customers know more about your business.",
"id": "AccountBusinessIdentity",
"properties": {
"blackOwned": {
"$ref": "AccountIdentityType",
"description": "Specifies whether the business identifies itself as being black-owned. This optional field is only available for merchants with a business country set to \"US\". This field is not allowed for marketplaces or marketplace sellers."
},
"includeForPromotions": {
"description": "Required. By setting this field, your business may be included in promotions for all the selected attributes. If you clear this option, it won't affect your identification with any of the attributes. For this field to be set, the merchant must self identify with at least one of the `AccountIdentityType`. If none are included, the request will be considered invalid.",
"type": "boolean"
},
"latinoOwned": {
"$ref": "AccountIdentityType",
"description": "Specifies whether the business identifies itself as being latino-owned. This optional field is only available for merchants with a business country set to \"US\". This field is not allowed for marketplaces or marketplace sellers."
},
"smallBusiness": {
"$ref": "AccountIdentityType",
"description": "Specifies whether the business identifies itself as a small business. This optional field is only available for merchants with a business country set to \"US\". It is also not allowed for marketplaces, but it is allowed to marketplace sellers."
},
"veteranOwned": {
"$ref": "AccountIdentityType",
"description": "Specifies whether the business identifies itself as being veteran-owned. This optional field is only available for merchants with a business country set to \"US\". This field is not allowed for marketplaces or marketplace sellers."
},
"womenOwned": {
"$ref": "AccountIdentityType",
"description": "Specifies whether the business identifies itself as being women-owned. This optional field is only available for merchants with a business country set to \"US\". This field is not allowed for marketplaces or marketplace sellers."
}
},
"type": "object"
},
"AccountBusinessInformation": {
"id": "AccountBusinessInformation",
"properties": {
"address": {
"$ref": "AccountAddress",
"description": "The address of the business. Use `\\n` to add a second address line."
},
"customerService": {
"$ref": "AccountCustomerService",
"description": "The customer service information of the business."
},
"koreanBusinessRegistrationNumber": {
"description": "The 10-digit [Korean business registration number](https://support.google.com/merchants/answer/9037766) separated with dashes in the format: XXX-XX-XXXXX. This field will only be updated if explicitly set.",
"type": "string"
},
"phoneNumber": {
"description": "The phone number of the business in [E.164](https://en.wikipedia.org/wiki/E.164) format. This can only be updated if a verified phone number is not already set. To replace a verified phone number use the `Accounts.requestphoneverification` and `Accounts.verifyphonenumber`.",
"type": "string"
},
"phoneVerificationStatus": {
"description": "Verification status of the phone number of the business. This status is read only and can be updated only by successful phone verification. Acceptable values are: - \"`verified`\" - \"`unverified`\" ",
"type": "string"
}
},
"type": "object"
},
"AccountConversionSettings": {
"description": "Settings for conversion tracking.",
"id": "AccountConversionSettings",
"properties": {
"freeListingsAutoTaggingEnabled": {
"description": "When enabled, free listing URLs have a parameter to enable conversion tracking for products owned by the current merchant account. See [auto-tagging](https://support.google.com/merchants/answer/11127659).",
"type": "boolean"
}
},
"type": "object"
},
"AccountCredentials": {
"description": "Credentials allowing Google to call a partner's API on behalf of a merchant.",
"id": "AccountCredentials",
"properties": {
"accessToken": {
"description": "An OAuth access token.",
"type": "string"
},
"expiresIn": {
"description": "The amount of time, in seconds, after which the access token is no longer valid.",
"format": "int64",
"type": "string"
},
"purpose": {
"description": "Indicates to Google how Google should use these OAuth tokens.",
"enum": [
"ACCOUNT_CREDENTIALS_PURPOSE_UNSPECIFIED",
"SHOPIFY_ORDER_MANAGEMENT",
"SHOPIFY_INTEGRATION"
],
"enumDeprecated": [
false,
true,
false
],
"enumDescriptions": [
"Unknown purpose.",
"The credentials allow Google to manage Shopify orders on behalf of the merchant (deprecated).",
"The credentials allow Google to manage Shopify integration on behalf of the merchant."
],
"type": "string"
}
},
"type": "object"
},
"AccountCustomerService": {
"id": "AccountCustomerService",
"properties": {
"email": {
"description": "Customer service email.",
"type": "string"
},
"phoneNumber": {
"description": "Customer service phone number.",
"type": "string"
},
"url": {
"description": "Customer service URL.",
"type": "string"
}
},
"type": "object"
},
"AccountGoogleMyBusinessLink": {
"id": "AccountGoogleMyBusinessLink",
"properties": {
"gmbAccountId": {
"description": "The ID of the Business Profile. If this is provided, then `gmbEmail` is ignored. The value of this field should match the `accountId` used by the Business Profile API.",
"type": "string"
},
"gmbEmail": {
"description": "The Business Profile email address of a specific account within a Business Profile. A sample account within a Business Profile could be a business account with set of locations, managed under the Business Profile.",
"type": "string"
},
"status": {
"description": "Status of the link between this Merchant Center account and the Business Profile. Acceptable values are: - \"`active`\" - \"`pending`\" ",
"type": "string"
}
},
"type": "object"
},
"AccountIdentifier": {
"id": "AccountIdentifier",
"properties": {
"aggregatorId": {
"description": "The aggregator ID, set for aggregators and subaccounts (in that case, it represents the aggregator of the subaccount).",
"format": "uint64",
"type": "string"
},
"merchantId": {
"description": "The merchant account ID, set for individual accounts and subaccounts.",
"format": "uint64",
"type": "string"
}
},
"type": "object"
},
"AccountIdentityType": {
"description": "The account identity type used to specify attributes.",
"id": "AccountIdentityType",
"properties": {
"selfIdentified": {
"description": "Optional. Indicates that the business identifies itself with a given identity type. Setting this field does not automatically mean eligibility for promotions.",
"type": "boolean"
}
},
"type": "object"
},
"AccountImageImprovements": {
"description": "This improvement will attempt to automatically correct submitted images if they don't meet the [image requirements](https://support.google.com/merchants/answer/6324350), for example, removing overlays. If successful, the image will be replaced and approved. This improvement is only applied to images of disapproved offers. For more information see: [Automatic image improvements](https://support.google.com/merchants/answer/9242973)",
"id": "AccountImageImprovements",
"properties": {
"accountImageImprovementsSettings": {
"$ref": "AccountImageImprovementsSettings",
"description": "Determines how the images should be automatically updated. If this field is not present, then the settings will be deleted. If there are no settings for subaccount, they are inherited from aggregator."
},
"effectiveAllowAutomaticImageImprovements": {
"description": "Output only. The effective value of allow_automatic_image_improvements. If account_image_improvements_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.",
"readOnly": true,
"type": "boolean"
}
},
"type": "object"
},
"AccountImageImprovementsSettings": {
"description": "Settings for the Automatic Image Improvements.",
"id": "AccountImageImprovementsSettings",
"properties": {
"allowAutomaticImageImprovements": {
"description": "Enables automatic image improvements.",
"type": "boolean"
}
},
"type": "object"
},
"AccountIssue": {
"description": "An issue affecting specific merchant.",
"id": "AccountIssue",
"properties": {
"actions": {
"description": "A list of actionable steps that can be executed to solve the issue. An example is requesting a re-review or providing arguments when merchant disagrees with the issue. Actions that are supported in (your) third-party application can be rendered as buttons and should be available to merchant when they expand the issue.",
"items": {
"$ref": "Action"
},
"type": "array"
},
"impact": {
"$ref": "AccountIssueImpact",
"description": "Clarifies the severity of the issue. The summarizing message, if present, should be shown right under the title for each issue. It helps merchants to quickly understand the impact of the issue. The detailed breakdown helps the merchant to fully understand the impact of the issue. It can be rendered as dialog that opens when the merchant mouse over the summarized impact statement. Issues with different severity can be styled differently. They may use a different color or icon to signal the difference between `ERROR`, `WARNING` and `INFO`."
},
"prerenderedContent": {
"description": "Details of the issue as a pre-rendered HTML. HTML elements contain CSS classes that can be used to customize the style of the content. Always sanitize the HTML before embedding it directly to your application. The sanitizer needs to allow basic HTML tags, such as: `div`, `span`, `p`, `a`, `ul`, `li`, `table`, `tr`, `td`. For example, you can use [DOMPurify](https://www.npmjs.com/package/dompurify). CSS classes: * `issue-detail` - top level container for the detail of the issue * `callout-banners` - section of the `issue-detail` with callout banners * `callout-banner` - single callout banner, inside `callout-banners` * `callout-banner-info` - callout with important information (default) * `callout-banner-warning` - callout with a warning * `callout-banner-error` - callout informing about an error (most severe) * `issue-content` - section of the `issue-detail`, contains multiple `content-element` * `content-element` - content element such as a list, link or paragraph, inside `issue-content` * `root-causes` - unordered list with items describing root causes of the issue, inside `issue-content` * `root-causes-intro` - intro text before the `root-causes` list, inside `issue-content` * `segment` - section of the text, `span` inside paragraph * `segment-attribute` - section of the text that represents a product attribute, for example 'image\\_link' * `segment-literal` - section of the text that contains a special value, for example '0-1000 kg' * `segment-bold` - section of the text that should be rendered as bold * `segment-italic` - section of the text that should be rendered as italic * `tooltip` - used on paragraphs that should be rendered with a tooltip. A section of the text in such a paragraph will have a class `tooltip-text` and is intended to be shown in a mouse over dialog. If the style is not used, the `tooltip-text` section would be shown on a new line, after the main part of the text. * `tooltip-text` - marks a section of the text within a `tooltip`, that is intended to be shown in a mouse over dialog. * `tooltip-icon` - marks a section of the text within a `tooltip`, that can be replaced with a tooltip icon, for example '?' or 'i'. By default, this section contains a `br` tag, that is separating the main text and the tooltip text when the style is not used. * `tooltip-style-question` - the tooltip shows helpful information, can use the '?' as an icon. * `tooltip-style-info` - the tooltip adds additional information fitting to the context, can use the 'i' as an icon. * `content-moderation` - marks the paragraph that explains how the issue was identified. * `new-element` - Present for new elements added to the pre-rendered content in the future. To make sure that a new content element does not break your style, you can hide everything with this class.",
"type": "string"
},
"prerenderedOutOfCourtDisputeSettlement": {
"description": "Pre-rendered HTML that contains a link to the external location where the ODS can be requested and instructions for how to request it. HTML elements contain CSS classes that can be used to customize the style of this snippet. Always sanitize the HTML before embedding it directly to your application. The sanitizer needs to allow basic HTML tags, such as: `div`, `span`, `p`, `a`, `ul`, `li`, `table`, `tr`, `td`. For example, you can use [DOMPurify](https://www.npmjs.com/package/dompurify). CSS classes: * `ods-section`* - wrapper around the out-of-court dispute resolution section * `ods-description`* - intro text for the out-of-court dispute resolution. It may contain multiple segments and a link. * `ods-param`* - wrapper around the header-value pair for parameters that merchant may need to provide during the ODS process. * `ods-routing-id`* - ods param for the Routing ID. * `ods-reference-id`* - ods param for the Routing ID. * `ods-param-header`* - header for the ODS parameter * `ods-param-value`* - value of the ODS parameter. This value should be rendered in a way that it is easy for merchants to identify and copy. * `segment` - section of the text, `span` inside paragraph * `segment-attribute` - section of the text that represents a product attribute, for example 'image\\_link' * `segment-literal` - section of the text that contains a special value, for example '0-1000 kg' * `segment-bold` - section of the text that should be rendered as bold * `segment-italic` - section of the text that should be rendered as italic * `tooltip` - used on paragraphs that should be rendered with a tooltip. A section of the text in such a paragraph will have a class `tooltip-text` and is intended to be shown in a mouse over dialog. If the style is not used, the `tooltip-text` section would be shown on a new line, after the main part of the text. * `tooltip-text` - marks a section of the text within a `tooltip`, that is intended to be shown in a mouse over dialog. * `tooltip-icon` - marks a section of the text within a `tooltip`, that can be replaced with a tooltip icon, for example '?' or 'i'. By default, this section contains a `br` tag, that is separating the main text and the tooltip text when the style is not used. * `tooltip-style-question` - the tooltip shows helpful information, can use the '?' as an icon. * `tooltip-style-info` - the tooltip adds additional information fitting to the context, can use the 'i' as an icon.",
"type": "string"
},
"title": {
"description": "Title of the issue.",
"type": "string"
}
},
"type": "object"
},
"AccountIssueImpact": {
"description": "Overall impact of the issue.",
"id": "AccountIssueImpact",
"properties": {
"breakdowns": {
"description": "Detailed impact breakdown. Explains the types of restriction the issue has in different shopping destinations and territory. If present, it should be rendered to the merchant. Can be shown as a mouse over dropdown or a dialog. Each breakdown item represents a group of regions with the same impact details.",
"items": {
"$ref": "Breakdown"
},
"type": "array"
},
"message": {
"description": "Optional. Message summarizing the overall impact of the issue. If present, it should be rendered to the merchant. For example: \"Disapproves 90k offers in 25 countries\"",
"type": "string"
},
"severity": {
"description": "The severity of the issue.",
"enum": [
"SEVERITY_UNSPECIFIED",
"ERROR",
"WARNING",
"INFO"
],
"enumDescriptions": [
"Default value. Will never be provided by the API.",
"Causes either an account suspension or an item disapproval. Errors should be resolved as soon as possible to ensure items are eligible to appear in results again.",
"Warnings can negatively impact the performance of ads and can lead to item or account suspensions in the future unless the issue is resolved.",
"Infos are suggested optimizations to increase data quality. Resolving these issues is recommended, but not required."
],
"type": "string"
}
},
"type": "object"
},
"AccountItemUpdates": {
"description": "Turning on [item updates](https://support.google.com/merchants/answer/3246284) allows Google to automatically update items for you. When item updates are on, Google uses the structured data markup on the website and advanced data extractors to update the price and availability of the items. When the item updates are off, items with mismatched data aren't shown.",
"id": "AccountItemUpdates",
"properties": {
"accountItemUpdatesSettings": {
"$ref": "AccountItemUpdatesSettings",
"description": "Determines which attributes of the items should be automatically updated. If this field is not present, then the settings will be deleted. If there are no settings for subaccount, they are inherited from aggregator."
},
"effectiveAllowAvailabilityUpdates": {
"description": "Output only. The effective value of allow_availability_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.",
"readOnly": true,
"type": "boolean"
},
"effectiveAllowConditionUpdates": {
"description": "Output only. The effective value of allow_condition_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.",
"readOnly": true,
"type": "boolean"
},
"effectiveAllowPriceUpdates": {
"description": "Output only. The effective value of allow_price_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.",
"readOnly": true,
"type": "boolean"
},
"effectiveAllowStrictAvailabilityUpdates": {
"description": "Output only. The effective value of allow_strict_availability_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.",
"readOnly": true,
"type": "boolean"
}
},
"type": "object"
},
"AccountItemUpdatesSettings": {
"description": "Settings for the Automatic Item Updates.",
"id": "AccountItemUpdatesSettings",
"properties": {
"allowAvailabilityUpdates": {
"description": "If availability updates are enabled, any previous availability values get overwritten if Google finds an out-of-stock annotation on the offer's page. If additionally `allow_availability_updates` field is set to true, values get overwritten if Google finds an in-stock annotation on the offer\u2019s page.",
"type": "boolean"
},
"allowConditionUpdates": {
"description": "If condition updates are enabled, Google always updates item condition with the condition detected from the details of your product.",
"type": "boolean"
},
"allowPriceUpdates": {
"description": "If price updates are enabled, Google always updates the active price with the crawled information.",
"type": "boolean"
},
"allowStrictAvailabilityUpdates": {
"description": "If allow_availability_updates is enabled, items are automatically updated in all your Shopping target countries. By default, availability updates will only be applied to items that are 'out of stock' on your website but 'in stock' on Shopping. Set this to true to also update items that are 'in stock' on your website, but 'out of stock' on Google Shopping. In order for this field to have an effect, you must also allow availability updates.",
"type": "boolean"
}
},
"type": "object"
},
"AccountLabel": {
"description": "Label assigned by CSS domain or CSS group to one of its sub-accounts.",
"id": "AccountLabel",
"properties": {
"accountId": {
"description": "Immutable. The ID of account this label belongs to.",
"format": "int64",
"type": "string"
},
"description": {
"description": "The description of this label.",
"type": "string"
},
"labelId": {
"description": "Output only. The ID of the label.",
"format": "int64",
"readOnly": true,
"type": "string"
},
"labelType": {
"description": "Output only. The type of this label.",
"enum": [
"LABEL_TYPE_UNSPECIFIED",
"MANUAL",
"AUTOMATIC"
],
"enumDescriptions": [
"Unknown label type.",
"Indicates that the label was created manually.",
"Indicates that the label was created automatically by CSS Center."
],
"readOnly": true,
"type": "string"
},
"name": {
"description": "The display name of this label.",
"type": "string"
}
},
"type": "object"
},
"AccountReturnCarrier": {
"description": " The return carrier information. This service is designed for merchants enrolled in the Buy on Google program. ",
"id": "AccountReturnCarrier",
"properties": {
"carrierAccountId": {
"description": "Output only. Immutable. The Google-provided unique carrier ID, used to update the resource.",
"format": "int64",
"readOnly": true,
"type": "string"
},
"carrierAccountName": {
"description": "Name of the carrier account.",
"type": "string"
},
"carrierAccountNumber": {
"description": "Number of the carrier account.",
"type": "string"
},
"carrierCode": {
"description": "The carrier code enum. Accepts the values FEDEX or UPS.",
"enum": [
"CARRIER_CODE_UNSPECIFIED",
"FEDEX",
"UPS"
],
"enumDescriptions": [
"Carrier not specified",
"FedEx carrier",
"UPS carrier"
],
"type": "string"
}
},
"type": "object"
},
"AccountShippingImprovements": {
"description": "Not available for MCAs [accounts](https://support.google.com/merchants/answer/188487). By turning on [automatic shipping improvements](https://support.google.com/merchants/answer/10027038), you are allowing Google to improve the accuracy of your delivery times shown to shoppers using Google. More accurate delivery times, especially when faster, typically lead to better conversion rates. Google will improve your estimated delivery times based on various factors: * Delivery address of an order * Current handling time and shipping time settings * Estimated weekdays or business days * Parcel tracking data",
"id": "AccountShippingImprovements",
"properties": {
"allowShippingImprovements": {
"description": "Enables automatic shipping improvements.",
"type": "boolean"
}
},
"type": "object"
},
"AccountStatus": {
"description": "The status of an account, that is, information about its products, which is computed offline and not returned immediately at insertion time.",
"id": "AccountStatus",
"properties": {
"accountId": {
"description": "The ID of the account for which the status is reported.",
"type": "string"
},
"accountLevelIssues": {
"description": "A list of account level issues.",
"items": {
"$ref": "AccountStatusAccountLevelIssue"
},
"type": "array"
},
"accountManagement": {
"description": "How the account is managed. Acceptable values are: - \"`manual`\" - \"`automatic`\" ",
"type": "string"
},
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#accountStatus`\"",
"type": "string"
},
"products": {
"description": "List of product-related data by channel, destination, and country. Data in this field may be delayed by up to 30 minutes.",
"items": {
"$ref": "AccountStatusProducts"
},
"type": "array"
},
"websiteClaimed": {
"description": "Whether the account's website is claimed or not.",
"type": "boolean"
}
},
"type": "object"
},
"AccountStatusAccountLevelIssue": {
"id": "AccountStatusAccountLevelIssue",
"properties": {
"country": {
"description": "Country for which this issue is reported.",
"type": "string"
},
"destination": {
"description": "The destination the issue applies to. If this field is empty then the issue applies to all available destinations.",
"type": "string"
},
"detail": {
"description": "Additional details about the issue.",
"type": "string"
},
"documentation": {
"description": "The URL of a web page to help resolving this issue.",
"type": "string"
},
"id": {
"description": "Issue identifier.",
"type": "string"
},
"severity": {
"description": "Severity of the issue. Acceptable values are: - \"`critical`\" - \"`error`\" - \"`suggestion`\" ",
"type": "string"
},
"title": {
"description": "Short description of the issue.",
"type": "string"
}
},
"type": "object"
},
"AccountStatusItemLevelIssue": {
"id": "AccountStatusItemLevelIssue",
"properties": {
"attributeName": {
"description": "The attribute's name, if the issue is caused by a single attribute.",
"type": "string"
},
"code": {
"description": "The error code of the issue.",
"type": "string"
},
"description": {
"description": "A short issue description in English.",
"type": "string"
},
"detail": {
"description": "A detailed issue description in English.",
"type": "string"
},
"documentation": {
"description": "The URL of a web page to help with resolving this issue.",
"type": "string"
},
"numItems": {
"description": "Number of items with this issue.",
"format": "int64",
"type": "string"
},
"resolution": {
"description": "Whether the issue can be resolved by the merchant.",
"type": "string"
},
"servability": {
"description": "How this issue affects serving of the offer.",
"type": "string"
}
},
"type": "object"
},
"AccountStatusProducts": {
"id": "AccountStatusProducts",
"properties": {
"channel": {
"description": "The channel the data applies to. Acceptable values are: - \"`local`\" - \"`online`\" ",
"type": "string"
},
"country": {
"description": "The country the data applies to.",
"type": "string"
},
"destination": {
"description": "The destination the data applies to.",
"type": "string"
},
"itemLevelIssues": {
"description": "List of item-level issues.",
"items": {
"$ref": "AccountStatusItemLevelIssue"
},
"type": "array"
},
"statistics": {
"$ref": "AccountStatusStatistics",
"description": "Aggregated product statistics."
}
},
"type": "object"
},
"AccountStatusStatistics": {
"id": "AccountStatusStatistics",
"properties": {
"active": {
"description": "Number of active offers.",
"format": "int64",
"type": "string"
},
"disapproved": {
"description": "Number of disapproved offers.",
"format": "int64",
"type": "string"
},
"expiring": {
"description": "Number of expiring offers.",
"format": "int64",
"type": "string"
},
"pending": {
"description": "Number of pending offers.",
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"AccountTax": {
"description": "The tax settings of a merchant account. All methods require the admin role.",
"id": "AccountTax",
"properties": {
"accountId": {
"description": "Required. The ID of the account to which these account tax settings belong.",
"format": "uint64",
"type": "string"
},
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#accountTax`\".",
"type": "string"
},
"rules": {
"description": "Tax rules. Updating the tax rules will enable \"US\" taxes (not reversible). Defining no rules is equivalent to not charging tax at all.",
"items": {
"$ref": "AccountTaxTaxRule"
},
"type": "array"
}
},
"type": "object"
},
"AccountTaxTaxRule": {
"description": "Tax calculation rule to apply in a state or province (US only).",
"id": "AccountTaxTaxRule",
"properties": {
"country": {
"description": "Country code in which tax is applicable.",
"type": "string"
},
"locationId": {
"description": "Required. State (or province) is which the tax is applicable, described by its location ID (also called criteria ID).",
"format": "uint64",
"type": "string"
},
"ratePercent": {
"description": "Explicit tax rate in percent, represented as a floating point number without the percentage character. Must not be negative.",
"type": "string"
},
"shippingTaxed": {
"description": "If true, shipping charges are also taxed.",
"type": "boolean"
},
"useGlobalRate": {
"description": "Whether the tax rate is taken from a global tax table or specified explicitly.",
"type": "boolean"
}
},
"type": "object"
},
"AccountUser": {
"id": "AccountUser",
"properties": {
"admin": {
"description": "Whether user is an admin.",
"type": "boolean"
},
"emailAddress": {
"description": "User's email address.",
"type": "string"
},
"orderManager": {
"deprecated": true,
"description": "This role is deprecated and can no longer be assigned. Any value set will be ignored.",
"type": "boolean"
},
"paymentsAnalyst": {
"deprecated": true,
"description": "This role is deprecated and can no longer be assigned. Any value set will be ignored.",
"type": "boolean"
},
"paymentsManager": {
"deprecated": true,
"description": "This role is deprecated and can no longer be assigned. Any value set will be ignored.",
"type": "boolean"
},
"readOnly": {
"description": "Optional. Whether user has standard read-only access.",
"type": "boolean"
},
"reportingManager": {
"description": "Whether user is a reporting manager. This role is equivalent to the Performance and insights role in Merchant Center.",
"type": "boolean"
}
},
"type": "object"
},
"AccountYouTubeChannelLink": {
"id": "AccountYouTubeChannelLink",
"properties": {
"channelId": {
"description": "Channel ID.",
"type": "string"
},
"status": {
"description": "Status of the link between this Merchant Center account and the YouTube channel. Upon retrieval, it represents the actual status of the link and can be either `active` if it was approved in YT Creator Studio or `pending` if it's pending approval. Upon insertion, it represents the *intended* status of the link. Re-uploading a link with status `active` when it's still pending or with status `pending` when it's already active will have no effect: the status will remain unchanged. Re-uploading a link with deprecated status `inactive` is equivalent to not submitting the link at all and will delete the link if it was active or cancel the link request if it was pending.",
"type": "string"
}
},
"type": "object"
},
"AccountsAuthInfoResponse": {
"id": "AccountsAuthInfoResponse",
"properties": {
"accountIdentifiers": {
"description": "The account identifiers corresponding to the authenticated user. - For an individual account: only the merchant ID is defined - For an aggregator: only the aggregator ID is defined - For a subaccount of an MCA: both the merchant ID and the aggregator ID are defined. ",
"items": {
"$ref": "AccountIdentifier"
},
"type": "array"
},
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#accountsAuthInfoResponse`\".",
"type": "string"
}
},
"type": "object"
},
"AccountsClaimWebsiteResponse": {
"id": "AccountsClaimWebsiteResponse",
"properties": {
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#accountsClaimWebsiteResponse`\".",
"type": "string"
}
},
"type": "object"
},
"AccountsCustomBatchRequest": {
"id": "AccountsCustomBatchRequest",
"properties": {
"entries": {
"description": "The request entries to be processed in the batch.",
"items": {
"$ref": "AccountsCustomBatchRequestEntry"
},
"type": "array"
}
},
"type": "object"
},
"AccountsCustomBatchRequestEntry": {
"description": "A batch entry encoding a single non-batch accounts request.",
"id": "AccountsCustomBatchRequestEntry",
"properties": {
"account": {
"$ref": "Account",
"description": "The account to create or update. Only defined if the method is `insert` or `update`."
},
"accountId": {
"description": "The ID of the targeted account. Only defined if the method is not `insert`.",
"format": "uint64",
"type": "string"
},
"batchId": {
"description": "An entry ID, unique within the batch request.",
"format": "uint32",
"type": "integer"
},
"force": {
"description": "Whether the account should be deleted if the account has offers. Only applicable if the method is `delete`.",
"type": "boolean"
},
"labelIds": {
"description": "Label IDs for the 'updatelabels' request.",
"items": {
"format": "uint64",
"type": "string"
},
"type": "array"
},
"linkRequest": {
"$ref": "AccountsCustomBatchRequestEntryLinkRequest",
"description": "Details about the `link` request."
},
"merchantId": {
"description": "The ID of the managing account.",
"format": "uint64",
"type": "string"
},
"method": {
"description": "The method of the batch entry. Acceptable values are: - \"`claimWebsite`\" - \"`delete`\" - \"`get`\" - \"`insert`\" - \"`link`\" - \"`update`\" ",
"type": "string"
},
"overwrite": {
"description": "Only applicable if the method is `claimwebsite`. Indicates whether or not to take the claim from another account in case there is a conflict.",
"type": "boolean"
},
"view": {
"description": "Controls which fields are visible. Only applicable if the method is 'get'.",
"type": "string"
}
},
"type": "object"
},
"AccountsCustomBatchRequestEntryLinkRequest": {
"id": "AccountsCustomBatchRequestEntryLinkRequest",
"properties": {
"action": {
"description": "Action to perform for this link. The `\"request\"` action is only available to select merchants. Acceptable values are: - \"`approve`\" - \"`remove`\" - \"`request`\" ",
"type": "string"
},
"linkType": {
"description": "Type of the link between the two accounts. Acceptable values are: - \"`channelPartner`\" - \"`eCommercePlatform`\" - \"`paymentServiceProvider`\" - \"`localProductManager`\" ",
"type": "string"
},
"linkedAccountId": {
"description": "The ID of the linked account.",
"type": "string"
},
"services": {
"description": "Provided services. Acceptable values are: - \"`shoppingAdsProductManagement`\" - \"`shoppingActionsProductManagement`\" - \"`shoppingActionsOrderManagement`\" - \"`paymentProcessing`\" - \"`localProductManagement`\" ",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"AccountsCustomBatchResponse": {
"id": "AccountsCustomBatchResponse",
"properties": {
"entries": {
"description": "The result of the execution of the batch requests.",
"items": {
"$ref": "AccountsCustomBatchResponseEntry"
},
"type": "array"
},
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#accountsCustomBatchResponse`\".",
"type": "string"
}
},
"type": "object"
},
"AccountsCustomBatchResponseEntry": {
"description": "A batch entry encoding a single non-batch accounts response.",
"id": "AccountsCustomBatchResponseEntry",
"properties": {
"account": {
"$ref": "Account",
"description": "The retrieved, created, or updated account. Not defined if the method was `delete`, `claimwebsite` or `link`."
},
"batchId": {
"description": "The ID of the request entry this entry responds to.",
"format": "uint32",
"type": "integer"
},
"errors": {
"$ref": "Errors",
"description": "A list of errors for failed custombatch entries. *Note:* Schema errors fail the whole request."
},
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#accountsCustomBatchResponseEntry`\"",
"type": "string"
}
},
"type": "object"
},
"AccountsLinkRequest": {
"id": "AccountsLinkRequest",
"properties": {
"action": {
"description": "Action to perform for this link. The `\"request\"` action is only available to select merchants. Acceptable values are: - \"`approve`\" - \"`remove`\" - \"`request`\" ",
"type": "string"
},
"eCommercePlatformLinkInfo": {
"$ref": "ECommercePlatformLinkInfo",
"description": "Additional information required for `eCommercePlatform` link type."
},
"linkType": {
"description": "Type of the link between the two accounts. Acceptable values are: - \"`channelPartner`\" - \"`eCommercePlatform`\" - \"`paymentServiceProvider`\" ",
"type": "string"
},
"linkedAccountId": {
"description": "The ID of the linked account.",
"type": "string"
},
"paymentServiceProviderLinkInfo": {
"$ref": "PaymentServiceProviderLinkInfo",
"description": "Additional information required for `paymentServiceProvider` link type."
},
"services": {
"description": " Acceptable values are: - \"`shoppingAdsProductManagement`\" - \"`shoppingActionsProductManagement`\" - \"`shoppingActionsOrderManagement`\" - \"`paymentProcessing`\" ",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"AccountsLinkResponse": {
"id": "AccountsLinkResponse",
"properties": {
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#accountsLinkResponse`\".",
"type": "string"
}
},
"type": "object"
},
"AccountsListLinksResponse": {
"id": "AccountsListLinksResponse",
"properties": {
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#accountsListLinksResponse`\".",
"type": "string"
},
"links": {
"description": "The list of available links.",
"items": {
"$ref": "LinkedAccount"
},
"type": "array"
},
"nextPageToken": {
"description": "The token for the retrieval of the next page of links.",
"type": "string"
}
},
"type": "object"
},
"AccountsListResponse": {
"id": "AccountsListResponse",
"properties": {
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#accountsListResponse`\".",
"type": "string"
},
"nextPageToken": {
"description": "The token for the retrieval of the next page of accounts.",
"type": "string"
},
"resources": {
"items": {
"$ref": "Account"
},
"type": "array"
}
},
"type": "object"
},
"AccountsUpdateLabelsRequest": {
"id": "AccountsUpdateLabelsRequest",
"properties": {
"labelIds": {
"description": "The IDs of labels that should be assigned to the account.",
"items": {
"format": "uint64",
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"AccountsUpdateLabelsResponse": {
"id": "AccountsUpdateLabelsResponse",
"properties": {
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#accountsUpdateLabelsResponse`\".",
"type": "string"
}
},
"type": "object"
},
"AccountstatusesCustomBatchRequest": {
"id": "AccountstatusesCustomBatchRequest",
"properties": {
"entries": {
"description": "The request entries to be processed in the batch.",
"items": {
"$ref": "AccountstatusesCustomBatchRequestEntry"
},
"type": "array"
}
},
"type": "object"
},
"AccountstatusesCustomBatchRequestEntry": {
"description": "A batch entry encoding a single non-batch accountstatuses request.",
"id": "AccountstatusesCustomBatchRequestEntry",
"properties": {
"accountId": {
"description": "The ID of the (sub-)account whose status to get.",
"format": "uint64",
"type": "string"
},
"batchId": {
"description": "An entry ID, unique within the batch request.",
"format": "uint32",
"type": "integer"
},
"destinations": {
"description": "If set, only issues for the specified destinations are returned, otherwise only issues for the Shopping destination.",
"items": {
"type": "string"
},
"type": "array"
},
"merchantId": {
"description": "The ID of the managing account.",
"format": "uint64",
"type": "string"
},
"method": {
"description": "The method of the batch entry. Acceptable values are: - \"`get`\" ",
"type": "string"
}
},
"type": "object"
},
"AccountstatusesCustomBatchResponse": {
"id": "AccountstatusesCustomBatchResponse",
"properties": {
"entries": {
"description": "The result of the execution of the batch requests.",
"items": {
"$ref": "AccountstatusesCustomBatchResponseEntry"
},
"type": "array"
},
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#accountstatusesCustomBatchResponse`\".",
"type": "string"
}
},
"type": "object"
},
"AccountstatusesCustomBatchResponseEntry": {
"description": "A batch entry encoding a single non-batch accountstatuses response.",
"id": "AccountstatusesCustomBatchResponseEntry",
"properties": {
"accountStatus": {
"$ref": "AccountStatus",
"description": "The requested account status. Defined if and only if the request was successful."
},
"batchId": {
"description": "The ID of the request entry this entry responds to.",
"format": "uint32",
"type": "integer"
},
"errors": {
"$ref": "Errors",
"description": "A list of errors for failed custombatch entries. *Note:* Schema errors fail the whole request."
}
},
"type": "object"
},
"AccountstatusesListResponse": {
"id": "AccountstatusesListResponse",
"properties": {
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#accountstatusesListResponse`\".",
"type": "string"
},
"nextPageToken": {
"description": "The token for the retrieval of the next page of account statuses.",
"type": "string"
},
"resources": {
"items": {
"$ref": "AccountStatus"
},
"type": "array"
}
},
"type": "object"
},
"AccounttaxCustomBatchRequest": {
"id": "AccounttaxCustomBatchRequest",
"properties": {
"entries": {
"description": "The request entries to be processed in the batch.",
"items": {
"$ref": "AccounttaxCustomBatchRequestEntry"
},
"type": "array"
}
},
"type": "object"
},
"AccounttaxCustomBatchRequestEntry": {
"description": "A batch entry encoding a single non-batch accounttax request.",
"id": "AccounttaxCustomBatchRequestEntry",
"properties": {
"accountId": {
"description": "The ID of the account for which to get/update account tax settings.",
"format": "uint64",
"type": "string"
},
"accountTax": {
"$ref": "AccountTax",
"description": "The account tax settings to update. Only defined if the method is `update`."
},
"batchId": {
"description": "An entry ID, unique within the batch request.",
"format": "uint32",
"type": "integer"
},
"merchantId": {
"description": "The ID of the managing account.",
"format": "uint64",
"type": "string"
},
"method": {
"description": "The method of the batch entry. Acceptable values are: - \"`get`\" - \"`update`\" ",
"type": "string"
}
},
"type": "object"
},
"AccounttaxCustomBatchResponse": {
"id": "AccounttaxCustomBatchResponse",
"properties": {
"entries": {
"description": "The result of the execution of the batch requests.",
"items": {
"$ref": "AccounttaxCustomBatchResponseEntry"
},
"type": "array"
},
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#accounttaxCustomBatchResponse`\".",
"type": "string"
}
},
"type": "object"
},
"AccounttaxCustomBatchResponseEntry": {
"description": "A batch entry encoding a single non-batch accounttax response.",
"id": "AccounttaxCustomBatchResponseEntry",
"properties": {
"accountTax": {
"$ref": "AccountTax",
"description": "The retrieved or updated account tax settings."
},
"batchId": {
"description": "The ID of the request entry this entry responds to.",
"format": "uint32",
"type": "integer"
},
"errors": {
"$ref": "Errors",
"description": "A list of errors for failed custombatch entries. *Note:* Schema errors fail the whole request."
},
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#accounttaxCustomBatchResponseEntry`\"",
"type": "string"
}
},
"type": "object"
},
"AccounttaxListResponse": {
"id": "AccounttaxListResponse",
"properties": {
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#accounttaxListResponse`\".",
"type": "string"
},
"nextPageToken": {
"description": "The token for the retrieval of the next page of account tax settings.",
"type": "string"
},
"resources": {
"items": {
"$ref": "AccountTax"
},
"type": "array"
}
},
"type": "object"
},
"Action": {
"description": "An actionable step that can be executed to solve the issue.",
"id": "Action",
"properties": {
"builtinSimpleAction": {
"$ref": "BuiltInSimpleAction",
"description": "Action implemented and performed in (your) third-party application. The application should point the merchant to the place, where they can access the corresponding functionality or provide instructions, if the specific functionality is not available."
},
"builtinUserInputAction": {
"$ref": "BuiltInUserInputAction",
"description": "Action implemented and performed in (your) third-party application. The application needs to show an additional content and input form to the merchant as specified for given action. They can trigger the action only when they provided all required inputs."
},
"buttonLabel": {
"description": "Label of the action button.",
"type": "string"
},
"externalAction": {
"$ref": "ExternalAction",
"description": "Action that is implemented and performed outside of (your) third-party application. The application needs to redirect the merchant to the external location where they can perform the action."
},
"isAvailable": {
"description": "Controlling whether the button is active or disabled. The value is 'false' when the action was already requested or is not available. If the action is not available then a reason will be present. If (your) third-party application shows a disabled button for action that is not available, then it should also show reasons.",
"type": "boolean"
},
"reasons": {
"description": "List of reasons why the action is not available. The list of reasons is empty if the action is available. If there is only one reason, it can be displayed next to the disabled button. If there are more reasons, all of them should be displayed, for example in a pop-up dialog.",
"items": {
"$ref": "ActionReason"
},
"type": "array"
}
},
"type": "object"
},
"ActionFlow": {
"description": "Flow that can be selected for an action. When merchant selects a flow, application should open a dialog with more information and input form.",
"id": "ActionFlow",
"properties": {
"dialogButtonLabel": {
"description": "Label for the button to trigger the action from the action dialog. For example: \"Request review\"",
"type": "string"
},
"dialogCallout": {
"$ref": "Callout",
"description": "Important message to be highlighted in the request dialog. For example: \"You can only request a review for disagreeing with this issue once. If it's not approved, you'll need to fix the issue and wait a few days before you can request another review.\""
},
"dialogMessage": {
"$ref": "TextWithTooltip",
"description": "Message displayed in the request dialog. For example: \"Make sure you've fixed all your country-specific issues. If not, you may have to wait 7 days to request another review\". There may be an more information to be shown in a tooltip."
},
"dialogTitle": {
"description": "Title of the request dialog. For example: \"Before you request a review\"",
"type": "string"
},
"id": {
"description": "Not for display but need to be sent back for the selected action flow.",
"type": "string"
},
"inputs": {
"description": "A list of input fields.",
"items": {
"$ref": "InputField"
},
"type": "array"
},
"label": {
"description": "Text value describing the intent for the action flow. It can be used as an input label if merchant needs to pick one of multiple flows. For example: \"I disagree with the issue\"",
"type": "string"
}
},
"type": "object"
},
"ActionInput": {
"description": "Input provided by the merchant.",
"id": "ActionInput",
"properties": {
"actionFlowId": {
"description": "Required. Id of the selected action flow.",
"type": "string"
},
"inputValues": {
"description": "Required. Values for input fields.",
"items": {
"$ref": "InputValue"
},
"type": "array"
}
},
"type": "object"
},
"ActionReason": {
"description": "A single reason why the action is not available.",
"id": "ActionReason",
"properties": {
"action": {
"$ref": "Action",
"description": "Optional. An action that needs to be performed to solve the problem represented by this reason. This action will always be available. Should be rendered as a link or button next to the summarizing message. For example, the review may be available only once merchant configure all required attributes. In such a situation this action can be a link to the form, where they can fill the missing attribute to unblock the main action."
},
"detail": {
"description": "Detailed explanation of the reason. Should be displayed as a hint if present.",
"type": "string"
},
"message": {
"description": "Messages summarizing the reason, why the action is not available. For example: \"Review requested on Jan 03. Review requests can take a few days to complete.\"",
"type": "string"
}
},
"type": "object"
},
"Address": {
"id": "Address",
"properties": {
"administrativeArea": {
"description": "Required. Top-level administrative subdivision of the country. For example, a state like California (\"CA\") or a province like Quebec (\"QC\").",
"type": "string"
},
"city": {
"description": "Required. City, town or commune. May also include dependent localities or sublocalities (for example, neighborhoods or suburbs).",
"type": "string"
},
"country": {
"description": "Required. [CLDR country code](https://github.com/unicode-org/cldr/blob/latest/common/main/en.xml) (for example, \"US\").",
"type": "string"
},
"postalCode": {
"description": "Required. Postal code or ZIP (for example, \"94043\").",
"type": "string"
},
"streetAddress": {
"description": "Street-level part of the address. Use `\\n` to add a second line.",
"type": "string"
}
},
"type": "object"
},
"AlternateDisputeResolution": {
"description": "The Alternate Dispute Resolution (ADR) that may be available to merchants in some regions. If present, the link should be shown on the same page as the list of issues.",
"id": "AlternateDisputeResolution",
"properties": {
"label": {
"description": "The label for the alternate dispute resolution link.",
"type": "string"
},
"uri": {
"description": "The URL pointing to a page, where merchant can request alternative dispute resolution with an [external body](https://support.google.com/european-union-digital-services-act-redress-options/answer/13535501).",
"type": "string"
}
},
"type": "object"
},
"AttributionSettings": {
"description": "Represents attribution settings for conversion sources receiving pre-attribution data.",
"id": "AttributionSettings",
"properties": {
"attributionLookbackWindowInDays": {
"description": "Required. Lookback windows (in days) used for attribution in this source. Supported values are 7, 30, 40.",
"format": "int32",
"type": "integer"
},
"attributionModel": {
"enum": [
"ATTRIBUTION_MODEL_UNSPECIFIED",
"CROSS_CHANNEL_LAST_CLICK",
"ADS_PREFERRED_LAST_CLICK",
"CROSS_CHANNEL_DATA_DRIVEN",
"CROSS_CHANNEL_FIRST_CLICK",
"CROSS_CHANNEL_LINEAR",
"CROSS_CHANNEL_POSITION_BASED",
"CROSS_CHANNEL_TIME_DECAY"
],
"enumDescriptions": [
"",
"Cross-channel Last Click model.",
"Ads-preferred Last Click model.",
"Cross-channel Data Driven model.",
"Cross-channel First Click model.",
"Cross-channel Linear model.",
"Cross-channel Position Based model.",
"Cross-channel Time Decay model."
],
"type": "string"
},
"conversionType": {
"description": "Immutable. Unordered list. List of different conversion types a conversion event can be classified as. A standard \"purchase\" type will be automatically created if this list is empty at creation time.",
"items": {
"$ref": "AttributionSettingsConversionType"
},
"type": "array"
}
},
"type": "object"
},
"AttributionSettingsConversionType": {
"description": "Message representing a types of conversion events",
"id": "AttributionSettingsConversionType",
"properties": {
"includeInReporting": {
"description": "Output only. Option indicating if the type should be included in Merchant Center reporting.",
"readOnly": true,
"type": "boolean"
},
"name": {
"description": "Output only. Conversion event name, as it'll be reported by the client.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"BestSellers": {
"description": "Fields related to the [Best sellers reports](https://support.google.com/merchants/answer/9488679).",
"id": "BestSellers",
"properties": {
"categoryId": {
"description": "Google product category ID to calculate the ranking for, represented in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436). If a `WHERE` condition on `best_sellers.category_id` is not specified in the query, rankings for all top-level categories are returned.",
"format": "int64",
"type": "string"
},
"countryCode": {
"description": "Country where the ranking is calculated. A `WHERE` condition on `best_sellers.country_code` is required in the query.",
"type": "string"
},
"previousRank": {
"description": "Popularity rank in the previous week or month.",
"format": "int64",
"type": "string"
},
"previousRelativeDemand": {
"description": "Estimated demand in relation to the item with the highest popularity rank in the same category and country in the previous week or month.",
"enum": [
"RELATIVE_DEMAND_UNSPECIFIED",
"VERY_LOW",
"LOW",
"MEDIUM",
"HIGH",
"VERY_HIGH"
],
"enumDescriptions": [
"Relative demand is unknown.",
"Demand is 0-5% of the demand of the highest ranked product clusters or brands.",
"Demand is 6-10% of the demand of the highest ranked product clusters or brands.",
"Demand is 11-20% of the demand of the highest ranked product clusters or brands.",
"Demand is 21-50% of the demand of the highest ranked product clusters or brands.",
"Demand is 51-100% of the demand of the highest ranked product clusters or brands."
],
"type": "string"
},
"rank": {
"description": "Popularity on Shopping ads and free listings, in the selected category and country, based on the estimated number of units sold.",
"format": "int64",
"type": "string"
},
"relativeDemand": {
"description": "Estimated demand in relation to the item with the highest popularity rank in the same category and country.",
"enum": [
"RELATIVE_DEMAND_UNSPECIFIED",
"VERY_LOW",
"LOW",
"MEDIUM",
"HIGH",
"VERY_HIGH"
],
"enumDescriptions": [
"Relative demand is unknown.",
"Demand is 0-5% of the demand of the highest ranked product clusters or brands.",
"Demand is 6-10% of the demand of the highest ranked product clusters or brands.",
"Demand is 11-20% of the demand of the highest ranked product clusters or brands.",
"Demand is 21-50% of the demand of the highest ranked product clusters or brands.",
"Demand is 51-100% of the demand of the highest ranked product clusters or brands."
],
"type": "string"
},
"relativeDemandChange": {
"description": "Change in the estimated demand. Whether it rose, sank or remained flat.",
"enum": [
"RELATIVE_DEMAND_CHANGE_TYPE_UNSPECIFIED",
"SINKER",
"FLAT",
"RISER"
],
"enumDescriptions": [
"Relative demand change is unknown.",
"Relative demand is lower than previous time period.",
"Relative demand is equal to previous time period.",
"Relative demand is higher than the previous time period."
],
"type": "string"
},
"reportDate": {
"$ref": "Date",
"description": "Report date. The value of this field can only be one of the following: * The first day of the week (Monday) for weekly reports. * The first day of the month for monthly reports. If a `WHERE` condition on `best_sellers.report_date` is not specified in the query, the latest available weekly or monthly report is returned."
},
"reportGranularity": {
"description": "Granularity of the report. The ranking can be done over a week or a month timeframe. A `WHERE` condition on `best_sellers.report_granularity` is required in the query.",
"enum": [
"REPORT_GRANULARITY_UNSPECIFIED",
"WEEKLY",
"MONTHLY"
],
"enumDescriptions": [
"Report granularity is unknown.",
"Ranking is done over a week timeframe.",
"Ranking is done over a month timeframe."
],
"type": "string"
}
},
"type": "object"
},
"Brand": {
"description": "Brand fields. Values are only set for fields requested explicitly in the request's search query.",
"id": "Brand",
"properties": {
"name": {
"description": "Name of the brand.",
"type": "string"
}
},
"type": "object"
},
"Breakdown": {
"description": "A detailed impact breakdown for a group of regions where the impact of the issue on different shopping destinations is the same.",
"id": "Breakdown",
"properties": {
"details": {
"description": "Human readable, localized description of issue's effect on different targets. Should be rendered as a list. For example: * \"Products not showing in ads\" * \"Products not showing organically\"",
"items": {
"type": "string"
},
"type": "array"
},
"regions": {
"description": "Lists of regions. Should be rendered as a title for this group of details. The full list should be shown to merchant. If the list is too long, it is recommended to make it expandable.",
"items": {
"$ref": "BreakdownRegion"
},
"type": "array"
}
},
"type": "object"
},
"BreakdownRegion": {
"description": "Region with code and localized name.",
"id": "BreakdownRegion",
"properties": {
"code": {
"description": "The [CLDR territory code] (http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml)",
"type": "string"
},
"name": {
"description": "The localized name of the region. For region with code='001' the value is 'All countries' or the equivalent in other languages.",
"type": "string"
}
},
"type": "object"
},
"BuiltInSimpleAction": {
"description": "Action that is implemented and performed in (your) third-party application. Represents various functionality that is expected to be available to merchant and will help them with resolving the issue. The application should point the merchant to the place, where they can access the corresponding functionality. If the functionality is not supported, it is recommended to explain the situation to merchant and provide them with instructions how to solve the issue.",
"id": "BuiltInSimpleAction",
"properties": {
"additionalContent": {
"$ref": "BuiltInSimpleActionAdditionalContent",
"description": "Long text from an external source that should be available to the merchant. Present when the type is `SHOW_ADDITIONAL_CONTENT`."
},
"attributeCode": {
"description": "The attribute that needs to be updated. Present when the type is `EDIT_ITEM_ATTRIBUTE`. This field contains a code for attribute, represented in snake_case. You can find a list of product's attributes, with their codes [here](https://support.google.com/merchants/answer/7052112).",
"type": "string"
},
"type": {
"description": "The type of action that represents a functionality that is expected to be available in third-party application.",
"enum": [
"BUILT_IN_SIMPLE_ACTION_TYPE_UNSPECIFIED",
"VERIFY_PHONE",
"CLAIM_WEBSITE",
"ADD_PRODUCTS",
"ADD_CONTACT_INFO",
"LINK_ADS_ACCOUNT",
"ADD_BUSINESS_REGISTRATION_NUMBER",
"EDIT_ITEM_ATTRIBUTE",
"FIX_ACCOUNT_ISSUE",
"SHOW_ADDITIONAL_CONTENT"
],
"enumDescriptions": [
"Default value. Will never be provided by the API.",
"Redirect merchant to the part of your application where they can verify their phone.",
"Redirect merchant to the part of your application where they can claim their website.",
"Redirect merchant to the part of your application where they can add products.",
"Open a form where the merchant can edit their contact information.",
"Redirect merchant to the part of your application where they can link ads account.",
"Open a form where the merchant can add their business registration number.",
"Open a form where the merchant can edit an attribute. The attribute that needs to be updated is specified in attribute_code field of the action.",
"Redirect merchant from the product issues to the diagnostic page with their account issues in your application. This action will be returned only for product issues that are caused by an account issue and thus merchant should resolve the problem on the account level.",
"Show additional content to the merchant. This action will be used for example to deliver a justification from national authority."
],
"type": "string"
}
},
"type": "object"
},
"BuiltInSimpleActionAdditionalContent": {
"description": "Long text from external source.",
"id": "BuiltInSimpleActionAdditionalContent",
"properties": {
"paragraphs": {
"description": "Long text organized into paragraphs.",
"items": {
"type": "string"
},
"type": "array"
},
"title": {
"description": "Title of the additional content;",
"type": "string"
}
},
"type": "object"
},
"BuiltInUserInputAction": {
"description": "Action that is implemented and performed in (your) third-party application. The application needs to show an additional content and input form to the merchant. They can start the action only when they provided all required inputs. The application will request processing of the action by calling the [triggeraction method](https://developers.google.com/shopping-content/reference/rest/v2.1/merchantsupport/triggeraction).",
"id": "BuiltInUserInputAction",
"properties": {
"actionContext": {
"description": "Internal details. Not for display but need to be sent back when triggering the action.",
"type": "string"
},
"flows": {
"description": "Actions may provide multiple different flows. Merchant selects one that fits best to their intent. Selecting the flow is the first step in user's interaction with the action. It affects what input fields will be available and required and also how the request will be processed.",
"items": {
"$ref": "ActionFlow"
},
"type": "array"
}
},
"type": "object"
},
"BusinessDayConfig": {
"id": "BusinessDayConfig",
"properties": {
"businessDays": {
"description": "Regular business days, such as '\"monday\"'. May not be empty.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Callout": {
"description": "An important message that should be highlighted. Usually displayed as a banner.",
"id": "Callout",
"properties": {
"fullMessage": {
"$ref": "TextWithTooltip",
"description": "A full message that needs to be shown to the merchant."
},
"styleHint": {
"description": "Can be used to render messages with different severity in different styles. Snippets off all types contain important information that should be displayed to merchants.",
"enum": [
"CALLOUT_STYLE_HINT_UNSPECIFIED",
"ERROR",
"WARNING",
"INFO"
],
"enumDescriptions": [
"Default value. Will never be provided by the API.",
"The most important type of information highlighting problems, like an unsuccessful outcome of previously requested actions.",
"Information warning about pending problems, risks or deadlines.",
"Default severity for important information like pending status of previously requested action or cooldown for re-review."
],
"type": "string"
}
},
"type": "object"
},
"CarrierRate": {
"id": "CarrierRate",
"properties": {
"carrierName": {
"description": "Carrier service, such as `\"UPS\"` or `\"Fedex\"`. The list of supported carriers can be retrieved through the `getSupportedCarriers` method. Required.",
"type": "string"
},
"carrierService": {
"description": "Carrier service, such as `\"ground\"` or `\"2 days\"`. The list of supported services for a carrier can be retrieved through the `getSupportedCarriers` method. Required.",
"type": "string"
},
"flatAdjustment": {
"$ref": "Price",
"description": "Additive shipping rate modifier. Can be negative. For example `{ \"value\": \"1\", \"currency\" : \"USD\" }` adds $1 to the rate, `{ \"value\": \"-3\", \"currency\" : \"USD\" }` removes $3 from the rate. Optional."
},
"name": {
"description": "Name of the carrier rate. Must be unique per rate group. Required.",
"type": "string"
},
"originPostalCode": {
"description": "Shipping origin for this carrier rate. Required.",
"type": "string"
},
"percentageAdjustment": {
"description": "Multiplicative shipping rate modifier as a number in decimal notation. Can be negative. For example `\"5.4\"` increases the rate by 5.4%, `\"-3\"` decreases the rate by 3%. Optional.",
"type": "string"
}
},
"type": "object"
},
"CarriersCarrier": {
"id": "CarriersCarrier",
"properties": {
"country": {
"description": "The CLDR country code of the carrier (for example, \"US\"). Always present.",
"type": "string"
},
"eddServices": {
"description": "A list of services supported for EDD (Estimated Delivery Date) calculation. This is the list of valid values for WarehouseBasedDeliveryTime.carrierService.",
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"description": "The name of the carrier (for example, `\"UPS\"`). Always present.",
"type": "string"
},
"services": {
"description": "A list of supported services (for example, `\"ground\"`) for that carrier. Contains at least one service. This is the list of valid values for CarrierRate.carrierService.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"CheckoutSettings": {
"description": "`CheckoutSettings` for a specific merchant ID.",
"id": "CheckoutSettings",
"properties": {
"effectiveEnrollmentState": {
"description": "Output only. The effective value of enrollment state for a given merchant ID. If account level settings are present then this value will be a copy of the account level settings. Otherwise, it will have the value of the parent account.",
"enum": [
"CHECKOUT_ON_MERCHANT_ENROLLMENT_STATE_UNSPECIFIED",
"INACTIVE",
"ENROLLED",
"OPT_OUT"
],
"enumDescriptions": [
"Default enrollment state when enrollment state is not specified.",
"Merchant has not enrolled into the feature.",
"Merchant has enrolled into the feature by providing either an account level URL or checkout URLs as part of their feed.",
"Merchant has previously enrolled but opted out of the feature."
],
"readOnly": true,
"type": "string"
},
"effectiveReviewState": {
"description": "Output only. The effective value of review state for a given merchant ID. If account level settings are present then this value will be a copy of the account level settings. Otherwise, it will have the value of the parent account.",
"enum": [
"CHECKOUT_ON_MERCHANT_REVIEW_STATE_UNSPECIFIED",
"IN_REVIEW",
"APPROVED",
"DISAPPROVED"
],
"enumDescriptions": [
"Default review state when review state is not specified.",
"Merchant provided URLs are being reviewed for data quality issues.",
"Merchant account has been approved. Indicates the data quality checks have passed.",
"Merchant account has been disapproved due to data quality issues."
],
"readOnly": true,
"type": "string"
},
"effectiveUriSettings": {
"$ref": "UrlSettings",
"description": "The effective value of `url_settings` for a given merchant ID. If account level settings are present then this value will be a copy of the account level settings. Otherwise, it will have the value of the parent account."
},
"enrollmentState": {
"description": "Output only. Reflects the merchant enrollment state in `Checkout` feature.",
"enum": [
"CHECKOUT_ON_MERCHANT_ENROLLMENT_STATE_UNSPECIFIED",
"INACTIVE",
"ENROLLED",
"OPT_OUT"
],
"enumDescriptions": [
"Default enrollment state when enrollment state is not specified.",
"Merchant has not enrolled into the feature.",
"Merchant has enrolled into the feature by providing either an account level URL or checkout URLs as part of their feed.",
"Merchant has previously enrolled but opted out of the feature."
],
"readOnly": true,
"type": "string"
},
"merchantId": {
"description": "Required. The ID of the account.",
"format": "int64",
"type": "string"
},
"reviewState": {
"description": "Output only. Reflects the merchant review state in `Checkout` feature. This is set based on the data quality reviews of the URL provided by the merchant. A merchant with enrollment state as `ENROLLED` can be in the following review states: `IN_REVIEW`, `APPROVED` or `DISAPPROVED`. A merchant must be in an enrollment_state of `ENROLLED` before a review can begin for the merchant.",
"enum": [
"CHECKOUT_ON_MERCHANT_REVIEW_STATE_UNSPECIFIED",
"IN_REVIEW",
"APPROVED",
"DISAPPROVED"
],
"enumDescriptions": [
"Default review state when review state is not specified.",
"Merchant provided URLs are being reviewed for data quality issues.",
"Merchant account has been approved. Indicates the data quality checks have passed.",
"Merchant account has been disapproved due to data quality issues."
],
"readOnly": true,
"type": "string"
},
"uriSettings": {
"$ref": "UrlSettings",
"description": "URL settings for cart or checkout URL."
}
},
"type": "object"
},
"CloudExportAdditionalProperties": {
"description": "Product property for the Cloud Retail API. For example, properties for a TV product could be \"Screen-Resolution\" or \"Screen-Size\".",
"id": "CloudExportAdditionalProperties",
"properties": {
"boolValue": {
"description": "Boolean value of the given property. For example for a TV product, \"True\" or \"False\" if the screen is UHD.",
"type": "boolean"
},
"floatValue": {
"description": "Float values of the given property. For example for a TV product 1.2345. Maximum number of specified values for this field is 400. Values are stored in an arbitrary but consistent order.",
"items": {
"format": "float",
"type": "number"
},
"type": "array"
},
"intValue": {
"description": "Integer values of the given property. For example, 1080 for a screen resolution of a TV product. Maximum number of specified values for this field is 400. Values are stored in an arbitrary but consistent order.",
"items": {
"format": "int64",
"type": "string"
},
"type": "array"
},
"maxValue": {
"description": "Maximum float value of the given property. For example for a TV product 100.00.",
"format": "float",
"type": "number"
},
"minValue": {
"description": "Minimum float value of the given property. For example for a TV product 1.00.",
"format": "float",
"type": "number"
},
"propertyName": {
"description": "Name of the given property. For example, \"Screen-Resolution\" for a TV product. Maximum string size is 256 characters.",
"type": "string"
},
"textValue": {
"description": "Text value of the given property. For example, \"8K(UHD)\" could be a text value for a TV product. Maximum number of specified values for this field is 400. Values are stored in an arbitrary but consistent order. Maximum string size is 256 characters.",
"items": {
"type": "string"
},
"type": "array"
},
"unitCode": {
"description": "Unit of the given property. For example, \"Pixels\" for a TV product. Maximum string size is 256 bytes.",
"type": "string"
}
},
"type": "object"
},
"Collection": {
"description": "The collection message.",
"id": "Collection",
"properties": {
"customLabel0": {
"description": "Label that you assign to a collection to help organize bidding and reporting in Shopping campaigns. [Custom label](https://support.google.com/merchants/answer/9674217)",
"type": "string"
},
"customLabel1": {
"description": "Label that you assign to a collection to help organize bidding and reporting in Shopping campaigns.",
"type": "string"
},
"customLabel2": {
"description": "Label that you assign to a collection to help organize bidding and reporting in Shopping campaigns.",
"type": "string"
},
"customLabel3": {
"description": "Label that you assign to a collection to help organize bidding and reporting in Shopping campaigns.",
"type": "string"
},
"customLabel4": {
"description": "Label that you assign to a collection to help organize bidding and reporting in Shopping campaigns.",
"type": "string"
},
"featuredProduct": {
"description": "This identifies one or more products associated with the collection. Used as a lookup to the corresponding product ID in your product feeds. Provide a maximum of 100 featuredProduct (for collections). Provide up to 10 featuredProduct (for Shoppable Images only) with ID and X and Y coordinates. [featured_product attribute](https://support.google.com/merchants/answer/9703736)",
"items": {
"$ref": "CollectionFeaturedProduct"
},
"type": "array"
},
"headline": {
"description": "Your collection's name. [headline attribute](https://support.google.com/merchants/answer/9673580)",
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"description": "Required. The REST ID of the collection. Content API methods that operate on collections take this as their collectionId parameter. The REST ID for a collection is of the form collectionId. [id attribute](https://support.google.com/merchants/answer/9649290)",
"type": "string"
},
"imageLink": {
"description": "The URL of a collection\u2019s image. [image_link attribute](https://support.google.com/merchants/answer/9703236)",
"items": {
"type": "string"
},
"type": "array"
},
"language": {
"description": "The language of a collection and the language of any featured products linked to the collection. [language attribute](https://support.google.com/merchants/answer/9673781)",
"type": "string"
},
"link": {
"description": "A collection\u2019s landing page. URL directly linking to your collection's page on your website. [link attribute](https://support.google.com/merchants/answer/9673983)",
"type": "string"
},
"mobileLink": {
"description": "A collection\u2019s mobile-optimized landing page when you have a different URL for mobile and desktop traffic. [mobile_link attribute](https://support.google.com/merchants/answer/9646123)",
"type": "string"
},
"productCountry": {
"description": "[product_country attribute](https://support.google.com/merchants/answer/9674155)",
"type": "string"
}
},
"type": "object"
},
"CollectionFeaturedProduct": {
"description": "The message for FeaturedProduct. [FeaturedProduct](https://support.google.com/merchants/answer/9703736)",
"id": "CollectionFeaturedProduct",
"properties": {
"offerId": {
"description": "The unique identifier for the product item.",
"type": "string"
},
"x": {
"description": "Required. X-coordinate of the product callout on the Shoppable Image.",
"format": "float",
"type": "number"
},
"y": {
"description": "Required. Y-coordinate of the product callout on the Shoppable Image.",
"format": "float",
"type": "number"
}
},
"type": "object"
},
"CollectionStatus": {
"description": "The collectionstatus message.",
"id": "CollectionStatus",
"properties": {
"collectionLevelIssuses": {
"description": "A list of all issues associated with the collection.",
"items": {
"$ref": "CollectionStatusItemLevelIssue"
},
"type": "array"
},
"creationDate": {
"description": "Date on which the collection has been created in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format: Date, time, and offset, for example \"2020-01-02T09:00:00+01:00\" or \"2020-01-02T09:00:00Z\"",
"type": "string"
},
"destinationStatuses": {
"description": "The intended destinations for the collection.",
"items": {
"$ref": "CollectionStatusDestinationStatus"
},
"type": "array"
},
"id": {
"description": "Required. The ID of the collection for which status is reported.",
"type": "string"
},
"lastUpdateDate": {
"description": "Date on which the collection has been last updated in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format: Date, time, and offset, for example \"2020-01-02T09:00:00+01:00\" or \"2020-01-02T09:00:00Z\"",
"type": "string"
}
},
"type": "object"
},
"CollectionStatusDestinationStatus": {
"description": "Destination status message.",
"id": "CollectionStatusDestinationStatus",
"properties": {
"approvedCountries": {
"description": "Country codes (ISO 3166-1 alpha-2) where the collection is approved.",
"items": {
"type": "string"
},
"type": "array"
},
"destination": {
"description": "The name of the destination",
"type": "string"
},
"disapprovedCountries": {
"description": "Country codes (ISO 3166-1 alpha-2) where the collection is disapproved.",
"items": {
"type": "string"
},
"type": "array"
},
"pendingCountries": {
"description": "Country codes (ISO 3166-1 alpha-2) where the collection is pending approval.",
"items": {
"type": "string"
},
"type": "array"
},
"status": {
"description": "The status for the specified destination in the collections target country.",
"type": "string"
}
},
"type": "object"
},
"CollectionStatusItemLevelIssue": {
"description": "Issue associated with the collection.",
"id": "CollectionStatusItemLevelIssue",
"properties": {
"applicableCountries": {
"description": "Country codes (ISO 3166-1 alpha-2) where issue applies to the offer.",
"items": {
"type": "string"
},
"type": "array"
},
"attributeName": {
"description": "The attribute's name, if the issue is caused by a single attribute.",
"type": "string"
},
"code": {
"description": "The error code of the issue.",
"type": "string"
},
"description": {
"description": "A short issue description in English.",
"type": "string"
},
"destination": {
"description": "The destination the issue applies to.",
"type": "string"
},
"detail": {
"description": "A detailed issue description in English.",
"type": "string"
},
"documentation": {
"description": "The URL of a web page to help with resolving this issue.",
"type": "string"
},
"resolution": {
"description": "Whether the issue can be resolved by the merchant.",
"type": "string"
},
"servability": {
"description": "How this issue affects the serving of the collection.",
"type": "string"
}
},
"type": "object"
},
"CompetitiveVisibility": {
"description": "Fields related to [competitive visibility reports] (https://support.google.com/merchants/answer/11366442).",
"id": "CompetitiveVisibility",
"properties": {
"adsOrganicRatio": {
"description": "[Ads / organic ratio] (https://support.google.com/merchants/answer/11366442#zippy=%2Cadsfree-ratio) shows how often a merchant receives impressions from Shopping ads compared to organic traffic. The number is rounded and bucketed. Available only in `CompetitiveVisibilityTopMerchantView` and `CompetitiveVisibilityCompetitorView`. Cannot be filtered on in the 'WHERE' clause.",
"format": "double",
"type": "number"
},
"categoryBenchmarkVisibilityTrend": {
"description": "Change in visibility based on impressions with respect to the start of the selected time range (or first day with non-zero impressions) for a combined set of merchants with highest visibility approximating the market. Available only in `CompetitiveVisibilityBenchmarkView`. Cannot be filtered on in the 'WHERE' clause.",
"format": "double",
"type": "number"
},
"categoryId": {
"description": "Google product category ID to calculate the report for, represented in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436). Required in the `SELECT` clause. A `WHERE` condition on `competitive_visibility.category_id` is required in the query.",
"format": "int64",
"type": "string"
},
"countryCode": {
"description": "The country where impression appeared. Required in the `SELECT` clause. A `WHERE` condition on `competitive_visibility.country_code` is required in the query.",
"type": "string"
},
"date": {
"$ref": "Date",
"description": "Date of this row. Available only in `CompetitiveVisibilityBenchmarkView` and `CompetitiveVisibilityCompetitorView`. Required in the `SELECT` clause for `CompetitiveVisibilityMarketBenchmarkView`."
},
"domain": {
"description": "Domain of your competitor or your domain, if 'is_your_domain' is true. Available only in `CompetitiveVisibilityTopMerchantView` and `CompetitiveVisibilityCompetitorView`. Required in the `SELECT` clause for `CompetitiveVisibilityTopMerchantView` and `CompetitiveVisibilityCompetitorView`. Cannot be filtered on in the 'WHERE' clause.",
"type": "string"
},
"higherPositionRate": {
"description": "Higher position rate shows how often a competitor\u2019s offer got placed in a higher position on the page than your offer. Available only in `CompetitiveVisibilityTopMerchantView` and `CompetitiveVisibilityCompetitorView`. Cannot be filtered on in the 'WHERE' clause.",
"format": "double",
"type": "number"
},
"isYourDomain": {
"description": "True if this row contains data for your domain. Available only in `CompetitiveVisibilityTopMerchantView` and `CompetitiveVisibilityCompetitorView`. Cannot be filtered on in the 'WHERE' clause.",
"type": "boolean"
},
"pageOverlapRate": {
"description": "Page overlap rate describes how frequently competing retailers\u2019 offers are shown together with your offers on the same page. Available only in `CompetitiveVisibilityTopMerchantView` and `CompetitiveVisibilityCompetitorView`. Cannot be filtered on in the 'WHERE' clause.",
"format": "double",
"type": "number"
},
"rank": {
"description": "Position of the domain in the top merchants ranking for the selected keys (`date`, `category_id`, `country_code`, `listing_type`) based on impressions. 1 is the highest. Available only in `CompetitiveVisibilityTopMerchantView` and `CompetitiveVisibilityCompetitorView`. Cannot be filtered on in the 'WHERE' clause.",
"format": "uint64",
"type": "string"
},
"relativeVisibility": {
"description": "Relative visibility shows how often your competitors\u2019 offers are shown compared to your offers. In other words, this is the number of displayed impressions of a competitor retailer divided by the number of your displayed impressions during a selected time range for a selected product category and country. Available only in `CompetitiveVisibilityCompetitorView`. Cannot be filtered on in the 'WHERE' clause.",
"format": "double",
"type": "number"
},
"trafficSource": {
"description": "Type of impression listing. Required in the `SELECT` clause. Cannot be filtered on in the 'WHERE' clause.",
"enum": [
"UNKNOWN",
"ORGANIC",
"ADS",
"ALL"
],
"enumDescriptions": [
"Traffic source is unknown.",
"Organic traffic.",
"Traffic from Ads.",
"Organic and Ads traffic."
],
"type": "string"
},
"yourDomainVisibilityTrend": {
"description": "Change in visibility based on impressions for your domain with respect to the start of the selected time range (or first day with non-zero impressions). Available only in `CompetitiveVisibilityBenchmarkView`. Cannot be filtered on in the 'WHERE' clause.",
"format": "double",
"type": "number"
}
},
"type": "object"
},
"ConversionSource": {
"description": "Represents a conversion source owned by a Merchant account. A merchant account can have up to 200 conversion sources.",
"id": "ConversionSource",
"properties": {
"conversionSourceId": {
"description": "Output only. Generated by the Content API upon creation of a new `ConversionSource`. Format: [a-z]{4}:.+ The four characters before the colon represent the type of conversio source. Content after the colon represents the ID of the conversion source within that type. The ID of two different conversion sources might be the same across different types. The following type prefixes are supported: - galk: For GoogleAnalyticsLink sources. - mcdn: For MerchantCenterDestination sources.",
"readOnly": true,
"type": "string"
},
"expireTime": {
"description": "Output only. The time when an archived conversion source becomes permanently deleted and is no longer available to undelete.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"googleAnalyticsLink": {
"$ref": "GoogleAnalyticsLink",
"description": "Immutable. Conversion Source of type \"Link to Google Analytics Property\"."
},
"merchantCenterDestination": {
"$ref": "MerchantCenterDestination",
"description": "Conversion Source of type \"Merchant Center Tag Destination\"."
},
"state": {
"description": "Output only. Current state of this conversion source. Can't be edited through the API.",
"enum": [
"STATE_UNSPECIFIED",
"ACTIVE",
"ARCHIVED",
"PENDING"
],
"enumDescriptions": [
"",
"Conversion source is fully functional.",
"Conversion source has been archived in the last 30 days and not currently functional. Can be restored using the undelete method.",
"Conversion source creation has started but not fully finished yet."
],
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"Css": {
"description": "Information about CSS domain.",
"id": "Css",
"properties": {
"cssDomainId": {
"description": "Output only. Immutable. The CSS domain ID.",
"format": "int64",
"readOnly": true,
"type": "string"
},
"cssGroupId": {
"description": "Output only. Immutable. The ID of the CSS group this CSS domain is affiliated with. Only populated for CSS group users.",
"format": "int64",
"readOnly": true,
"type": "string"
},
"displayName": {
"description": "Output only. Immutable. The CSS domain's display name, used when space is constrained.",
"readOnly": true,
"type": "string"
},
"fullName": {
"description": "Output only. Immutable. The CSS domain's full name.",
"readOnly": true,
"type": "string"
},
"homepageUri": {
"description": "Output only. Immutable. The CSS domain's homepage.",
"readOnly": true,
"type": "string"
},
"labelIds": {
"description": "A list of label IDs that are assigned to this CSS domain by its CSS group. Only populated for CSS group users.",
"items": {
"format": "int64",
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"CustomAttribute": {
"description": "A message that represents custom attributes. Exactly one of `value` or `groupValues` must be provided. Maximum allowed number of characters for each custom attribute is 10240 (represents sum of characters for name and value). Maximum 2500 custom attributes can be set per merchant, with total size of 102.4kB.",
"id": "CustomAttribute",
"properties": {
"groupValues": {
"description": "Subattributes within this attribute group. Exactly one of value or groupValues must be provided.",
"items": {
"$ref": "CustomAttribute"
},
"type": "array"
},
"name": {
"description": "The name of the attribute. Underscores will be replaced by spaces upon insertion.",
"type": "string"
},
"value": {
"description": "The value of the attribute.",
"type": "string"
}
},
"type": "object"
},
"CutoffTime": {
"id": "CutoffTime",
"properties": {
"hour": {
"description": "Hour of the cutoff time until which an order has to be placed to be processed in the same day. Required.",
"format": "uint32",
"type": "integer"
},
"minute": {
"description": "Minute of the cutoff time until which an order has to be placed to be processed in the same day. Required.",
"format": "uint32",
"type": "integer"
},
"timezone": {
"description": "Timezone identifier for the cutoff time (for example, \"Europe/Zurich\"). List of identifiers. Required.",
"type": "string"
}
},
"type": "object"
},
"Datafeed": {
"description": "Datafeed configuration data.",
"id": "Datafeed",
"properties": {
"attributeLanguage": {
"description": "The two-letter ISO 639-1 language in which the attributes are defined in the data feed.",
"type": "string"
},
"contentType": {
"description": "Required. The type of data feed. For product inventory feeds, only feeds for local stores, not online stores, are supported. Acceptable values are: - \"`local products`\" - \"`product inventory`\" - \"`products`\" ",
"type": "string"
},
"fetchSchedule": {
"$ref": "DatafeedFetchSchedule",
"description": "Fetch schedule for the feed file."
},
"fileName": {
"description": "Required. The filename of the feed. All feeds must have a unique file name.",
"type": "string"
},
"format": {
"$ref": "DatafeedFormat",
"description": "Format of the feed file."
},
"id": {
"description": "Required for update. The ID of the data feed.",
"format": "int64",
"type": "string"
},
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#datafeed`\"",
"type": "string"
},
"name": {
"description": "Required for insert. A descriptive name of the data feed.",
"type": "string"
},
"targets": {
"description": "The targets this feed should apply to (country, language, destinations).",
"items": {
"$ref": "DatafeedTarget"
},
"type": "array"
}
},
"type": "object"
},
"DatafeedFetchSchedule": {
"description": "The required fields vary based on the frequency of fetching. For a monthly fetch schedule, day_of_month and hour are required. For a weekly fetch schedule, weekday and hour are required. For a daily fetch schedule, only hour is required.",
"id": "DatafeedFetchSchedule",
"properties": {
"dayOfMonth": {
"description": "The day of the month the feed file should be fetched (1-31).",
"format": "uint32",
"type": "integer"
},
"fetchUrl": {
"description": "The URL where the feed file can be fetched. Google Merchant Center will support automatic scheduled uploads using the HTTP, HTTPS, FTP, or SFTP protocols, so the value will need to be a valid link using one of those four protocols.",
"type": "string"
},
"hour": {
"description": "The hour of the day the feed file should be fetched (0-23).",
"format": "uint32",
"type": "integer"
},
"minuteOfHour": {
"description": "The minute of the hour the feed file should be fetched (0-59). Read-only.",
"format": "uint32",
"type": "integer"
},
"password": {
"description": "An optional password for fetch_url.",
"type": "string"
},
"paused": {
"description": "Whether the scheduled fetch is paused or not.",
"type": "boolean"
},
"timeZone": {
"description": "Time zone used for schedule. UTC by default. For example, \"America/Los_Angeles\".",
"type": "string"
},
"username": {
"description": "An optional user name for fetch_url.",
"type": "string"
},
"weekday": {
"description": "The day of the week the feed file should be fetched. Acceptable values are: - \"`monday`\" - \"`tuesday`\" - \"`wednesday`\" - \"`thursday`\" - \"`friday`\" - \"`saturday`\" - \"`sunday`\" ",
"type": "string"
}
},
"type": "object"
},
"DatafeedFormat": {
"id": "DatafeedFormat",
"properties": {
"columnDelimiter": {
"description": "Delimiter for the separation of values in a delimiter-separated values feed. If not specified, the delimiter will be auto-detected. Ignored for non-DSV data feeds. Acceptable values are: - \"`pipe`\" - \"`tab`\" - \"`tilde`\" ",
"type": "string"
},
"fileEncoding": {
"description": "Character encoding scheme of the data feed. If not specified, the encoding will be auto-detected. Acceptable values are: - \"`latin-1`\" - \"`utf-16be`\" - \"`utf-16le`\" - \"`utf-8`\" - \"`windows-1252`\" ",
"type": "string"
},
"quotingMode": {
"description": "Specifies how double quotes are interpreted. If not specified, the mode will be auto-detected. Ignored for non-DSV data feeds. Acceptable values are: - \"`normal character`\" - \"`value quoting`\" ",
"type": "string"
}
},
"type": "object"
},
"DatafeedStatus": {
"description": "The status of a datafeed, that is, the result of the last retrieval of the datafeed computed asynchronously when the feed processing is finished.",
"id": "DatafeedStatus",
"properties": {
"country": {
"description": "The country for which the status is reported, represented as a CLDR territory code.",
"type": "string"
},
"datafeedId": {
"description": "The ID of the feed for which the status is reported.",
"format": "uint64",
"type": "string"
},
"errors": {
"description": "The list of errors occurring in the feed.",
"items": {
"$ref": "DatafeedStatusError"
},
"type": "array"
},
"feedLabel": {
"description": "The feed label status is reported for.",
"type": "string"
},
"itemsTotal": {
"description": "The number of items in the feed that were processed.",
"format": "uint64",
"type": "string"
},
"itemsValid": {
"description": "The number of items in the feed that were valid.",
"format": "uint64",
"type": "string"
},
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#datafeedStatus`\"",
"type": "string"
},
"language": {
"description": "The two-letter ISO 639-1 language for which the status is reported.",
"type": "string"
},
"lastUploadDate": {
"description": "The last date at which the feed was uploaded.",
"type": "string"
},
"processingStatus": {
"description": "The processing status of the feed. Acceptable values are: - \"`\"`failure`\": The feed could not be processed or all items had errors.`\" - \"`in progress`\": The feed is being processed. - \"`none`\": The feed has not yet been processed. For example, a feed that has never been uploaded will have this processing status. - \"`success`\": The feed was processed successfully, though some items might have had errors. ",
"type": "string"
},
"warnings": {
"description": "The list of errors occurring in the feed.",
"items": {
"$ref": "DatafeedStatusError"
},
"type": "array"
}
},
"type": "object"
},
"DatafeedStatusError": {
"description": "An error occurring in the feed, like \"invalid price\".",
"id": "DatafeedStatusError",
"properties": {
"code": {
"description": "The code of the error, for example, \"validation/invalid_value\".",
"type": "string"
},
"count": {
"description": "The number of occurrences of the error in the feed.",
"format": "uint64",
"type": "string"
},
"examples": {
"description": "A list of example occurrences of the error, grouped by product.",
"items": {
"$ref": "DatafeedStatusExample"
},
"type": "array"
},
"message": {
"description": "The error message, for example, \"Invalid price\".",
"type": "string"
}
},
"type": "object"
},
"DatafeedStatusExample": {
"description": "An example occurrence for a particular error.",
"id": "DatafeedStatusExample",
"properties": {
"itemId": {
"description": "The ID of the example item.",
"type": "string"
},
"lineNumber": {
"description": "Line number in the data feed where the example is found.",
"format": "uint64",
"type": "string"
},
"value": {
"description": "The problematic value.",
"type": "string"
}
},
"type": "object"
},
"DatafeedTarget": {
"id": "DatafeedTarget",
"properties": {
"country": {
"description": "Deprecated. Use `feedLabel` instead. The country where the items in the feed will be included in the search index, represented as a CLDR territory code.",
"type": "string"
},
"excludedDestinations": {
"description": "The list of [destinations to exclude](//support.google.com/merchants/answer/6324486) for this target (corresponds to cleared check boxes in Merchant Center). Products that are excluded from all destinations for more than 7 days are automatically deleted.",
"items": {
"type": "string"
},
"type": "array"
},
"feedLabel": {
"description": "Feed label for the DatafeedTarget. Either `country` or `feedLabel` is required. If both `feedLabel` and `country` is specified, the values must match. Must be less than or equal to 20 uppercase letters (A-Z), numbers (0-9), and dashes (-).",
"type": "string"
},
"includedDestinations": {
"description": "The list of [destinations to include](//support.google.com/merchants/answer/7501026) for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in `excludedDestinations`.",
"items": {
"type": "string"
},
"type": "array"
},
"language": {
"description": "The two-letter ISO 639-1 language of the items in the feed. Must be a valid language for `targets[].country`.",
"type": "string"
},
"targetCountries": {
"description": "The countries where the items may be displayed. Represented as a CLDR territory code. Will be ignored for \"product inventory\" feeds.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"DatafeedsCustomBatchRequest": {
"id": "DatafeedsCustomBatchRequest",
"properties": {
"entries": {
"description": "The request entries to be processed in the batch.",
"items": {
"$ref": "DatafeedsCustomBatchRequestEntry"
},
"type": "array"
}
},
"type": "object"
},
"DatafeedsCustomBatchRequestEntry": {
"description": "A batch entry encoding a single non-batch datafeeds request.",
"id": "DatafeedsCustomBatchRequestEntry",
"properties": {
"batchId": {
"description": "An entry ID, unique within the batch request.",
"format": "uint32",
"type": "integer"
},
"datafeed": {
"$ref": "Datafeed",
"description": "The data feed to insert."
},
"datafeedId": {
"description": "The ID of the data feed to get, delete or fetch.",
"format": "uint64",
"type": "string"
},
"merchantId": {
"description": "The ID of the managing account.",
"format": "uint64",
"type": "string"
},
"method": {
"description": "The method of the batch entry. Acceptable values are: - \"`delete`\" - \"`fetchNow`\" - \"`get`\" - \"`insert`\" - \"`update`\" ",
"type": "string"
}
},
"type": "object"
},
"DatafeedsCustomBatchResponse": {
"id": "DatafeedsCustomBatchResponse",
"properties": {
"entries": {
"description": "The result of the execution of the batch requests.",
"items": {
"$ref": "DatafeedsCustomBatchResponseEntry"
},
"type": "array"
},
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#datafeedsCustomBatchResponse`\".",
"type": "string"
}
},
"type": "object"
},
"DatafeedsCustomBatchResponseEntry": {
"description": "A batch entry encoding a single non-batch datafeeds response.",
"id": "DatafeedsCustomBatchResponseEntry",
"properties": {
"batchId": {
"description": "The ID of the request entry this entry responds to.",
"format": "uint32",
"type": "integer"
},
"datafeed": {
"$ref": "Datafeed",
"description": "The requested data feed. Defined if and only if the request was successful."
},
"errors": {
"$ref": "Errors",
"description": "A list of errors for failed custombatch entries. *Note:* Schema errors fail the whole request."
}
},
"type": "object"
},
"DatafeedsFetchNowResponse": {
"id": "DatafeedsFetchNowResponse",
"properties": {
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#datafeedsFetchNowResponse`\".",
"type": "string"
}
},
"type": "object"
},
"DatafeedsListResponse": {
"id": "DatafeedsListResponse",
"properties": {
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#datafeedsListResponse`\".",
"type": "string"
},
"nextPageToken": {
"description": "The token for the retrieval of the next page of datafeeds.",
"type": "string"
},
"resources": {
"items": {
"$ref": "Datafeed"
},
"type": "array"
}
},
"type": "object"
},
"DatafeedstatusesCustomBatchRequest": {
"id": "DatafeedstatusesCustomBatchRequest",
"properties": {
"entries": {
"description": "The request entries to be processed in the batch.",
"items": {
"$ref": "DatafeedstatusesCustomBatchRequestEntry"
},
"type": "array"
}
},
"type": "object"
},
"DatafeedstatusesCustomBatchRequestEntry": {
"description": "A batch entry encoding a single non-batch datafeedstatuses request.",
"id": "DatafeedstatusesCustomBatchRequestEntry",
"properties": {
"batchId": {
"description": "An entry ID, unique within the batch request.",
"format": "uint32",
"type": "integer"
},
"country": {
"description": "Deprecated. Use `feedLabel` instead. The country to get the datafeed status for. If this parameter is provided, then `language` must also be provided. Note that for multi-target datafeeds this parameter is required.",
"type": "string"
},
"datafeedId": {
"description": "The ID of the data feed to get.",
"format": "uint64",
"type": "string"
},
"feedLabel": {
"description": "The feed label to get the datafeed status for. If this parameter is provided, then `language` must also be provided. Note that for multi-target datafeeds this parameter is required.",
"type": "string"
},
"language": {
"description": "The language to get the datafeed status for. If this parameter is provided then `country` must also be provided. Note that for multi-target datafeeds this parameter is required.",
"type": "string"
},
"merchantId": {
"description": "The ID of the managing account.",
"format": "uint64",
"type": "string"
},
"method": {
"description": "The method of the batch entry. Acceptable values are: - \"`get`\" ",
"type": "string"
}
},
"type": "object"
},
"DatafeedstatusesCustomBatchResponse": {
"id": "DatafeedstatusesCustomBatchResponse",
"properties": {
"entries": {
"description": "The result of the execution of the batch requests.",
"items": {
"$ref": "DatafeedstatusesCustomBatchResponseEntry"
},
"type": "array"
},
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#datafeedstatusesCustomBatchResponse`\".",
"type": "string"
}
},
"type": "object"
},
"DatafeedstatusesCustomBatchResponseEntry": {
"description": "A batch entry encoding a single non-batch datafeedstatuses response.",
"id": "DatafeedstatusesCustomBatchResponseEntry",
"properties": {
"batchId": {
"description": "The ID of the request entry this entry responds to.",
"format": "uint32",
"type": "integer"
},
"datafeedStatus": {
"$ref": "DatafeedStatus",
"description": "The requested data feed status. Defined if and only if the request was successful."
},
"errors": {
"$ref": "Errors",
"description": "A list of errors for failed custombatch entries. *Note:* Schema errors fail the whole request."
}
},
"type": "object"
},
"DatafeedstatusesListResponse": {
"id": "DatafeedstatusesListResponse",
"properties": {
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#datafeedstatusesListResponse`\".",
"type": "string"
},
"nextPageToken": {
"description": "The token for the retrieval of the next page of datafeed statuses.",
"type": "string"
},
"resources": {
"items": {
"$ref": "DatafeedStatus"
},
"type": "array"
}
},
"type": "object"
},
"Date": {
"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp",
"id": "Date",
"properties": {
"day": {
"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.",
"format": "int32",
"type": "integer"
},
"month": {
"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.",
"format": "int32",
"type": "integer"
},
"year": {
"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"DateTime": {
"description": "Represents civil time (or occasionally physical time). This type can represent a civil time in one of a few possible ways: * When utc_offset is set and time_zone is unset: a civil time on a calendar day with a particular offset from UTC. * When time_zone is set and utc_offset is unset: a civil time on a calendar day in a particular time zone. * When neither time_zone nor utc_offset is set: a civil time on a calendar day in local time. The date is relative to the Proleptic Gregorian Calendar. If year, month, or day are 0, the DateTime is considered not to have a specific year, month, or day respectively. This type may also be used to represent a physical time if all the date and time fields are set and either case of the `time_offset` oneof is set. Consider using `Timestamp` message for physical time instead. If your use case also would like to store the user's timezone, that can be done in another field. This type is more flexible than some applications may want. Make sure to document and validate your application's limitations.",
"id": "DateTime",
"properties": {
"day": {
"description": "Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a datetime without a day.",
"format": "int32",
"type": "integer"
},
"hours": {
"description": "Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to 0 (midnight). An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.",
"format": "int32",
"type": "integer"
},
"minutes": {
"description": "Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.",
"format": "int32",
"type": "integer"
},
"month": {
"description": "Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month.",
"format": "int32",
"type": "integer"
},
"nanos": {
"description": "Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0.",
"format": "int32",
"type": "integer"
},
"seconds": {
"description": "Optional. Seconds of minutes of the time. Must normally be from 0 to 59, defaults to 0. An API may allow the value 60 if it allows leap-seconds.",
"format": "int32",
"type": "integer"
},
"timeZone": {
"$ref": "TimeZone",
"description": "Time zone."
},
"utcOffset": {
"description": "UTC offset. Must be whole seconds, between -18 hours and +18 hours. For example, a UTC offset of -4:00 would be represented as { seconds: -14400 }.",
"format": "google-duration",
"type": "string"
},
"year": {
"description": "Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"DeliveryArea": {
"description": "A delivery area for the product. Only one of `countryCode` or `postalCodeRange` must be set.",
"id": "DeliveryArea",
"properties": {
"countryCode": {
"description": "Required. The country that the product can be delivered to. Submit a [unicode CLDR region](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) such as `US` or `CH`.",
"type": "string"
},
"postalCodeRange": {
"$ref": "DeliveryAreaPostalCodeRange",
"description": "A postal code, postal code range or postal code prefix that defines this area. Limited to US and AUS."
},
"regionCode": {
"description": "A state, territory, or prefecture. This is supported for the United States, Australia, and Japan. Provide a subdivision code from the ISO 3166-2 code tables ([US](https://en.wikipedia.org/wiki/ISO_3166-2:US), [AU](https://en.wikipedia.org/wiki/ISO_3166-2:AU), or [JP](https://en.wikipedia.org/wiki/ISO_3166-2:JP)) without country prefix (for example, `\"NY\"`, `\"NSW\"`, `\"03\"`).",
"type": "string"
}
},
"type": "object"
},
"DeliveryAreaPostalCodeRange": {
"description": "A range of postal codes that defines the delivery area. Only set `firstPostalCode` when specifying a single postal code.",
"id": "DeliveryAreaPostalCodeRange",
"properties": {
"firstPostalCode": {
"description": "Required. A postal code or a pattern of the form prefix* denoting the inclusive lower bound of the range defining the area. Examples values: `\"94108\"`, `\"9410*\"`, `\"9*\"`.",
"type": "string"
},
"lastPostalCode": {
"description": "A postal code or a pattern of the form prefix* denoting the inclusive upper bound of the range defining the area (for example [070* - 078*] results in the range [07000 - 07899]). It must have the same length as `firstPostalCode`: if `firstPostalCode` is a postal code then `lastPostalCode` must be a postal code too; if firstPostalCode is a pattern then `lastPostalCode` must be a pattern with the same prefix length. Ignored if not set, then the area is defined as being all the postal codes matching `firstPostalCode`.",
"type": "string"
}
},
"type": "object"
},
"DeliveryTime": {
"id": "DeliveryTime",
"properties": {
"cutoffTime": {
"$ref": "CutoffTime",
"description": "Business days cutoff time definition. If not configured, the cutoff time will be defaulted to 8AM PST. If local delivery, use Service.StoreConfig.CutoffConfig."
},
"handlingBusinessDayConfig": {
"$ref": "BusinessDayConfig",
"description": "The business days during which orders can be handled. If not provided, Monday to Friday business days will be assumed."
},
"holidayCutoffs": {
"description": "Holiday cutoff definitions. If configured, they specify order cutoff times for holiday-specific shipping.",
"items": {
"$ref": "HolidayCutoff"
},
"type": "array"
},
"maxHandlingTimeInDays": {
"description": "Maximum number of business days spent before an order is shipped. 0 means same day shipped, 1 means next day shipped. Must be greater than or equal to `minHandlingTimeInDays`.",
"format": "uint32",
"type": "integer"
},
"maxTransitTimeInDays": {
"description": "Maximum number of business days that are spent in transit. 0 means same day delivery, 1 means next day delivery. Must be greater than or equal to `minTransitTimeInDays`.",
"format": "uint32",
"type": "integer"
},
"minHandlingTimeInDays": {
"description": "Minimum number of business days spent before an order is shipped. 0 means same day shipped, 1 means next day shipped.",
"format": "uint32",
"type": "integer"
},
"minTransitTimeInDays": {
"description": "Minimum number of business days that are spent in transit. 0 means same day delivery, 1 means next day delivery. Either `{min,max}TransitTimeInDays` or `transitTimeTable` must be set, but not both.",
"format": "uint32",
"type": "integer"
},
"transitBusinessDayConfig": {
"$ref": "BusinessDayConfig",
"description": "The business days during which orders can be in-transit. If not provided, Monday to Friday business days will be assumed."
},
"transitTimeTable": {
"$ref": "TransitTable",
"description": "Transit time table, number of business days spent in transit based on row and column dimensions. Either `{min,max}TransitTimeInDays` or `transitTimeTable` can be set, but not both."
},
"warehouseBasedDeliveryTimes": {
"description": "Indicates that the delivery time should be calculated per warehouse (shipping origin location) based on the settings of the selected carrier. When set, no other transit time related field in DeliveryTime should be set.",
"items": {
"$ref": "WarehouseBasedDeliveryTime"
},
"type": "array"
}
},
"type": "object"
},
"Distance": {
"description": "Distance represented by an integer and unit.",
"id": "Distance",
"properties": {
"unit": {
"description": "The distance unit. Acceptable values are `None`, `Miles`, and `Kilometers`.",
"type": "string"
},
"value": {
"description": "The distance represented as a number.",
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"ECommercePlatformLinkInfo": {
"description": "Additional information required for E_COMMERCE_PLATFORM link type.",
"id": "ECommercePlatformLinkInfo",
"properties": {
"externalAccountId": {
"description": "The id used by the third party service provider to identify the merchant.",
"type": "string"
}
},
"type": "object"
},
"Error": {
"description": "An error returned by the API.",
"id": "Error",
"properties": {
"domain": {
"description": "The domain of the error.",
"type": "string"
},
"message": {
"description": "A description of the error.",
"type": "string"
},
"reason": {
"description": "The error code.",
"type": "string"
}
},
"type": "object"
},
"Errors": {
"description": "A list of errors returned by a failed batch entry.",
"id": "Errors",
"properties": {
"code": {
"description": "The HTTP status of the first error in `errors`.",
"format": "uint32",
"type": "integer"
},
"errors": {
"description": "A list of errors.",
"items": {
"$ref": "Error"
},
"type": "array"
},
"message": {
"description": "The message of the first error in `errors`.",
"type": "string"
}
},
"type": "object"
},
"ExternalAction": {
"description": "Action that is implemented and performed outside of the third-party application. It should redirect the merchant to the provided URL of an external system where they can perform the action. For example to request a review in the Merchant Center.",
"id": "ExternalAction",
"properties": {
"type": {
"description": "The type of external action.",
"enum": [
"EXTERNAL_ACTION_TYPE_UNSPECIFIED",
"REVIEW_PRODUCT_ISSUE_IN_MERCHANT_CENTER",
"REVIEW_ACCOUNT_ISSUE_IN_MERCHANT_CENTER",
"LEGAL_APPEAL_IN_HELP_CENTER",
"VERIFY_IDENTITY_IN_MERCHANT_CENTER"
],
"enumDescriptions": [
"Default value. Will never be provided by the API.",
"Redirect to Merchant Center where the merchant can request a review for issue related to their product.",
"Redirect to Merchant Center where the merchant can request a review for issue related to their account.",
"Redirect to the form in Help Center where the merchant can request a legal appeal for the issue.",
"Redirect to Merchant Center where the merchant can perform identity verification."
],
"type": "string"
},
"uri": {
"description": "URL to external system, for example Merchant Center, where the merchant can perform the action.",
"type": "string"
}
},
"type": "object"
},
"FreeListingsProgramStatus": {
"description": "Response message for GetFreeListingsProgramStatus.",
"id": "FreeListingsProgramStatus",
"properties": {
"globalState": {
"description": "State of the program. `ENABLED` if there are offers for at least one region.",
"enum": [
"PROGRAM_STATE_UNSPECIFIED",
"NOT_ENABLED",
"NO_OFFERS_UPLOADED",
"ENABLED"
],
"enumDescriptions": [
"State is unknown.",
"Program is not enabled for any country.",
"No products have been uploaded for any region. Upload products to Merchant Center.",
"Program is enabled and offers are uploaded for at least one country."
],
"type": "string"
},
"regionStatuses": {
"description": "Status of the program in each region. Regions with the same status and review eligibility are grouped together in `regionCodes`.",
"items": {
"$ref": "FreeListingsProgramStatusRegionStatus"
},
"type": "array"
}
},
"type": "object"
},
"FreeListingsProgramStatusRegionStatus": {
"description": "Status of program and region.",
"id": "FreeListingsProgramStatusRegionStatus",
"properties": {
"disapprovalDate": {
"description": "Date by which eligibilityStatus will go from `WARNING` to `DISAPPROVED`. Only visible when your eligibilityStatus is WARNING. In [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DD`.",
"type": "string"
},
"eligibilityStatus": {
"description": "Eligibility status of the standard free listing program.",
"enum": [
"STATE_UNSPECIFIED",
"APPROVED",
"DISAPPROVED",
"WARNING",
"UNDER_REVIEW",
"PENDING_REVIEW",
"ONBOARDING"
],
"enumDescriptions": [
"State is not known.",
"If the account has no issues and review is completed successfully.",
"There are one or more issues that needs to be resolved for account to be active for the program. Detailed list of account issues are available in [accountstatuses](https://developers.google.com/shopping-content/reference/rest/v2.1/accountstatuses) API.",
"If account has issues but offers are servable. Some of the issue can make account DISAPPROVED after a certain deadline.",
"Account is under review.",
"Account is waiting for review to start.",
"Program is currently onboarding. Upload valid offers to complete onboarding."
],
"type": "string"
},
"onboardingIssues": {
"description": "Issues that must be fixed to be eligible for review.",
"items": {
"type": "string"
},
"type": "array"
},
"regionCodes": {
"description": "The two-letter [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) codes for all the regions with the same `eligibilityStatus` and `reviewEligibility`.",
"items": {
"type": "string"
},
"type": "array"
},
"reviewEligibilityStatus": {
"description": "If a program is eligible for review in a specific region. Only visible if `eligibilityStatus` is `DISAPPROVED`.",
"enum": [
"REVIEW_ELIGIBILITY_UNSPECIFIED",
"ELIGIBLE",
"INELIGIBLE"
],
"enumDescriptions": [
"Review eligibility state is unknown.",
"Account is eligible for review for a specified region code.",
"Account is not eligible for review for a specified region code."
],
"type": "string"
},
"reviewIneligibilityReason": {
"description": "Review ineligibility reason if account is not eligible for review.",
"enum": [
"REVIEW_INELIGIBILITY_REASON_UNSPECIFIED",
"ONBOARDING_ISSUES",
"NOT_ENOUGH_OFFERS",
"IN_COOLDOWN_PERIOD",
"ALREADY_UNDER_REVIEW",
"NO_REVIEW_REQUIRED",
"WILL_BE_REVIEWED_AUTOMATICALLY",
"IS_RETIRED",
"ALREADY_REVIEWED"
],
"enumDescriptions": [
"Requesting a review from Google is not possible.",
"All onboarding issues needs to be fixed.",
"Not enough offers uploaded for this country.",
"Cooldown period applies. Wait until cooldown period ends.",
"Account is already under review.",
"No issues available to review.",
"Account will be automatically reviewed at the end of the grace period.",
"Account is retired. Should not appear in MC.",
"Account has already been reviewed. You can't request further reviews."
],
"type": "string"
},
"reviewIneligibilityReasonDescription": {
"description": "Reason a program in a specific region isn\u2019t eligible for review. Only visible if `reviewEligibilityStatus` is `INELIGIBLE`.",
"type": "string"
},
"reviewIneligibilityReasonDetails": {
"$ref": "FreeListingsProgramStatusReviewIneligibilityReasonDetails",
"description": "Additional information for ineligibility. If `reviewIneligibilityReason` is `IN_COOLDOWN_PERIOD`, a timestamp for the end of the cooldown period is provided."
},
"reviewIssues": {
"description": "Issues evaluated in the review process. Fix all issues before requesting a review.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"FreeListingsProgramStatusReviewIneligibilityReasonDetails": {
"description": "Additional details for review ineligibility reasons.",
"id": "FreeListingsProgramStatusReviewIneligibilityReasonDetails",
"properties": {
"cooldownTime": {
"description": "This timestamp represents end of cooldown period for review ineligbility reason `IN_COOLDOWN_PERIOD`.",
"format": "google-datetime",
"type": "string"
}
},
"type": "object"
},
"FreeShippingThreshold": {
"description": "Conditions to be met for a product to have free shipping.",
"id": "FreeShippingThreshold",
"properties": {
"country": {
"description": "Required. The [CLDR territory code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) of the country to which an item will ship.",
"type": "string"
},
"priceThreshold": {
"$ref": "Price",
"description": "Required. The minimum product price for the shipping cost to become free. Represented as a number."
}
},
"type": "object"
},
"GenerateRecommendationsResponse": {
"description": "Response containing generated recommendations.",
"id": "GenerateRecommendationsResponse",
"properties": {
"recommendations": {
"description": "Recommendations generated for a request.",
"items": {
"$ref": "Recommendation"
},
"type": "array"
},
"responseToken": {
"description": "Output only. Response token is a string created for each `GenerateRecommendationsResponse`. This token doesn't expire, and is globally unique. This token must be used when reporting interactions for recommendations.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GmbAccounts": {
"id": "GmbAccounts",
"properties": {
"accountId": {
"description": "The ID of the Merchant Center account.",
"format": "uint64",
"type": "string"
},
"gmbAccounts": {
"description": "A list of Business Profiles which are available to the merchant.",
"items": {
"$ref": "GmbAccountsGmbAccount"
},
"type": "array"
}
},
"type": "object"
},
"GmbAccountsGmbAccount": {
"id": "GmbAccountsGmbAccount",
"properties": {
"email": {
"description": "The email which identifies the Business Profile.",
"type": "string"
},
"listingCount": {
"description": "Number of listings under this account.",
"format": "uint64",
"type": "string"
},
"name": {
"description": "The name of the Business Profile.",
"type": "string"
},
"type": {
"description": "The type of the Business Profile (User or Business).",
"type": "string"
}
},
"type": "object"
},
"GoogleAnalyticsLink": {
"description": "\"Google Analytics Link\" sources can be used to get conversion data from an existing Google Analytics property into the linked Merchant Center account.",
"id": "GoogleAnalyticsLink",
"properties": {
"attributionSettings": {
"$ref": "AttributionSettings",
"description": "Output only. Attribution settings for the linked Google Analytics property.",
"readOnly": true
},
"propertyId": {
"description": "Required. Immutable. ID of the Google Analytics property the merchant is linked to.",
"format": "int64",
"type": "string"
},
"propertyName": {
"description": "Output only. Name of the Google Analytics property the merchant is linked to.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"Headers": {
"description": "A non-empty list of row or column headers for a table. Exactly one of `prices`, `weights`, `numItems`, `postalCodeGroupNames`, or `location` must be set.",
"id": "Headers",
"properties": {
"locations": {
"description": "A list of location ID sets. Must be non-empty. Can only be set if all other fields are not set.",
"items": {
"$ref": "LocationIdSet"
},
"type": "array"
},
"numberOfItems": {
"description": "A list of inclusive number of items upper bounds. The last value can be `\"infinity\"`. For example `[\"10\", \"50\", \"infinity\"]` represents the headers \"<= 10 items\", \"<= 50 items\", and \"> 50 items\". Must be non-empty. Can only be set if all other fields are not set.",
"items": {
"type": "string"
},
"type": "array"
},
"postalCodeGroupNames": {
"description": "A list of postal group names. The last value can be `\"all other locations\"`. Example: `[\"zone 1\", \"zone 2\", \"all other locations\"]`. The referred postal code groups must match the delivery country of the service. Must be non-empty. Can only be set if all other fields are not set.",
"items": {
"type": "string"
},
"type": "array"
},
"prices": {
"description": "A list of inclusive order price upper bounds. The last price's value can be `\"infinity\"`. For example `[{\"value\": \"10\", \"currency\": \"USD\"}, {\"value\": \"500\", \"currency\": \"USD\"}, {\"value\": \"infinity\", \"currency\": \"USD\"}]` represents the headers \"<= $10\", \"<= $500\", and \"> $500\". All prices within a service must have the same currency. Must be non-empty. Can only be set if all other fields are not set.",
"items": {
"$ref": "Price"
},
"type": "array"
},
"weights": {
"description": "A list of inclusive order weight upper bounds. The last weight's value can be `\"infinity\"`. For example `[{\"value\": \"10\", \"unit\": \"kg\"}, {\"value\": \"50\", \"unit\": \"kg\"}, {\"value\": \"infinity\", \"unit\": \"kg\"}]` represents the headers \"<= 10kg\", \"<= 50kg\", and \"> 50kg\". All weights within a service must have the same unit. Must be non-empty. Can only be set if all other fields are not set.",
"items": {
"$ref": "Weight"
},
"type": "array"
}
},
"type": "object"
},
"HolidayCutoff": {
"id": "HolidayCutoff",
"properties": {
"deadlineDate": {
"description": "Date of the order deadline, in ISO 8601 format. For example, \"2016-11-29\" for 29th November 2016. Required.",
"type": "string"
},
"deadlineHour": {
"description": "Hour of the day on the deadline date until which the order has to be placed to qualify for the delivery guarantee. Possible values are: 0 (midnight), 1, ..., 12 (noon), 13, ..., 23. Required.",
"format": "uint32",
"type": "integer"
},
"deadlineTimezone": {
"description": "Timezone identifier for the deadline hour (for example, \"Europe/Zurich\"). List of identifiers. Required.",
"type": "string"
},
"holidayId": {
"description": "Unique identifier for the holiday. Required.",
"type": "string"
},
"visibleFromDate": {
"description": "Date on which the deadline will become visible to consumers in ISO 8601 format. For example, \"2016-10-31\" for 31st October 2016. Required.",
"type": "string"
}
},
"type": "object"
},
"HolidaysHoliday": {
"id": "HolidaysHoliday",
"properties": {
"countryCode": {
"description": "The CLDR territory code of the country in which the holiday is available. For example, \"US\", \"DE\", \"GB\". A holiday cutoff can only be configured in a shipping settings service with matching delivery country. Always present.",
"type": "string"
},
"date": {
"description": "Date of the holiday, in ISO 8601 format. For example, \"2016-12-25\" for Christmas 2016. Always present.",
"type": "string"
},
"deliveryGuaranteeDate": {
"description": "Date on which the order has to arrive at the customer's, in ISO 8601 format. For example, \"2016-12-24\" for 24th December 2016. Always present.",
"type": "string"
},
"deliveryGuaranteeHour": {
"description": "Hour of the day in the delivery location's timezone on the guaranteed delivery date by which the order has to arrive at the customer's. Possible values are: 0 (midnight), 1, ..., 12 (noon), 13, ..., 23. Always present.",
"format": "uint64",
"type": "string"
},
"id": {
"description": "Unique identifier for the holiday to be used when configuring holiday cutoffs. Always present.",
"type": "string"
},
"type": {
"description": "The holiday type. Always present. Acceptable values are: - \"`Christmas`\" - \"`Easter`\" - \"`Father's Day`\" - \"`Halloween`\" - \"`Independence Day (USA)`\" - \"`Mother's Day`\" - \"`Thanksgiving`\" - \"`Valentine's Day`\" ",
"type": "string"
}
},
"type": "object"
},
"InputField": {
"description": "Input field that needs to be available to the merchant. If the field is marked as required, then a value needs to be provided for a successful processing of the request.",
"id": "InputField",
"properties": {
"checkboxInput": {
"$ref": "InputFieldCheckboxInput",
"description": "Input field to provide a boolean value. Corresponds to the [html input type=checkbox](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.checkbox.html#input.checkbox)."
},
"choiceInput": {
"$ref": "InputFieldChoiceInput",
"description": "Input field to select one of the offered choices. Corresponds to the [html input type=radio](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.radio.html#input.radio)."
},
"id": {
"description": "Not for display but need to be sent back for the given input field.",
"type": "string"
},
"label": {
"$ref": "TextWithTooltip",
"description": "Input field label. There may be more information to be shown in a tooltip."
},
"required": {
"description": "Whether the field is required. The action button needs to stay disabled till values for all required fields are provided.",
"type": "boolean"
},
"textInput": {
"$ref": "InputFieldTextInput",
"description": "Input field to provide text information. Corresponds to the [html input type=text](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.text.html#input.text) or [html textarea](https://www.w3.org/TR/2012/WD-html-markup-20121025/textarea.html#textarea)."
}
},
"type": "object"
},
"InputFieldCheckboxInput": {
"description": "Checkbox input allows merchants to provide a boolean value. Corresponds to the [html input type=checkbox](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.checkbox.html#input.checkbox). If merchant checks the box, the input value for the field is `true`, otherwise it is `false`. This type of input is often used as a confirmation that the merchant completed required steps before they are allowed to start the action. In such a case, the input field is marked as required and the button to trigger the action should stay disabled until the merchant checks the box.",
"id": "InputFieldCheckboxInput",
"properties": {},
"type": "object"
},
"InputFieldChoiceInput": {
"description": "Choice input allows merchants to select one of the offered choices. Some choices may be linked to additional input fields that should be displayed under or next to the choice option. The value for the additional input field needs to be provided only when the specific choice is selected by the merchant. For example, additional input field can be hidden or disabled until the merchant selects the specific choice.",
"id": "InputFieldChoiceInput",
"properties": {
"options": {
"description": "A list of choices. Only one option can be selected.",
"items": {
"$ref": "InputFieldChoiceInputChoiceInputOption"
},
"type": "array"
}
},
"type": "object"
},
"InputFieldChoiceInputChoiceInputOption": {
"description": "A choice that merchant can select.",
"id": "InputFieldChoiceInputChoiceInputOption",
"properties": {
"additionalInput": {
"$ref": "InputField",
"description": "Input that should be displayed when this option is selected. The additional input will not contain a `ChoiceInput`."
},
"id": {
"description": "Not for display but need to be sent back for the selected choice option.",
"type": "string"
},
"label": {
"$ref": "TextWithTooltip",
"description": "Short description of the choice option. There may be more information to be shown as a tooltip."
}
},
"type": "object"
},
"InputFieldTextInput": {
"description": "Text input allows merchants to provide a text value.",
"id": "InputFieldTextInput",
"properties": {
"additionalInfo": {
"$ref": "TextWithTooltip",
"description": "Additional info regarding the field to be displayed to merchant. For example, warning to not include personal identifiable information. There may be more information to be shown in a tooltip."
},
"ariaLabel": {
"description": "Text to be used as the [aria-label](https://www.w3.org/TR/WCAG20-TECHS/ARIA14.html) for the input.",
"type": "string"
},
"formatInfo": {
"description": "Information about the required format. If present, it should be shown close to the input field to help merchants to provide a correct value. For example: \"VAT numbers should be in a format similar to SK9999999999\"",
"type": "string"
},
"type": {
"description": "Type of the text input",
"enum": [
"TEXT_INPUT_TYPE_UNSPECIFIED",
"GENERIC_SHORT_TEXT",
"GENERIC_LONG_TEXT"
],
"enumDescriptions": [
"Default value. Will never be provided by the API.",
"Used when a short text is expected. The field can be rendered as a [text field](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.text.html#input.text).",
"Used when a longer text is expected. The field should be rendered as a [textarea](https://www.w3.org/TR/2012/WD-html-markup-20121025/textarea.html#textarea)."
],
"type": "string"
}
},
"type": "object"
},
"InputValue": {
"description": "Input provided by the merchant for input field.",
"id": "InputValue",
"properties": {
"checkboxInputValue": {
"$ref": "InputValueCheckboxInputValue",
"description": "Value for checkbox input field."
},
"choiceInputValue": {
"$ref": "InputValueChoiceInputValue",
"description": "Value for choice input field."
},
"inputFieldId": {
"description": "Required. Id of the corresponding input field.",
"type": "string"
},
"textInputValue": {
"$ref": "InputValueTextInputValue",
"description": "Value for text input field."
}
},
"type": "object"
},
"InputValueCheckboxInputValue": {
"description": "Value for checkbox input field.",
"id": "InputValueCheckboxInputValue",
"properties": {
"value": {
"description": "Required. True if the merchant checked the box field. False otherwise.",
"type": "boolean"
}
},
"type": "object"
},
"InputValueChoiceInputValue": {
"description": "Value for choice input field.",
"id": "InputValueChoiceInputValue",
"properties": {
"choiceInputOptionId": {
"description": "Required. Id of the option that was selected by the merchant.",
"type": "string"
}
},
"type": "object"
},
"InputValueTextInputValue": {
"description": "Value for text input field.",
"id": "InputValueTextInputValue",
"properties": {
"value": {
"description": "Required. Text provided by the merchant.",
"type": "string"
}
},
"type": "object"
},
"InsertCheckoutSettingsRequest": {
"description": "Request message for the `InsertCheckoutSettings` method.",
"id": "InsertCheckoutSettingsRequest",
"properties": {
"uriSettings": {
"$ref": "UrlSettings",
"description": "Required. The `UrlSettings` for the request. The presence of URL settings indicates `Checkout` enrollment."
}
},
"type": "object"
},
"Installment": {
"description": "Details of a monthly installment payment offering. [Learn more](https://support.google.com/merchants/answer/6324474) about installments.",
"id": "Installment",
"properties": {
"amount": {
"$ref": "Price",
"description": "The amount the buyer has to pay per month."
},
"creditType": {
"description": "Optional. Type of installment payments. Supported values are: - \"`finance`\" - \"`lease`\" ",
"type": "string"
},
"downpayment": {
"$ref": "Price",
"description": "Optional. The initial down payment amount the buyer has to pay."
},
"months": {
"description": "The number of installments the buyer has to pay.",
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"LabelIds": {
"description": "The IDs of labels that should be assigned to the CSS domain.",
"id": "LabelIds",
"properties": {
"labelIds": {
"description": "The list of label IDs.",
"items": {
"format": "int64",
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"LiaAboutPageSettings": {
"id": "LiaAboutPageSettings",
"properties": {
"status": {
"description": "The status of the verification process for the About page. Supported values are: - \"`active`\" - \"`inactive`\" - \"`pending`\" ",
"type": "string"
},
"url": {
"description": "The URL for the About page.",
"type": "string"
}
},
"type": "object"
},
"LiaCountrySettings": {
"id": "LiaCountrySettings",
"properties": {
"about": {
"$ref": "LiaAboutPageSettings",
"description": "The settings for the About page."
},
"country": {
"description": "Required. CLDR country code (for example, \"US\").",
"type": "string"
},
"hostedLocalStorefrontActive": {
"description": "The status of the \"Merchant hosted local storefront\" feature.",
"type": "boolean"
},
"inventory": {
"$ref": "LiaInventorySettings",
"description": "LIA inventory verification settings."
},
"omnichannelExperience": {
"$ref": "LiaOmnichannelExperience",
"description": "The omnichannel experience configured for this country."
},
"onDisplayToOrder": {
"$ref": "LiaOnDisplayToOrderSettings",
"description": "LIA \"On Display To Order\" settings."
},
"posDataProvider": {
"$ref": "LiaPosDataProvider",
"description": "The POS data provider linked with this country."
},
"storePickupActive": {
"description": "The status of the \"Store pickup\" feature.",
"type": "boolean"
}
},
"type": "object"
},
"LiaInventorySettings": {
"id": "LiaInventorySettings",
"properties": {
"inventoryVerificationContactEmail": {
"description": "The email of the contact for the inventory verification process.",
"type": "string"
},
"inventoryVerificationContactName": {
"description": "The name of the contact for the inventory verification process.",
"type": "string"
},
"inventoryVerificationContactStatus": {
"description": "The status of the verification contact. Acceptable values are: - \"`active`\" - \"`inactive`\" - \"`pending`\" ",
"type": "string"
},
"status": {
"description": "The status of the inventory verification process. Acceptable values are: - \"`active`\" - \"`inactive`\" - \"`pending`\" ",
"type": "string"
}
},
"type": "object"
},
"LiaOmnichannelExperience": {
"description": "Omnichannel experience details.",
"id": "LiaOmnichannelExperience",
"properties": {
"country": {
"description": "The CLDR country code (for example, \"US\").",
"type": "string"
},
"lsfType": {
"description": "The Local Store Front (LSF) type for this country. Acceptable values are: - \"`ghlsf`\" (Google-Hosted Local Store Front) - \"`mhlsfBasic`\" (Merchant-Hosted Local Store Front Basic) - \"`mhlsfFull`\" (Merchant-Hosted Local Store Front Full) More details about these types can be found here.",
"type": "string"
},
"pickupTypes": {
"description": "The Pickup types for this country. Acceptable values are: - \"`pickupToday`\" - \"`pickupLater`\" ",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"LiaOnDisplayToOrderSettings": {
"id": "LiaOnDisplayToOrderSettings",
"properties": {
"shippingCostPolicyUrl": {
"description": "Shipping cost and policy URL.",
"type": "string"
},
"status": {
"description": "The status of the ?On display to order? feature. Acceptable values are: - \"`active`\" - \"`inactive`\" - \"`pending`\" ",
"type": "string"
}
},
"type": "object"
},
"LiaPosDataProvider": {
"id": "LiaPosDataProvider",
"properties": {
"posDataProviderId": {
"description": "The ID of the POS data provider.",
"format": "uint64",
"type": "string"
},
"posExternalAccountId": {
"description": "The account ID by which this merchant is known to the POS data provider.",
"type": "string"
}
},
"type": "object"
},
"LiaSettings": {
"description": "Local Inventory ads (LIA) settings. All methods except listposdataproviders require the admin role.",
"id": "LiaSettings",
"properties": {
"accountId": {
"description": "The ID of the account to which these LIA settings belong. Ignored upon update, always present in get request responses.",
"format": "uint64",
"type": "string"
},
"countrySettings": {
"description": "The LIA settings for each country.",
"items": {
"$ref": "LiaCountrySettings"
},
"type": "array"
},
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#liaSettings`\"",
"type": "string"
}
},
"type": "object"
},
"LiasettingsCustomBatchRequest": {
"id": "LiasettingsCustomBatchRequest",
"properties": {
"entries": {
"description": "The request entries to be processed in the batch.",
"items": {
"$ref": "LiasettingsCustomBatchRequestEntry"
},
"type": "array"
}
},
"type": "object"
},
"LiasettingsCustomBatchRequestEntry": {
"id": "LiasettingsCustomBatchRequestEntry",
"properties": {
"accountId": {
"description": "The ID of the account for which to get/update account LIA settings.",
"format": "uint64",
"type": "string"
},
"batchId": {
"description": "An entry ID, unique within the batch request.",
"format": "uint32",
"type": "integer"
},
"contactEmail": {
"description": "Inventory validation contact email. Required only for SetInventoryValidationContact.",
"type": "string"
},
"contactName": {
"description": "Inventory validation contact name. Required only for SetInventoryValidationContact.",
"type": "string"
},
"country": {
"description": "The country code. Required only for RequestInventoryVerification.",
"type": "string"
},
"gmbEmail": {
"description": "The Business Profile. Required only for RequestGmbAccess.",
"type": "string"
},
"liaSettings": {
"$ref": "LiaSettings",
"description": "The account Lia settings to update. Only defined if the method is `update`."
},
"merchantId": {
"description": "The ID of the managing account.",
"format": "uint64",
"type": "string"
},
"method": {
"description": "The method of the batch entry. Acceptable values are: - \"`get`\" - \"`getAccessibleGmbAccounts`\" - \"`requestGmbAccess`\" - \"`requestInventoryVerification`\" - \"`setInventoryVerificationContact`\" - \"`update`\" ",
"type": "string"
},
"omnichannelExperience": {
"$ref": "LiaOmnichannelExperience",
"description": "The omnichannel experience for a country. Required only for SetOmnichannelExperience."
},
"posDataProviderId": {
"description": "The ID of POS data provider. Required only for SetPosProvider.",
"format": "uint64",
"type": "string"
},
"posExternalAccountId": {
"description": "The account ID by which this merchant is known to the POS provider.",
"type": "string"
}
},
"type": "object"
},
"LiasettingsCustomBatchResponse": {
"id": "LiasettingsCustomBatchResponse",
"properties": {
"entries": {
"description": "The result of the execution of the batch requests.",
"items": {
"$ref": "LiasettingsCustomBatchResponseEntry"
},
"type": "array"
},
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#liasettingsCustomBatchResponse`\".",
"type": "string"
}
},
"type": "object"
},
"LiasettingsCustomBatchResponseEntry": {
"id": "LiasettingsCustomBatchResponseEntry",
"properties": {
"batchId": {
"description": "The ID of the request entry to which this entry responds.",
"format": "uint32",
"type": "integer"
},
"errors": {
"$ref": "Errors",
"description": "A list of errors defined if, and only if, the request failed."
},
"gmbAccounts": {
"$ref": "GmbAccounts",
"description": "The list of accessible Business Profiles."
},
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#liasettingsCustomBatchResponseEntry`\"",
"type": "string"
},
"liaSettings": {
"$ref": "LiaSettings",
"description": "The retrieved or updated Lia settings."
},
"omnichannelExperience": {
"$ref": "LiaOmnichannelExperience",
"description": "The updated omnichannel experience for a country."
},
"posDataProviders": {
"description": "The list of POS data providers.",
"items": {
"$ref": "PosDataProviders"
},
"type": "array"
}
},
"type": "object"
},
"LiasettingsGetAccessibleGmbAccountsResponse": {
"id": "LiasettingsGetAccessibleGmbAccountsResponse",
"properties": {
"accountId": {
"description": "The ID of the Merchant Center account.",
"format": "uint64",
"type": "string"
},
"gmbAccounts": {
"description": "A list of Business Profiles which are available to the merchant.",
"items": {
"$ref": "GmbAccountsGmbAccount"
},
"type": "array"
},
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#liasettingsGetAccessibleGmbAccountsResponse`\".",
"type": "string"
}
},
"type": "object"
},
"LiasettingsListPosDataProvidersResponse": {
"id": "LiasettingsListPosDataProvidersResponse",
"properties": {
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#liasettingsListPosDataProvidersResponse`\".",
"type": "string"
},
"posDataProviders": {
"description": "The list of POS data providers for each eligible country",
"items": {
"$ref": "PosDataProviders"
},
"type": "array"
}
},
"type": "object"
},
"LiasettingsListResponse": {
"id": "LiasettingsListResponse",
"properties": {
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#liasettingsListResponse`\".",
"type": "string"
},
"nextPageToken": {
"description": "The token for the retrieval of the next page of LIA settings.",
"type": "string"
},
"resources": {
"items": {
"$ref": "LiaSettings"
},
"type": "array"
}
},
"type": "object"
},
"LiasettingsRequestGmbAccessResponse": {
"id": "LiasettingsRequestGmbAccessResponse",
"properties": {
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#liasettingsRequestGmbAccessResponse`\".",
"type": "string"
}
},
"type": "object"
},
"LiasettingsRequestInventoryVerificationResponse": {
"id": "LiasettingsRequestInventoryVerificationResponse",
"properties": {
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#liasettingsRequestInventoryVerificationResponse`\".",
"type": "string"
}
},
"type": "object"
},
"LiasettingsSetInventoryVerificationContactResponse": {
"id": "LiasettingsSetInventoryVerificationContactResponse",
"properties": {
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#liasettingsSetInventoryVerificationContactResponse`\".",
"type": "string"
}
},
"type": "object"
},
"LiasettingsSetPosDataProviderResponse": {
"id": "LiasettingsSetPosDataProviderResponse",
"properties": {
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#liasettingsSetPosDataProviderResponse`\".",
"type": "string"
}
},
"type": "object"
},
"LinkService": {
"id": "LinkService",
"properties": {
"service": {
"description": "Service provided to or by the linked account. Acceptable values are: - \"`shoppingActionsOrderManagement`\" - \"`shoppingActionsProductManagement`\" - \"`shoppingAdsProductManagement`\" - \"`paymentProcessing`\" ",
"type": "string"
},
"status": {
"description": "Status of the link Acceptable values are: - \"`active`\" - \"`inactive`\" - \"`pending`\" ",
"type": "string"
}
},
"type": "object"
},
"LinkedAccount": {
"id": "LinkedAccount",
"properties": {
"linkedAccountId": {
"description": "The ID of the linked account.",
"type": "string"
},
"services": {
"description": "List of provided services.",
"items": {
"$ref": "LinkService"
},
"type": "array"
}
},
"type": "object"
},
"ListAccountLabelsResponse": {
"description": "Response message for the `ListAccountLabels` method.",
"id": "ListAccountLabelsResponse",
"properties": {
"accountLabels": {
"description": "The labels from the specified account.",
"items": {
"$ref": "AccountLabel"
},
"type": "array"
},
"nextPageToken": {
"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
"type": "string"
}
},
"type": "object"
},
"ListAccountReturnCarrierResponse": {
"description": "Response for listing account return carriers.",
"id": "ListAccountReturnCarrierResponse",
"properties": {
"accountReturnCarriers": {
"description": "List of all available account return carriers for the merchant.",
"items": {
"$ref": "AccountReturnCarrier"
},
"type": "array"
}
},
"type": "object"
},
"ListCollectionStatusesResponse": {
"description": "Response message for the ListCollectionStatuses method.",
"id": "ListCollectionStatusesResponse",
"properties": {
"nextPageToken": {
"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
"type": "string"
},
"resources": {
"description": "The collectionstatuses listed.",
"items": {
"$ref": "CollectionStatus"
},
"type": "array"
}
},
"type": "object"
},
"ListCollectionsResponse": {
"description": "Response message for the ListCollections method.",
"id": "ListCollectionsResponse",
"properties": {
"nextPageToken": {
"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
"type": "string"
},
"resources": {
"description": "The collections listed.",
"items": {
"$ref": "Collection"
},
"type": "array"
}
},
"type": "object"
},
"ListConversionSourcesResponse": {
"description": "Response message for the ListConversionSources method.",
"id": "ListConversionSourcesResponse",
"properties": {
"conversionSources": {
"description": "List of conversion sources.",
"items": {
"$ref": "ConversionSource"
},
"type": "array"
},
"nextPageToken": {
"description": "Token to be used to fetch the next results page.",
"type": "string"
}
},
"type": "object"
},
"ListCssesResponse": {
"description": "The response message for the `ListCsses` method",
"id": "ListCssesResponse",
"properties": {
"csses": {
"description": "The CSS domains affiliated with the specified CSS group.",
"items": {
"$ref": "Css"
},
"type": "array"
},
"nextPageToken": {
"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
"type": "string"
}
},
"type": "object"
},
"ListMethodQuotasResponse": {
"description": "Response message for the ListMethodQuotas method.",
"id": "ListMethodQuotasResponse",
"properties": {
"methodQuotas": {
"description": "The current quota usage and limits per each method.",
"items": {
"$ref": "MethodQuota"
},
"type": "array"
},
"nextPageToken": {
"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
"type": "string"
}
},
"type": "object"
},
"ListPromotionResponse": {
"description": "Response message for Promotions.List method.",
"id": "ListPromotionResponse",
"properties": {
"nextPageToken": {
"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
"type": "string"
},
"promotions": {
"description": "List of all available promotions for the merchant.",
"items": {
"$ref": "Promotion"
},
"type": "array"
}
},
"type": "object"
},
"ListRegionsResponse": {
"description": "Response message for the `ListRegions` method.",
"id": "ListRegionsResponse",
"properties": {
"nextPageToken": {
"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
"type": "string"
},
"regions": {
"description": "The regions from the specified merchant.",
"items": {
"$ref": "Region"
},
"type": "array"
}
},
"type": "object"
},
"ListReturnPolicyOnlineResponse": {
"description": "Response message for the `ListReturnPolicyOnline` method.",
"id": "ListReturnPolicyOnlineResponse",
"properties": {
"returnPolicies": {
"description": "The retrieved return policies.",
"items": {
"$ref": "ReturnPolicyOnline"
},
"type": "array"
}
},
"type": "object"
},
"LocalInventory": {
"description": "Local inventory resource. For accepted attribute values, see the local product inventory feed specification.",
"id": "LocalInventory",
"properties": {
"availability": {
"description": "The availability of the product. For accepted attribute values, see the local product inventory feed specification.",
"type": "string"
},
"customAttributes": {
"description": "A list of custom (merchant-provided) attributes. Can also be used to submit any attribute of the feed specification in its generic form, for example, `{ \"name\": \"size type\", \"value\": \"regular\" }`.",
"items": {
"$ref": "CustomAttribute"
},
"type": "array"
},
"instoreProductLocation": {
"description": "The in-store product location.",
"type": "string"
},
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#localInventory`\"",
"type": "string"
},
"pickupMethod": {
"description": "The supported pickup method for this offer. Unless the value is \"not supported\", this field must be submitted together with `pickupSla`. For accepted attribute values, see the local product inventory feed specification.",
"type": "string"
},
"pickupSla": {
"description": "The expected date that an order will be ready for pickup relative to the order date. Must be submitted together with `pickupMethod`. For accepted attribute values, see the local product inventory feed specification.",
"type": "string"
},
"price": {
"$ref": "Price",
"description": "The price of the product."
},
"quantity": {
"description": "The quantity of the product. Must be nonnegative.",
"format": "uint32",
"type": "integer"
},
"salePrice": {
"$ref": "Price",
"description": "The sale price of the product. Mandatory if `sale_price_effective_date` is defined."
},
"salePriceEffectiveDate": {
"description": "A date range represented by a pair of ISO 8601 dates separated by a space, comma, or slash. Both dates may be specified as 'null' if undecided.",
"type": "string"
},
"storeCode": {
"description": "Required. The store code of this local inventory resource.",
"type": "string"
}
},
"type": "object"
},
"LocalinventoryCustomBatchRequest": {
"id": "LocalinventoryCustomBatchRequest",
"properties": {
"entries": {
"description": "The request entries to be processed in the batch.",
"items": {
"$ref": "LocalinventoryCustomBatchRequestEntry"
},
"type": "array"
}
},
"type": "object"
},
"LocalinventoryCustomBatchRequestEntry": {
"description": "Batch entry encoding a single local inventory update request.",
"id": "LocalinventoryCustomBatchRequestEntry",
"properties": {
"batchId": {
"description": "An entry ID, unique within the batch request.",
"format": "uint32",
"type": "integer"
},
"localInventory": {
"$ref": "LocalInventory",
"description": "Local inventory of the product."
},
"merchantId": {
"description": "The ID of the managing account.",
"format": "uint64",
"type": "string"
},
"method": {
"description": "Method of the batch request entry. Acceptable values are: - \"`insert`\" ",
"type": "string"
},
"productId": {
"description": "The ID of the product for which to update local inventory.",
"type": "string"
}
},
"type": "object"
},
"LocalinventoryCustomBatchResponse": {
"id": "LocalinventoryCustomBatchResponse",
"properties": {
"entries": {
"description": "The result of the execution of the batch requests.",
"items": {
"$ref": "LocalinventoryCustomBatchResponseEntry"
},
"type": "array"
},
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#localinventoryCustomBatchResponse`\".",
"type": "string"
}
},
"type": "object"
},
"LocalinventoryCustomBatchResponseEntry": {
"description": "Batch entry encoding a single local inventory update response.",
"id": "LocalinventoryCustomBatchResponseEntry",
"properties": {
"batchId": {
"description": "The ID of the request entry this entry responds to.",
"format": "uint32",
"type": "integer"
},
"errors": {
"$ref": "Errors",
"description": "A list of errors for failed custombatch entries. *Note:* Schema errors fail the whole request."
},
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#localinventoryCustomBatchResponseEntry`\"",
"type": "string"
}
},
"type": "object"
},
"LocationIdSet": {
"id": "LocationIdSet",
"properties": {
"locationIds": {
"description": "A non-empty list of location IDs. They must all be of the same location type (for example, state).",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"LoyaltyProgram": {
"description": "Allows the setting up of loyalty program benefits (for example price or points). https://support.google.com/merchants/answer/12922446",
"id": "LoyaltyProgram",
"properties": {
"cashbackForFutureUse": {
"$ref": "Price",
"description": "Optional. The cashback that can be used for future purchases."
},
"loyaltyPoints": {
"description": "Optional. The amount of loyalty points earned on a purchase.",
"format": "int64",
"type": "string"
},
"memberPriceEffectiveDate": {
"description": "Optional. A date range during which the item is eligible for member price. If not specified, the member price is always applicable. The date range is represented by a pair of ISO 8601 dates separated by a space, comma, or slash.",
"type": "string"
},
"price": {
"$ref": "Price",
"description": "Optional. The price for members of the given tier (instant discount price). Must be smaller or equal to the regular price."
},
"programLabel": {
"description": "Required. The label of the loyalty program. This is an internal label that uniquely identifies the relationship between a merchant entity and a loyalty program entity. It must be provided so that system can associate the assets below (for example, price and points) with a merchant. The corresponding program must be linked to the merchant account.",
"type": "string"
},
"shippingLabel": {
"description": "Optional. The shipping label for the loyalty program. You can use this label to indicate whether this offer has the loyalty shipping benefit. If not specified, the item is not eligible for loyalty shipping for the given loyalty tier.",
"type": "string"
},
"tierLabel": {
"description": "Required. The label of the tier within the loyalty program. Must match one of the labels within the program.",
"type": "string"
}
},
"type": "object"
},
"MerchantCenterDestination": {
"description": "\"Merchant Center Destination\" sources can be used to send conversion events from a website using a Google tag directly to a Merchant Center account where the source is created.",
"id": "MerchantCenterDestination",
"properties": {
"attributionSettings": {
"$ref": "AttributionSettings",
"description": "Required. Attribution settings being used for the Merchant Center Destination."
},
"currencyCode": {
"description": "Required. Three-letter currency code (ISO 4217). The currency code defines in which currency the conversions sent to this destination will be reported in Merchant Center.",
"type": "string"
},
"destinationId": {
"description": "Output only. Merchant Center Destination ID.",
"readOnly": true,
"type": "string"
},
"displayName": {
"description": "Required. Merchant-specified display name for the destination. This is the name that identifies the conversion source within the Merchant Center UI. Limited to 64 characters.",
"type": "string"
}
},
"type": "object"
},
"MethodQuota": {
"description": "The quota information per method in the Content API.",
"id": "MethodQuota",
"properties": {
"method": {
"description": "Output only. The method name, for example `products.list`. Method name does not contain version because quota can be shared between different API versions of the same method.",
"readOnly": true,
"type": "string"
},
"quotaLimit": {
"description": "Output only. The maximum number of calls allowed per day for the method.",
"format": "int64",
"readOnly": true,
"type": "string"
},
"quotaMinuteLimit": {
"description": "Output only. The maximum number of calls allowed per minute for the method.",
"format": "int64",
"readOnly": true,
"type": "string"
},
"quotaUsage": {
"description": "Output only. The current quota usage, meaning the number of calls already made to the method per day. Usage is reset every day at 12 PM midday UTC.",
"format": "int64",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"Metrics": {
"description": "Performance metrics. Values are only set for metrics requested explicitly in the request's search query.",
"id": "Metrics",
"properties": {
"aos": {
"description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Average order size - the average number of items in an order. **This metric cannot be segmented by product dimensions and customer_country_code.**",
"format": "double",
"type": "number"
},
"aovMicros": {
"description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Average order value in micros (1 millionth of a standard unit, 1 USD = 1000000 micros) - the average value (total price of items) of all placed orders. The currency of the returned value is stored in the currency_code segment. If this metric is selected, 'segments.currency_code' is automatically added to the SELECT clause in the search query (unless it is explicitly selected by the user) and the currency_code segment is populated in the response. **This metric cannot be segmented by product dimensions and customer_country_code.**",
"format": "double",
"type": "number"
},
"clicks": {
"description": "Number of clicks.",
"format": "int64",
"type": "string"
},
"conversionRate": {
"description": "Number of conversions divided by the number of clicks, reported on the impression date. The metric is currently available only for the `FREE_PRODUCT_LISTING` program.",
"format": "double",
"type": "number"
},
"conversionValueMicros": {
"description": "Value of conversions in micros (1 millionth of a standard unit, 1 USD = 1000000 micros) attributed to the product, reported on the conversion date. The metric is currently available only for the `FREE_PRODUCT_LISTING` program. The currency of the returned value is stored in the currency_code segment. If this metric is selected, 'segments.currency_code' is automatically added to the SELECT clause in the search query (unless it is explicitly selected by the user) and the currency_code segment is populated in the response.",
"format": "int64",
"type": "string"
},
"conversions": {
"description": "Number of conversions attributed to the product, reported on the conversion date. Depending on the attribution model, a conversion might be distributed across multiple clicks, where each click gets its own credit assigned. This metric is a sum of all such credits. The metric is currently available only for the `FREE_PRODUCT_LISTING` program.",
"format": "double",
"type": "number"
},
"ctr": {
"description": "Click-through rate - the number of clicks merchant's products receive (clicks) divided by the number of times the products are shown (impressions).",
"format": "double",
"type": "number"
},
"daysToShip": {
"description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Average number of days between an order being placed and the order being fully shipped, reported on the last shipment date. **This metric cannot be segmented by product dimensions and customer_country_code.**",
"format": "double",
"type": "number"
},
"impressions": {
"description": "Number of times merchant's products are shown.",
"format": "int64",
"type": "string"
},
"itemDaysToShip": {
"description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Average number of days between an item being ordered and the item being **This metric cannot be segmented by customer_country_code.**",
"format": "double",
"type": "number"
},
"itemFillRate": {
"description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Percentage of shipped items in relation to all finalized items (shipped or rejected by the merchant; unshipped items are not taken into account), reported on the order date. Item fill rate is lowered by merchant rejections. **This metric cannot be segmented by customer_country_code.**",
"format": "double",
"type": "number"
},
"orderedItemSalesMicros": {
"description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Total price of ordered items in micros (1 millionth of a standard unit, 1 USD = 1000000 micros). Excludes shipping, taxes (US only), and customer cancellations that happened within 30 minutes of placing the order. The currency of the returned value is stored in the currency_code segment. If this metric is selected, 'segments.currency_code' is automatically added to the SELECT clause in the search query (unless it is explicitly selected by the user) and the currency_code segment is populated in the response. **This metric cannot be segmented by customer_country_code.**",
"format": "int64",
"type": "string"
},
"orderedItems": {
"description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Number of ordered items. Excludes customer cancellations that happened within 30 minutes of placing the order. **This metric cannot be segmented by customer_country_code.**",
"format": "int64",
"type": "string"
},
"orders": {
"description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Number of placed orders. Excludes customer cancellations that happened within 30 minutes of placing the order. **This metric cannot be segmented by product dimensions and customer_country_code.**",
"format": "int64",
"type": "string"
},
"rejectedItems": {
"description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Number of ordered items canceled by the merchant, reported on the order date. **This metric cannot be segmented by customer_country_code.**",
"format": "int64",
"type": "string"
},
"returnRate": {
"description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Total price of returned items divided by the total price of shipped items, reported on the order date. If this metric is selected, 'segments.currency_code' is automatically added to the SELECT clause in the search query (unless it is explicitly selected by the user) and the currency_code segment is populated in the response. **This metric cannot be segmented by customer_country_code.**",
"format": "double",
"type": "number"
},
"returnedItems": {
"description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Number of ordered items sent back for return, reported on the date when the merchant accepted the return. **This metric cannot be segmented by customer_country_code.**",
"format": "int64",
"type": "string"
},
"returnsMicros": {
"description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Total price of ordered items sent back for return in micros (1 millionth of a standard unit, 1 USD = 1000000 micros), reported on the date when the merchant accepted the return. The currency of the returned value is stored in the currency_code segment. If this metric is selected, 'segments.currency_code' is automatically added to the SELECT clause in the search query (unless it is explicitly selected by the user) and the currency_code segment is populated in the response. **This metric cannot be segmented by customer_country_code.**",
"format": "int64",
"type": "string"
},
"shippedItemSalesMicros": {
"description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Total price of shipped items in micros (1 millionth of a standard unit, 1 USD = 1000000 micros), reported on the order date. Excludes shipping and taxes (US only). The currency of the returned value is stored in the currency_code segment. If this metric is selected, 'segments.currency_code' is automatically added to the SELECT clause in the search query (unless it is explicitly selected by the user) and the currency_code segment is populated in the response. **This metric cannot be segmented by customer_country_code.**",
"format": "int64",
"type": "string"
},
"shippedItems": {
"description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Number of shipped items, reported on the shipment date. **This metric cannot be segmented by customer_country_code.**",
"format": "int64",
"type": "string"
},
"shippedOrders": {
"description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Number of fully shipped orders, reported on the last shipment date. **This metric cannot be segmented by product dimensions and customer_country_code.**",
"format": "int64",
"type": "string"
},
"unshippedItems": {
"description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Number of ordered items not shipped up until the end of the queried day. If a multi-day period is specified in the search query, the returned value is the average number of unshipped items over the days in the queried period. **This metric cannot be segmented by customer_country_code.**",
"format": "double",
"type": "number"
},
"unshippedOrders": {
"description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Number of orders not shipped or partially shipped up until the end of the queried day. If a multi-day period is specified in the search query, the returned value is the average number of unshipped orders over the days in the queried period. **This metric cannot be segmented by product dimensions and customer_country_code.**",
"format": "double",
"type": "number"
}
},
"type": "object"
},
"MinimumOrderValueTable": {
"id": "MinimumOrderValueTable",
"properties": {
"storeCodeSetWithMovs": {
"items": {
"$ref": "MinimumOrderValueTableStoreCodeSetWithMov"
},
"type": "array"
}
},
"type": "object"
},
"MinimumOrderValueTableStoreCodeSetWithMov": {
"description": "A list of store code sets sharing the same minimum order value. At least two sets are required and the last one must be empty, which signifies 'MOV for all other stores'. Each store code can only appear once across all the sets. All prices within a service must have the same currency.",
"id": "MinimumOrderValueTableStoreCodeSetWithMov",
"properties": {
"storeCodes": {
"description": "A list of unique store codes or empty for the catch all.",
"items": {
"type": "string"
},
"type": "array"
},
"value": {
"$ref": "Price",
"description": "The minimum order value for the given stores."
}
},
"type": "object"
},
"OrderTrackingSignal": {
"description": "Represents a merchant trade from which signals are extracted, e.g. shipping.",
"id": "OrderTrackingSignal",
"properties": {
"customerShippingFee": {
"$ref": "PriceAmount",
"description": "The shipping fee of the order; this value should be set to zero in the case of free shipping."
},
"deliveryPostalCode": {
"description": "Required. The delivery postal code, as a continuous string without spaces or dashes, e.g. \"95016\". This field will be anonymized in returned OrderTrackingSignal creation response.",
"type": "string"
},
"deliveryRegionCode": {
"description": "Required. The [CLDR territory code] (http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) for the shipping destination.",
"type": "string"
},
"lineItems": {
"description": "Information about line items in the order.",
"items": {
"$ref": "OrderTrackingSignalLineItemDetails"
},
"type": "array"
},
"merchantId": {
"description": "The Google merchant ID of this order tracking signal. This value is optional. If left unset, the caller's merchant ID is used. You must request access in order to provide data on behalf of another merchant. For more information, see [Submitting Order Tracking Signals](/shopping-content/guides/order-tracking-signals).",
"format": "int64",
"type": "string"
},
"orderCreatedTime": {
"$ref": "DateTime",
"description": "Required. The time when the order was created on the merchant side. Include the year and timezone string, if available."
},
"orderId": {
"description": "Required. The ID of the order on the merchant side. This field will be hashed in returned OrderTrackingSignal creation response.",
"type": "string"
},
"orderTrackingSignalId": {
"description": "Output only. The ID that uniquely identifies this order tracking signal.",
"format": "int64",
"readOnly": true,
"type": "string"
},
"shipmentLineItemMapping": {
"description": "The mapping of the line items to the shipment information.",
"items": {
"$ref": "OrderTrackingSignalShipmentLineItemMapping"
},
"type": "array"
},
"shippingInfo": {
"description": "The shipping information for the order.",
"items": {
"$ref": "OrderTrackingSignalShippingInfo"
},
"type": "array"
}
},
"type": "object"
},
"OrderTrackingSignalLineItemDetails": {
"description": "The line items of the order.",
"id": "OrderTrackingSignalLineItemDetails",
"properties": {
"brand": {
"description": "Brand of the product.",
"type": "string"
},
"gtin": {
"description": "The Global Trade Item Number.",
"type": "string"
},
"lineItemId": {
"description": "Required. The ID for this line item.",
"type": "string"
},
"mpn": {
"description": "The manufacturer part number.",
"type": "string"
},
"productDescription": {
"deprecated": true,
"description": "Plain text description of this product (deprecated: Please use product_title instead).",
"type": "string"
},
"productId": {
"description": "Required. The Content API REST ID of the product, in the form channel:contentLanguage:targetCountry:offerId.",
"type": "string"
},
"productTitle": {
"description": "Plain text title of this product.",
"type": "string"
},
"quantity": {
"description": "The quantity of the line item in the order.",
"format": "int64",
"type": "string"
},
"sku": {
"deprecated": true,
"description": "Merchant SKU for this item (deprecated).",
"type": "string"
},
"upc": {
"deprecated": true,
"description": "Universal product code for this item (deprecated: Please use GTIN instead).",
"type": "string"
}
},
"type": "object"
},
"OrderTrackingSignalShipmentLineItemMapping": {
"description": "Represents how many items are in the shipment for the given shipment_id and line_item_id.",
"id": "OrderTrackingSignalShipmentLineItemMapping",
"properties": {
"lineItemId": {
"description": "Required. The line item ID.",
"type": "string"
},
"quantity": {
"description": "The line item quantity in the shipment.",
"format": "int64",
"type": "string"
},
"shipmentId": {
"description": "Required. The shipment ID. This field will be hashed in returned OrderTrackingSignal creation response.",
"type": "string"
}
},
"type": "object"
},
"OrderTrackingSignalShippingInfo": {
"description": "The shipping information for the order.",
"id": "OrderTrackingSignalShippingInfo",
"properties": {
"actualDeliveryTime": {
"$ref": "DateTime",
"description": "The time when the shipment was actually delivered. Include the year and timezone string, if available. This field is required, if one of the following fields is absent: tracking_id or carrier_name."
},
"carrierName": {
"description": "The name of the shipping carrier for the delivery. This field is required if one of the following fields is absent: earliest_delivery_promise_time, latest_delivery_promise_time, and actual_delivery_time.",
"type": "string"
},
"carrierServiceName": {
"description": "The service type for fulfillment, e.g., GROUND, FIRST_CLASS, etc.",
"type": "string"
},
"earliestDeliveryPromiseTime": {
"$ref": "DateTime",
"description": "The earliest delivery promised time. Include the year and timezone string, if available. This field is required, if one of the following fields is absent: tracking_id or carrier_name."
},
"latestDeliveryPromiseTime": {
"$ref": "DateTime",
"description": "The latest delivery promised time. Include the year and timezone string, if available. This field is required, if one of the following fields is absent: tracking_id or carrier_name."
},
"originPostalCode": {
"description": "The origin postal code, as a continuous string without spaces or dashes, e.g. \"95016\". This field will be anonymized in returned OrderTrackingSignal creation response.",
"type": "string"
},
"originRegionCode": {
"description": "The [CLDR territory code] (http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) for the shipping origin.",
"type": "string"
},
"shipmentId": {
"description": "Required. The shipment ID. This field will be hashed in returned OrderTrackingSignal creation response.",
"type": "string"
},
"shippedTime": {
"$ref": "DateTime",
"description": "The time when the shipment was shipped. Include the year and timezone string, if available."
},
"shippingStatus": {
"description": "The status of the shipment.",
"enum": [
"SHIPPING_STATE_UNSPECIFIED",
"SHIPPED",
"DELIVERED"
],
"enumDescriptions": [
"The shipping status is not known to merchant.",
"All items are shipped.",
"The shipment is already delivered."
],
"type": "string"
},
"trackingId": {
"description": "The tracking ID of the shipment. This field is required if one of the following fields is absent: earliest_delivery_promise_time, latest_delivery_promise_time, and actual_delivery_time.",
"type": "string"
}
},
"type": "object"
},
"PaymentServiceProviderLinkInfo": {
"description": "Additional information required for PAYMENT_SERVICE_PROVIDER link type.",
"id": "PaymentServiceProviderLinkInfo",
"properties": {
"externalAccountBusinessCountry": {
"description": "The business country of the merchant account as identified by the third party service provider.",
"type": "string"
},
"externalAccountId": {
"description": "The id used by the third party service provider to identify the merchant.",
"type": "string"
}
},
"type": "object"
},
"PickupCarrierService": {
"id": "PickupCarrierService",
"properties": {
"carrierName": {
"description": "The name of the pickup carrier (for example, `\"UPS\"`). Required.",
"type": "string"
},
"serviceName": {
"description": "The name of the pickup service (for example, `\"Access point\"`). Required.",
"type": "string"
}
},
"type": "object"
},
"PickupServicesPickupService": {
"id": "PickupServicesPickupService",
"properties": {
"carrierName": {
"description": "The name of the carrier (for example, `\"UPS\"`). Always present.",
"type": "string"
},
"country": {
"description": "The CLDR country code of the carrier (for example, \"US\"). Always present.",
"type": "string"
},
"serviceName": {
"description": "The name of the pickup service (for example, `\"Access point\"`). Always present.",
"type": "string"
}
},
"type": "object"
},
"PosCustomBatchRequest": {
"id": "PosCustomBatchRequest",
"properties": {
"entries": {
"description": "The request entries to be processed in the batch.",
"items": {
"$ref": "PosCustomBatchRequestEntry"
},
"type": "array"
}
},
"type": "object"
},
"PosCustomBatchRequestEntry": {
"id": "PosCustomBatchRequestEntry",
"properties": {
"batchId": {
"description": "An entry ID, unique within the batch request.",
"format": "uint32",
"type": "integer"
},
"inventory": {
"$ref": "PosInventory",
"description": "The inventory to submit. This should be set only if the method is `inventory`."
},
"merchantId": {
"description": "The ID of the POS data provider.",
"format": "uint64",
"type": "string"
},
"method": {
"description": "The method of the batch entry. Acceptable values are: - \"`delete`\" - \"`get`\" - \"`insert`\" - \"`inventory`\" - \"`sale`\" ",
"type": "string"
},
"sale": {
"$ref": "PosSale",
"description": "The sale information to submit. This should be set only if the method is `sale`."
},
"store": {
"$ref": "PosStore",
"description": "The store information to submit. This should be set only if the method is `insert`."
},
"storeCode": {
"description": "The store code. This should be set only if the method is `delete` or `get`.",
"type": "string"
},
"targetMerchantId": {
"description": "The ID of the account for which to get/submit data.",
"format": "uint64",
"type": "string"
}
},
"type": "object"
},
"PosCustomBatchResponse": {
"id": "PosCustomBatchResponse",
"properties": {
"entries": {
"description": "The result of the execution of the batch requests.",
"items": {
"$ref": "PosCustomBatchResponseEntry"
},
"type": "array"
},
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#posCustomBatchResponse`\".",
"type": "string"
}
},
"type": "object"
},
"PosCustomBatchResponseEntry": {
"id": "PosCustomBatchResponseEntry",
"properties": {
"batchId": {
"description": "The ID of the request entry to which this entry responds.",
"format": "uint32",
"type": "integer"
},
"errors": {
"$ref": "Errors",
"description": "A list of errors defined if, and only if, the request failed."
},
"inventory": {
"$ref": "PosInventory",
"description": "The updated inventory information."
},
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#posCustomBatchResponseEntry`\"",
"type": "string"
},
"sale": {
"$ref": "PosSale",
"description": "The updated sale information."
},
"store": {
"$ref": "PosStore",
"description": "The retrieved or updated store information."
}
},
"type": "object"
},
"PosDataProviders": {
"id": "PosDataProviders",
"properties": {
"country": {
"description": "Country code.",
"type": "string"
},
"posDataProviders": {
"description": "A list of POS data providers.",
"items": {
"$ref": "PosDataProvidersPosDataProvider"
},
"type": "array"
}
},
"type": "object"
},
"PosDataProvidersPosDataProvider": {
"id": "PosDataProvidersPosDataProvider",
"properties": {
"displayName": {
"description": "The display name of Pos data Provider.",
"type": "string"
},
"fullName": {
"description": "The full name of this POS data Provider.",
"type": "string"
},
"providerId": {
"description": "The ID of the account.",
"format": "uint64",
"type": "string"
}
},
"type": "object"
},
"PosInventory": {
"description": "The absolute quantity of an item available at the given store.",
"id": "PosInventory",
"properties": {
"contentLanguage": {
"description": "Required. The two-letter ISO 639-1 language code for the item.",
"type": "string"
},
"gtin": {
"description": "Global Trade Item Number.",
"type": "string"
},
"itemId": {
"description": "Required. A unique identifier for the item.",
"type": "string"
},
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#posInventory`\"",
"type": "string"
},
"pickupMethod": {
"description": "Optional. Supported pickup method for this offer. Unless the value is \"not supported\", this field must be submitted together with `pickupSla`. For accepted attribute values, see the [local product inventory feed specification](https://support.google.com/merchants/answer/3061342).",
"type": "string"
},
"pickupSla": {
"description": "Optional. Expected date that an order will be ready for pickup relative to the order date. Must be submitted together with `pickupMethod`. For accepted attribute values, see the [local product inventory feed specification](https://support.google.com/merchants/answer/3061342).",
"type": "string"
},
"price": {
"$ref": "Price",
"description": "Required. The current price of the item."
},
"quantity": {
"description": "Required. The available quantity of the item.",
"format": "int64",
"type": "string"
},
"storeCode": {
"description": "Required. The identifier of the merchant's store. Either a `storeCode` inserted through the API or the code of the store in a Business Profile.",
"type": "string"
},
"targetCountry": {
"description": "Required. The CLDR territory code for the item.",
"type": "string"
},
"timestamp": {
"description": "Required. The inventory timestamp, in ISO 8601 format.",
"type": "string"
}
},
"type": "object"
},
"PosInventoryRequest": {
"id": "PosInventoryRequest",
"properties": {
"contentLanguage": {
"description": "Required. The two-letter ISO 639-1 language code for the item.",
"type": "string"
},
"gtin": {
"description": "Global Trade Item Number.",
"type": "string"
},
"itemId": {
"description": "Required. A unique identifier for the item.",
"type": "string"
},
"pickupMethod": {
"description": "Optional. Supported pickup method for this offer. Unless the value is \"not supported\", this field must be submitted together with `pickupSla`. For accepted attribute values, see the [local product inventory feed specification](https://support.google.com/merchants/answer/3061342).",
"type": "string"
},
"pickupSla": {
"description": "Optional. Expected date that an order will be ready for pickup relative to the order date. Must be submitted together with `pickupMethod`. For accepted attribute values, see the [local product inventory feed specification](https://support.google.com/merchants/answer/3061342).",
"type": "string"
},
"price": {
"$ref": "Price",
"description": "Required. The current price of the item."
},
"quantity": {
"description": "Required. The available quantity of the item.",
"format": "int64",
"type": "string"
},
"storeCode": {
"description": "Required. The identifier of the merchant's store. Either a `storeCode` inserted through the API or the code of the store in a Business Profile.",
"type": "string"
},
"targetCountry": {
"description": "Required. The CLDR territory code for the item.",
"type": "string"
},
"timestamp": {
"description": "Required. The inventory timestamp, in ISO 8601 format.",
"type": "string"
}
},
"type": "object"
},
"PosInventoryResponse": {
"id": "PosInventoryResponse",
"properties": {
"contentLanguage": {
"description": "Required. The two-letter ISO 639-1 language code for the item.",
"type": "string"
},
"gtin": {
"description": "Global Trade Item Number.",
"type": "string"
},
"itemId": {
"description": "Required. A unique identifier for the item.",
"type": "string"
},
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#posInventoryResponse`\".",
"type": "string"
},
"pickupMethod": {
"description": "Optional. Supported pickup method for this offer. Unless the value is \"not supported\", this field must be submitted together with `pickupSla`. For accepted attribute values, see the [local product inventory feed specification](https://support.google.com/merchants/answer/3061342).",
"type": "string"
},
"pickupSla": {
"description": "Optional. Expected date that an order will be ready for pickup relative to the order date. Must be submitted together with `pickupMethod`. For accepted attribute values, see the [local product inventory feed specification](https://support.google.com/merchants/answer/3061342).",
"type": "string"
},
"price": {
"$ref": "Price",
"description": "Required. The current price of the item."
},
"quantity": {
"description": "Required. The available quantity of the item.",
"format": "int64",
"type": "string"
},
"storeCode": {
"description": "Required. The identifier of the merchant's store. Either a `storeCode` inserted through the API or the code of the store in a Business Profile.",
"type": "string"
},
"targetCountry": {
"description": "Required. The CLDR territory code for the item.",
"type": "string"
},
"timestamp": {
"description": "Required. The inventory timestamp, in ISO 8601 format.",
"type": "string"
}
},
"type": "object"
},
"PosListResponse": {
"id": "PosListResponse",
"properties": {
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#posListResponse`\".",
"type": "string"
},
"resources": {
"items": {
"$ref": "PosStore"
},
"type": "array"
}
},
"type": "object"
},
"PosSale": {
"description": "The change of the available quantity of an item at the given store.",
"id": "PosSale",
"properties": {
"contentLanguage": {
"description": "Required. The two-letter ISO 639-1 language code for the item.",
"type": "string"
},
"gtin": {
"description": "Global Trade Item Number.",
"type": "string"
},
"itemId": {
"description": "Required. A unique identifier for the item.",
"type": "string"
},
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#posSale`\"",
"type": "string"
},
"price": {
"$ref": "Price",
"description": "Required. The price of the item."
},
"quantity": {
"description": "Required. The relative change of the available quantity. Negative for items returned.",
"format": "int64",
"type": "string"
},
"saleId": {
"description": "A unique ID to group items from the same sale event.",
"type": "string"
},
"storeCode": {
"description": "Required. The identifier of the merchant's store. Either a `storeCode` inserted through the API or the code of the store in a Business Profile.",
"type": "string"
},
"targetCountry": {
"description": "Required. The CLDR territory code for the item.",
"type": "string"
},
"timestamp": {
"description": "Required. The inventory timestamp, in ISO 8601 format.",
"type": "string"
}
},
"type": "object"
},
"PosSaleRequest": {
"id": "PosSaleRequest",
"properties": {
"contentLanguage": {
"description": "Required. The two-letter ISO 639-1 language code for the item.",
"type": "string"
},
"gtin": {
"description": "Global Trade Item Number.",
"type": "string"
},
"itemId": {
"description": "Required. A unique identifier for the item.",
"type": "string"
},
"price": {
"$ref": "Price",
"description": "Required. The price of the item."
},
"quantity": {
"description": "Required. The relative change of the available quantity. Negative for items returned.",
"format": "int64",
"type": "string"
},
"saleId": {
"description": "A unique ID to group items from the same sale event.",
"type": "string"
},
"storeCode": {
"description": "Required. The identifier of the merchant's store. Either a `storeCode` inserted through the API or the code of the store in a Business Profile.",
"type": "string"
},
"targetCountry": {
"description": "Required. The CLDR territory code for the item.",
"type": "string"
},
"timestamp": {
"description": "Required. The inventory timestamp, in ISO 8601 format.",
"type": "string"
}
},
"type": "object"
},
"PosSaleResponse": {
"id": "PosSaleResponse",
"properties": {
"contentLanguage": {
"description": "Required. The two-letter ISO 639-1 language code for the item.",
"type": "string"
},
"gtin": {
"description": "Global Trade Item Number.",
"type": "string"
},
"itemId": {
"description": "Required. A unique identifier for the item.",
"type": "string"
},
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#posSaleResponse`\".",
"type": "string"
},
"price": {
"$ref": "Price",
"description": "Required. The price of the item."
},
"quantity": {
"description": "Required. The relative change of the available quantity. Negative for items returned.",
"format": "int64",
"type": "string"
},
"saleId": {
"description": "A unique ID to group items from the same sale event.",
"type": "string"
},
"storeCode": {
"description": "Required. The identifier of the merchant's store. Either a `storeCode` inserted through the API or the code of the store in a Business Profile.",
"type": "string"
},
"targetCountry": {
"description": "Required. The CLDR territory code for the item.",
"type": "string"
},
"timestamp": {
"description": "Required. The inventory timestamp, in ISO 8601 format.",
"type": "string"
}
},
"type": "object"
},
"PosStore": {
"description": "Store resource.",
"id": "PosStore",
"properties": {
"gcidCategory": {
"description": "The business type of the store.",
"items": {
"type": "string"
},
"type": "array"
},
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#posStore`\"",
"type": "string"
},
"matchingStatus": {
"description": "Output only. The matching status of POS store and Google Business Profile store. Possible values are: - \"`matched`\": The POS store is successfully matched with the Google Business Profile store. - \"`failed`\": The POS store is not matched with the Google Business Profile store. See matching_status_hint for further details. Note that there is up to 48 hours propagation delay for changes in Merchant Center (e.g. creation of new account, accounts linking) and Google Business Profile (e.g. store address update) which may affect the matching status. In such cases, after a delay call [pos.list](https://developers.google.com/shopping-content/reference/rest/v2.1/pos/list) to retrieve the updated matching status. ",
"readOnly": true,
"type": "string"
},
"matchingStatusHint": {
"description": "Output only. The hint of why the matching has failed. This is only set when matching_status=failed. Possible values are: - \"`linked-store-not-found`\": There aren't any Google Business Profile stores available for matching. Connect your Merchant Center account with the Google Business Profile account. Or add a new Google Business Profile store corresponding to the POS store. - \"`store-match-not-found`\": The provided POS store couldn't be matched to any of the connected Google Business Profile stores. Merchant Center account is connected correctly and stores are available on Google Business Profile, but POS store location address does not match with Google Business Profile stores' addresses. Update POS store address or Google Business Profile store address to match correctly. - \"`store-match-unverified`\": The provided POS store couldn't be matched to any of the connected Google Business Profile stores, as the matched Google Business Profile store is unverified. Go through the Google Business Profile verification process to match correctly. ",
"readOnly": true,
"type": "string"
},
"phoneNumber": {
"description": "The store phone number.",
"type": "string"
},
"placeId": {
"description": "The Google Place Id of the store location.",
"type": "string"
},
"storeAddress": {
"description": "Required. The street address of the store.",
"type": "string"
},
"storeCode": {
"description": "Required. A store identifier that is unique for the given merchant.",
"type": "string"
},
"storeName": {
"description": "The merchant or store name.",
"type": "string"
},
"websiteUrl": {
"description": "The website url for the store or merchant.",
"type": "string"
}
},
"type": "object"
},
"PostalCodeGroup": {
"id": "PostalCodeGroup",
"properties": {
"country": {
"description": "The CLDR territory code of the country the postal code group applies to. Required.",
"type": "string"
},
"name": {
"description": "The name of the postal code group, referred to in headers. Required.",
"type": "string"
},
"postalCodeRanges": {
"description": "A range of postal codes. Required.",
"items": {
"$ref": "PostalCodeRange"
},
"type": "array"
}
},
"type": "object"
},
"PostalCodeRange": {
"id": "PostalCodeRange",
"properties": {
"postalCodeRangeBegin": {
"description": "A postal code or a pattern of the form `prefix*` denoting the inclusive lower bound of the range defining the area. Examples values: `\"94108\"`, `\"9410*\"`, `\"9*\"`. Required.",
"type": "string"
},
"postalCodeRangeEnd": {
"description": "A postal code or a pattern of the form `prefix*` denoting the inclusive upper bound of the range defining the area. It must have the same length as `postalCodeRangeBegin`: if `postalCodeRangeBegin` is a postal code then `postalCodeRangeEnd` must be a postal code too; if `postalCodeRangeBegin` is a pattern then `postalCodeRangeEnd` must be a pattern with the same prefix length. Optional: if not set, then the area is defined as being all the postal codes matching `postalCodeRangeBegin`.",
"type": "string"
}
},
"type": "object"
},
"Price": {
"id": "Price",
"properties": {
"currency": {
"description": "The currency of the price.",
"type": "string"
},
"value": {
"description": "The price represented as a number.",
"type": "string"
}
},
"type": "object"
},
"PriceAmount": {
"description": "The price represented as a number and currency.",
"id": "PriceAmount",
"properties": {
"currency": {
"description": "The currency of the price.",
"type": "string"
},
"value": {
"description": "The price represented as a number.",
"type": "string"
}
},
"type": "object"
},
"PriceCompetitiveness": {
"description": "Price competitiveness fields requested by the merchant in the query. Field values are only set if the merchant queries `PriceCompetitivenessProductView`. https://support.google.com/merchants/answer/9626903",
"id": "PriceCompetitiveness",
"properties": {
"benchmarkPriceCurrencyCode": {
"description": "The price benchmark currency (ISO 4217 code).",
"type": "string"
},
"benchmarkPriceMicros": {
"description": "The latest available price benchmark in micros (1 millionth of a standard unit, 1 USD = 1000000 micros) for the product's catalog in the benchmark country.",
"format": "int64",
"type": "string"
},
"countryCode": {
"description": "The country of the price benchmark (ISO 3166 code).",
"type": "string"
}
},
"type": "object"
},
"PriceInsights": {
"description": "Price insights fields requested by the merchant in the query. Field values are only set if the merchant queries `PriceInsightsProductView`. https://support.google.com/merchants/answer/11916926",
"id": "PriceInsights",
"properties": {
"effectiveness": {
"description": "The predicted effectiveness of applying the price suggestion, bucketed.",
"enum": [
"EFFECTIVENESS_UNSPECIFIED",
"LOW",
"MEDIUM",
"HIGH"
],
"enumDescriptions": [
"Effectiveness is unknown.",
"Effectiveness is low.",
"Effectiveness is medium.",
"Effectiveness is high."
],
"type": "string"
},
"predictedClicksChangeFraction": {
"description": "The predicted change in clicks as a fraction after introducing the suggested price compared to current active price. For example, 0.05 is a 5% predicted increase in clicks.",
"format": "double",
"type": "number"
},
"predictedConversionsChangeFraction": {
"description": "The predicted change in conversions as a fraction after introducing the suggested price compared to current active price. For example, 0.05 is a 5% predicted increase in conversions).",
"format": "double",
"type": "number"
},
"predictedGrossProfitChangeFraction": {
"description": "*Deprecated*: This field is no longer supported and will start returning 0. The predicted change in gross profit as a fraction after introducing the suggested price compared to current active price. For example, 0.05 is a 5% predicted increase in gross profit.",
"format": "double",
"type": "number"
},
"predictedImpressionsChangeFraction": {
"description": "The predicted change in impressions as a fraction after introducing the suggested price compared to current active price. For example, 0.05 is a 5% predicted increase in impressions.",
"format": "double",
"type": "number"
},
"predictedMonthlyGrossProfitChangeCurrencyCode": {
"description": "*Deprecated*: This field is no longer supported and will start returning USD for all requests. The predicted monthly gross profit change currency (ISO 4217 code).",
"type": "string"
},
"predictedMonthlyGrossProfitChangeMicros": {
"description": "*Deprecated*: This field is no longer supported and will start returning 0. The predicted change in gross profit in micros (1 millionth of a standard unit, 1 USD = 1000000 micros) after introducing the suggested price for a month compared to current active price.",
"format": "int64",
"type": "string"
},
"suggestedPriceCurrencyCode": {
"description": "The suggested price currency (ISO 4217 code).",
"type": "string"
},
"suggestedPriceMicros": {
"description": "The latest suggested price in micros (1 millionth of a standard unit, 1 USD = 1000000 micros) for the product.",
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"Product": {
"description": " Required product attributes are primarily defined by the product data specification. See the Product Data Specification Help Center article for information. Product data. After inserting, updating, or deleting a product, it may take several minutes before changes take effect. The following reference documentation lists the field names in the **camelCase** casing style while the Products Data Specification lists the names in the **snake_case** casing style.",
"id": "Product",
"properties": {
"additionalImageLinks": {
"description": "Additional URLs of images of the item.",
"items": {
"type": "string"
},
"type": "array"
},
"additionalSizeType": {
"description": "Additional cut of the item. Used together with size_type to represent combined size types for apparel items.",
"type": "string"
},
"adsGrouping": {
"description": "Used to group items in an arbitrary way. Only for CPA%, discouraged otherwise.",
"type": "string"
},
"adsLabels": {
"description": "Similar to ads_grouping, but only works on CPC.",
"items": {
"type": "string"
},
"type": "array"
},
"adsRedirect": {
"description": "Allows advertisers to override the item URL when the product is shown within the context of Product Ads.",
"type": "string"
},
"adult": {
"description": "Should be set to true if the item is targeted towards adults.",
"type": "boolean"
},
"ageGroup": {
"description": "Target age group of the item.",
"type": "string"
},
"autoPricingMinPrice": {
"$ref": "Price",
"description": "A safeguard in the [Automated Discounts](//support.google.com/merchants/answer/10295759) and [Dynamic Promotions](//support.google.com/merchants/answer/13949249) projects, ensuring that discounts on merchants' offers do not fall below this value, thereby preserving the offer's value and profitability."
},
"availability": {
"description": "Availability status of the item.",
"type": "string"
},
"availabilityDate": {
"description": "The day a pre-ordered product becomes available for delivery, in ISO 8601 format.",
"type": "string"
},
"brand": {
"description": "Brand of the item.",
"type": "string"
},
"canonicalLink": {
"description": "URL for the canonical version of your item's landing page.",
"type": "string"
},
"certifications": {
"description": "Product [certification](https://support.google.com/merchants/answer/13528839), introduced for EU energy efficiency labeling compliance using the [EU EPREL](https://eprel.ec.europa.eu/screen/home) database.",
"items": {
"$ref": "ProductCertification"
},
"type": "array"
},
"channel": {
"description": "Required. The item's channel (online or local). Acceptable values are: - \"`local`\" - \"`online`\" ",
"type": "string"
},
"cloudExportAdditionalProperties": {
"description": "Extra fields to export to the Cloud Retail program.",
"items": {
"$ref": "CloudExportAdditionalProperties"
},
"type": "array"
},
"color": {
"description": "Color of the item.",
"type": "string"
},
"condition": {
"description": "Condition or state of the item.",
"type": "string"
},
"contentLanguage": {
"description": "Required. The two-letter ISO 639-1 language code for the item.",
"type": "string"
},
"costOfGoodsSold": {
"$ref": "Price",
"description": "Cost of goods sold. Used for gross profit reporting."
},
"customAttributes": {
"description": "A list of custom (merchant-provided) attributes. It can also be used for submitting any attribute of the feed specification in its generic form (for example, `{ \"name\": \"size type\", \"value\": \"regular\" }`). This is useful for submitting attributes not explicitly exposed by the API, such as additional attributes used for Buy on Google (formerly known as Shopping Actions).",
"items": {
"$ref": "CustomAttribute"
},
"type": "array"
},
"customLabel0": {
"description": "Custom label 0 for custom grouping of items in a Shopping campaign.",
"type": "string"
},
"customLabel1": {
"description": "Custom label 1 for custom grouping of items in a Shopping campaign.",
"type": "string"
},
"customLabel2": {
"description": "Custom label 2 for custom grouping of items in a Shopping campaign.",
"type": "string"
},
"customLabel3": {
"description": "Custom label 3 for custom grouping of items in a Shopping campaign.",
"type": "string"
},
"customLabel4": {
"description": "Custom label 4 for custom grouping of items in a Shopping campaign.",
"type": "string"
},
"description": {
"description": "Description of the item.",
"type": "string"
},
"disclosureDate": {
"description": "The date time when an offer becomes visible in search results across Google\u2019s YouTube surfaces, in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format. See [Disclosure date](https://support.google.com/merchants/answer/13034208) for more information.",
"type": "string"
},
"displayAdsId": {
"description": "An identifier for an item for dynamic remarketing campaigns.",
"type": "string"
},
"displayAdsLink": {
"description": "URL directly to your item's landing page for dynamic remarketing campaigns.",
"type": "string"
},
"displayAdsSimilarIds": {
"description": "Advertiser-specified recommendations.",
"items": {
"type": "string"
},
"type": "array"
},
"displayAdsTitle": {
"description": "Title of an item for dynamic remarketing campaigns.",
"type": "string"
},
"displayAdsValue": {
"description": "Offer margin for dynamic remarketing campaigns.",
"format": "double",
"type": "number"
},
"energyEfficiencyClass": {
"description": "The energy efficiency class as defined in EU directive 2010/30/EU.",
"type": "string"
},
"excludedDestinations": {
"description": "The list of [destinations to exclude](//support.google.com/merchants/answer/6324486) for this target (corresponds to cleared check boxes in Merchant Center). Products that are excluded from all destinations for more than 7 days are automatically deleted.",
"items": {
"type": "string"
},
"type": "array"
},
"expirationDate": {
"description": "Date on which the item should expire, as specified upon insertion, in ISO 8601 format. The actual expiration date in Google Shopping is exposed in `productstatuses` as `googleExpirationDate` and might be earlier if `expirationDate` is too far in the future.",
"type": "string"
},
"externalSellerId": {
"description": "Required for multi-seller accounts. Use this attribute if you're a marketplace uploading products for various sellers to your multi-seller account.",
"type": "string"
},
"feedLabel": {
"description": "Feed label for the item. Either `targetCountry` or `feedLabel` is required. Must be less than or equal to 20 uppercase letters (A-Z), numbers (0-9), and dashes (-).",
"type": "string"
},
"freeShippingThreshold": {
"description": "Optional. Conditions to be met for a product to have free shipping.",
"items": {
"$ref": "FreeShippingThreshold"
},
"type": "array"
},
"gender": {
"description": "Target gender of the item.",
"type": "string"
},
"googleProductCategory": {
"description": "Google's category of the item (see [Google product taxonomy](https://support.google.com/merchants/answer/1705911)). 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.",
"type": "string"
},
"gtin": {
"description": "Global Trade Item Number (GTIN) of the item.",
"type": "string"
},
"id": {
"description": "The REST ID of the product. Content API methods that operate on products take this as their `productId` parameter. The REST ID for a product has one of the 2 forms channel:contentLanguage: targetCountry: offerId or channel:contentLanguage:feedLabel: offerId.",
"type": "string"
},
"identifierExists": {
"description": "False when the item does not have unique product identifiers appropriate to its category, such as GTIN, MPN, and brand. Required according to the Unique Product Identifier Rules for all target countries except for Canada.",
"type": "boolean"
},
"imageLink": {
"description": "URL of an image of the item.",
"type": "string"
},
"includedDestinations": {
"description": "The list of [destinations to include](//support.google.com/merchants/answer/7501026) for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in `excludedDestinations`.",
"items": {
"type": "string"
},
"type": "array"
},
"installment": {
"$ref": "Installment",
"description": "Number and amount of installments to pay for an item."
},
"isBundle": {
"description": "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.",
"type": "boolean"
},
"itemGroupId": {
"description": "Shared identifier for all variants of the same product.",
"type": "string"
},
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#product`\"",
"type": "string"
},
"lifestyleImageLinks": {
"description": "Additional URLs of lifestyle images of the item. Used to explicitly identify images that showcase your item in a real-world context. See the Help Center article for more information.",
"items": {
"type": "string"
},
"type": "array"
},
"link": {
"description": "URL directly linking to your item's page on your website.",
"type": "string"
},
"linkTemplate": {
"description": "URL template for merchant hosted local storefront.",
"type": "string"
},
"loyaltyProgram": {
"$ref": "LoyaltyProgram",
"description": "Loyalty program information that is used to surface loyalty benefits ( for example, better pricing, points, etc) to the user of this item. This signular field points to the latest uploaded loyalty program info. This field will be deprecated in the coming weeks and should not be used in favor of the plural 'LoyaltyProgram' field below."
},
"loyaltyPrograms": {
"description": "Optional. A list of loyalty program information that is used to surface loyalty benefits (for example, better pricing, points, etc) to the user of this item.",
"items": {
"$ref": "LoyaltyProgram"
},
"type": "array"
},
"material": {
"description": "The material of which the item is made.",
"type": "string"
},
"maxEnergyEfficiencyClass": {
"description": "The energy efficiency class as defined in EU directive 2010/30/EU.",
"type": "string"
},
"maxHandlingTime": {
"description": "Maximal product handling time (in business days).",
"format": "int64",
"type": "string"
},
"maximumRetailPrice": {
"$ref": "Price",
"description": "Maximum retail price (MRP) of the item. Applicable to India only."
},
"minEnergyEfficiencyClass": {
"description": "The energy efficiency class as defined in EU directive 2010/30/EU.",
"type": "string"
},
"minHandlingTime": {
"description": "Minimal product handling time (in business days).",
"format": "int64",
"type": "string"
},
"mobileLink": {
"description": "URL for the mobile-optimized version of your item's landing page.",
"type": "string"
},
"mobileLinkTemplate": {
"description": "URL template for merchant hosted local storefront optimized for mobile devices.",
"type": "string"
},
"mpn": {
"description": "Manufacturer Part Number (MPN) of the item.",
"type": "string"
},
"multipack": {
"description": "The number of identical products in a merchant-defined multipack.",
"format": "int64",
"type": "string"
},
"offerId": {
"description": "Required. A unique identifier for the item. Leading and trailing whitespaces are stripped and multiple whitespaces are replaced by a single whitespace upon submission. Only valid unicode characters are accepted. See the products feed specification for details. *Note:* Content API methods that operate on products take the REST ID of the product, *not* this identifier.",
"type": "string"
},
"pattern": {
"description": "The item's pattern (for example, polka dots).",
"type": "string"
},
"pause": {
"description": "Publication of this item should be temporarily paused. Acceptable values are: - \"`ads`\" ",
"type": "string"
},
"pickupMethod": {
"description": "The pick up option for the item. Acceptable values are: - \"`buy`\" - \"`reserve`\" - \"`ship to store`\" - \"`not supported`\" ",
"type": "string"
},
"pickupSla": {
"description": "Item store pickup timeline. Acceptable values are: - \"`same day`\" - \"`next day`\" - \"`2-day`\" - \"`3-day`\" - \"`4-day`\" - \"`5-day`\" - \"`6-day`\" - \"`7-day`\" - \"`multi-week`\" ",
"type": "string"
},
"price": {
"$ref": "Price",
"description": "Price of the item."
},
"productDetails": {
"description": "Technical specification or additional product details.",
"items": {
"$ref": "ProductProductDetail"
},
"type": "array"
},
"productHeight": {
"$ref": "ProductDimension",
"description": "The height of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive)."
},
"productHighlights": {
"description": "Bullet points describing the most relevant highlights of a product.",
"items": {
"type": "string"
},
"type": "array"
},
"productLength": {
"$ref": "ProductDimension",
"description": "The length of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive)."
},
"productTypes": {
"description": "Categories of the item (formatted as in product data specification).",
"items": {
"type": "string"
},
"type": "array"
},
"productWeight": {
"$ref": "ProductWeight",
"description": "The weight of the product in the units provided. The value must be between 0 (exclusive) and 2000 (inclusive)."
},
"productWidth": {
"$ref": "ProductDimension",
"description": "The width of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive)."
},
"promotionIds": {
"description": "The unique ID of a promotion.",
"items": {
"type": "string"
},
"type": "array"
},
"salePrice": {
"$ref": "Price",
"description": "Advertised sale price of the item."
},
"salePriceEffectiveDate": {
"description": "Date range during which the item is on sale (see product data specification ).",
"type": "string"
},
"sellOnGoogleQuantity": {
"description": "The quantity of the product that is available for selling on Google. Supported only for online products.",
"format": "int64",
"type": "string"
},
"shipping": {
"description": "Shipping rules.",
"items": {
"$ref": "ProductShipping"
},
"type": "array"
},
"shippingHeight": {
"$ref": "ProductShippingDimension",
"description": "Height of the item for shipping."
},
"shippingLabel": {
"description": "The shipping label of the product, used to group product in account-level shipping rules.",
"type": "string"
},
"shippingLength": {
"$ref": "ProductShippingDimension",
"description": "Length of the item for shipping."
},
"shippingWeight": {
"$ref": "ProductShippingWeight",
"description": "Weight of the item for shipping."
},
"shippingWidth": {
"$ref": "ProductShippingDimension",
"description": "Width of the item for shipping."
},
"shoppingAdsExcludedCountries": {
"description": "List of country codes (ISO 3166-1 alpha-2) to exclude the offer from Shopping Ads destination. Countries from this list are removed from countries configured in MC feed settings.",
"items": {
"type": "string"
},
"type": "array"
},
"sizeSystem": {
"description": "System in which the size is specified. Recommended for apparel items.",
"type": "string"
},
"sizeType": {
"description": "The cut of the item. Recommended for apparel items.",
"type": "string"
},
"sizes": {
"description": "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 size definition).",
"items": {
"type": "string"
},
"type": "array"
},
"source": {
"description": "Output only. The source of the offer, that is, how the offer was created. Acceptable values are: - \"`api`\" - \"`crawl`\" - \"`feed`\" ",
"type": "string"
},
"structuredDescription": {
"$ref": "ProductStructuredDescription",
"description": "Structured description, for algorithmically (AI)-generated descriptions."
},
"structuredTitle": {
"$ref": "ProductStructuredTitle",
"description": "Structured title, for algorithmically (AI)-generated titles."
},
"subscriptionCost": {
"$ref": "ProductSubscriptionCost",
"description": "Number of periods (months or years) and amount of payment per period for an item with an associated subscription contract."
},
"sustainabilityIncentives": {
"description": "Optional. The list of sustainability incentive programs.",
"items": {
"$ref": "ProductSustainabilityIncentive"
},
"type": "array"
},
"targetCountry": {
"description": "Required. The CLDR territory code for the item's country of sale.",
"type": "string"
},
"taxCategory": {
"description": "The tax category of the product, used to configure detailed tax nexus in account-level tax settings.",
"type": "string"
},
"taxes": {
"description": "Tax information.",
"items": {
"$ref": "ProductTax"
},
"type": "array"
},
"title": {
"description": "Title of the item.",
"type": "string"
},
"transitTimeLabel": {
"description": "The transit time label of the product, used to group product in account-level transit time tables.",
"type": "string"
},
"unitPricingBaseMeasure": {
"$ref": "ProductUnitPricingBaseMeasure",
"description": "The preference of the denominator of the unit price."
},
"unitPricingMeasure": {
"$ref": "ProductUnitPricingMeasure",
"description": "The measure and dimension of an item."
},
"virtualModelLink": {
"description": "URL of the 3D model of the item to provide more visuals.",
"type": "string"
}
},
"type": "object"
},
"ProductCertification": {
"description": "Product [certification](https://support.google.com/merchants/answer/13528839), introduced for EU energy efficiency labeling compliance using the [EU EPREL](https://eprel.ec.europa.eu/screen/home) database.",
"id": "ProductCertification",
"properties": {
"certificationAuthority": {
"description": "The certification authority, for example \"European_Commission\". Maximum length is 2000 characters.",
"type": "string"
},
"certificationCode": {
"description": "The certification code, for eaxample \"123456\". Maximum length is 2000 characters.",
"type": "string"
},
"certificationName": {
"description": "The name of the certification, for example \"EPREL\". Maximum length is 2000 characters.",
"type": "string"
},
"certificationValue": {
"description": "The certification value (also known as class, level or grade), for example \"A+\", \"C\", \"gold\". Maximum length is 2000 characters.",
"type": "string"
}
},
"type": "object"
},
"ProductCluster": {
"description": "Product cluster fields. A product cluster is a grouping for different offers that represent the same product. Values are only set for fields requested explicitly in the request's search query.",
"id": "ProductCluster",
"properties": {
"brand": {
"description": "Brand of the product cluster.",
"type": "string"
},
"brandInventoryStatus": {
"description": "Tells if there is at least one product of the brand currently `IN_STOCK` in your product feed across multiple countries, all products are `OUT_OF_STOCK` in your product feed, or `NOT_IN_INVENTORY`. The field doesn't take the Best Sellers report country filter into account.",
"enum": [
"INVENTORY_STATUS_UNSPECIFIED",
"IN_STOCK",
"OUT_OF_STOCK",
"NOT_IN_INVENTORY"
],
"enumDescriptions": [
"Inventory status is unknown.",
"Merchant has a product for this product cluster or brand in stock.",
"Merchant has a product for this product cluster or brand in inventory but it is currently out of stock.",
"Merchant does not have a product for this product cluster or brand in inventory."
],
"type": "string"
},
"categoryL1": {
"description": "Product category (1st level) of the product cluster, represented in Google's product taxonomy.",
"type": "string"
},
"categoryL2": {
"description": "Product category (2nd level) of the product cluster, represented in Google's product taxonomy.",
"type": "string"
},
"categoryL3": {
"description": "Product category (3rd level) of the product cluster, represented in Google's product taxonomy.",
"type": "string"
},
"categoryL4": {
"description": "Product category (4th level) of the product cluster, represented in Google's product taxonomy.",
"type": "string"
},
"categoryL5": {
"description": "Product category (5th level) of the product cluster, represented in Google's product taxonomy.",
"type": "string"
},
"inventoryStatus": {
"description": "Tells whether the product cluster is `IN_STOCK` in your product feed across multiple countries, `OUT_OF_STOCK` in your product feed, or `NOT_IN_INVENTORY` at all. The field doesn't take the Best Sellers report country filter into account.",
"enum": [
"INVENTORY_STATUS_UNSPECIFIED",
"IN_STOCK",
"OUT_OF_STOCK",
"NOT_IN_INVENTORY"
],
"enumDescriptions": [
"Inventory status is unknown.",
"Merchant has a product for this product cluster or brand in stock.",
"Merchant has a product for this product cluster or brand in inventory but it is currently out of stock.",
"Merchant does not have a product for this product cluster or brand in inventory."
],
"type": "string"
},
"title": {
"description": "Title of the product cluster.",
"type": "string"
},
"variantGtins": {
"description": "GTINs of example variants of the product cluster.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"ProductDeliveryTime": {
"description": "The estimated days to deliver a product after an order is placed. Only authorized shipping signals partners working with a merchant can use this resource. Merchants should use the [`products`](https://developers.google.com/shopping-content/reference/rest/v2.1/products#productshipping) resource instead.",
"id": "ProductDeliveryTime",
"properties": {
"areaDeliveryTimes": {
"description": "Required. A set of associations between `DeliveryArea` and `DeliveryTime` entries. The total number of `areaDeliveryTimes` can be at most 100.",
"items": {
"$ref": "ProductDeliveryTimeAreaDeliveryTime"
},
"type": "array"
},
"productId": {
"$ref": "ProductId",
"description": "Required. The `id` of the product."
}
},
"type": "object"
},
"ProductDeliveryTimeAreaDeliveryTime": {
"description": "A pairing of `DeliveryArea` associated with a `DeliveryTime` for this product.",
"id": "ProductDeliveryTimeAreaDeliveryTime",
"properties": {
"deliveryArea": {
"$ref": "DeliveryArea",
"description": "Required. The delivery area associated with `deliveryTime` for this product."
},
"deliveryTime": {
"$ref": "ProductDeliveryTimeAreaDeliveryTimeDeliveryTime",
"description": "Required. The delivery time associated with `deliveryArea` for this product."
}
},
"type": "object"
},
"ProductDeliveryTimeAreaDeliveryTimeDeliveryTime": {
"description": "A delivery time for this product.",
"id": "ProductDeliveryTimeAreaDeliveryTimeDeliveryTime",
"properties": {
"maxHandlingTimeDays": {
"description": "Required. The maximum number of business days (inclusive) between when an order is placed and when the product ships. If a product ships in the same day, set this value to 0.",
"format": "int32",
"type": "integer"
},
"maxTransitTimeDays": {
"description": "Required. The maximum number of business days (inclusive) between when the product ships and when the product is delivered.",
"format": "int32",
"type": "integer"
},
"minHandlingTimeDays": {
"description": "Required. The minimum number of business days (inclusive) between when an order is placed and when the product ships. If a product ships in the same day, set this value to 0.",
"format": "int32",
"type": "integer"
},
"minTransitTimeDays": {
"description": "Required. The minimum number of business days (inclusive) between when the product ships and when the product is delivered.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"ProductDimension": {
"id": "ProductDimension",
"properties": {
"unit": {
"description": "Required. The length units. Acceptable values are: - \"`in`\" - \"`cm`\" ",
"type": "string"
},
"value": {
"description": "Required. The length value represented as a number. The value can have a maximum precision of four decimal places.",
"format": "double",
"type": "number"
}
},
"type": "object"
},
"ProductId": {
"description": "The Content API ID of the product.",
"id": "ProductId",
"properties": {
"productId": {
"description": "The Content API ID of the product, in the form `channel:contentLanguage:targetCountry:offerId`.",
"type": "string"
}
},
"type": "object"
},
"ProductIssue": {
"description": "An issue affecting specific product.",
"id": "ProductIssue",
"properties": {
"actions": {
"description": "A list of actionable steps that can be executed to solve the issue. An example is requesting a re-review or providing arguments when merchant disagrees with the issue. Actions that are supported in (your) third-party application can be rendered as buttons and should be available to merchant when they expand the issue.",
"items": {
"$ref": "Action"
},
"type": "array"
},
"impact": {
"$ref": "ProductIssueImpact",
"description": "Clarifies the severity of the issue. The summarizing message, if present, should be shown right under the title for each issue. It helps merchants to quickly understand the impact of the issue. The detailed breakdown helps the merchant to fully understand the impact of the issue. It can be rendered as dialog that opens when the merchant mouse over the summarized impact statement. Issues with different severity can be styled differently. They may use a different color or icon to signal the difference between `ERROR`, `WARNING` and `INFO`."
},
"prerenderedContent": {
"description": "Details of the issue as a pre-rendered HTML. HTML elements contain CSS classes that can be used to customize the style of the content. Always sanitize the HTML before embedding it directly to your application. The sanitizer needs to allow basic HTML tags, such as: `div`, `span`, `p`, `a`, `ul`, `li`, `table`, `tr`, `td`. For example, you can use [DOMPurify](https://www.npmjs.com/package/dompurify). CSS classes: * `issue-detail` - top level container for the detail of the issue * `callout-banners` - section of the `issue-detail` with callout banners * `callout-banner` - single callout banner, inside `callout-banners` * `callout-banner-info` - callout with important information (default) * `callout-banner-warning` - callout with a warning * `callout-banner-error` - callout informing about an error (most severe) * `issue-content` - section of the `issue-detail`, contains multiple `content-element` * `content-element` - content element such as a list, link or paragraph, inside `issue-content` * `root-causes` - unordered list with items describing root causes of the issue, inside `issue-content` * `root-causes-intro` - intro text before the `root-causes` list, inside `issue-content` * `segment` - section of the text, `span` inside paragraph * `segment-attribute` - section of the text that represents a product attribute, for example 'image\\_link' * `segment-literal` - section of the text that contains a special value, for example '0-1000 kg' * `segment-bold` - section of the text that should be rendered as bold * `segment-italic` - section of the text that should be rendered as italic * `tooltip` - used on paragraphs that should be rendered with a tooltip. A section of the text in such a paragraph will have a class `tooltip-text` and is intended to be shown in a mouse over dialog. If the style is not used, the `tooltip-text` section would be shown on a new line, after the main part of the text. * `tooltip-text` - marks a section of the text within a `tooltip`, that is intended to be shown in a mouse over dialog. * `tooltip-icon` - marks a section of the text within a `tooltip`, that can be replaced with a tooltip icon, for example '?' or 'i'. By default, this section contains a `br` tag, that is separating the main text and the tooltip text when the style is not used. * `tooltip-style-question` - the tooltip shows helpful information, can use the '?' as an icon. * `tooltip-style-info` - the tooltip adds additional information fitting to the context, can use the 'i' as an icon. * `content-moderation` - marks the paragraph that explains how the issue was identified. * `list-intro` - marks the paragraph that contains an intro for a list. This paragraph will be always followed by a list. * `new-element` - Present for new elements added to the pre-rendered content in the future. To make sure that a new content element does not break your style, you can hide everything with this class.",
"type": "string"
},
"prerenderedOutOfCourtDisputeSettlement": {
"description": "Pre-rendered HTML that contains a link to the external location where the ODS can be requested and instructions for how to request it. HTML elements contain CSS classes that can be used to customize the style of this snippet. Always sanitize the HTML before embedding it directly to your application. The sanitizer needs to allow basic HTML tags, such as: `div`, `span`, `p`, `a`, `ul`, `li`, `table`, `tr`, `td`. For example, you can use [DOMPurify](https://www.npmjs.com/package/dompurify). CSS classes: * `ods-section`* - wrapper around the out-of-court dispute resolution section * `ods-description`* - intro text for the out-of-court dispute resolution. It may contain multiple segments and a link. * `ods-param`* - wrapper around the header-value pair for parameters that merchant may need to provide during the ODS process. * `ods-routing-id`* - ods param for the Routing ID. * `ods-reference-id`* - ods param for the Routing ID. * `ods-param-header`* - header for the ODS parameter * `ods-param-value`* - value of the ODS parameter. This value should be rendered in a way that it is easy for merchants to identify and copy. * `segment` - section of the text, `span` inside paragraph * `segment-attribute` - section of the text that represents a product attribute, for example 'image\\_link' * `segment-literal` - section of the text that contains a special value, for example '0-1000 kg' * `segment-bold` - section of the text that should be rendered as bold * `segment-italic` - section of the text that should be rendered as italic * `tooltip` - used on paragraphs that should be rendered with a tooltip. A section of the text in such a paragraph will have a class `tooltip-text` and is intended to be shown in a mouse over dialog. If the style is not used, the `tooltip-text` section would be shown on a new line, after the main part of the text. * `tooltip-text` - marks a section of the text within a `tooltip`, that is intended to be shown in a mouse over dialog. * `tooltip-icon` - marks a section of the text within a `tooltip`, that can be replaced with a tooltip icon, for example '?' or 'i'. By default, this section contains a `br` tag, that is separating the main text and the tooltip text when the style is not used. * `tooltip-style-question` - the tooltip shows helpful information, can use the '?' as an icon. * `tooltip-style-info` - the tooltip adds additional information fitting to the context, can use the 'i' as an icon.",
"type": "string"
},
"title": {
"description": "Title of the issue.",
"type": "string"
}
},
"type": "object"
},
"ProductIssueImpact": {
"description": "Overall impact of product issue.",
"id": "ProductIssueImpact",
"properties": {
"breakdowns": {
"description": "Detailed impact breakdown. Explains the types of restriction the issue has in different shopping destinations and territory. If present, it should be rendered to the merchant. Can be shown as a mouse over dropdown or a dialog. Each breakdown item represents a group of regions with the same impact details.",
"items": {
"$ref": "Breakdown"
},
"type": "array"
},
"message": {
"description": "Optional. Message summarizing the overall impact of the issue. If present, it should be rendered to the merchant. For example: \"Limits visibility in France\"",
"type": "string"
},
"severity": {
"description": "The severity of the issue.",
"enum": [
"SEVERITY_UNSPECIFIED",
"ERROR",
"WARNING",
"INFO"
],
"enumDescriptions": [
"Default value. Will never be provided by the API.",
"Causes either an account suspension or an item disapproval. Errors should be resolved as soon as possible to ensure items are eligible to appear in results again.",
"Warnings can negatively impact the performance of ads and can lead to item or account suspensions in the future unless the issue is resolved.",
"Infos are suggested optimizations to increase data quality. Resolving these issues is recommended, but not required."
],
"type": "string"
}
},
"type": "object"
},
"ProductProductDetail": {
"id": "ProductProductDetail",
"properties": {
"attributeName": {
"description": "The name of the product detail.",
"type": "string"
},
"attributeValue": {
"description": "The value of the product detail.",
"type": "string"
},
"sectionName": {
"description": "The section header used to group a set of product details.",
"type": "string"
}
},
"type": "object"
},
"ProductShipping": {
"id": "ProductShipping",
"properties": {
"country": {
"description": "The CLDR territory code of the country to which an item will ship.",
"type": "string"
},
"locationGroupName": {
"description": "The location where the shipping is applicable, represented by a location group name.",
"type": "string"
},
"locationId": {
"description": "The numeric ID of a location that the shipping rate applies to as defined in the Google Ads API.",
"format": "int64",
"type": "string"
},
"maxHandlingTime": {
"description": "Maximum handling time (inclusive) between when the order is received and shipped in business days. 0 means that the order is shipped on the same day as it's received if it happens before the cut-off time. Both maxHandlingTime and maxTransitTime are required if providing shipping speeds.",
"format": "int64",
"type": "string"
},
"maxTransitTime": {
"description": "Maximum transit time (inclusive) between when the order has shipped and when it's delivered in business days. 0 means that the order is delivered on the same day as it ships. Both maxHandlingTime and maxTransitTime are required if providing shipping speeds.",
"format": "int64",
"type": "string"
},
"minHandlingTime": {
"description": "Minimum handling time (inclusive) between when the order is received and shipped in business days. 0 means that the order is shipped on the same day as it's received if it happens before the cut-off time. minHandlingTime can only be present together with maxHandlingTime; but it's not required if maxHandlingTime is present.",
"format": "int64",
"type": "string"
},
"minTransitTime": {
"description": "Minimum transit time (inclusive) between when the order has shipped and when it's delivered in business days. 0 means that the order is delivered on the same day as it ships. minTransitTime can only be present together with maxTransitTime; but it's not required if maxTransitTime is present.",
"format": "int64",
"type": "string"
},
"postalCode": {
"description": "The postal code range that the shipping rate applies to, represented by a postal code, a postal code prefix followed by a * wildcard, a range between two postal codes or two postal code prefixes of equal length.",
"type": "string"
},
"price": {
"$ref": "Price",
"description": "Fixed shipping price, represented as a number."
},
"region": {
"description": "The geographic region to which a shipping rate applies.",
"type": "string"
},
"service": {
"description": "A free-form description of the service class or delivery speed.",
"type": "string"
}
},
"type": "object"
},
"ProductShippingDimension": {
"id": "ProductShippingDimension",
"properties": {
"unit": {
"description": "The unit of value.",
"type": "string"
},
"value": {
"description": "The dimension of the product used to calculate the shipping cost of the item.",
"format": "double",
"type": "number"
}
},
"type": "object"
},
"ProductShippingWeight": {
"id": "ProductShippingWeight",
"properties": {
"unit": {
"description": "The unit of value.",
"type": "string"
},
"value": {
"description": "The weight of the product used to calculate the shipping cost of the item.",
"format": "double",
"type": "number"
}
},
"type": "object"
},
"ProductStatus": {
"description": "The status of a product, that is, information about a product computed asynchronously.",
"id": "ProductStatus",
"properties": {
"creationDate": {
"description": "Date on which the item has been created, in ISO 8601 format.",
"type": "string"
},
"destinationStatuses": {
"description": "The intended destinations for the product.",
"items": {
"$ref": "ProductStatusDestinationStatus"
},
"type": "array"
},
"googleExpirationDate": {
"description": "Date on which the item expires in Google Shopping, in ISO 8601 format.",
"type": "string"
},
"itemLevelIssues": {
"description": "A list of all issues associated with the product.",
"items": {
"$ref": "ProductStatusItemLevelIssue"
},
"type": "array"
},
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#productStatus`\"",
"type": "string"
},
"lastUpdateDate": {
"description": "Date on which the item has been last updated, in ISO 8601 format.",
"type": "string"
},
"link": {
"description": "The link to the product.",
"type": "string"
},
"productId": {
"description": "The ID of the product for which status is reported.",
"type": "string"
},
"title": {
"description": "The title of the product.",
"type": "string"
}
},
"type": "object"
},
"ProductStatusDestinationStatus": {
"id": "ProductStatusDestinationStatus",
"properties": {
"approvedCountries": {
"description": "List of country codes (ISO 3166-1 alpha-2) where the offer is approved.",
"items": {
"type": "string"
},
"type": "array"
},
"channel": {
"description": "The channel of the destination.",
"type": "string"
},
"destination": {
"description": "The name of the destination",
"type": "string"
},
"disapprovedCountries": {
"description": "List of country codes (ISO 3166-1 alpha-2) where the offer is disapproved.",
"items": {
"type": "string"
},
"type": "array"
},
"pendingCountries": {
"description": "List of country codes (ISO 3166-1 alpha-2) where the offer is pending approval.",
"items": {
"type": "string"
},
"type": "array"
},
"status": {
"deprecated": true,
"description": "Deprecated. Destination approval status in `targetCountry` of the offer.",
"type": "string"
}
},
"type": "object"
},
"ProductStatusItemLevelIssue": {
"id": "ProductStatusItemLevelIssue",
"properties": {
"applicableCountries": {
"description": "List of country codes (ISO 3166-1 alpha-2) where issue applies to the offer.",
"items": {
"type": "string"
},
"type": "array"
},
"attributeName": {
"description": "The attribute's name, if the issue is caused by a single attribute.",
"type": "string"
},
"code": {
"description": "The error code of the issue.",
"type": "string"
},
"description": {
"description": "A short issue description in English.",
"type": "string"
},
"destination": {
"description": "The destination the issue applies to.",
"type": "string"
},
"detail": {
"description": "A detailed issue description in English.",
"type": "string"
},
"documentation": {
"description": "The URL of a web page to help with resolving this issue.",
"type": "string"
},
"resolution": {
"description": "Whether the issue can be resolved by the merchant.",
"type": "string"
},
"servability": {
"description": "How this issue affects serving of the offer.",
"type": "string"
}
},
"type": "object"
},
"ProductStructuredDescription": {
"description": "Structured description, for algorithmically (AI)-generated descriptions. See [description](https://support.google.com/merchants/answer/6324468#When_to_use) for more information.",
"id": "ProductStructuredDescription",
"properties": {
"content": {
"description": "Required. The description text. Maximum length is 5000 characters.",
"type": "string"
},
"digitalSourceType": {
"description": "Optional. The digital source type. Acceptable values are: - \"`trained_algorithmic_media`\" - \"`default`\" ",
"type": "string"
}
},
"type": "object"
},
"ProductStructuredTitle": {
"description": "Structured title, for algorithmically (AI)-generated titles. See [title](https://support.google.com/merchants/answer/6324415#Whentouse) for more information.",
"id": "ProductStructuredTitle",
"properties": {
"content": {
"description": "Required. The title text. Maximum length is 150 characters.",
"type": "string"
},
"digitalSourceType": {
"description": "Optional. The digital source type. Acceptable values are: - \"`trained_algorithmic_media`\" - \"`default`\" ",
"type": "string"
}
},
"type": "object"
},
"ProductSubscriptionCost": {
"id": "ProductSubscriptionCost",
"properties": {
"amount": {
"$ref": "Price",
"description": "The amount the buyer has to pay per subscription period."
},
"period": {
"description": "The type of subscription period. - \"`month`\" - \"`year`\" ",
"type": "string"
},
"periodLength": {
"description": "The number of subscription periods the buyer has to pay.",
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"ProductSustainabilityIncentive": {
"description": "Information regarding sustainability related incentive programs such as rebates or tax relief.",
"id": "ProductSustainabilityIncentive",
"properties": {
"amount": {
"$ref": "Price",
"description": "Optional. The fixed amount of the incentive."
},
"percentage": {
"description": "Optional. The percentage of the sale price that the incentive is applied to.",
"format": "double",
"type": "number"
},
"type": {
"description": "Required. Sustainability incentive program.",
"enum": [
"TYPE_UNSPECIFIED",
"EV_TAX_CREDIT",
"EV_PRICE_DISCOUNT"
],
"enumDescriptions": [
"Unspecified or unknown sustainability incentive type.",
"Program offering tax liability reductions for electric vehicles and, in some countries, plug-in hybrids. These reductions can be based on a specific amount or a percentage of the sale price.",
"A subsidy program, often called an environmental bonus, provides a purchase grant for electric vehicles and, in some countries, plug-in hybrids. The grant amount may be a fixed sum or a percentage of the sale price."
],
"type": "string"
}
},
"type": "object"
},
"ProductTax": {
"id": "ProductTax",
"properties": {
"country": {
"description": "The country within which the item is taxed, specified as a CLDR territory code.",
"type": "string"
},
"locationId": {
"description": "The numeric ID of a location that the tax rate applies to as defined in the Google Ads API.",
"format": "int64",
"type": "string"
},
"postalCode": {
"description": "The postal code range that the tax rate applies to, represented by a ZIP code, a ZIP code prefix using * wildcard, a range between two ZIP codes or two ZIP code prefixes of equal length. Examples: 94114, 94*, 94002-95460, 94*-95*.",
"type": "string"
},
"rate": {
"description": "The percentage of tax rate that applies to the item price.",
"format": "double",
"type": "number"
},
"region": {
"description": "The geographic region to which the tax rate applies.",
"type": "string"
},
"taxShip": {
"description": "Should be set to true if tax is charged on shipping.",
"type": "boolean"
}
},
"type": "object"
},
"ProductUnitPricingBaseMeasure": {
"id": "ProductUnitPricingBaseMeasure",
"properties": {
"unit": {
"description": "The unit of the denominator.",
"type": "string"
},
"value": {
"description": "The denominator of the unit price.",
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"ProductUnitPricingMeasure": {
"id": "ProductUnitPricingMeasure",
"properties": {
"unit": {
"description": "The unit of the measure.",
"type": "string"
},
"value": {
"description": "The measure of an item.",
"format": "double",
"type": "number"
}
},
"type": "object"
},
"ProductView": {
"description": "Product fields. Values are only set for fields requested explicitly in the request's search query.",
"id": "ProductView",
"properties": {
"aggregatedDestinationStatus": {
"description": "Aggregated destination status.",
"enum": [
"AGGREGATED_STATUS_UNSPECIFIED",
"NOT_ELIGIBLE_OR_DISAPPROVED",
"PENDING",
"ELIGIBLE_LIMITED",
"ELIGIBLE"
],
"enumDescriptions": [
"Undefined aggregated status.",
"Offer isn't eligible, or is disapproved for all destinations.",
"Offer's status is pending in all destinations.",
"Offer is eligible for some (but not all) destinations.",
"Offer is eligible for all destinations."
],
"type": "string"
},
"availability": {
"description": "Availability of the product.",
"type": "string"
},
"brand": {
"description": "Brand of the product.",
"type": "string"
},
"categoryL1": {
"description": "First level of the product category in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).",
"type": "string"
},
"categoryL2": {
"description": "Second level of the product category in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).",
"type": "string"
},
"categoryL3": {
"description": "Third level of the product category in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).",
"type": "string"
},
"categoryL4": {
"description": "Fourth level of the product category in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).",
"type": "string"
},
"categoryL5": {
"description": "Fifth level of the product category in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).",
"type": "string"
},
"channel": {
"description": "Channel of the product (online versus local).",
"enum": [
"CHANNEL_UNSPECIFIED",
"LOCAL",
"ONLINE"
],
"enumDescriptions": [
"Indicates that the channel is unspecified.",
"Indicates that the channel is local.",
"Indicates that the channel is online."
],
"type": "string"
},
"clickPotential": {
"description": "Estimated performance potential compared to highest performing products of the merchant.",
"enum": [
"CLICK_POTENTIAL_UNSPECIFIED",
"LOW",
"MEDIUM",
"HIGH"
],
"enumDescriptions": [
"Unknown predicted clicks impact.",
"Potential to receive a low number of clicks compared to the highest performing products of the merchant.",
"Potential to receive a moderate number of clicks compared to the highest performing products of the merchant.",
"Potential to receive a similar number of clicks as the highest performing products of the merchant."
],
"type": "string"
},
"clickPotentialRank": {
"description": "Normalized click potential of the product. Values range from 1 to 1000, where 1 is the highest click potential and 1000 is the theoretical lowest.",
"format": "int64",
"type": "string"
},
"condition": {
"description": "Condition of the product.",
"type": "string"
},
"creationTime": {
"description": "The time the merchant created the product in timestamp seconds.",
"format": "google-datetime",
"type": "string"
},
"currencyCode": {
"description": "Product price currency code (for example, ISO 4217). Absent if product price is not available.",
"type": "string"
},
"expirationDate": {
"$ref": "Date",
"description": "Expiration date for the product. Specified on insertion."
},
"gtin": {
"description": "GTIN of the product.",
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"description": "The REST ID of the product, in the form of channel:contentLanguage:targetCountry:offerId. Content API methods that operate on products take this as their productId parameter. Should always be included in the SELECT clause.",
"type": "string"
},
"itemGroupId": {
"description": "Item group ID provided by the merchant for grouping variants together.",
"type": "string"
},
"itemIssues": {
"description": "List of item issues for the product.",
"items": {
"$ref": "ProductViewItemIssue"
},
"type": "array"
},
"languageCode": {
"description": "Language code of the product in BCP 47 format.",
"type": "string"
},
"offerId": {
"description": "Merchant-provided id of the product.",
"type": "string"
},
"priceMicros": {
"description": "Product price specified as micros (1 millionth of a standard unit, 1 USD = 1000000 micros) in the product currency. Absent in case the information about the price of the product is not available.",
"format": "int64",
"type": "string"
},
"productTypeL1": {
"description": "First level of the product type in merchant's own [product taxonomy](https://support.google.com/merchants/answer/6324436).",
"type": "string"
},
"productTypeL2": {
"description": "Second level of the product type in merchant's own [product taxonomy](https://support.google.com/merchants/answer/6324436).",
"type": "string"
},
"productTypeL3": {
"description": "Third level of the product type in merchant's own [product taxonomy](https://support.google.com/merchants/answer/6324436).",
"type": "string"
},
"productTypeL4": {
"description": "Fourth level of the product type in merchant's own [product taxonomy](https://support.google.com/merchants/answer/6324436).",
"type": "string"
},
"productTypeL5": {
"description": "Fifth level of the product type in merchant's own [product taxonomy](https://support.google.com/merchants/answer/6324436).",
"type": "string"
},
"shippingLabel": {
"description": "The normalized shipping label specified in the feed",
"type": "string"
},
"title": {
"description": "Title of the product.",
"type": "string"
}
},
"type": "object"
},
"ProductViewItemIssue": {
"description": "Item issue associated with the product.",
"id": "ProductViewItemIssue",
"properties": {
"issueType": {
"$ref": "ProductViewItemIssueItemIssueType",
"description": "Item issue type."
},
"resolution": {
"description": "Item issue resolution.",
"enum": [
"UNKNOWN",
"MERCHANT_ACTION",
"PENDING_PROCESSING"
],
"enumDescriptions": [
"Unknown resolution type.",
"The merchant has to fix the issue.",
"The issue will be resolved automatically (for example, image crawl), or Google review. No merchant action is required now. Resolution might lead to another issue (for example, if crawl fails)."
],
"type": "string"
},
"severity": {
"$ref": "ProductViewItemIssueItemIssueSeverity",
"description": "Item issue severity."
}
},
"type": "object"
},
"ProductViewItemIssueIssueSeverityPerDestination": {
"description": "Issue severity for all affected regions in a destination.",
"id": "ProductViewItemIssueIssueSeverityPerDestination",
"properties": {
"demotedCountries": {
"description": "List of demoted countries in the destination.",
"items": {
"type": "string"
},
"type": "array"
},
"destination": {
"description": "Issue destination.",
"type": "string"
},
"disapprovedCountries": {
"description": "List of disapproved countries in the destination.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"ProductViewItemIssueItemIssueSeverity": {
"description": "Severity of an issue per destination in a region, and aggregated severity.",
"id": "ProductViewItemIssueItemIssueSeverity",
"properties": {
"aggregatedSeverity": {
"description": "Severity of an issue aggregated for destination.",
"enum": [
"AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED",
"DISAPPROVED",
"DEMOTED",
"PENDING"
],
"enumDescriptions": [
"Undefined Issue severity.",
"Issue disapproves the product in at least one of the selected destinations.",
"Issue demotes the product in all selected destinations it affects.",
"Issue resolution is `PENDING_PROCESSING`."
],
"type": "string"
},
"severityPerDestination": {
"description": "Item issue severity for every destination.",
"items": {
"$ref": "ProductViewItemIssueIssueSeverityPerDestination"
},
"type": "array"
}
},
"type": "object"
},
"ProductViewItemIssueItemIssueType": {
"description": "Type of the item issue.",
"id": "ProductViewItemIssueItemIssueType",
"properties": {
"canonicalAttribute": {
"description": "Canonical attribute name for attribute-specific issues.",
"type": "string"
},
"code": {
"description": "Error code of the issue.",
"type": "string"
}
},
"type": "object"
},
"ProductWeight": {
"id": "ProductWeight",
"properties": {
"unit": {
"description": "Required. The weight unit. Acceptable values are: - \"`g`\" - \"`kg`\" - \"`oz`\" - \"`lb`\" ",
"type": "string"
},
"value": {
"description": "Required. The weight represented as a number. The weight can have a maximum precision of four decimal places.",
"format": "double",
"type": "number"
}
},
"type": "object"
},
"ProductsCustomBatchRequest": {
"id": "ProductsCustomBatchRequest",
"properties": {
"entries": {
"description": "The request entries to be processed in the batch.",
"items": {
"$ref": "ProductsCustomBatchRequestEntry"
},
"type": "array"
}
},
"type": "object"
},
"ProductsCustomBatchRequestEntry": {
"description": "A batch entry encoding a single non-batch products request.",
"id": "ProductsCustomBatchRequestEntry",
"properties": {
"batchId": {
"description": "An entry ID, unique within the batch request.",
"format": "uint32",
"type": "integer"
},
"feedId": {
"description": "The Content API Supplemental Feed ID. If present then product insertion or deletion applies to a supplemental feed instead of primary Content API feed.",
"format": "uint64",
"type": "string"
},
"merchantId": {
"description": "The ID of the managing account.",
"format": "uint64",
"type": "string"
},
"method": {
"description": "The method of the batch entry. Acceptable values are: - \"`delete`\" - \"`get`\" - \"`insert`\" - \"`update`\" ",
"type": "string"
},
"product": {
"$ref": "Product",
"description": "The product to insert or update. Only required if the method is `insert` or `update`. If the `update` method is used with `updateMask` only to delete a field, then this isn't required. For example, setting `salePrice` on the `updateMask` and not providing a `product` will result in an existing sale price on the product specified by `productId` being deleted."
},
"productId": {
"description": "The ID of the product to get or mutate. Only defined if the method is `get`, `delete`, or `update`.",
"type": "string"
},
"updateMask": {
"description": "The comma-separated list of product attributes to be updated. Example: `\"title,salePrice\"`. Attributes specified in the update mask without a value specified in the body will be deleted from the product. *You must specify the update mask to delete attributes.* Only top-level product attributes can be updated. If not defined, product attributes with set values will be updated and other attributes will stay unchanged. Only defined if the method is `update`.",
"format": "google-fieldmask",
"type": "string"
}
},
"type": "object"
},
"ProductsCustomBatchResponse": {
"id": "ProductsCustomBatchResponse",
"properties": {
"entries": {
"description": "The result of the execution of the batch requests.",
"items": {
"$ref": "ProductsCustomBatchResponseEntry"
},
"type": "array"
},
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#productsCustomBatchResponse`\".",
"type": "string"
}
},
"type": "object"
},
"ProductsCustomBatchResponseEntry": {
"description": "A batch entry encoding a single non-batch products response.",
"id": "ProductsCustomBatchResponseEntry",
"properties": {
"batchId": {
"description": "The ID of the request entry this entry responds to.",
"format": "uint32",
"type": "integer"
},
"errors": {
"$ref": "Errors",
"description": "A list of errors for failed custombatch entries. *Note:* Schema errors fail the whole request."
},
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#productsCustomBatchResponseEntry`\"",
"type": "string"
},
"product": {
"$ref": "Product",
"description": "The inserted product. Only defined if the method is `insert` and if the request was successful."
}
},
"type": "object"
},
"ProductsListResponse": {
"id": "ProductsListResponse",
"properties": {
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#productsListResponse`\".",
"type": "string"
},
"nextPageToken": {
"description": "The token for the retrieval of the next page of products.",
"type": "string"
},
"resources": {
"items": {
"$ref": "Product"
},
"type": "array"
}
},
"type": "object"
},
"ProductstatusesCustomBatchRequest": {
"id": "ProductstatusesCustomBatchRequest",
"properties": {
"entries": {
"description": "The request entries to be processed in the batch.",
"items": {
"$ref": "ProductstatusesCustomBatchRequestEntry"
},
"type": "array"
}
},
"type": "object"
},
"ProductstatusesCustomBatchRequestEntry": {
"description": "A batch entry encoding a single non-batch productstatuses request.",
"id": "ProductstatusesCustomBatchRequestEntry",
"properties": {
"batchId": {
"description": "An entry ID, unique within the batch request.",
"format": "uint32",
"type": "integer"
},
"destinations": {
"description": "If set, only issues for the specified destinations are returned, otherwise only issues for the Shopping destination.",
"items": {
"type": "string"
},
"type": "array"
},
"includeAttributes": {
"deprecated": true,
"description": "Deprecated: Setting this field has no effect and attributes are never included.",
"type": "boolean"
},
"merchantId": {
"description": "The ID of the managing account.",
"format": "uint64",
"type": "string"
},
"method": {
"description": "The method of the batch entry. Acceptable values are: - \"`get`\" ",
"type": "string"
},
"productId": {
"description": "The ID of the product whose status to get.",
"type": "string"
}
},
"type": "object"
},
"ProductstatusesCustomBatchResponse": {
"id": "ProductstatusesCustomBatchResponse",
"properties": {
"entries": {
"description": "The result of the execution of the batch requests.",
"items": {
"$ref": "ProductstatusesCustomBatchResponseEntry"
},
"type": "array"
},
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#productstatusesCustomBatchResponse`\".",
"type": "string"
}
},
"type": "object"
},
"ProductstatusesCustomBatchResponseEntry": {
"description": "A batch entry encoding a single non-batch productstatuses response.",
"id": "ProductstatusesCustomBatchResponseEntry",
"properties": {
"batchId": {
"description": "The ID of the request entry this entry responds to.",
"format": "uint32",
"type": "integer"
},
"errors": {
"$ref": "Errors",
"description": "A list of errors for failed custombatch entries. *Note:* Schema errors fail the whole request."
},
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#productstatusesCustomBatchResponseEntry`\"",
"type": "string"
},
"productStatus": {
"$ref": "ProductStatus",
"description": "The requested product status. Only defined if the request was successful."
}
},
"type": "object"
},
"ProductstatusesListResponse": {
"id": "ProductstatusesListResponse",
"properties": {
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#productstatusesListResponse`\".",
"type": "string"
},
"nextPageToken": {
"description": "The token for the retrieval of the next page of products statuses.",
"type": "string"
},
"resources": {
"items": {
"$ref": "ProductStatus"
},
"type": "array"
}
},
"type": "object"
},
"Promotion": {
"description": "Represents a promotion. See the following articles for more details. * [Promotions feed specification](https://support.google.com/merchants/answer/2906014) * [Local promotions feed specification](https://support.google.com/merchants/answer/10146130) * [Promotions on Buy on Google product data specification](https://support.google.com/merchants/answer/9173673)",
"id": "Promotion",
"properties": {
"brand": {
"description": "Product filter by brand for the promotion.",
"items": {
"type": "string"
},
"type": "array"
},
"brandExclusion": {
"description": "Product filter by brand exclusion for the promotion.",
"items": {
"type": "string"
},
"type": "array"
},
"contentLanguage": {
"description": "Required. The content language used as part of the unique identifier. `en` content language is available for all target countries. `fr` content language is available for `CA` and `FR` target countries. `de` content language is available for `DE` target country. `nl` content language is available for `NL` target country. `it` content language is available for `IT` target country. `pt` content language is available for `BR` target country. `ja` content language is available for `JP` target country. `ko` content language is available for `KR` target country.",
"type": "string"
},
"couponValueType": {
"description": "Required. Coupon value type for the promotion.",
"enum": [
"COUPON_VALUE_TYPE_UNSPECIFIED",
"MONEY_OFF",
"PERCENT_OFF",
"BUY_M_GET_N_MONEY_OFF",
"BUY_M_GET_N_PERCENT_OFF",
"BUY_M_GET_MONEY_OFF",
"BUY_M_GET_PERCENT_OFF",
"FREE_GIFT",
"FREE_GIFT_WITH_VALUE",
"FREE_GIFT_WITH_ITEM_ID",
"FREE_SHIPPING_STANDARD",
"FREE_SHIPPING_OVERNIGHT",
"FREE_SHIPPING_TWO_DAY"
],
"enumDescriptions": [
"Indicates that the coupon value type is unspecified.",
"Money off coupon value type.",
"Percent off coupon value type.",
"Buy M quantity, get N money off coupon value type. `buy_this_quantity` and `get_this_quantity` must be present. `money_off_amount` must also be present.",
"Buy M quantity, get N percent off coupon value type. `buy_this_quantity` and `get_this_quantity` must be present. `percent_off_percentage` must also be present.",
"Buy M quantity, get money off. `buy_this_quantity` and `money_off_amount` must be present.",
"Buy M quantity, get money off. `buy_this_quantity` and `percent_off_percentage` must be present.",
"Free gift with description only.",
"Free gift with value (description is optional).",
"Free gift with item ID (description is optional).",
"Standard free shipping coupon value type.",
"Overnight free shipping coupon value type.",
"Two day free shipping coupon value type."
],
"type": "string"
},
"customRedemptionRestriction": {
"description": "The custom redemption restriction for the promotion. If the `redemption_restriction` field is set to `CUSTOM`, this field must be set.",
"type": "string"
},
"freeGiftDescription": {
"description": "Free gift description for the promotion.",
"type": "string"
},
"freeGiftItemId": {
"description": "Free gift item ID for the promotion.",
"type": "string"
},
"freeGiftValue": {
"$ref": "PriceAmount",
"description": "Free gift value for the promotion."
},
"genericRedemptionCode": {
"description": "Generic redemption code for the promotion. To be used with the `offerType` field.",
"type": "string"
},
"getThisQuantityDiscounted": {
"description": "The number of items discounted in the promotion.",
"format": "int32",
"type": "integer"
},
"id": {
"description": "Output only. The REST promotion ID to uniquely identify the promotion. Content API methods that operate on promotions take this as their `promotionId` parameter. The REST ID for a promotion is of the form channel:contentLanguage:targetCountry:promotionId The `channel` field has a value of `\"online\"`, `\"in_store\"`, or `\"online_in_store\"`.",
"readOnly": true,
"type": "string"
},
"itemGroupId": {
"description": "Product filter by item group ID for the promotion.",
"items": {
"type": "string"
},
"type": "array"
},
"itemGroupIdExclusion": {
"description": "Product filter by item group ID exclusion for the promotion.",
"items": {
"type": "string"
},
"type": "array"
},
"itemId": {
"description": "Product filter by item ID for the promotion.",
"items": {
"type": "string"
},
"type": "array"
},
"itemIdExclusion": {
"description": "Product filter by item ID exclusion for the promotion.",
"items": {
"type": "string"
},
"type": "array"
},
"limitQuantity": {
"description": "Maximum purchase quantity for the promotion.",
"format": "int32",
"type": "integer"
},
"limitValue": {
"$ref": "PriceAmount",
"description": "Maximum purchase value for the promotion."
},
"longTitle": {
"description": "Required. Long title for the promotion.",
"type": "string"
},
"maxDiscountAmount": {
"$ref": "PriceAmount",
"description": "The maximum monetary discount a customer can receive for the promotion. This field is only supported with the `Percent off` coupon value type."
},
"minimumPurchaseAmount": {
"$ref": "PriceAmount",
"description": "Minimum purchase amount for the promotion."
},
"minimumPurchaseQuantity": {
"description": "Minimum purchase quantity for the promotion.",
"format": "int32",
"type": "integer"
},
"moneyBudget": {
"$ref": "PriceAmount",
"description": "Cost cap for the promotion."
},
"moneyOffAmount": {
"$ref": "PriceAmount",
"description": "The money off amount offered in the promotion."
},
"offerType": {
"description": "Required. Type of the promotion.",
"enum": [
"OFFER_TYPE_UNSPECIFIED",
"NO_CODE",
"GENERIC_CODE"
],
"enumDescriptions": [
"Unknown offer type.",
"Offer type without a code.",
"Offer type with a code."
],
"type": "string"
},
"orderLimit": {
"description": "Order limit for the promotion.",
"format": "int32",
"type": "integer"
},
"percentOff": {
"description": "The percentage discount offered in the promotion.",
"format": "int32",
"type": "integer"
},
"productApplicability": {
"description": "Required. Applicability of the promotion to either all products or only specific products.",
"enum": [
"PRODUCT_APPLICABILITY_UNSPECIFIED",
"ALL_PRODUCTS",
"SPECIFIC_PRODUCTS"
],
"enumDescriptions": [
"Which products the promotion applies to is unknown.",
"Applicable to all products.",
"Applicable to only a single product or list of products."
],
"type": "string"
},
"productType": {
"description": "Product filter by product type for the promotion.",
"items": {
"type": "string"
},
"type": "array"
},
"productTypeExclusion": {
"description": "Product filter by product type exclusion for the promotion.",
"items": {
"type": "string"
},
"type": "array"
},
"promotionDestinationIds": {
"description": "Destination ID for the promotion.",
"items": {
"type": "string"
},
"type": "array"
},
"promotionDisplayDates": {
"deprecated": true,
"description": "String representation of the promotion display dates. Deprecated. Use `promotion_display_time_period` instead.",
"type": "string"
},
"promotionDisplayTimePeriod": {
"$ref": "TimePeriod",
"description": "`TimePeriod` representation of the promotion's display dates."
},
"promotionEffectiveDates": {
"deprecated": true,
"description": "String representation of the promotion effective dates. Deprecated. Use `promotion_effective_time_period` instead.",
"type": "string"
},
"promotionEffectiveTimePeriod": {
"$ref": "TimePeriod",
"description": "Required. `TimePeriod` representation of the promotion's effective dates."
},
"promotionId": {
"description": "Required. The user provided promotion ID to uniquely identify the promotion.",
"type": "string"
},
"promotionStatus": {
"$ref": "PromotionPromotionStatus",
"description": "Output only. The current status of the promotion.",
"readOnly": true
},
"promotionUrl": {
"description": "URL to the page on the merchant's site where the promotion shows. Local Inventory ads promotions throw an error if no promo url is included. URL is used to confirm that the promotion is valid and can be redeemed.",
"type": "string"
},
"redemptionChannel": {
"description": "Required. Redemption channel for the promotion. At least one channel is required.",
"items": {
"enum": [
"REDEMPTION_CHANNEL_UNSPECIFIED",
"IN_STORE",
"ONLINE"
],
"enumDescriptions": [
"Indicates that the channel is unspecified.",
"Indicates that the channel is in store.",
"Indicates that the channel is online."
],
"type": "string"
},
"type": "array"
},
"redemptionRestriction": {
"description": "The redemption restriction for the promotion.",
"enum": [
"REDEMPTION_RESTRICTION_UNSPECIFIED",
"SUBSCRIBE_AND_SAVE",
"FIRST_ORDER",
"SIGN_UP_FOR_EMAIL",
"SIGN_UP_FOR_TEXT",
"FORMS_OF_PAYMENT",
"CUSTOM"
],
"enumDescriptions": [
"The redemption restriction is unspecified.",
"The customer must subscribe to the merchant's channel to redeem the promotion.",
"The customer must be a first-time customer to redeem the promotion.",
"The customer must sign up for email's to redeem the promotion.",
"The customer must sign up for text to redeem the promotion.",
"The customer must use a specific form of payment to redeem the promotion.",
"The customer must meet a custom restriction to redeem the promotion. If selected, the `custom_redemption_restriction` field must be set."
],
"type": "string"
},
"shippingServiceNames": {
"description": "Shipping service names for the promotion.",
"items": {
"type": "string"
},
"type": "array"
},
"storeApplicability": {
"description": "Whether the promotion applies to all stores, or only specified stores. Local Inventory ads promotions throw an error if no store applicability is included. An INVALID_ARGUMENT error is thrown if store_applicability is set to ALL_STORES and store_code or score_code_exclusion is set to a value.",
"enum": [
"STORE_APPLICABILITY_UNSPECIFIED",
"ALL_STORES",
"SPECIFIC_STORES"
],
"enumDescriptions": [
"Which store codes the promotion applies to is unknown.",
"Promotion applies to all stores.",
"Promotion applies to only the specified stores."
],
"type": "string"
},
"storeCode": {
"description": "Store codes to include for the promotion.",
"items": {
"type": "string"
},
"type": "array"
},
"storeCodeExclusion": {
"description": "Store codes to exclude for the promotion.",
"items": {
"type": "string"
},
"type": "array"
},
"targetCountry": {
"description": "Required. The target country used as part of the unique identifier. Can be `AU`, `CA`, `DE`, `FR`, `GB`, `IN`, `US`, `BR`, `ES`, `NL`, `JP`, `IT` or `KR`.",
"type": "string"
}
},
"type": "object"
},
"PromotionPromotionStatus": {
"description": "The status of the promotion.",
"id": "PromotionPromotionStatus",
"properties": {
"creationDate": {
"description": "Date on which the promotion has been created in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format: Date, time, and offset, for example \"2020-01-02T09:00:00+01:00\" or \"2020-01-02T09:00:00Z\"",
"type": "string"
},
"destinationStatuses": {
"description": "The intended destinations for the promotion.",
"items": {
"$ref": "PromotionPromotionStatusDestinationStatus"
},
"type": "array"
},
"lastUpdateDate": {
"description": "Date on which the promotion status has been last updated in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format: Date, time, and offset, for example \"2020-01-02T09:00:00+01:00\" or \"2020-01-02T09:00:00Z\"",
"type": "string"
},
"promotionIssue": {
"description": "A list of issues associated with the promotion.",
"items": {
"$ref": "PromotionPromotionStatusPromotionIssue"
},
"type": "array"
}
},
"type": "object"
},
"PromotionPromotionStatusDestinationStatus": {
"description": "The destination status of the promotion.",
"id": "PromotionPromotionStatusDestinationStatus",
"properties": {
"destination": {
"description": "The name of the destination.",
"type": "string"
},
"status": {
"description": "The status for the specified destination.",
"enum": [
"STATE_UNSPECIFIED",
"IN_REVIEW",
"REJECTED",
"LIVE",
"STOPPED",
"EXPIRED",
"PENDING"
],
"enumDescriptions": [
"Unknown promotion state.",
"The promotion is under review.",
"The promotion is disapproved",
"The promotion is approved and active.",
"The promotion is stopped by merchant.",
"The promotion is no longer active.",
"The promotion is not stopped, and all reviews are approved, but the active date is in the future."
],
"type": "string"
}
},
"type": "object"
},
"PromotionPromotionStatusPromotionIssue": {
"description": "The issue associated with the promotion.",
"id": "PromotionPromotionStatusPromotionIssue",
"properties": {
"code": {
"description": "Code of the issue.",
"type": "string"
},
"detail": {
"description": "Explanation of the issue.",
"type": "string"
}
},
"type": "object"
},
"PubsubNotificationSettings": {
"description": "Settings for Pub/Sub notifications, all methods require that the caller is a direct user of the merchant center account.",
"id": "PubsubNotificationSettings",
"properties": {
"cloudTopicName": {
"description": "Cloud pub/sub topic to which notifications are sent (read-only).",
"type": "string"
},
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#pubsubNotificationSettings`\"",
"type": "string"
},
"registeredEvents": {
"description": "List of event types. Acceptable values are: - \"`orderPendingShipment`\" ",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"RateGroup": {
"id": "RateGroup",
"properties": {
"applicableShippingLabels": {
"description": "A list of shipping labels defining the products to which this rate group applies to. This is a disjunction: only one of the labels has to match for the rate group to apply. May only be empty for the last rate group of a service. Required.",
"items": {
"type": "string"
},
"type": "array"
},
"carrierRates": {
"description": "A list of carrier rates that can be referred to by `mainTable` or `singleValue`.",
"items": {
"$ref": "CarrierRate"
},
"type": "array"
},
"mainTable": {
"$ref": "Table",
"description": "A table defining the rate group, when `singleValue` is not expressive enough. Can only be set if `singleValue` is not set."
},
"name": {
"description": "Name of the rate group. Optional. If set has to be unique within shipping service.",
"type": "string"
},
"singleValue": {
"$ref": "Value",
"description": "The value of the rate group (for example, flat rate $10). Can only be set if `mainTable` and `subtables` are not set."
},
"subtables": {
"description": "A list of subtables referred to by `mainTable`. Can only be set if `mainTable` is set.",
"items": {
"$ref": "Table"
},
"type": "array"
}
},
"type": "object"
},
"Recommendation": {
"description": "Recommendations are suggested ways to improve your merchant account's performance. For example, to engage with a feature, or start using a new Google product.",
"id": "Recommendation",
"properties": {
"additionalCallToAction": {
"description": "Output only. CTAs of this recommendation. Repeated.",
"items": {
"$ref": "RecommendationCallToAction"
},
"readOnly": true,
"type": "array"
},
"additionalDescriptions": {
"description": "Output only. List of additional localized descriptions for a recommendation. Localication uses the `languageCode` field in `GenerateRecommendations` requests. Not all description types are guaranteed to be present and we recommend to rely on default description.",
"items": {
"$ref": "RecommendationDescription"
},
"readOnly": true,
"type": "array"
},
"creative": {
"description": "Output only. Any creatives attached to the recommendation. Repeated.",
"items": {
"$ref": "RecommendationCreative"
},
"readOnly": true,
"type": "array"
},
"defaultCallToAction": {
"$ref": "RecommendationCallToAction",
"description": "Optional. Default CTA of the recommendation."
},
"defaultDescription": {
"description": "Optional. Localized recommendation description. The localization the {@link `GenerateRecommendationsRequest.language_code`} field in {@link `GenerateRecommendationsRequest`} requests.",
"type": "string"
},
"numericalImpact": {
"description": "Optional. A numerical score of the impact from the recommendation's description. For example, a recommendation might suggest an upward trend in sales for a certain product. Higher number means larger impact.",
"format": "int32",
"type": "integer"
},
"paid": {
"description": "Optional. Indicates whether a user needs to pay when they complete the user journey suggested by the recommendation.",
"type": "boolean"
},
"recommendationName": {
"description": "Optional. Localized recommendation name. The localization uses the {@link `GenerateRecommendationsRequest.language_code`} field in {@link `GenerateRecommendationsRequest`} requests.",
"type": "string"
},
"subType": {
"description": "Optional. Subtype of the recommendations. Only applicable when multiple recommendations can be generated per type, and is used as an identifier of recommendation under the same recommendation type.",
"type": "string"
},
"title": {
"description": "Optional. Localized Recommendation Title. Localization uses the {@link `GenerateRecommendationsRequest.language_code`} field in {@link `GenerateRecommendationsRequest`} requests.",
"type": "string"
},
"type": {
"description": "Output only. Type of the recommendation. List of currently available recommendation types: - OPPORTUNITY_CREATE_NEW_COLLECTION - OPPORTUNITY_CREATE_EMAIL_CAMPAIGN",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"RecommendationCallToAction": {
"description": "Call to action (CTA) that explains how a merchant can implement this recommendation",
"id": "RecommendationCallToAction",
"properties": {
"intent": {
"description": "Output only. Intent of the action. This value describes the intent (for example, `OPEN_CREATE_EMAIL_CAMPAIGN_FLOW`) and can vary from recommendation to recommendation. This value can change over time for the same recommendation. Currently available intent values: - OPEN_CREATE_EMAIL_CAMPAIGN_FLOW: Opens a user journey where they can create a marketing email campaign. (No default URL) - OPEN_CREATE_COLLECTION_TAB: Opens a user journey where they can [create a collection](https://support.google.com/merchants/answer/9703228) for their Merchant account. (No default URL)",
"readOnly": true,
"type": "string"
},
"localizedText": {
"description": "Output only. Localized text of the CTA. Optional.",
"readOnly": true,
"type": "string"
},
"uri": {
"description": "Optional. URL of the CTA. This field will only be set for some recommendations where there is a suggested landing URL. Otherwise it will be set to an empty string. We recommend developers to use their own custom landing page according to the description of the intent field above when this uri field is empty.",
"type": "string"
}
},
"type": "object"
},
"RecommendationCreative": {
"description": "Creative is a multimedia attachment to recommendation that can be used on the frontend.",
"id": "RecommendationCreative",
"properties": {
"type": {
"description": "Type of the creative.",
"enum": [
"CREATIVE_TYPE_UNSPECIFIED",
"VIDEO",
"PHOTO"
],
"enumDescriptions": [
"Default value. If provided, shall be considered invalid.",
"Video creatives.",
"Photo creatives."
],
"type": "string"
},
"uri": {
"description": "URL of the creative.",
"type": "string"
}
},
"type": "object"
},
"RecommendationDescription": {
"description": "Google-provided description for the recommendation.",
"id": "RecommendationDescription",
"properties": {
"text": {
"description": "Output only. Text of the description.",
"readOnly": true,
"type": "string"
},
"type": {
"description": "Output only. Type of the description.",
"enum": [
"DESCRIPTION_TYPE_UNSPECIFIED",
"SHORT",
"LONG"
],
"enumDescriptions": [
"Default value. Will never be provided by the API.",
"Short description.",
"Long description."
],
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"Region": {
"description": "Represents a geographic region that you can use as a target with both the `RegionalInventory` and `ShippingSettings` services. You can define regions as collections of either postal codes or, in some countries, using predefined geotargets.",
"id": "Region",
"properties": {
"displayName": {
"description": "The display name of the region.",
"type": "string"
},
"geotargetArea": {
"$ref": "RegionGeoTargetArea",
"description": "A list of geotargets that defines the region area."
},
"merchantId": {
"description": "Output only. Immutable. Merchant that owns the region.",
"format": "int64",
"readOnly": true,
"type": "string"
},
"postalCodeArea": {
"$ref": "RegionPostalCodeArea",
"description": "A list of postal codes that defines the region area."
},
"regionId": {
"description": "Output only. Immutable. The ID uniquely identifying each region.",
"readOnly": true,
"type": "string"
},
"regionalInventoryEligible": {
"description": "Output only. Indicates if the region is eligible to use in the Regional Inventory configuration.",
"readOnly": true,
"type": "boolean"
},
"shippingEligible": {
"description": "Output only. Indicates if the region is eligible to use in the Shipping Services configuration.",
"readOnly": true,
"type": "boolean"
}
},
"type": "object"
},
"RegionGeoTargetArea": {
"description": "A list of geotargets that defines the region area.",
"id": "RegionGeoTargetArea",
"properties": {
"geotargetCriteriaIds": {
"description": "Required. A non-empty list of [location IDs](https://developers.google.com/adwords/api/docs/appendix/geotargeting). They must all be of the same location type (e.g., state).",
"items": {
"format": "int64",
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"RegionPostalCodeArea": {
"description": "A list of postal codes that defines the region area. Note: All regions defined using postal codes are accessible via the account's `ShippingSettings.postalCodeGroups` resource.",
"id": "RegionPostalCodeArea",
"properties": {
"postalCodes": {
"description": "Required. A range of postal codes.",
"items": {
"$ref": "RegionPostalCodeAreaPostalCodeRange"
},
"type": "array"
},
"regionCode": {
"description": "Required. CLDR territory code or the country the postal code group applies to.",
"type": "string"
}
},
"type": "object"
},
"RegionPostalCodeAreaPostalCodeRange": {
"description": "A range of postal codes that defines the region area.",
"id": "RegionPostalCodeAreaPostalCodeRange",
"properties": {
"begin": {
"description": "Required. A postal code or a pattern of the form prefix* denoting the inclusive lower bound of the range defining the area. Examples values: \"94108\", \"9410*\", \"9*\".",
"type": "string"
},
"end": {
"description": "Optional. A postal code or a pattern of the form prefix* denoting the inclusive upper bound of the range defining the area. It must have the same length as postalCodeRangeBegin: if postalCodeRangeBegin is a postal code then postalCodeRangeEnd must be a postal code too; if postalCodeRangeBegin is a pattern then postalCodeRangeEnd must be a pattern with the same prefix length. Optional: if not set, then the area is defined as being all the postal codes matching postalCodeRangeBegin.",
"type": "string"
}
},
"type": "object"
},
"RegionalInventory": {
"description": "Regional inventory resource. contains the regional name and all attributes which are overridden for the specified region.",
"id": "RegionalInventory",
"properties": {
"availability": {
"description": "The availability of the product.",
"type": "string"
},
"customAttributes": {
"description": "A list of custom (merchant-provided) attributes. It can also be used for submitting any attribute of the feed specification in its generic form.",
"items": {
"$ref": "CustomAttribute"
},
"type": "array"
},
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#regionalInventory`\".",
"type": "string"
},
"price": {
"$ref": "Price",
"description": "The price of the product."
},
"regionId": {
"description": "The ID uniquely identifying each region.",
"type": "string"
},
"salePrice": {
"$ref": "Price",
"description": "The sale price of the product. Mandatory if `sale_price_effective_date` is defined."
},
"salePriceEffectiveDate": {
"description": "A date range represented by a pair of ISO 8601 dates separated by a space, comma, or slash. Both dates might be specified as 'null' if undecided.",
"type": "string"
}
},
"type": "object"
},
"RegionalinventoryCustomBatchRequest": {
"id": "RegionalinventoryCustomBatchRequest",
"properties": {
"entries": {
"description": "The request entries to be processed in the batch.",
"items": {
"$ref": "RegionalinventoryCustomBatchRequestEntry"
},
"type": "array"
}
},
"type": "object"
},
"RegionalinventoryCustomBatchRequestEntry": {
"description": "A batch entry encoding a single non-batch regional inventory request.",
"id": "RegionalinventoryCustomBatchRequestEntry",
"properties": {
"batchId": {
"description": "An entry ID, unique within the batch request.",
"format": "uint32",
"type": "integer"
},
"merchantId": {
"description": "The ID of the managing account.",
"format": "uint64",
"type": "string"
},
"method": {
"description": "Method of the batch request entry. Acceptable values are: - \"`insert`\" ",
"type": "string"
},
"productId": {
"description": "The ID of the product for which to update price and availability.",
"type": "string"
},
"regionalInventory": {
"$ref": "RegionalInventory",
"description": "Price and availability of the product."
}
},
"type": "object"
},
"RegionalinventoryCustomBatchResponse": {
"id": "RegionalinventoryCustomBatchResponse",
"properties": {
"entries": {
"description": "The result of the execution of the batch requests.",
"items": {
"$ref": "RegionalinventoryCustomBatchResponseEntry"
},
"type": "array"
},
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#regionalinventoryCustomBatchResponse`\".",
"type": "string"
}
},
"type": "object"
},
"RegionalinventoryCustomBatchResponseEntry": {
"description": "A batch entry encoding a single non-batch regional inventory response.",
"id": "RegionalinventoryCustomBatchResponseEntry",
"properties": {
"batchId": {
"description": "The ID of the request entry this entry responds to.",
"format": "uint32",
"type": "integer"
},
"errors": {
"$ref": "Errors",
"description": "A list of errors for failed custombatch entries. *Note:* Schema errors fail the whole request."
},
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#regionalinventoryCustomBatchResponseEntry`\".",
"type": "string"
},
"regionalInventory": {
"$ref": "RegionalInventory",
"description": "Price and availability of the product."
}
},
"type": "object"
},
"RenderAccountIssuesRequestPayload": {
"description": "The payload for configuring how the content should be rendered.",
"id": "RenderAccountIssuesRequestPayload",
"properties": {
"contentOption": {
"description": "Optional. How the detailed content should be returned. Default option is to return the content as a pre-rendered HTML text.",
"enum": [
"CONTENT_OPTION_UNSPECIFIED",
"PRE_RENDERED_HTML"
],
"enumDescriptions": [
"Default value. Will never be provided by the API.",
"Returns the detail of the issue as a pre-rendered HTML text."
],
"type": "string"
},
"userInputActionOption": {
"description": "Optional. How actions with user input form should be handled. If not provided, actions will be returned as links that points merchant to Merchant Center where they can request the action.",
"enum": [
"USER_INPUT_ACTION_RENDERING_OPTION_UNSPECIFIED",
"REDIRECT_TO_MERCHANT_CENTER",
"BUILT_IN_USER_INPUT_ACTIONS"
],
"enumDescriptions": [
"Default value. Will never be provided by the API.",
"Actions that require user input are represented only as links that points merchant to Merchant Center where they can request the action. Provides easier to implement alternative to `BUILT_IN_USER_INPUT_ACTIONS`.",
"Returns content and input form definition for each complex action. Your application needs to display this content and input form to the merchant before they can request processing of the action. To start the action, your application needs to call the `triggeraction` method."
],
"type": "string"
}
},
"type": "object"
},
"RenderAccountIssuesResponse": {
"description": "Response containing support content and actions for listed account issues.",
"id": "RenderAccountIssuesResponse",
"properties": {
"alternateDisputeResolution": {
"$ref": "AlternateDisputeResolution",
"deprecated": true,
"description": "Alternate Dispute Resolution (ADR) is deprecated. Use `prerendered_out_of_court_dispute_settlement` instead."
},
"issues": {
"description": "List of account issues for a given account. This list can be shown with compressed, expandable items. In the compressed form, the title and impact should be shown for each issue. Once the issue is expanded, the detailed content and available actions should be rendered.",
"items": {
"$ref": "AccountIssue"
},
"type": "array"
}
},
"type": "object"
},
"RenderProductIssuesRequestPayload": {
"description": "The payload for configuring how the content should be rendered.",
"id": "RenderProductIssuesRequestPayload",
"properties": {
"contentOption": {
"description": "Optional. How the detailed content should be returned. Default option is to return the content as a pre-rendered HTML text.",
"enum": [
"CONTENT_OPTION_UNSPECIFIED",
"PRE_RENDERED_HTML"
],
"enumDescriptions": [
"Default value. Will never be provided by the API.",
"Returns the detail of the issue as a pre-rendered HTML text."
],
"type": "string"
},
"userInputActionOption": {
"description": "Optional. How actions with user input form should be handled. If not provided, actions will be returned as links that points merchant to Merchant Center where they can request the action.",
"enum": [
"USER_INPUT_ACTION_RENDERING_OPTION_UNSPECIFIED",
"REDIRECT_TO_MERCHANT_CENTER",
"BUILT_IN_USER_INPUT_ACTIONS"
],
"enumDescriptions": [
"Default value. Will never be provided by the API.",
"Actions that require user input are represented only as links that points merchant to Merchant Center where they can request the action. Provides easier to implement alternative to `BUILT_IN_USER_INPUT_ACTIONS`.",
"Returns content and input form definition for each complex action. Your application needs to display this content and input form to the merchant before they can request processing of the action. To start the action, your application needs to call the `triggeraction` method."
],
"type": "string"
}
},
"type": "object"
},
"RenderProductIssuesResponse": {
"description": "Response containing support content and actions for listed product issues.",
"id": "RenderProductIssuesResponse",
"properties": {
"alternateDisputeResolution": {
"$ref": "AlternateDisputeResolution",
"deprecated": true,
"description": "Alternate Dispute Resolution (ADR) is deprecated. Use `prerendered_out_of_court_dispute_settlement` instead."
},
"issues": {
"description": "List of issues for a given product. This list can be shown with compressed, expandable items. In the compressed form, the title and impact should be shown for each issue. Once the issue is expanded, the detailed content and available actions should be rendered.",
"items": {
"$ref": "ProductIssue"
},
"type": "array"
}
},
"type": "object"
},
"ReportInteractionRequest": {
"description": "Request to report interactions on a recommendation.",
"id": "ReportInteractionRequest",
"properties": {
"interactionType": {
"description": "Required. Type of the interaction that is reported, for example INTERACTION_CLICK.",
"enum": [
"INTERACTION_TYPE_UNSPECIFIED",
"INTERACTION_DISMISS",
"INTERACTION_CLICK"
],
"enumDescriptions": [
"Default value. If provided, the service will throw ApiError with description \"Required parameter: interactionType\".",
"When a recommendation is dismissed.",
"When a recommendation is clicked."
],
"type": "string"
},
"responseToken": {
"description": "Required. Token of the response when recommendation was returned.",
"type": "string"
},
"subtype": {
"description": "Optional. Subtype of the recommendations this interaction happened on. This field must be set only to the value that is returned by {@link `RecommendationsService.GenerateRecommendations`} call.",
"type": "string"
},
"type": {
"description": "Required. Type of the recommendations on which this interaction happened. This field must be set only to the value that is returned by {@link `GenerateRecommendationsResponse`} call.",
"type": "string"
}
},
"type": "object"
},
"ReportRow": {
"description": "Result row returned from the search query.",
"id": "ReportRow",
"properties": {
"bestSellers": {
"$ref": "BestSellers",
"description": "Best sellers fields requested by the merchant in the query. Field values are only set if the merchant queries `BestSellersProductClusterView` or `BestSellersBrandView`."
},
"brand": {
"$ref": "Brand",
"description": "Brand fields requested by the merchant in the query. Field values are only set if the merchant queries `BestSellersBrandView`."
},
"competitiveVisibility": {
"$ref": "CompetitiveVisibility",
"description": "Competitive visibility fields requested by the merchant in the query. Field values are only set if the merchant queries `CompetitiveVisibilityTopMerchantView`, `CompetitiveVisibilityBenchmarkView` or `CompetitiveVisibilityCompetitorView`."
},
"metrics": {
"$ref": "Metrics",
"description": "Metrics requested by the merchant in the query. Metric values are only set for metrics requested explicitly in the query."
},
"priceCompetitiveness": {
"$ref": "PriceCompetitiveness",
"description": "Price competitiveness fields requested by the merchant in the query. Field values are only set if the merchant queries `PriceCompetitivenessProductView`."
},
"priceInsights": {
"$ref": "PriceInsights",
"description": "Price insights fields requested by the merchant in the query. Field values are only set if the merchant queries `PriceInsightsProductView`."
},
"productCluster": {
"$ref": "ProductCluster",
"description": "Product cluster fields requested by the merchant in the query. Field values are only set if the merchant queries `BestSellersProductClusterView`."
},
"productView": {
"$ref": "ProductView",
"description": "Product fields requested by the merchant in the query. Field values are only set if the merchant queries `ProductView`."
},
"segments": {
"$ref": "Segments",
"description": "Segmentation dimensions requested by the merchant in the query. Dimension values are only set for dimensions requested explicitly in the query."
},
"topicTrends": {
"$ref": "TopicTrends",
"description": "[Topic trends](https://support.google.com/merchants/answer/13542370) fields requested by the merchant in the query. Field values are only set if the merchant queries `TopicTrendsView`."
}
},
"type": "object"
},
"RequestPhoneVerificationRequest": {
"description": "Request message for the RequestPhoneVerification method.",
"id": "RequestPhoneVerificationRequest",
"properties": {
"languageCode": {
"description": "Language code [IETF BCP 47 syntax](https://tools.ietf.org/html/bcp47) (for example, en-US). Language code is used to provide localized `SMS` and `PHONE_CALL`. Default language used is en-US if not provided.",
"type": "string"
},
"phoneNumber": {
"description": "Phone number to be verified.",
"type": "string"
},
"phoneRegionCode": {
"description": "Required. Two letter country code for the phone number, for example `CA` for Canadian numbers. See the [ISO 3166-1 alpha-2](https://wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) officially assigned codes.",
"type": "string"
},
"phoneVerificationMethod": {
"description": "Verification method to receive verification code.",
"enum": [
"PHONE_VERIFICATION_METHOD_UNSPECIFIED",
"SMS",
"PHONE_CALL"
],
"enumDescriptions": [
"Unknown method.",
"Receive verification code by SMS.",
"Receive verification code by phone call."
],
"type": "string"
}
},
"type": "object"
},
"RequestPhoneVerificationResponse": {
"description": "Response message for the RequestPhoneVerification method.",
"id": "RequestPhoneVerificationResponse",
"properties": {
"verificationId": {
"description": "The verification ID to use in subsequent calls to `verifyphonenumber`.",
"type": "string"
}
},
"type": "object"
},
"RequestReviewFreeListingsRequest": {
"description": "Request message for the RequestReviewFreeListings Program method.",
"id": "RequestReviewFreeListingsRequest",
"properties": {
"regionCode": {
"description": "The code [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the country for which review is to be requested.",
"type": "string"
}
},
"type": "object"
},
"RequestReviewShoppingAdsRequest": {
"description": "Request message for the RequestReviewShoppingAds program method.",
"id": "RequestReviewShoppingAdsRequest",
"properties": {
"regionCode": {
"description": "The code [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the country for which review is to be requested.",
"type": "string"
}
},
"type": "object"
},
"ReturnPolicyOnline": {
"description": "Return policy online object. This is currently used to represent return policies for ads and free listings programs.",
"id": "ReturnPolicyOnline",
"properties": {
"countries": {
"description": "The countries of sale where the return policy is applicable. The values must be a valid 2 letter ISO 3166 code, e.g. \"US\".",
"items": {
"type": "string"
},
"type": "array"
},
"itemConditions": {
"description": "The item conditions that are accepted for returns. This is required to not be empty unless the type of return policy is noReturns.",
"items": {
"enum": [
"ITEM_CONDITION_UNSPECIFIED",
"NEW",
"USED"
],
"enumDescriptions": [
"Default value. This value is unused.",
"New.",
"Used."
],
"type": "string"
},
"type": "array"
},
"label": {
"description": "The unique user-defined label of the return policy. The same label cannot be used in different return policies for the same country. Policies with the label 'default' will apply to all products, unless a product specifies a return_policy_label attribute.",
"type": "string"
},
"name": {
"description": "The name of the policy as shown in Merchant Center.",
"type": "string"
},
"policy": {
"$ref": "ReturnPolicyOnlinePolicy",
"description": "The return policy."
},
"restockingFee": {
"$ref": "ReturnPolicyOnlineRestockingFee",
"description": "The restocking fee that applies to all return reason categories. This would be treated as a free restocking fee if the value is not set."
},
"returnMethods": {
"description": "The return methods of how customers can return an item. This value is required to not be empty unless the type of return policy is noReturns.",
"items": {
"enum": [
"RETURN_METHOD_UNSPECIFIED",
"BY_MAIL",
"IN_STORE",
"AT_A_KIOSK"
],
"enumDescriptions": [
"Default value. This value is unused.",
"By mail.",
"In store.",
"At a kiosk."
],
"type": "string"
},
"type": "array"
},
"returnPolicyId": {
"description": "Output only. Return policy ID generated by Google.",
"readOnly": true,
"type": "string"
},
"returnPolicyUri": {
"description": "The return policy uri. This can used by Google to do a sanity check for the policy.",
"type": "string"
},
"returnReasonCategoryInfo": {
"description": "The return reason category information. This required to not be empty unless the type of return policy is noReturns.",
"items": {
"$ref": "ReturnPolicyOnlineReturnReasonCategoryInfo"
},
"type": "array"
}
},
"type": "object"
},
"ReturnPolicyOnlinePolicy": {
"description": "The available policies.",
"id": "ReturnPolicyOnlinePolicy",
"properties": {
"days": {
"description": "The number of days items can be returned after delivery, where one day is defined to be 24 hours after the delivery timestamp. Required for `numberOfDaysAfterDelivery` returns.",
"format": "int64",
"type": "string"
},
"type": {
"description": "Policy type.",
"enum": [
"TYPE_UNSPECIFIED",
"NUMBER_OF_DAYS_AFTER_DELIVERY",
"NO_RETURNS",
"LIFETIME_RETURNS"
],
"enumDescriptions": [
"Default value. This value is unused.",
"Number of days after a return is delivered.",
"No returns.",
"Life time returns."
],
"type": "string"
}
},
"type": "object"
},
"ReturnPolicyOnlineRestockingFee": {
"description": "The restocking fee. This can either be a fixed fee or a micro percent.",
"id": "ReturnPolicyOnlineRestockingFee",
"properties": {
"fixedFee": {
"$ref": "PriceAmount",
"description": "Fixed restocking fee."
},
"microPercent": {
"description": "Percent of total price in micros. 15,000,000 means 15% of the total price would be charged.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"ReturnPolicyOnlineReturnReasonCategoryInfo": {
"description": "The return reason category info wrapper.",
"id": "ReturnPolicyOnlineReturnReasonCategoryInfo",
"properties": {
"returnLabelSource": {
"description": "The corresponding return label source. If the `ReturnMethod` field includes `BY_MAIL`, it is required to specify `ReturnLabelSource` for both `BUYER_REMORSE` and `ITEM_DEFECT` return reason categories.",
"enum": [
"RETURN_LABEL_SOURCE_UNSPECIFIED",
"DOWNLOAD_AND_PRINT",
"IN_THE_BOX",
"CUSTOMER_RESPONSIBILITY"
],
"enumDescriptions": [
"Default value. This value is unused.",
"Download and print the label.",
"Label in the box.",
"Customers' responsibility to get the label."
],
"type": "string"
},
"returnReasonCategory": {
"description": "The return reason category.",
"enum": [
"RETURN_REASON_CATEGORY_UNSPECIFIED",
"BUYER_REMORSE",
"ITEM_DEFECT"
],
"enumDescriptions": [
"Default value. This value is unused.",
"Buyer remorse.",
"Item defect."
],
"type": "string"
},
"returnShippingFee": {
"$ref": "ReturnPolicyOnlineReturnShippingFee",
"description": "The corresponding return shipping fee. This is only applicable when returnLabelSource is not the customer's responsibility."
}
},
"type": "object"
},
"ReturnPolicyOnlineReturnShippingFee": {
"description": "The return shipping fee. This can either be a fixed fee or a boolean to indicate that the customer pays the actual shipping cost.",
"id": "ReturnPolicyOnlineReturnShippingFee",
"properties": {
"fixedFee": {
"$ref": "PriceAmount",
"description": "Fixed return shipping fee amount. This value is only applicable when type is FIXED. We will treat the return shipping fee as free if type is FIXED and this value is not set."
},
"type": {
"description": "Type of return shipping fee.",
"enum": [
"TYPE_UNSPECIFIED",
"FIXED",
"CUSTOMER_PAYING_ACTUAL_FEE"
],
"enumDescriptions": [
"Default value. This value is unused.",
"The return shipping fee is a fixed value.",
"Customer will pay the actual return shipping fee."
],
"type": "string"
}
},
"type": "object"
},
"Row": {
"id": "Row",
"properties": {
"cells": {
"description": "The list of cells that constitute the row. Must have the same length as `columnHeaders` for two-dimensional tables, a length of 1 for one-dimensional tables. Required.",
"items": {
"$ref": "Value"
},
"type": "array"
}
},
"type": "object"
},
"SearchRequest": {
"description": "Request message for the ReportService.Search method.",
"id": "SearchRequest",
"properties": {
"pageSize": {
"description": "Number of ReportRows to retrieve in a single page. Defaults to 1000. Values above 5000 are coerced to 5000.",
"format": "int32",
"type": "integer"
},
"pageToken": {
"description": "Token of the page to retrieve. If not specified, the first page of results is returned. In order to request the next page of results, the value obtained from `next_page_token` in the previous response should be used.",
"type": "string"
},
"query": {
"description": "Required. Query that defines performance metrics to retrieve and dimensions according to which the metrics are to be segmented. For details on how to construct your query, see the [Query Language guide](https://developers.google.com/shopping-content/guides/reports/query-language/overview).",
"type": "string"
}
},
"type": "object"
},
"SearchResponse": {
"description": "Response message for the ReportService.Search method.",
"id": "SearchResponse",
"properties": {
"nextPageToken": {
"description": "Token which can be sent as `page_token` to retrieve the next page. If omitted, there are no subsequent pages.",
"type": "string"
},
"results": {
"description": "Rows that matched the search query.",
"items": {
"$ref": "ReportRow"
},
"type": "array"
}
},
"type": "object"
},
"Segments": {
"description": "Dimensions according to which metrics are segmented in the response. Values of product dimensions, such as `offer_id`, reflect the state of a product at the time of the corresponding event, for example, impression or order. Segment fields cannot be selected in queries without also selecting at least one metric field. Values are only set for dimensions requested explicitly in the request's search query.",
"id": "Segments",
"properties": {
"brand": {
"description": "Brand of the product.",
"type": "string"
},
"categoryL1": {
"description": "[Product category (1st level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in Google's product taxonomy.",
"type": "string"
},
"categoryL2": {
"description": "[Product category (2nd level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in Google's product taxonomy.",
"type": "string"
},
"categoryL3": {
"description": "[Product category (3rd level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in Google's product taxonomy.",
"type": "string"
},
"categoryL4": {
"description": "[Product category (4th level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in Google's product taxonomy.",
"type": "string"
},
"categoryL5": {
"description": "[Product category (5th level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in Google's product taxonomy.",
"type": "string"
},
"currencyCode": {
"description": "Currency in which price metrics are represented, for example, if you select `ordered_item_sales_micros`, the returned value will be represented by this currency.",
"type": "string"
},
"customLabel0": {
"description": "Custom label 0 for custom grouping of products.",
"type": "string"
},
"customLabel1": {
"description": "Custom label 1 for custom grouping of products.",
"type": "string"
},
"customLabel2": {
"description": "Custom label 2 for custom grouping of products.",
"type": "string"
},
"customLabel3": {
"description": "Custom label 3 for custom grouping of products.",
"type": "string"
},
"customLabel4": {
"description": "Custom label 4 for custom grouping of products.",
"type": "string"
},
"customerCountryCode": {
"description": "Code of the country where the customer is located at the time of the event. Represented in the ISO 3166 format. If the customer country cannot be determined, a special 'ZZ' code is returned.",
"type": "string"
},
"date": {
"$ref": "Date",
"description": "Date in the merchant timezone to which metrics apply."
},
"offerId": {
"description": "Merchant-provided id of the product.",
"type": "string"
},
"productTypeL1": {
"description": "[Product type (1st level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in merchant's own product taxonomy.",
"type": "string"
},
"productTypeL2": {
"description": "[Product type (2nd level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in merchant's own product taxonomy.",
"type": "string"
},
"productTypeL3": {
"description": "[Product type (3rd level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in merchant's own product taxonomy.",
"type": "string"
},
"productTypeL4": {
"description": "[Product type (4th level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in merchant's own product taxonomy.",
"type": "string"
},
"productTypeL5": {
"description": "[Product type (5th level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in merchant's own product taxonomy.",
"type": "string"
},
"program": {
"description": "Program to which metrics apply, for example, Free Product Listing.",
"enum": [
"PROGRAM_UNSPECIFIED",
"SHOPPING_ADS",
"FREE_PRODUCT_LISTING",
"FREE_LOCAL_PRODUCT_LISTING",
"BUY_ON_GOOGLE_LISTING"
],
"enumDescriptions": [
"Not specified.",
"Shopping Ads.",
"Free Product Listing.",
"Free Local Product Listing.",
"*Deprecated*: This value is no longer supported. Retrieving all metrics for the `BUY_ON_GOOGLE_LISTING` program returns 0 starting from May 2024. Buy on Google Listing."
],
"type": "string"
},
"title": {
"description": "Title of the product.",
"type": "string"
},
"week": {
"$ref": "Date",
"description": "First day of the week (Monday) of the metrics date in the merchant timezone."
}
},
"type": "object"
},
"Service": {
"id": "Service",
"properties": {
"active": {
"description": "A boolean exposing the active status of the shipping service. Required.",
"type": "boolean"
},
"currency": {
"description": "The CLDR code of the currency to which this service applies. Must match that of the prices in rate groups.",
"type": "string"
},
"deliveryCountry": {
"description": "The CLDR territory code of the country to which the service applies. Required.",
"type": "string"
},
"deliveryTime": {
"$ref": "DeliveryTime",
"description": "Time spent in various aspects from order to the delivery of the product. Required."
},
"eligibility": {
"description": "Eligibility for this service. Acceptable values are: - \"`All scenarios`\" - \"`All scenarios except Shopping Actions`\" - \"`Shopping Actions`\" ",
"type": "string"
},
"minimumOrderValue": {
"$ref": "Price",
"description": "Minimum order value for this service. If set, indicates that customers will have to spend at least this amount. All prices within a service must have the same currency. Cannot be set together with minimum_order_value_table."
},
"minimumOrderValueTable": {
"$ref": "MinimumOrderValueTable",
"description": "Table of per store minimum order values for the pickup fulfillment type. Cannot be set together with minimum_order_value."
},
"name": {
"description": "Free-form name of the service. Must be unique within target account. Required.",
"type": "string"
},
"pickupService": {
"$ref": "PickupCarrierService",
"description": "The carrier-service pair delivering items to collection points. The list of supported pickup services can be retrieved through the `getSupportedPickupServices` method. Required if and only if the service delivery type is `pickup`."
},
"rateGroups": {
"description": "Shipping rate group definitions. Only the last one is allowed to have an empty `applicableShippingLabels`, which means \"everything else\". The other `applicableShippingLabels` must not overlap.",
"items": {
"$ref": "RateGroup"
},
"type": "array"
},
"shipmentType": {
"description": "Type of locations this service ships orders to. Acceptable values are: - \"`delivery`\" - \"`pickup` (deprecated)\" - \"`local_delivery`\" - \"`collection_point`\" ",
"type": "string"
},
"storeConfig": {
"$ref": "ServiceStoreConfig",
"description": "A list of stores your products are delivered from. This is only available for the local delivery shipment type."
}
},
"type": "object"
},
"ServiceStoreConfig": {
"description": "Stores that provide local delivery. Only valid with local delivery fulfillment.",
"id": "ServiceStoreConfig",
"properties": {
"cutoffConfig": {
"$ref": "ServiceStoreConfigCutoffConfig",
"description": "Time local delivery ends for the day. This can be either `local_cutoff_time` or `store_close_offset_hours`, if both are provided an error is thrown."
},
"serviceRadius": {
"$ref": "Distance",
"description": "Maximum delivery radius. Only needed for local delivery fulfillment type."
},
"storeCodes": {
"description": "A list of store codes that provide local delivery. If empty, then `store_service_type` must be `all_stores`, or an error is thrown. If not empty, then `store_service_type` must be `selected_stores`, or an error is thrown.",
"items": {
"type": "string"
},
"type": "array"
},
"storeServiceType": {
"description": "Indicates whether all stores listed by this merchant provide local delivery or not. Acceptable values are `all stores` and `selected stores`",
"type": "string"
}
},
"type": "object"
},
"ServiceStoreConfigCutoffConfig": {
"description": "Time local delivery ends for the day based on the local timezone of the store. `local_cutoff_time` and `store_close_offset_hours` are mutually exclusive.",
"id": "ServiceStoreConfigCutoffConfig",
"properties": {
"localCutoffTime": {
"$ref": "ServiceStoreConfigCutoffConfigLocalCutoffTime",
"description": "Time in hours and minutes in the local timezone when local delivery ends."
},
"noDeliveryPostCutoff": {
"description": "Merchants can opt-out of showing n+1 day local delivery when they have a shipping service configured to n day local delivery. For example, if the shipping service defines same-day delivery, and it's past the cut-off, setting this field to `true` results in the calculated shipping service rate returning `NO_DELIVERY_POST_CUTOFF`. In the same example, setting this field to `false` results in the calculated shipping time being one day. This is only for local delivery.",
"type": "boolean"
},
"storeCloseOffsetHours": {
"description": "Represents cutoff time as the number of hours before store closing. Mutually exclusive with other fields (hour and minute).",
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"ServiceStoreConfigCutoffConfigLocalCutoffTime": {
"description": "Time in hours and minutes in the local timezone when local delivery ends.",
"id": "ServiceStoreConfigCutoffConfigLocalCutoffTime",
"properties": {
"hour": {
"description": "Hour local delivery orders must be placed by to process the same day.",
"format": "int64",
"type": "string"
},
"minute": {
"description": "Minute local delivery orders must be placed by to process the same day.",
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"ShippingSettings": {
"description": "The merchant account's shipping settings. All methods except getsupportedcarriers and getsupportedholidays require the admin role.",
"id": "ShippingSettings",
"properties": {
"accountId": {
"description": "The ID of the account to which these account shipping settings belong. Ignored upon update, always present in get request responses.",
"format": "uint64",
"type": "string"
},
"postalCodeGroups": {
"description": "A list of postal code groups that can be referred to in `services`. Optional.",
"items": {
"$ref": "PostalCodeGroup"
},
"type": "array"
},
"services": {
"description": "The target account's list of services. Optional.",
"items": {
"$ref": "Service"
},
"type": "array"
},
"warehouses": {
"description": "Optional. A list of warehouses which can be referred to in `services`.",
"items": {
"$ref": "Warehouse"
},
"type": "array"
}
},
"type": "object"
},
"ShippingsettingsCustomBatchRequest": {
"id": "ShippingsettingsCustomBatchRequest",
"properties": {
"entries": {
"description": "The request entries to be processed in the batch.",
"items": {
"$ref": "ShippingsettingsCustomBatchRequestEntry"
},
"type": "array"
}
},
"type": "object"
},
"ShippingsettingsCustomBatchRequestEntry": {
"description": "A batch entry encoding a single non-batch shippingsettings request.",
"id": "ShippingsettingsCustomBatchRequestEntry",
"properties": {
"accountId": {
"description": "The ID of the account for which to get/update account shipping settings.",
"format": "uint64",
"type": "string"
},
"batchId": {
"description": "An entry ID, unique within the batch request.",
"format": "uint32",
"type": "integer"
},
"merchantId": {
"description": "The ID of the managing account.",
"format": "uint64",
"type": "string"
},
"method": {
"description": "The method of the batch entry. Acceptable values are: - \"`get`\" - \"`update`\" ",
"type": "string"
},
"shippingSettings": {
"$ref": "ShippingSettings",
"description": "The account shipping settings to update. Only defined if the method is `update`."
}
},
"type": "object"
},
"ShippingsettingsCustomBatchResponse": {
"id": "ShippingsettingsCustomBatchResponse",
"properties": {
"entries": {
"description": "The result of the execution of the batch requests.",
"items": {
"$ref": "ShippingsettingsCustomBatchResponseEntry"
},
"type": "array"
},
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#shippingsettingsCustomBatchResponse`\".",
"type": "string"
}
},
"type": "object"
},
"ShippingsettingsCustomBatchResponseEntry": {
"description": "A batch entry encoding a single non-batch shipping settings response.",
"id": "ShippingsettingsCustomBatchResponseEntry",
"properties": {
"batchId": {
"description": "The ID of the request entry to which this entry responds.",
"format": "uint32",
"type": "integer"
},
"errors": {
"$ref": "Errors",
"description": "A list of errors for failed custombatch entries. *Note:* Schema errors fail the whole request."
},
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#shippingsettingsCustomBatchResponseEntry`\"",
"type": "string"
},
"shippingSettings": {
"$ref": "ShippingSettings",
"description": "The retrieved or updated account shipping settings."
}
},
"type": "object"
},
"ShippingsettingsGetSupportedCarriersResponse": {
"id": "ShippingsettingsGetSupportedCarriersResponse",
"properties": {
"carriers": {
"description": "A list of supported carriers. May be empty.",
"items": {
"$ref": "CarriersCarrier"
},
"type": "array"
},
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#shippingsettingsGetSupportedCarriersResponse`\".",
"type": "string"
}
},
"type": "object"
},
"ShippingsettingsGetSupportedHolidaysResponse": {
"id": "ShippingsettingsGetSupportedHolidaysResponse",
"properties": {
"holidays": {
"description": "A list of holidays applicable for delivery guarantees. May be empty.",
"items": {
"$ref": "HolidaysHoliday"
},
"type": "array"
},
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#shippingsettingsGetSupportedHolidaysResponse`\".",
"type": "string"
}
},
"type": "object"
},
"ShippingsettingsGetSupportedPickupServicesResponse": {
"id": "ShippingsettingsGetSupportedPickupServicesResponse",
"properties": {
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#shippingsettingsGetSupportedPickupServicesResponse`\".",
"type": "string"
},
"pickupServices": {
"description": "A list of supported pickup services. May be empty.",
"items": {
"$ref": "PickupServicesPickupService"
},
"type": "array"
}
},
"type": "object"
},
"ShippingsettingsListResponse": {
"id": "ShippingsettingsListResponse",
"properties": {
"kind": {
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#shippingsettingsListResponse`\".",
"type": "string"
},
"nextPageToken": {
"description": "The token for the retrieval of the next page of shipping settings.",
"type": "string"
},
"resources": {
"items": {
"$ref": "ShippingSettings"
},
"type": "array"
}
},
"type": "object"
},
"ShoppingAdsProgramStatus": {
"description": "Response message for GetShoppingAdsProgramStatus.",
"id": "ShoppingAdsProgramStatus",
"properties": {
"globalState": {
"description": "State of the program. `ENABLED` if there are offers for at least one region.",
"enum": [
"PROGRAM_STATE_UNSPECIFIED",
"NOT_ENABLED",
"NO_OFFERS_UPLOADED",
"ENABLED"
],
"enumDescriptions": [
"State is unknown.",
"Program is not enabled for any country.",
"No products have been uploaded for any region. Upload products to Merchant Center.",
"Program is enabled and offers are uploaded for at least one country."
],
"type": "string"
},
"regionStatuses": {
"description": "Status of the program in each region. Regions with the same status and review eligibility are grouped together in `regionCodes`.",
"items": {
"$ref": "ShoppingAdsProgramStatusRegionStatus"
},
"type": "array"
}
},
"type": "object"
},
"ShoppingAdsProgramStatusRegionStatus": {
"description": "Status of program and region.",
"id": "ShoppingAdsProgramStatusRegionStatus",
"properties": {
"disapprovalDate": {
"description": "Date by which eligibilityStatus will go from `WARNING` to `DISAPPROVED`. Only visible when your eligibilityStatus is WARNING. In [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DD`.",
"type": "string"
},
"eligibilityStatus": {
"description": "Eligibility status of the Shopping Ads program.",
"enum": [
"STATE_UNSPECIFIED",
"APPROVED",
"DISAPPROVED",
"WARNING",
"UNDER_REVIEW",
"PENDING_REVIEW",
"ONBOARDING"
],
"enumDescriptions": [
"State is not known.",
"If the account has no issues and review is completed successfully.",
"There are one or more issues that needs to be resolved for account to be active for the program. Detailed list of account issues are available in [accountstatuses](https://developers.google.com/shopping-content/reference/rest/v2.1/accountstatuses) API.",
"If account has issues but offers are servable. Some of the issue can make account DISAPPROVED after a certain deadline.",
"Account is under review.",
"Account is waiting for review to start.",
"Program is currently onboarding. Upload valid offers to complete onboarding."
],
"type": "string"
},
"onboardingIssues": {
"description": "Issues that must be fixed to be eligible for review.",
"items": {
"type": "string"
},
"type": "array"
},
"regionCodes": {
"description": "The two-letter [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) codes for all the regions with the same `eligibilityStatus` and `reviewEligibility`.",
"items": {
"type": "string"
},
"type": "array"
},
"reviewEligibilityStatus": {
"description": "If a program is eligible for review in a specific region. Only visible if `eligibilityStatus` is `DISAPPROVED`.",
"enum": [
"REVIEW_ELIGIBILITY_UNSPECIFIED",
"ELIGIBLE",
"INELIGIBLE"
],
"enumDescriptions": [
"Review eligibility state is unknown.",
"Account is eligible for review for a specified region code.",
"Account is not eligible for review for a specified region code."
],
"type": "string"
},
"reviewIneligibilityReason": {
"description": "Review ineligibility reason if account is not eligible for review.",
"enum": [
"REVIEW_INELIGIBILITY_REASON_UNSPECIFIED",
"ONBOARDING_ISSUES",
"NOT_ENOUGH_OFFERS",
"IN_COOLDOWN_PERIOD",
"ALREADY_UNDER_REVIEW",
"NO_REVIEW_REQUIRED",
"WILL_BE_REVIEWED_AUTOMATICALLY",
"IS_RETIRED",
"ALREADY_REVIEWED"
],
"enumDescriptions": [
"Requesting a review from Google is not possible.",
"All onboarding issues needs to be fixed.",
"Not enough offers uploaded for this country.",
"Cooldown period applies. Wait until cooldown period ends.",
"Account is already under review.",
"No issues available to review.",
"Account will be automatically reviewed at the end of the grace period.",
"Account is retired. Should not appear in MC.",
"Account has already been reviewed. You can't request further reviews."
],
"type": "string"
},
"reviewIneligibilityReasonDescription": {
"description": "Reason a program in a specific region isn\u2019t eligible for review. Only visible if `reviewEligibilityStatus` is `INELIGIBLE`.",
"type": "string"
},
"reviewIneligibilityReasonDetails": {
"$ref": "ShoppingAdsProgramStatusReviewIneligibilityReasonDetails",
"description": "Additional information for ineligibility. If `reviewIneligibilityReason` is `IN_COOLDOWN_PERIOD`, a timestamp for the end of the cooldown period is provided."
},
"reviewIssues": {
"description": "Issues evaluated in the review process. Fix all issues before requesting a review.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"ShoppingAdsProgramStatusReviewIneligibilityReasonDetails": {
"description": "Additional details for review ineligibility reasons.",
"id": "ShoppingAdsProgramStatusReviewIneligibilityReasonDetails",
"properties": {
"cooldownTime": {
"description": "This timestamp represents end of cooldown period for review ineligbility reason `IN_COOLDOWN_PERIOD`.",
"format": "google-datetime",
"type": "string"
}
},
"type": "object"
},
"Table": {
"id": "Table",
"properties": {
"columnHeaders": {
"$ref": "Headers",
"description": "Headers of the table's columns. Optional: if not set then the table has only one dimension."
},
"name": {
"description": "Name of the table. Required for subtables, ignored for the main table.",
"type": "string"
},
"rowHeaders": {
"$ref": "Headers",
"description": "Headers of the table's rows. Required."
},
"rows": {
"description": "The list of rows that constitute the table. Must have the same length as `rowHeaders`. Required.",
"items": {
"$ref": "Row"
},
"type": "array"
}
},
"type": "object"
},
"TextWithTooltip": {
"description": "Block of text that may contain a tooltip with more information.",
"id": "TextWithTooltip",
"properties": {
"simpleTooltipValue": {
"description": "Value of the tooltip as a simple text.",
"type": "string"
},
"simpleValue": {
"description": "Value of the message as a simple text.",
"type": "string"
},
"tooltipIconStyle": {
"description": "The suggested type of an icon for tooltip, if a tooltip is present.",
"enum": [
"TOOLTIP_ICON_STYLE_UNSPECIFIED",
"INFO",
"QUESTION"
],
"enumDescriptions": [
"Default value. Will never be provided by the API.",
"Used when the tooltip adds additional information to the context, the 'i' can be used as an icon.",
"Used when the tooltip shows helpful information, the '?' can be used as an icon."
],
"type": "string"
}
},
"type": "object"
},
"TimePeriod": {
"description": "A message that represents a time period.",
"id": "TimePeriod",
"properties": {
"endTime": {
"description": "The ending timestamp.",
"format": "google-datetime",
"type": "string"
},
"startTime": {
"description": "The starting timestamp.",
"format": "google-datetime",
"type": "string"
}
},
"type": "object"
},
"TimeZone": {
"description": "Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones).",
"id": "TimeZone",
"properties": {
"id": {
"description": "IANA Time Zone Database time zone. For example \"America/New_York\".",
"type": "string"
},
"version": {
"description": "Optional. IANA Time Zone Database version number. For example \"2019a\".",
"type": "string"
}
},
"type": "object"
},
"TopicTrends": {
"description": "Topic trends fields requested by the merchant in the query. Field values are only set if the merchant queries `TopicTrendsView`. Forecast data can be queried up to 13 weeks by passing a future date in the `date` field. Historical data is measured daily, and forecasted data is projected weekly. All data points are normalized based on the highest data points returned in the response. If you make separate queries with different date ranges, you might see different values for the same date in each response. The recommended way to get a trend score of a topic is `last7_days_search_interest / last{$day}_days_search_interest - 1`. You can view trends for up to eight topics at a time.",
"id": "TopicTrends",
"properties": {
"customerCountryCode": {
"description": "Country trends are calculated for. Must be a two-letter country code (ISO 3166-1-alpha-2 code), for example, `\u201cUS\u201d`.",
"type": "string"
},
"date": {
"$ref": "Date",
"description": "Date the trend score was retrieved."
},
"last120DaysSearchInterest": {
"description": "Search interest in the last 120 days, with the same normalization as search_interest. This field is only present for a past date.",
"format": "double",
"type": "number"
},
"last30DaysSearchInterest": {
"description": "Search interest in the last 30 days, with the same normalization as search_interest. This field is only present for a past date.",
"format": "double",
"type": "number"
},
"last7DaysSearchInterest": {
"description": "Search interest in the last 7 days, with the same normalization as search_interest. This field is only present for a past date.",
"format": "double",
"type": "number"
},
"last90DaysSearchInterest": {
"description": "Search interest in the last 90 days, with the same normalization as search_interest. This field is only present for a past date.",
"format": "double",
"type": "number"
},
"next7DaysSearchInterest": {
"description": "Estimated search interest in the next 7 days, with the same normalization as search_interest. This field is only present for a future date.",
"format": "double",
"type": "number"
},
"searchInterest": {
"description": "Daily search interest, normalized to the time and country to make comparisons easier, with 100 representing peak popularity (from 0 to 100) for the requested time period and location.",
"format": "double",
"type": "number"
},
"topic": {
"description": "Google-provided topic trends are calculated for. Only top eight topics are returned. Topic is what shoppers are searching for on Google, grouped by the same concept.",
"type": "string"
}
},
"type": "object"
},
"TransitTable": {
"id": "TransitTable",
"properties": {
"postalCodeGroupNames": {
"description": "A list of postal group names. The last value can be `\"all other locations\"`. Example: `[\"zone 1\", \"zone 2\", \"all other locations\"]`. The referred postal code groups must match the delivery country of the service.",
"items": {
"type": "string"
},
"type": "array"
},
"rows": {
"items": {
"$ref": "TransitTableTransitTimeRow"
},
"type": "array"
},
"transitTimeLabels": {
"description": "A list of transit time labels. The last value can be `\"all other labels\"`. Example: `[\"food\", \"electronics\", \"all other labels\"]`.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"TransitTableTransitTimeRow": {
"id": "TransitTableTransitTimeRow",
"properties": {
"values": {
"items": {
"$ref": "TransitTableTransitTimeRowTransitTimeValue"
},
"type": "array"
}
},
"type": "object"
},
"TransitTableTransitTimeRowTransitTimeValue": {
"id": "TransitTableTransitTimeRowTransitTimeValue",
"properties": {
"maxTransitTimeInDays": {
"description": "Must be greater than or equal to `minTransitTimeInDays`.",
"format": "uint32",
"type": "integer"
},
"minTransitTimeInDays": {
"description": "Transit time range (min-max) in business days. 0 means same day delivery, 1 means next day delivery.",
"format": "uint32",
"type": "integer"
}
},
"type": "object"
},
"TriggerActionPayload": {
"description": "The payload for the triggered action.",
"id": "TriggerActionPayload",
"properties": {
"actionContext": {
"description": "Required. The context from the selected action. The value is obtained from rendered issues and needs to be sent back to identify the action that is being triggered.",
"type": "string"
},
"actionInput": {
"$ref": "ActionInput",
"description": "Required. Input provided by the merchant."
}
},
"type": "object"
},
"TriggerActionResponse": {
"description": "Response informing about the started action.",
"id": "TriggerActionResponse",
"properties": {
"message": {
"description": "The message for merchant.",
"type": "string"
}
},
"type": "object"
},
"UndeleteConversionSourceRequest": {
"description": "Request message for the UndeleteConversionSource method.",
"id": "UndeleteConversionSourceRequest",
"properties": {},
"type": "object"
},
"UrlSettings": {
"description": "Specifications related to the `Checkout` URL. The `UriTemplate` is of the form `https://www.mystore.com/checkout?item_id={id}` where `{id}` will be automatically replaced with data from the merchant account with this attribute [offer_id](https://developers.google.com/shopping-content/reference/rest/v2.1/products#Product.FIELDS.offer_id)",
"id": "UrlSettings",
"properties": {
"cartUriTemplate": {
"description": "URL template when the placeholders are expanded will redirect the buyer to the cart page on the merchant website with the selected item in cart.",
"type": "string"
},
"checkoutUriTemplate": {
"description": "URL template when the placeholders are expanded will redirect the buyer to the merchant checkout page with the item in the cart.",
"type": "string"
}
},
"type": "object"
},
"Value": {
"description": "The single value of a rate group or the value of a rate group table's cell. Exactly one of `noShipping`, `flatRate`, `pricePercentage`, `carrierRateName`, `subtableName` must be set.",
"id": "Value",
"properties": {
"carrierRateName": {
"description": "The name of a carrier rate referring to a carrier rate defined in the same rate group. Can only be set if all other fields are not set.",
"type": "string"
},
"flatRate": {
"$ref": "Price",
"description": "A flat rate. Can only be set if all other fields are not set."
},
"noShipping": {
"description": "If true, then the product can't ship. Must be true when set, can only be set if all other fields are not set.",
"type": "boolean"
},
"pricePercentage": {
"description": "A percentage of the price represented as a number in decimal notation (for example, `\"5.4\"`). Can only be set if all other fields are not set.",
"type": "string"
},
"subtableName": {
"description": "The name of a subtable. Can only be set in table cells (not for single values), and only if all other fields are not set.",
"type": "string"
}
},
"type": "object"
},
"VerifyPhoneNumberRequest": {
"description": "Request message for the VerifyPhoneNumber method.",
"id": "VerifyPhoneNumberRequest",
"properties": {
"phoneVerificationMethod": {
"description": "Verification method used to receive verification code.",
"enum": [
"PHONE_VERIFICATION_METHOD_UNSPECIFIED",
"SMS",
"PHONE_CALL"
],
"enumDescriptions": [
"Unknown method.",
"Receive verification code by SMS.",
"Receive verification code by phone call."
],
"type": "string"
},
"verificationCode": {
"description": "The verification code that was sent to the phone number for validation.",
"type": "string"
},
"verificationId": {
"description": "The verification ID returned by `requestphoneverification`.",
"type": "string"
}
},
"type": "object"
},
"VerifyPhoneNumberResponse": {
"description": "Response message for the VerifyPhoneNumber method.",
"id": "VerifyPhoneNumberResponse",
"properties": {
"verifiedPhoneNumber": {
"description": "Verified phone number if verification is successful. This phone number can only be replaced by another verified phone number.",
"type": "string"
}
},
"type": "object"
},
"Warehouse": {
"description": "A fulfillment warehouse, which stores and handles inventory.",
"id": "Warehouse",
"properties": {
"businessDayConfig": {
"$ref": "BusinessDayConfig",
"description": "Business days of the warehouse. If not set, will be Monday to Friday by default."
},
"cutoffTime": {
"$ref": "WarehouseCutoffTime",
"description": "Required. The latest time of day that an order can be accepted and begin processing. Later orders will be processed in the next day. The time is based on the warehouse postal code."
},
"handlingDays": {
"description": "Required. The number of days it takes for this warehouse to pack up and ship an item. This is on the warehouse level, but can be overridden on the offer level based on the attributes of an item.",
"format": "int64",
"type": "string"
},
"name": {
"description": "Required. The name of the warehouse. Must be unique within account.",
"type": "string"
},
"shippingAddress": {
"$ref": "Address",
"description": "Required. Shipping address of the warehouse."
}
},
"type": "object"
},
"WarehouseBasedDeliveryTime": {
"id": "WarehouseBasedDeliveryTime",
"properties": {
"carrier": {
"description": "Required. Carrier, such as `\"UPS\"` or `\"Fedex\"`. The list of supported carriers can be retrieved through the `listSupportedCarriers` method.",
"type": "string"
},
"carrierService": {
"description": "Required. Carrier service, such as `\"ground\"` or `\"2 days\"`. The list of supported services for a carrier can be retrieved through the `listSupportedCarriers` method. The name of the service must be in the eddSupportedServices list.",
"type": "string"
},
"originAdministrativeArea": {
"description": "Shipping origin's state.",
"type": "string"
},
"originCity": {
"description": "Shipping origin's city.",
"type": "string"
},
"originCountry": {
"description": "Shipping origin's country represented as a [CLDR territory code](https://github.com/unicode-org/cldr/blob/latest/common/main/en.xml).",
"type": "string"
},
"originPostalCode": {
"description": "Shipping origin.",
"type": "string"
},
"originStreetAddress": {
"description": "Shipping origin's street address.",
"type": "string"
},
"warehouseName": {
"description": "The name of the warehouse. Warehouse name need to be matched with name. If warehouseName is set, the below fields will be ignored. The warehouse info will be read from warehouse.",
"type": "string"
}
},
"type": "object"
},
"WarehouseCutoffTime": {
"id": "WarehouseCutoffTime",
"properties": {
"hour": {
"description": "Required. Hour (24-hour clock) of the cutoff time until which an order has to be placed to be processed in the same day by the warehouse. Hour is based on the timezone of warehouse.",
"format": "int32",
"type": "integer"
},
"minute": {
"description": "Required. Minute of the cutoff time until which an order has to be placed to be processed in the same day by the warehouse. Minute is based on the timezone of warehouse.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"Weight": {
"id": "Weight",
"properties": {
"unit": {
"description": "Required. The weight unit. Acceptable values are: - \"`kg`\" - \"`lb`\" ",
"type": "string"
},
"value": {
"description": "Required. The weight represented as a number. The weight can have a maximum precision of four decimal places.",
"type": "string"
}
},
"type": "object"
}
},
"servicePath": "content/v2.1/",
"title": "Content API for Shopping",
"version": "v2.1"
}