DataSourcesService

Service to manage primary, supplemental, inventory and other data sources. See more in the Merchant Center help article.

CreateDataSource

rpc CreateDataSource(CreateDataSourceRequest) returns (DataSource)

Creates the new data source configuration for the given account. This method always creates a new data source.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.

DeleteDataSource

rpc DeleteDataSource(DeleteDataSourceRequest) returns (Empty)

Deletes a data source from your Merchant Center account.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.

FetchDataSource

rpc FetchDataSource(FetchDataSourceRequest) returns (Empty)

Performs the data fetch immediately (even outside fetch schedule) on a data source from your Merchant Center Account. If you need to call this method more than once per day, you should use the Products service to update your product data instead. This method only works on data sources with a file input set.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.

GetDataSource

rpc GetDataSource(GetDataSourceRequest) returns (DataSource)

Retrieves the data source configuration for the given account.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.

ListDataSources

rpc ListDataSources(ListDataSourcesRequest) returns (ListDataSourcesResponse)

Lists the configurations for data sources for the given account.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.

UpdateDataSource

rpc UpdateDataSource(UpdateDataSourceRequest) returns (DataSource)

Updates the existing data source configuration. The fields that are set in the update mask but not provided in the resource will be deleted.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.