Class DatafeedsResource
The "datafeeds" collection of methods.
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class DatafeedsResource
Constructors
DatafeedsResource(IClientService)
Constructs a new resource.
Declaration
public DatafeedsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Custombatch(DatafeedsCustomBatchRequest)
Deletes, fetches, gets, inserts and updates multiple datafeeds in a single request.
Declaration
public virtual DatafeedsResource.CustombatchRequest Custombatch(DatafeedsCustomBatchRequest body)
Parameters
Type | Name | Description |
---|---|---|
DatafeedsCustomBatchRequest | body | The body of the request. |
Returns
Type | Description |
---|---|
DatafeedsResource.CustombatchRequest |
Delete(ulong, ulong)
Deletes a datafeed configuration from your Merchant Center account.
Declaration
public virtual DatafeedsResource.DeleteRequest Delete(ulong merchantId, ulong datafeedId)
Parameters
Type | Name | Description |
---|---|---|
ulong | merchantId | The ID of the account that manages the datafeed. This account cannot be a multi-client account. |
ulong | datafeedId | The ID of the datafeed. |
Returns
Type | Description |
---|---|
DatafeedsResource.DeleteRequest |
Fetchnow(ulong, ulong)
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.
Declaration
public virtual DatafeedsResource.FetchnowRequest Fetchnow(ulong merchantId, ulong datafeedId)
Parameters
Type | Name | Description |
---|---|---|
ulong | merchantId | The ID of the account that manages the datafeed. This account cannot be a multi-client account. |
ulong | datafeedId | The ID of the datafeed to be fetched. |
Returns
Type | Description |
---|---|
DatafeedsResource.FetchnowRequest |
Get(ulong, ulong)
Retrieves a datafeed configuration from your Merchant Center account.
Declaration
public virtual DatafeedsResource.GetRequest Get(ulong merchantId, ulong datafeedId)
Parameters
Type | Name | Description |
---|---|---|
ulong | merchantId | The ID of the account that manages the datafeed. This account cannot be a multi-client account. |
ulong | datafeedId | The ID of the datafeed. |
Returns
Type | Description |
---|---|
DatafeedsResource.GetRequest |
Insert(Datafeed, ulong)
Registers a datafeed configuration with your Merchant Center account.
Declaration
public virtual DatafeedsResource.InsertRequest Insert(Datafeed body, ulong merchantId)
Parameters
Type | Name | Description |
---|---|---|
Datafeed | body | The body of the request. |
ulong | merchantId | The ID of the account that manages the datafeed. This account cannot be a multi-client account. |
Returns
Type | Description |
---|---|
DatafeedsResource.InsertRequest |
List(ulong)
Lists the configurations for datafeeds in your Merchant Center account.
Declaration
public virtual DatafeedsResource.ListRequest List(ulong merchantId)
Parameters
Type | Name | Description |
---|---|---|
ulong | merchantId | The ID of the account that manages the datafeeds. This account cannot be a multi-client account. |
Returns
Type | Description |
---|---|
DatafeedsResource.ListRequest |
Update(Datafeed, ulong, ulong)
Updates a datafeed configuration of your Merchant Center account. Any fields that are not provided are deleted from the resource.
Declaration
public virtual DatafeedsResource.UpdateRequest Update(Datafeed body, ulong merchantId, ulong datafeedId)
Parameters
Type | Name | Description |
---|---|---|
Datafeed | body | The body of the request. |
ulong | merchantId | The ID of the account that manages the datafeed. This account cannot be a multi-client account. |
ulong | datafeedId | The ID of the datafeed. |
Returns
Type | Description |
---|---|
DatafeedsResource.UpdateRequest |