DataSource

DataSource

The data source for the Merchant Center account.

Fields
name

string

Required. Identifier. The name of the data source. Format: accounts/{account}/dataSources/{datasource}

data_source_id

int64

Output only. The data source id.

display_name

string

Required. The displayed data source name in the Merchant Center UI.

input

Input

Output only. Determines the type of input to the data source. Based on the input some settings might not work. Only generic data sources can be created through the API.

file_input

FileInput

Optional. The field is used only when data is managed through a file.

Union field Type . Required. The data source type. Type can be only one of the following:
primary_product_data_source

PrimaryProductDataSource

The primary data source for local and online products.

supplemental_product_data_source

SupplementalProductDataSource

The supplemental data source for local and online products.

local_inventory_data_source

LocalInventoryDataSource

The local inventory data source.

regional_inventory_data_source

RegionalInventoryDataSource

The regional inventory data source.

promotion_data_source

PromotionDataSource

The promotion data source.

product_review_data_source

ProductReviewDataSource

The product review data source.

merchant_review_data_source

MerchantReviewDataSource

The merchant review data source.