Show / Hide Table of Contents

Class AccountsResource.ConversionSourcesResource

The "conversionSources" collection of methods.

Inheritance
object
AccountsResource.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.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 ConversionSource. Format: [a-z]{4}:.+ The four characters before the colon represent the type of conversion source. Content after the colon represents the ID of the conversion source within that type. The ID of two different conversion sources might be the same across different types. The following type prefixes are supported:

  • galk: For GoogleAnalyticsLink sources. * mcdn: For MerchantCenterDestination sources.
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
In this article
Back to top Generated by DocFX