Service for managing conversion sources for a merchant account. v1beta
Package
@google-shopping/conversionsConstructors
(constructor)(opts, gaxInstance)
constructor(opts?: ClientOptions, gaxInstance?: typeof gax | typeof gax.fallback);
Construct an instance of ConversionSourcesServiceClient.
Parameters | |
---|---|
Name | Description |
opts |
ClientOptions
|
gaxInstance |
typeof gax | typeof fallback
: loaded instance of |
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 | |
---|---|
Name | Description |
account |
string
|
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
account |
string
|
conversionSource |
string
|
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
ICreateConversionSourceRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
Returns | |
---|---|
Type | Description |
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. |
/**
* 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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
ICreateConversionSourceRequest
|
callback |
Callback<protos.google.shopping.merchant.conversions.v1beta.IConversionSource, protos.google.shopping.merchant.conversions.v1beta.ICreateConversionSourceRequest | null | undefined, {} | null | undefined>
|
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
IDeleteConversionSourceRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
Returns | |
---|---|
Type | Description |
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. |
/**
* 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 | |
---|---|
Name | Description |
request |
IDeleteConversionSourceRequest
|
options |
CallOptions
|
callback |
Callback<protos.google.protobuf.IEmpty, protos.google.shopping.merchant.conversions.v1beta.IDeleteConversionSourceRequest | null | undefined, {} | null | undefined>
|
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
IDeleteConversionSourceRequest
|
callback |
Callback<protos.google.protobuf.IEmpty, protos.google.shopping.merchant.conversions.v1beta.IDeleteConversionSourceRequest | null | undefined, {} | null | undefined>
|
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
IGetConversionSourceRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
Returns | |
---|---|
Type | Description |
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. |
/**
* 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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
IGetConversionSourceRequest
|
callback |
Callback<protos.google.shopping.merchant.conversions.v1beta.IConversionSource, protos.google.shopping.merchant.conversions.v1beta.IGetConversionSourceRequest | null | undefined, {} | null | undefined>
|
Returns | |
---|---|
Type | Description |
void |
getProjectId()
getProjectId(): Promise<string>;
Returns | |
---|---|
Type | Description |
Promise<string> |
getProjectId(callback)
getProjectId(callback: Callback<string, undefined, undefined>): void;
Parameter | |
---|---|
Name | Description |
callback |
Callback<string, undefined, undefined>
|
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
IListConversionSourcesRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
Returns | |
---|---|
Type | Description |
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 |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
IListConversionSourcesRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
Returns | |
---|---|
Type | Description |
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. |
/**
* 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 | |
---|---|
Name | Description |
request |
IListConversionSourcesRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
Returns | |
---|---|
Type | Description |
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 |
matchAccountFromAccountName(accountName)
matchAccountFromAccountName(accountName: string): string | number;
Parse the account from Account resource.
Parameter | |
---|---|
Name | Description |
accountName |
string
A fully-qualified path representing Account resource. |
Returns | |
---|---|
Type | Description |
string | number | {string} A string representing the account. |
matchAccountFromConversionSourceName(conversionSourceName)
matchAccountFromConversionSourceName(conversionSourceName: string): string | number;
Parse the account from ConversionSource resource.
Parameter | |
---|---|
Name | Description |
conversionSourceName |
string
A fully-qualified path representing ConversionSource resource. |
Returns | |
---|---|
Type | Description |
string | number | {string} A string representing the account. |
matchConversionSourceFromConversionSourceName(conversionSourceName)
matchConversionSourceFromConversionSourceName(conversionSourceName: string): string | number;
Parse the conversion_source from ConversionSource resource.
Parameter | |
---|---|
Name | Description |
conversionSourceName |
string
A fully-qualified path representing ConversionSource resource. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
IUndeleteConversionSourceRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
Returns | |
---|---|
Type | Description |
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. |
/**
* 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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
IUndeleteConversionSourceRequest
|
callback |
Callback<protos.google.shopping.merchant.conversions.v1beta.IConversionSource, protos.google.shopping.merchant.conversions.v1beta.IUndeleteConversionSourceRequest | null | undefined, {} | null | undefined>
|
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
IUpdateConversionSourceRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
Returns | |
---|---|
Type | Description |
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. |
/**
* 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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
IUpdateConversionSourceRequest
|
callback |
Callback<protos.google.shopping.merchant.conversions.v1beta.IConversionSource, protos.google.shopping.merchant.conversions.v1beta.IUpdateConversionSourceRequest | null | undefined, {} | null | undefined>
|
Returns | |
---|---|
Type | Description |
void |