Class v1beta.ConversionSourcesServiceClient (0.1.0)

Service for managing conversion sources for a merchant account. v1beta

Package

@google-shopping/conversions

Constructors

(constructor)(opts, gaxInstance)

constructor(opts?: ClientOptions, gaxInstance?: typeof gax | typeof gax.fallback);

Construct an instance of ConversionSourcesServiceClient.

Parameters
NameDescription
opts ClientOptions
gaxInstance typeof gax | typeof fallback

: loaded instance of google-gax. Useful if you need to avoid loading the default gRPC version and want to use the fallback HTTP implementation. Load only fallback version and pass it to the constructor: ``` const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC const client = new ConversionSourcesServiceClient({fallback: true}, gax); ```

Properties

apiEndpoint

get apiEndpoint(): string;

The DNS address for this API service.

apiEndpoint

static get apiEndpoint(): string;

The DNS address for this API service - same as servicePath.

auth

auth: gax.GoogleAuth;

conversionSourcesServiceStub

conversionSourcesServiceStub?: Promise<{
        [name: string]: Function;
    }>;

descriptors

descriptors: Descriptors;

innerApiCalls

innerApiCalls: {
        [name: string]: Function;
    };

pathTemplates

pathTemplates: {
        [name: string]: gax.PathTemplate;
    };

port

static get port(): number;

The port for this API service.

scopes

static get scopes(): string[];

The scopes needed to make gRPC calls for every method defined in this service.

servicePath

static get servicePath(): string;

The DNS address for this API service.

universeDomain

get universeDomain(): string;

warn

warn: (code: string, message: string, warnType?: string) => void;

Methods

accountPath(account)

accountPath(account: string): string;

Return a fully-qualified account resource name string.

Parameter
NameDescription
account string
Returns
TypeDescription
string

{string} Resource name string.

close()

close(): Promise<void>;

Terminate the gRPC channel and close the client.

The client will no longer be usable and all future behavior is undefined.

Returns
TypeDescription
Promise<void>

{Promise} A promise that resolves when the client is closed.

conversionSourcePath(account, conversionSource)

conversionSourcePath(account: string, conversionSource: string): string;

Return a fully-qualified conversionSource resource name string.

Parameters
NameDescription
account string
conversionSource string
Returns
TypeDescription
string

{string} Resource name string.

createConversionSource(request, options)

createConversionSource(request?: protos.google.shopping.merchant.conversions.v1beta.ICreateConversionSourceRequest, options?: CallOptions): Promise<[
        protos.google.shopping.merchant.conversions.v1beta.IConversionSource,
        (protos.google.shopping.merchant.conversions.v1beta.ICreateConversionSourceRequest | undefined),
        {} | undefined
    ]>;

Creates a new conversion source.

Parameters
NameDescription
request ICreateConversionSourceRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
TypeDescription
Promise<[ protos.google.shopping.merchant.conversions.v1beta.IConversionSource, (protos.google.shopping.merchant.conversions.v1beta.ICreateConversionSourceRequest | undefined), {} | undefined ]>

{Promise} - The promise which resolves to an array. The first element of the array is an object representing . Please see the documentation for more details and examples.

Example

  /**
   * This snippet has been automatically generated and should be regarded as a code template only.
   * It will require modifications to work.
   * It may require correct/in-range values for request initialization.
   * TODO(developer): Uncomment these variables before running the sample.
   */
  /**
   *  Required. The merchant account that will own the new conversion source.
   *  Format: accounts/{account}
   */
  // const parent = 'abc123'
  /**
   *  Required. The conversion source description. A new ID will be automatically
   *  assigned to it upon creation.
   */
  // const conversionSource = {}

  // Imports the Conversions library
  const {ConversionSourcesServiceClient} = require('@google-shopping/conversions').v1beta;

  // Instantiates a client
  const conversionsClient = new ConversionSourcesServiceClient();

  async function callCreateConversionSource() {
    // Construct request
    const request = {
      parent,
      conversionSource,
    };

    // Run request
    const response = await conversionsClient.createConversionSource(request);
    console.log(response);
  }

  callCreateConversionSource();

createConversionSource(request, options, callback)

createConversionSource(request: protos.google.shopping.merchant.conversions.v1beta.ICreateConversionSourceRequest, options: CallOptions, callback: Callback<protos.google.shopping.merchant.conversions.v1beta.IConversionSource, protos.google.shopping.merchant.conversions.v1beta.ICreateConversionSourceRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request ICreateConversionSourceRequest
options CallOptions
callback Callback<protos.google.shopping.merchant.conversions.v1beta.IConversionSource, protos.google.shopping.merchant.conversions.v1beta.ICreateConversionSourceRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

createConversionSource(request, callback)

createConversionSource(request: protos.google.shopping.merchant.conversions.v1beta.ICreateConversionSourceRequest, callback: Callback<protos.google.shopping.merchant.conversions.v1beta.IConversionSource, protos.google.shopping.merchant.conversions.v1beta.ICreateConversionSourceRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request ICreateConversionSourceRequest
callback Callback<protos.google.shopping.merchant.conversions.v1beta.IConversionSource, protos.google.shopping.merchant.conversions.v1beta.ICreateConversionSourceRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

deleteConversionSource(request, options)

deleteConversionSource(request?: protos.google.shopping.merchant.conversions.v1beta.IDeleteConversionSourceRequest, options?: CallOptions): Promise<[
        protos.google.protobuf.IEmpty,
        (protos.google.shopping.merchant.conversions.v1beta.IDeleteConversionSourceRequest | undefined),
        {} | undefined
    ]>;

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.

Parameters
NameDescription
request IDeleteConversionSourceRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
TypeDescription
Promise<[ protos.google.protobuf.IEmpty, (protos.google.shopping.merchant.conversions.v1beta.IDeleteConversionSourceRequest | undefined), {} | undefined ]>

{Promise} - The promise which resolves to an array. The first element of the array is an object representing Empty. Please see the documentation for more details and examples.

Example

  /**
   * This snippet has been automatically generated and should be regarded as a code template only.
   * It will require modifications to work.
   * It may require correct/in-range values for request initialization.
   * TODO(developer): Uncomment these variables before running the sample.
   */
  /**
   *  Required. The name of the conversion source to be deleted.
   *  Format: accounts/{account}/conversionSources/{conversion_source}
   */
  // const name = 'abc123'

  // Imports the Conversions library
  const {ConversionSourcesServiceClient} = require('@google-shopping/conversions').v1beta;

  // Instantiates a client
  const conversionsClient = new ConversionSourcesServiceClient();

  async function callDeleteConversionSource() {
    // Construct request
    const request = {
      name,
    };

    // Run request
    const response = await conversionsClient.deleteConversionSource(request);
    console.log(response);
  }

  callDeleteConversionSource();

deleteConversionSource(request, options, callback)

deleteConversionSource(request: protos.google.shopping.merchant.conversions.v1beta.IDeleteConversionSourceRequest, options: CallOptions, callback: Callback<protos.google.protobuf.IEmpty, protos.google.shopping.merchant.conversions.v1beta.IDeleteConversionSourceRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request IDeleteConversionSourceRequest
options CallOptions
callback Callback<protos.google.protobuf.IEmpty, protos.google.shopping.merchant.conversions.v1beta.IDeleteConversionSourceRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

deleteConversionSource(request, callback)

deleteConversionSource(request: protos.google.shopping.merchant.conversions.v1beta.IDeleteConversionSourceRequest, callback: Callback<protos.google.protobuf.IEmpty, protos.google.shopping.merchant.conversions.v1beta.IDeleteConversionSourceRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request IDeleteConversionSourceRequest
callback Callback<protos.google.protobuf.IEmpty, protos.google.shopping.merchant.conversions.v1beta.IDeleteConversionSourceRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

getConversionSource(request, options)

getConversionSource(request?: protos.google.shopping.merchant.conversions.v1beta.IGetConversionSourceRequest, options?: CallOptions): Promise<[
        protos.google.shopping.merchant.conversions.v1beta.IConversionSource,
        (protos.google.shopping.merchant.conversions.v1beta.IGetConversionSourceRequest | undefined),
        {} | undefined
    ]>;

Fetches a conversion source.

Parameters
NameDescription
request IGetConversionSourceRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
TypeDescription
Promise<[ protos.google.shopping.merchant.conversions.v1beta.IConversionSource, (protos.google.shopping.merchant.conversions.v1beta.IGetConversionSourceRequest | undefined), {} | undefined ]>

{Promise} - The promise which resolves to an array. The first element of the array is an object representing . Please see the documentation for more details and examples.

Example

  /**
   * This snippet has been automatically generated and should be regarded as a code template only.
   * It will require modifications to work.
   * It may require correct/in-range values for request initialization.
   * TODO(developer): Uncomment these variables before running the sample.
   */
  /**
   *  Required. The name of the conversion source to be fetched.
   *  Format: accounts/{account}/conversionsources/{conversion_source}
   */
  // const name = 'abc123'

  // Imports the Conversions library
  const {ConversionSourcesServiceClient} = require('@google-shopping/conversions').v1beta;

  // Instantiates a client
  const conversionsClient = new ConversionSourcesServiceClient();

  async function callGetConversionSource() {
    // Construct request
    const request = {
      name,
    };

    // Run request
    const response = await conversionsClient.getConversionSource(request);
    console.log(response);
  }

  callGetConversionSource();

getConversionSource(request, options, callback)

getConversionSource(request: protos.google.shopping.merchant.conversions.v1beta.IGetConversionSourceRequest, options: CallOptions, callback: Callback<protos.google.shopping.merchant.conversions.v1beta.IConversionSource, protos.google.shopping.merchant.conversions.v1beta.IGetConversionSourceRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request IGetConversionSourceRequest
options CallOptions
callback Callback<protos.google.shopping.merchant.conversions.v1beta.IConversionSource, protos.google.shopping.merchant.conversions.v1beta.IGetConversionSourceRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

getConversionSource(request, callback)

getConversionSource(request: protos.google.shopping.merchant.conversions.v1beta.IGetConversionSourceRequest, callback: Callback<protos.google.shopping.merchant.conversions.v1beta.IConversionSource, protos.google.shopping.merchant.conversions.v1beta.IGetConversionSourceRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request IGetConversionSourceRequest
callback Callback<protos.google.shopping.merchant.conversions.v1beta.IConversionSource, protos.google.shopping.merchant.conversions.v1beta.IGetConversionSourceRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

getProjectId()

getProjectId(): Promise<string>;
Returns
TypeDescription
Promise<string>

getProjectId(callback)

getProjectId(callback: Callback<string, undefined, undefined>): void;
Parameter
NameDescription
callback Callback<string, undefined, undefined>
Returns
TypeDescription
void

initialize()

initialize(): Promise<{
        [name: string]: Function;
    }>;

Initialize the client. Performs asynchronous operations (such as authentication) and prepares the client. This function will be called automatically when any class method is called for the first time, but if you need to initialize it before calling an actual method, feel free to call initialize() directly.

You can await on this method if you want to make sure the client is initialized.

Returns
TypeDescription
Promise<{ [name: string]: Function; }>

{Promise} A promise that resolves to an authenticated service stub.

listConversionSources(request, options)

listConversionSources(request?: protos.google.shopping.merchant.conversions.v1beta.IListConversionSourcesRequest, options?: CallOptions): Promise<[
        protos.google.shopping.merchant.conversions.v1beta.IConversionSource[],
        protos.google.shopping.merchant.conversions.v1beta.IListConversionSourcesRequest | null,
        protos.google.shopping.merchant.conversions.v1beta.IListConversionSourcesResponse
    ]>;

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

Parameters
NameDescription
request IListConversionSourcesRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
TypeDescription
Promise<[ protos.google.shopping.merchant.conversions.v1beta.IConversionSource[], protos.google.shopping.merchant.conversions.v1beta.IListConversionSourcesRequest | null, protos.google.shopping.merchant.conversions.v1beta.IListConversionSourcesResponse ]>

{Promise} - The promise which resolves to an array. The first element of the array is Array of . The client library will perform auto-pagination by default: it will call the API as many times as needed and will merge results from all the pages into this array. Note that it can affect your quota. We recommend using listConversionSourcesAsync() method described below for async iteration which you can stop as needed. Please see the documentation for more details and examples.

listConversionSources(request, options, callback)

listConversionSources(request: protos.google.shopping.merchant.conversions.v1beta.IListConversionSourcesRequest, options: CallOptions, callback: PaginationCallback<protos.google.shopping.merchant.conversions.v1beta.IListConversionSourcesRequest, protos.google.shopping.merchant.conversions.v1beta.IListConversionSourcesResponse | null | undefined, protos.google.shopping.merchant.conversions.v1beta.IConversionSource>): void;
Parameters
NameDescription
request IListConversionSourcesRequest
options CallOptions
callback PaginationCallback<protos.google.shopping.merchant.conversions.v1beta.IListConversionSourcesRequest, protos.google.shopping.merchant.conversions.v1beta.IListConversionSourcesResponse | null | undefined, protos.google.shopping.merchant.conversions.v1beta.IConversionSource>
Returns
TypeDescription
void

listConversionSources(request, callback)

listConversionSources(request: protos.google.shopping.merchant.conversions.v1beta.IListConversionSourcesRequest, callback: PaginationCallback<protos.google.shopping.merchant.conversions.v1beta.IListConversionSourcesRequest, protos.google.shopping.merchant.conversions.v1beta.IListConversionSourcesResponse | null | undefined, protos.google.shopping.merchant.conversions.v1beta.IConversionSource>): void;
Parameters
NameDescription
request IListConversionSourcesRequest
callback PaginationCallback<protos.google.shopping.merchant.conversions.v1beta.IListConversionSourcesRequest, protos.google.shopping.merchant.conversions.v1beta.IListConversionSourcesResponse | null | undefined, protos.google.shopping.merchant.conversions.v1beta.IConversionSource>
Returns
TypeDescription
void

listConversionSourcesAsync(request, options)

listConversionSourcesAsync(request?: protos.google.shopping.merchant.conversions.v1beta.IListConversionSourcesRequest, options?: CallOptions): AsyncIterable<protos.google.shopping.merchant.conversions.v1beta.IConversionSource>;

Equivalent to listConversionSources, but returns an iterable object.

for-await-of syntax is used with the iterable to get response elements on-demand.

Parameters
NameDescription
request IListConversionSourcesRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
TypeDescription
AsyncIterable<protos.google.shopping.merchant.conversions.v1beta.IConversionSource>

{Object} An iterable Object that allows async iteration. When you iterate the returned iterable, each element will be an object representing . The API will be called under the hood as needed, once per the page, so you can stop the iteration when you don't need more results. Please see the documentation for more details and examples.

Example

  /**
   * This snippet has been automatically generated and should be regarded as a code template only.
   * It will require modifications to work.
   * It may require correct/in-range values for request initialization.
   * TODO(developer): Uncomment these variables before running the sample.
   */
  /**
   *  Required. The merchant account who owns the collection of conversion
   *  sources. Format: accounts/{account}
   */
  // const parent = 'abc123'
  /**
   *  Optional. The maximum number of conversion sources to return in a page.
   *  If no `page_size` is specified, `100` is used as the default value. The
   *  maximum value is `200`. Values above `200` will be coerced to `200`.
   *  Regardless of pagination, at most `200` conversion sources are returned
   *  in total.
   */
  // const pageSize = 1234
  /**
   *  Optional. Page token.
   */
  // const pageToken = 'abc123'
  /**
   *  Optional. Show deleted (archived) option.
   */
  // const showDeleted = true

  // Imports the Conversions library
  const {ConversionSourcesServiceClient} = require('@google-shopping/conversions').v1beta;

  // Instantiates a client
  const conversionsClient = new ConversionSourcesServiceClient();

  async function callListConversionSources() {
    // Construct request
    const request = {
      parent,
    };

    // Run request
    const iterable = conversionsClient.listConversionSourcesAsync(request);
    for await (const response of iterable) {
        console.log(response);
    }
  }

  callListConversionSources();

listConversionSourcesStream(request, options)

listConversionSourcesStream(request?: protos.google.shopping.merchant.conversions.v1beta.IListConversionSourcesRequest, options?: CallOptions): Transform;

Equivalent to method.name.toCamelCase(), but returns a NodeJS Stream object.

Parameters
NameDescription
request IListConversionSourcesRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
TypeDescription
Transform

{Stream} An object stream which emits an object representing on 'data' event. The client library will perform auto-pagination by default: it will call the API as many times as needed. Note that it can affect your quota. We recommend using listConversionSourcesAsync() method described below for async iteration which you can stop as needed. Please see the documentation for more details and examples.

matchAccountFromAccountName(accountName)

matchAccountFromAccountName(accountName: string): string | number;

Parse the account from Account resource.

Parameter
NameDescription
accountName string

A fully-qualified path representing Account resource.

Returns
TypeDescription
string | number

{string} A string representing the account.

matchAccountFromConversionSourceName(conversionSourceName)

matchAccountFromConversionSourceName(conversionSourceName: string): string | number;

Parse the account from ConversionSource resource.

Parameter
NameDescription
conversionSourceName string

A fully-qualified path representing ConversionSource resource.

Returns
TypeDescription
string | number

{string} A string representing the account.

matchConversionSourceFromConversionSourceName(conversionSourceName)

matchConversionSourceFromConversionSourceName(conversionSourceName: string): string | number;

Parse the conversion_source from ConversionSource resource.

Parameter
NameDescription
conversionSourceName string

A fully-qualified path representing ConversionSource resource.

Returns
TypeDescription
string | number

{string} A string representing the conversion_source.

undeleteConversionSource(request, options)

undeleteConversionSource(request?: protos.google.shopping.merchant.conversions.v1beta.IUndeleteConversionSourceRequest, options?: CallOptions): Promise<[
        protos.google.shopping.merchant.conversions.v1beta.IConversionSource,
        (protos.google.shopping.merchant.conversions.v1beta.IUndeleteConversionSourceRequest | undefined),
        {} | undefined
    ]>;

Re-enables an archived conversion source. Only Available for Merchant Center Destination conversion sources.

Parameters
NameDescription
request IUndeleteConversionSourceRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
TypeDescription
Promise<[ protos.google.shopping.merchant.conversions.v1beta.IConversionSource, (protos.google.shopping.merchant.conversions.v1beta.IUndeleteConversionSourceRequest | undefined), {} | undefined ]>

{Promise} - The promise which resolves to an array. The first element of the array is an object representing . Please see the documentation for more details and examples.

Example

  /**
   * This snippet has been automatically generated and should be regarded as a code template only.
   * It will require modifications to work.
   * It may require correct/in-range values for request initialization.
   * TODO(developer): Uncomment these variables before running the sample.
   */
  /**
   *  Required. The name of the conversion source to be undeleted.
   *  Format: accounts/{account}/conversionSources/{conversion_source}
   */
  // const name = 'abc123'

  // Imports the Conversions library
  const {ConversionSourcesServiceClient} = require('@google-shopping/conversions').v1beta;

  // Instantiates a client
  const conversionsClient = new ConversionSourcesServiceClient();

  async function callUndeleteConversionSource() {
    // Construct request
    const request = {
      name,
    };

    // Run request
    const response = await conversionsClient.undeleteConversionSource(request);
    console.log(response);
  }

  callUndeleteConversionSource();

undeleteConversionSource(request, options, callback)

undeleteConversionSource(request: protos.google.shopping.merchant.conversions.v1beta.IUndeleteConversionSourceRequest, options: CallOptions, callback: Callback<protos.google.shopping.merchant.conversions.v1beta.IConversionSource, protos.google.shopping.merchant.conversions.v1beta.IUndeleteConversionSourceRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request IUndeleteConversionSourceRequest
options CallOptions
callback Callback<protos.google.shopping.merchant.conversions.v1beta.IConversionSource, protos.google.shopping.merchant.conversions.v1beta.IUndeleteConversionSourceRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

undeleteConversionSource(request, callback)

undeleteConversionSource(request: protos.google.shopping.merchant.conversions.v1beta.IUndeleteConversionSourceRequest, callback: Callback<protos.google.shopping.merchant.conversions.v1beta.IConversionSource, protos.google.shopping.merchant.conversions.v1beta.IUndeleteConversionSourceRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request IUndeleteConversionSourceRequest
callback Callback<protos.google.shopping.merchant.conversions.v1beta.IConversionSource, protos.google.shopping.merchant.conversions.v1beta.IUndeleteConversionSourceRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

updateConversionSource(request, options)

updateConversionSource(request?: protos.google.shopping.merchant.conversions.v1beta.IUpdateConversionSourceRequest, options?: CallOptions): Promise<[
        protos.google.shopping.merchant.conversions.v1beta.IConversionSource,
        (protos.google.shopping.merchant.conversions.v1beta.IUpdateConversionSourceRequest | undefined),
        {} | undefined
    ]>;

Updates information of an existing conversion source. Available only for Merchant Center Destination conversion sources.

Parameters
NameDescription
request IUpdateConversionSourceRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
TypeDescription
Promise<[ protos.google.shopping.merchant.conversions.v1beta.IConversionSource, (protos.google.shopping.merchant.conversions.v1beta.IUpdateConversionSourceRequest | undefined), {} | undefined ]>

{Promise} - The promise which resolves to an array. The first element of the array is an object representing . Please see the documentation for more details and examples.

Example

  /**
   * This snippet has been automatically generated and should be regarded as a code template only.
   * It will require modifications to work.
   * It may require correct/in-range values for request initialization.
   * TODO(developer): Uncomment these variables before running the sample.
   */
  /**
   *  Required. The new version of the conversion source data.
   *  Format: accounts/{account}/conversionSources/{conversion_source}
   */
  // const conversionSource = {}
  /**
   *  Required. List of fields being updated.
   */
  // const updateMask = {}

  // Imports the Conversions library
  const {ConversionSourcesServiceClient} = require('@google-shopping/conversions').v1beta;

  // Instantiates a client
  const conversionsClient = new ConversionSourcesServiceClient();

  async function callUpdateConversionSource() {
    // Construct request
    const request = {
      conversionSource,
      updateMask,
    };

    // Run request
    const response = await conversionsClient.updateConversionSource(request);
    console.log(response);
  }

  callUpdateConversionSource();

updateConversionSource(request, options, callback)

updateConversionSource(request: protos.google.shopping.merchant.conversions.v1beta.IUpdateConversionSourceRequest, options: CallOptions, callback: Callback<protos.google.shopping.merchant.conversions.v1beta.IConversionSource, protos.google.shopping.merchant.conversions.v1beta.IUpdateConversionSourceRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request IUpdateConversionSourceRequest
options CallOptions
callback Callback<protos.google.shopping.merchant.conversions.v1beta.IConversionSource, protos.google.shopping.merchant.conversions.v1beta.IUpdateConversionSourceRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

updateConversionSource(request, callback)

updateConversionSource(request: protos.google.shopping.merchant.conversions.v1beta.IUpdateConversionSourceRequest, callback: Callback<protos.google.shopping.merchant.conversions.v1beta.IConversionSource, protos.google.shopping.merchant.conversions.v1beta.IUpdateConversionSourceRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request IUpdateConversionSourceRequest
callback Callback<protos.google.shopping.merchant.conversions.v1beta.IConversionSource, protos.google.shopping.merchant.conversions.v1beta.IUpdateConversionSourceRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void