List data sources
list_data_sourcesList Google Merchant Center data sources to find the API-type source required for product and promotion inserts.
Instructions
Lists the data sources of an account. Each has name (accounts/{a}/dataSources/{id}), dataSourceId, displayName, input (API | FILE | UI | AUTOFEED), exactly one type object (primaryProductDataSource, supplementalProductDataSource, promotionDataSource, ...) and fileInput for file feeds. Use it to find the API-type data source that insert_product_input / insert_promotion require as data_source.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Merchant Center account ID (digits, e.g. "123456"). Omit to use the GOOGLE_MERCHANTS_ACCOUNT_ID default. | |
| page_size | No | Max results per page (1..1000; API default 25). | |
| page_token | No | nextPageToken from the previous response. All other parameters must be identical to the previous call. |