Class DatafeedsResource
The "datafeeds" collection of methods.
Inheritance
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(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.
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.
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 |