Class DatafeedsResource
The "datafeeds" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2
Assembly: Google.Apis.ShoppingContent.v2.dll
Syntax
public class DatafeedsResource
Constructors
DatafeedsResource(IClientService)
Constructs a new resource.
Declaration
public DatafeedsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| Google.Apis.Services.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(UInt64, UInt64)
Deletes a datafeed configuration from your Merchant Center account.
Declaration
public virtual DatafeedsResource.DeleteRequest Delete(ulong merchantId, ulong datafeedId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.UInt64 | merchantId | The ID of the account that manages the datafeed. This account cannot be a multi-client account. |
| System.UInt64 | datafeedId | The ID of the datafeed. |
Returns
| Type | Description |
|---|---|
| DatafeedsResource.DeleteRequest |
Fetchnow(UInt64, UInt64)
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 |
|---|---|---|
| System.UInt64 | merchantId | The ID of the account that manages the datafeed. This account cannot be a multi-client account. |
| System.UInt64 | datafeedId | The ID of the datafeed to be fetched. |
Returns
| Type | Description |
|---|---|
| DatafeedsResource.FetchnowRequest |
Get(UInt64, UInt64)
Retrieves a datafeed configuration from your Merchant Center account.
Declaration
public virtual DatafeedsResource.GetRequest Get(ulong merchantId, ulong datafeedId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.UInt64 | merchantId | The ID of the account that manages the datafeed. This account cannot be a multi-client account. |
| System.UInt64 | datafeedId | The ID of the datafeed. |
Returns
| Type | Description |
|---|---|
| DatafeedsResource.GetRequest |
Insert(Datafeed, UInt64)
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. |
| System.UInt64 | merchantId | The ID of the account that manages the datafeed. This account cannot be a multi-client account. |
Returns
| Type | Description |
|---|---|
| DatafeedsResource.InsertRequest |
List(UInt64)
Lists the configurations for datafeeds in your Merchant Center account.
Declaration
public virtual DatafeedsResource.ListRequest List(ulong merchantId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.UInt64 | 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, UInt64, UInt64)
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. |
| System.UInt64 | merchantId | The ID of the account that manages the datafeed. This account cannot be a multi-client account. |
| System.UInt64 | datafeedId | The ID of the datafeed. |
Returns
| Type | Description |
|---|---|
| DatafeedsResource.UpdateRequest |