Show / Hide Table of Contents

Class ConversionsourcesResource

The "conversionsources" collection of methods.

Inheritance
object
ConversionsourcesResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class ConversionsourcesResource

Constructors

ConversionsourcesResource(IClientService)

Constructs a new resource.

Declaration
public ConversionsourcesResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Create(ConversionSource, long)

Creates a new conversion source.

Declaration
public virtual ConversionsourcesResource.CreateRequest Create(ConversionSource body, long merchantId)
Parameters
Type Name Description
ConversionSource body

The body of the request.

long merchantId

Required. The ID of the account that owns the new conversion source.

Returns
Type Description
ConversionsourcesResource.CreateRequest

Delete(long, string)

Archives an existing conversion source. It will be recoverable for 30 days. This archiving behavior is not typical in the Content API and unique to this service.

Declaration
public virtual ConversionsourcesResource.DeleteRequest Delete(long merchantId, string conversionSourceId)
Parameters
Type Name Description
long merchantId

Required. The ID of the account that owns the new conversion source.

string conversionSourceId

Required. The ID of the conversion source to be deleted.

Returns
Type Description
ConversionsourcesResource.DeleteRequest

Get(long, string)

Fetches a conversion source.

Declaration
public virtual ConversionsourcesResource.GetRequest Get(long merchantId, string conversionSourceId)
Parameters
Type Name Description
long merchantId

Required. The ID of the account that owns the new conversion source.

string conversionSourceId

Required. The REST ID of the collection.

Returns
Type Description
ConversionsourcesResource.GetRequest

List(long)

Retrieves the list of conversion sources the caller has access to.

Declaration
public virtual ConversionsourcesResource.ListRequest List(long merchantId)
Parameters
Type Name Description
long merchantId

Required. The ID of the account that owns the new conversion source.

Returns
Type Description
ConversionsourcesResource.ListRequest

Patch(ConversionSource, long, string)

Updates information of an existing conversion source.

Declaration
public virtual ConversionsourcesResource.PatchRequest Patch(ConversionSource body, long merchantId, string conversionSourceId)
Parameters
Type Name Description
ConversionSource body

The body of the request.

long merchantId

Required. The ID of the account that owns the new conversion source.

string conversionSourceId

Required. The ID of the conversion source to be updated.

Returns
Type Description
ConversionsourcesResource.PatchRequest

Undelete(UndeleteConversionSourceRequest, long, string)

Re-enables an archived conversion source.

Declaration
public virtual ConversionsourcesResource.UndeleteRequest Undelete(UndeleteConversionSourceRequest body, long merchantId, string conversionSourceId)
Parameters
Type Name Description
UndeleteConversionSourceRequest body

The body of the request.

long merchantId

Required. The ID of the account that owns the new conversion source.

string conversionSourceId

Required. The ID of the conversion source to be undeleted.

Returns
Type Description
ConversionsourcesResource.UndeleteRequest
In this article
Back to top Generated by DocFX