Method: conversionsources.create

  • Creates a new conversion source via POST request to the specified endpoint.

  • Requires merchantId as a path parameter to identify the account owner.

  • The request body should contain a ConversionSource object, defining the new source details.

  • A successful response returns the newly created ConversionSource object.

  • Authorization requires the https://www.googleapis.com/auth/content scope.

Creates a new conversion source.

HTTP request

POST https://shoppingcontent.googleapis.com/content/v2.1/{merchantId}/conversionsources

Path parameters

Parameters
merchantId

string ( int64 format)

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

Request body

The request body contains an instance of ConversionSource .

Response body

If successful, the response body contains a newly created instance of ConversionSource .

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/content

For more information, see the OAuth 2.0 Overview .

Create a Mobile Website
View Site in Mobile | Classic
Share by: