Class AccountsResource.ConversionSourcesResource
The "conversionSources" collection of methods.
Inherited Members
Namespace: Google.Apis.Merchant.conversions_v1beta
Assembly: Google.Apis.Merchant.conversions_v1beta.dll
Syntax
public class AccountsResource.ConversionSourcesResource
Constructors
ConversionSourcesResource(IClientService)
Constructs a new resource.
Declaration
public ConversionSourcesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(ConversionSource, string)
Creates a new conversion source.
Declaration
public virtual AccountsResource.ConversionSourcesResource.CreateRequest Create(ConversionSource body, string parent)
Parameters
Type | Name | Description |
---|---|---|
ConversionSource | body | The body of the request. |
string | parent | Required. The merchant account that will own the new conversion source. Format: accounts/{account} |
Returns
Type | Description |
---|---|
AccountsResource.ConversionSourcesResource.CreateRequest |
Delete(string)
Archives an existing conversion source. If the conversion source is a Merchant Center Destination, it will be recoverable for 30 days. If the conversion source is a Google Analytics Link, it will be deleted immediately and can be restored by creating a new one.
Declaration
public virtual AccountsResource.ConversionSourcesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the conversion source to be deleted. Format: accounts/{account}/conversionSources/{conversion_source} |
Returns
Type | Description |
---|---|
AccountsResource.ConversionSourcesResource.DeleteRequest |
Get(string)
Fetches a conversion source.
Declaration
public virtual AccountsResource.ConversionSourcesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the conversion source to be fetched. Format: accounts/{account}/conversionSources/{conversion_source} |
Returns
Type | Description |
---|---|
AccountsResource.ConversionSourcesResource.GetRequest |
List(string)
Retrieves the list of conversion sources the caller has access to.
Declaration
public virtual AccountsResource.ConversionSourcesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The merchant account who owns the collection of conversion sources. Format: accounts/{account} |
Returns
Type | Description |
---|---|
AccountsResource.ConversionSourcesResource.ListRequest |
Patch(ConversionSource, string)
Updates information of an existing conversion source. Available only for Merchant Center Destination conversion sources.
Declaration
public virtual AccountsResource.ConversionSourcesResource.PatchRequest Patch(ConversionSource body, string name)
Parameters
Type | Name | Description |
---|---|---|
ConversionSource | body | The body of the request. |
string | name | Output only. Identifier. Generated by the Content API upon creation of a new
|
Returns
Type | Description |
---|---|
AccountsResource.ConversionSourcesResource.PatchRequest |
Undelete(UndeleteConversionSourceRequest, string)
Re-enables an archived conversion source. Only Available for Merchant Center Destination conversion sources.
Declaration
public virtual AccountsResource.ConversionSourcesResource.UndeleteRequest Undelete(UndeleteConversionSourceRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
UndeleteConversionSourceRequest | body | The body of the request. |
string | name | Required. The name of the conversion source to be undeleted. Format: accounts/{account}/conversionSources/{conversion_source} |
Returns
Type | Description |
---|---|
AccountsResource.ConversionSourcesResource.UndeleteRequest |