@datafire/google_shoppingcontent v3.0.0
@datafire/google_shoppingcontent
Client library for Content API for Shopping
Installation and Usage
npm install --save @datafire/google_shoppingcontent
let google_shoppingcontent = require('@datafire/google_shoppingcontent').create({
access_token: "",
refresh_token: "",
client_id: "",
client_secret: "",
redirect_uri: ""
});
.then(data => {
console.log(data);
});
Description
Manage your product listings and accounts for Google Shopping
Actions
oauthCallback
Exchange the code passed to your redirect URI for an access_token
google_shoppingcontent.oauthCallback({
"code": ""
}, context)
Input
- input
object
- code required
string
- code required
Output
- output
object
- access_token
string
- refresh_token
string
- token_type
string
- scope
string
- expiration
string
- access_token
oauthRefresh
Exchange a refresh_token for an access_token
google_shoppingcontent.oauthRefresh(null, context)
Input
This action has no parameters
Output
- output
object
- access_token
string
- refresh_token
string
- token_type
string
- scope
string
- expiration
string
- access_token
content.accounts.authinfo
Returns information about the authenticated user.
google_shoppingcontent.content.accounts.authinfo({}, context)
Input
- input
object
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: 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. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- $.xgafv
Output
- output AccountsAuthInfoResponse
content.accounts.custombatch
Retrieves, inserts, updates, and deletes multiple Merchant Center (sub-)accounts in a single request.
google_shoppingcontent.content.accounts.custombatch({}, context)
Input
- input
object
- dryRun
boolean
: Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any). - body AccountsCustomBatchRequest
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: 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. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- dryRun
Output
- output AccountsCustomBatchResponse
content.accountstatuses.custombatch
Retrieves multiple Merchant Center account statuses in a single request.
google_shoppingcontent.content.accountstatuses.custombatch({}, context)
Input
- input
object
- body AccountstatusesCustomBatchRequest
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: 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. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
Output
content.accounttax.custombatch
Retrieves and updates tax settings of multiple accounts in a single request.
google_shoppingcontent.content.accounttax.custombatch({}, context)
Input
- input
object
- dryRun
boolean
: Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any). - body AccounttaxCustomBatchRequest
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: 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. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- dryRun
Output
content.datafeeds.custombatch
Deletes, fetches, gets, inserts and updates multiple datafeeds in a single request.
google_shoppingcontent.content.datafeeds.custombatch({}, context)
Input
- input
object
- dryRun
boolean
: Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any). - body DatafeedsCustomBatchRequest
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: 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. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- dryRun
Output
- output DatafeedsCustomBatchResponse
content.datafeedstatuses.custombatch
Gets multiple Merchant Center datafeed statuses in a single request.
google_shoppingcontent.content.datafeedstatuses.custombatch({}, context)
Input
- input
object
- body DatafeedstatusesCustomBatchRequest
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: 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. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
Output
content.inventory.custombatch
Updates price and availability for multiple products or stores in a single request. This operation does not update the expiration date of the products.
google_shoppingcontent.content.inventory.custombatch({}, context)
Input
- input
object
- dryRun
boolean
: Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any). - body InventoryCustomBatchRequest
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: 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. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- dryRun
Output
- output InventoryCustomBatchResponse
content.liasettings.custombatch
Retrieves and/or updates the LIA settings of multiple accounts in a single request.
google_shoppingcontent.content.liasettings.custombatch({}, context)
Input
- input
object
- dryRun
boolean
: Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any). - body LiasettingsCustomBatchRequest
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: 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. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- dryRun
Output
content.liasettings.listposdataproviders
Retrieves the list of POS data providers that have active settings for the all eiligible countries.
google_shoppingcontent.content.liasettings.listposdataproviders({}, context)
Input
- input
object
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: 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. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- $.xgafv
Output
content.orders.custombatch
Retrieves or modifies multiple orders in a single request.
google_shoppingcontent.content.orders.custombatch({}, context)
Input
- input
object
- body OrdersCustomBatchRequest
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: 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. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
Output
- output OrdersCustomBatchResponse
content.pos.custombatch
Batches multiple POS-related calls in a single request.
google_shoppingcontent.content.pos.custombatch({}, context)
Input
- input
object
- dryRun
boolean
: Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any). - body PosCustomBatchRequest
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: 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. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- dryRun
Output
- output PosCustomBatchResponse
content.products.custombatch
Retrieves, inserts, and deletes multiple products in a single request.
google_shoppingcontent.content.products.custombatch({}, context)
Input
- input
object
- dryRun
boolean
: Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any). - body ProductsCustomBatchRequest
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: 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. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- dryRun
Output
- output ProductsCustomBatchResponse
content.productstatuses.custombatch
Gets the statuses of multiple products in a single request.
google_shoppingcontent.content.productstatuses.custombatch({}, context)
Input
- input
object
- includeAttributes
boolean
: Flag to include full product data in the results of this request. The default value is false. - body ProductstatusesCustomBatchRequest
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: 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. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- includeAttributes
Output
content.shippingsettings.custombatch
Retrieves and updates the shipping settings of multiple accounts in a single request.
google_shoppingcontent.content.shippingsettings.custombatch({}, context)
Input
- input
object
- dryRun
boolean
: Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any). - body ShippingsettingsCustomBatchRequest
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: 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. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- dryRun
Output
content.accounts.list
Lists the sub-accounts in your Merchant Center account.
google_shoppingcontent.content.accounts.list({
"merchantId": ""
}, context)
Input
- input
object
- merchantId required
string
: The ID of the managing account. This must be a multi-client account. - maxResults
integer
: The maximum number of accounts to return in the response, used for paging. - pageToken
string
: The token returned by the previous request. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: 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. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- merchantId required
Output
- output AccountsListResponse
content.accounts.insert
Creates a Merchant Center sub-account.
google_shoppingcontent.content.accounts.insert({
"merchantId": ""
}, context)
Input
- input
object
- merchantId required
string
: The ID of the managing account. This must be a multi-client account. - dryRun
boolean
: Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any). - body Account
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: 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. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- merchantId required
Output
- output Account
content.accounts.delete
Deletes a Merchant Center sub-account.
google_shoppingcontent.content.accounts.delete({
"merchantId": "",
"accountId": ""
}, context)
Input
- input
object
- merchantId required
string
: 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. - accountId required
string
: The ID of the account. - dryRun
boolean
: Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any). - force
boolean
: Flag to delete sub-accounts with products. The default value is false. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: 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. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- merchantId required
Output
Output schema unknown
content.accounts.get
Retrieves a Merchant Center account.
google_shoppingcontent.content.accounts.get({
"merchantId": "",
"accountId": ""
}, context)
Input
- input
object
- merchantId required
string
: The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account andaccountId
must be the ID of a sub-account of this account. - accountId required
string
: The ID of the account. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: 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. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- merchantId required
Output
- output Account
content.accounts.update
Updates a Merchant Center account. Any fields that are not provided are deleted from the resource.
google_shoppingcontent.content.accounts.update({
"merchantId": "",
"accountId": ""
}, context)
Input
- input
object
- merchantId required
string
: The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account andaccountId
must be the ID of a sub-account of this account. - accountId required
string
: The ID of the account. - dryRun
boolean
: Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any). - body Account
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: 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. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- merchantId required
Output
- output Account
content.accounts.claimwebsite
Claims the website of a Merchant Center sub-account.
google_shoppingcontent.content.accounts.claimwebsite({
"merchantId": "",
"accountId": ""
}, context)
Input
- input
object
- merchantId required
string
: The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account andaccountId
must be the ID of a sub-account of this account. - accountId required
string
: The ID of the account whose website is claimed. - overwrite
boolean
: Only available to selected merchants. When set toTrue
, this flag removes any existing claim on the requested website by another account and replaces it with a claim from this account. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: 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. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- merchantId required
Output
- output AccountsClaimWebsiteResponse
content.accounts.link
Performs an action on a link between two Merchant Center accounts, namely accountId and linkedAccountId.
google_shoppingcontent.content.accounts.link({
"merchantId": "",
"accountId": ""
}, context)
Input
- input
object
- merchantId required
string
: The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account andaccountId
must be the ID of a sub-account of this account. - accountId required
string
: The ID of the account that should be linked. - body AccountsLinkRequest
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: 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. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- merchantId required
Output
- output AccountsLinkResponse
content.accountstatuses.list
Lists the statuses of the sub-accounts in your Merchant Center account.
google_shoppingcontent.content.accountstatuses.list({
"merchantId": ""
}, context)
Input
- input
object
- merchantId required
string
: The ID of the managing account. This must be a multi-client account. - destinations
array
: If set, only issues for the specified destinations are returned, otherwise only issues for the Shopping destination. - maxResults
integer
: The maximum number of account statuses to return in the response, used for paging. - pageToken
string
: The token returned by the previous request. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: 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. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- merchantId required
Output
- output AccountstatusesListResponse
content.accountstatuses.get
Retrieves the status of a Merchant Center account. No itemLevelIssues are returned for multi-client accounts.
google_shoppingcontent.content.accountstatuses.get({
"merchantId": "",
"accountId": ""
}, context)
Input
- input
object
- merchantId required
string
: The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account andaccountId
must be the ID of a sub-account of this account. - accountId required
string
: The ID of the account. - destinations
array
: If set, only issues for the specified destinations are returned, otherwise only issues for the Shopping destination. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: 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. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- merchantId required
Output
- output AccountStatus
content.accounttax.list
Lists the tax settings of the sub-accounts in your Merchant Center account.
google_shoppingcontent.content.accounttax.list({
"merchantId": ""
}, context)
Input
- input
object
- merchantId required
string
: The ID of the managing account. This must be a multi-client account. - maxResults
integer
: The maximum number of tax settings to return in the response, used for paging. - pageToken
string
: The token returned by the previous request. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: 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. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- merchantId required
Output
- output AccounttaxListResponse
content.accounttax.get
Retrieves the tax settings of the account.
google_shoppingcontent.content.accounttax.get({
"merchantId": "",
"accountId": ""
}, context)
Input
- input
object
- merchantId required
string
: The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account andaccountId
must be the ID of a sub-account of this account. - accountId required
string
: The ID of the account for which to get/update account tax settings. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: 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. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- merchantId required
Output
- output AccountTax
content.accounttax.update
Updates the tax settings of the account. Any fields that are not provided are deleted from the resource.
google_shoppingcontent.content.accounttax.update({
"merchantId": "",
"accountId": ""
}, context)
Input
- input
object
- merchantId required
string
: The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account andaccountId
must be the ID of a sub-account of this account. - accountId required
string
: The ID of the account for which to get/update account tax settings. - dryRun
boolean
: Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any). - body AccountTax
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: 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. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- merchantId required
Output
- output AccountTax
content.datafeeds.list
Lists the configurations for datafeeds in your Merchant Center account.
google_shoppingcontent.content.datafeeds.list({
"merchantId": ""
}, context)
Input
- input
object
- merchantId required
string
: The ID of the account that manages the datafeeds. This account cannot be a multi-client account. - maxResults
integer
: The maximum number of products to return in the response, used for paging. - pageToken
string
: The token returned by the previous request. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: 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. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- merchantId required
Output
- output DatafeedsListResponse
content.datafeeds.insert
Registers a datafeed configuration with your Merchant Center account.
google_shoppingcontent.content.datafeeds.insert({
"merchantId": ""
}, context)
Input
- input
object
- merchantId required
string
: The ID of the account that manages the datafeed. This account cannot be a multi-client account. - dryRun
boolean
: Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any). - body Datafeed
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: 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. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- merchantId required
Output
- output Datafeed
content.datafeeds.delete
Deletes a datafeed configuration from your Merchant Center account.
google_shoppingcontent.content.datafeeds.delete({
"merchantId": "",
"datafeedId": ""
}, context)
Input
- input
object
- merchantId required
string
: The ID of the account that manages the datafeed. This account cannot be a multi-client account. - datafeedId required
string
: The ID of the datafeed. - dryRun
boolean
: Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any). - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: 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. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- merchantId required
Output
Output schema unknown
content.datafeeds.get
Retrieves a datafeed configuration from your Merchant Center account.
google_shoppingcontent.content.datafeeds.get({
"merchantId": "",
"datafeedId": ""
}, context)
Input
- input
object
- merchantId required
string
: The ID of the account that manages the datafeed. This account cannot be a multi-client account. - datafeedId required
string
: The ID of the datafeed. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: 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. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- merchantId required
Output
- output Datafeed
content.datafeeds.update
Updates a datafeed configuration of your Merchant Center account. Any fields that are not provided are deleted from the resource.
google_shoppingcontent.content.datafeeds.update({
"merchantId": "",
"datafeedId": ""
}, context)
Input
- input
object
- merchantId required
string
: The ID of the account that manages the datafeed. This account cannot be a multi-client account. - datafeedId required
string
: The ID of the datafeed. - dryRun
boolean
: Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any). - body Datafeed
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: 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. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- merchantId required
Output
- output Datafeed
content.datafeeds.fetchnow
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 to update your product data.
google_shoppingcontent.content.datafeeds.fetchnow({
"merchantId": "",
"datafeedId": ""
}, context)
Input
- input
object
- merchantId required
string
: The ID of the account that manages the datafeed. This account cannot be a multi-client account. - datafeedId required
string
: The ID of the datafeed to be fetched. - dryRun
boolean
: Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any). - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: 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. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- merchantId required
Output
- output DatafeedsFetchNowResponse
content.datafeedstatuses.list
Lists the statuses of the datafeeds in your Merchant Center account.
google_shoppingcontent.content.datafeedstatuses.list({
"merchantId": ""
}, context)
Input
- input
object
- merchantId required
string
: The ID of the account that manages the datafeeds. This account cannot be a multi-client account. - maxResults
integer
: The maximum number of products to return in the response, used for paging. - pageToken
string
: The token returned by the previous request. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: 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. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- merchantId required
Output
- output DatafeedstatusesListResponse
content.datafeedstatuses.get
Retrieves the status of a datafeed from your Merchant Center account.
google_shoppingcontent.content.datafeedstatuses.get({
"merchantId": "",
"datafeedId": ""
}, context)
Input
- input
object
- merchantId required
string
: The ID of the account that manages the datafeed. This account cannot be a multi-client account. - datafeedId required
string
: The ID of the datafeed. - country
string
: The country for which to get the datafeed status. 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. - language
string
: The language for which to get the datafeed status. 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. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: 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. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- merchantId required
Output
- output DatafeedStatus
content.inventory.set
Updates price and availability of a product in your Merchant Center account.
google_shoppingcontent.content.inventory.set({
"merchantId": "",
"storeCode": "",
"productId": ""
}, context)
Input
- input
object
- merchantId required
string
: The ID of the account that contains the product. This account cannot be a multi-client account. - storeCode required
string
: The code of the store for which to update price and availability. Useonline
to update price and availability of an online product. - productId required
string
: The REST ID of the product for which to update price and availability. - dryRun
boolean
: Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any). - body InventorySetRequest
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: 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. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- merchantId required
Output
- output InventorySetResponse
content.liasettings.list
Lists the LIA settings of the sub-accounts in your Merchant Center account.
google_shoppingcontent.content.liasettings.list({
"merchantId": ""
}, context)
Input
- input
object
- merchantId required
string
: The ID of the managing account. This must be a multi-client account. - maxResults
integer
: The maximum number of LIA settings to return in the response, used for paging. - pageToken
string
: The token returned by the previous request. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: 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. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- merchantId required
Output
- output LiasettingsListResponse
content.liasettings.get
Retrieves the LIA settings of the account.
google_shoppingcontent.content.liasettings.get({
"merchantId": "",
"accountId": ""
}, context)
Input
- input
object
- merchantId required
string
: The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account andaccountId
must be the ID of a sub-account of this account. - accountId required
string
: The ID of the account for which to get or update LIA settings. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: 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. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- merchantId required
Output
- output LiaSettings
content.liasettings.update
Updates the LIA settings of the account. Any fields that are not provided are deleted from the resource.
google_shoppingcontent.content.liasettings.update({
"merchantId": "",
"accountId": ""
}, context)
Input
- input
object
- merchantId required
string
: The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account andaccountId
must be the ID of a sub-account of this account. - accountId required
string
: The ID of the account for which to get or update LIA settings. - dryRun
boolean
: Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any). - body LiaSettings
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: 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. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- merchantId required
Output
- output LiaSettings
content.liasettings.getaccessiblegmbaccounts
Retrieves the list of accessible Google My Business accounts.
google_shoppingcontent.content.liasettings.getaccessiblegmbaccounts({
"merchantId": "",
"accountId": ""
}, context)
Input
- input
object
- merchantId required
string
: The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account andaccountId
must be the ID of a sub-account of this account. - accountId required
string
: The ID of the account for which to retrieve accessible Google My Business accounts. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: 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. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- merchantId required
Output
content.liasettings.requestgmbaccess
Requests access to a specified Google My Business account.
google_shoppingcontent.content.liasettings.requestgmbaccess({
"merchantId": "",
"accountId": "",
"gmbEmail": ""
}, context)
Input
- input
object
- merchantId required
string
: The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account andaccountId
must be the ID of a sub-account of this account. - accountId required
string
: The ID of the account for which GMB access is requested. - gmbEmail required
string
: The email of the Google My Business account. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: 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. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- merchantId required
Output
content.liasettings.requestinventoryverification
Requests inventory validation for the specified country.
google_shoppingcontent.content.liasettings.requestinventoryverification({
"merchantId": "",
"accountId": "",
"country": ""
}, context)
Input
- input
object
- merchantId required
string
: The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account andaccountId
must be the ID of a sub-account of this account. - accountId required
string
: The ID of the account that manages the order. This cannot be a multi-client account. - country required
string
: The country for which inventory validation is requested. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can
- merchantId required
5 years ago