Content API for Shopping (content:v2.1)

2023-02-21

6 new methods

Additions

    Methods
  • content.conversionsources.patch

      Parameter Order:

    • merchantId
    • conversionSourceId
    • HTTP Method: PATCH

      Path: {merchantId}/conversionsources/{conversionSourceId}

      Description: Updates information of an existing conversion source.

      Parameters:

        merchantId

          Location: path

          Required: Yes

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

          Format: int64

          Type: string

        updateMask

          Location: query

          Type: string

          Format: google-fieldmask

          Description: Required. List of fields being updated.

        conversionSourceId

          Required: Yes

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

          Location: path

          Type: string

      Flat Path: {merchantId}/conversionsources/{conversionSourceId}

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

  • content.conversionsources.get

      HTTP Method: GET

      Description: Fetches a conversion source.

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

      Flat Path: {merchantId}/conversionsources/{conversionSourceId}

      Path: {merchantId}/conversionsources/{conversionSourceId}

      Parameter Order:

    • merchantId
    • conversionSourceId
    • Parameters:

        conversionSourceId

          Location: path

          Description: Required. The REST ID of the collection.

          Required: Yes

          Type: string

        merchantId

          Required: Yes

          Type: string

          Format: int64

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

          Location: path

  • content.conversionsources.delete

      HTTP Method: DELETE

      Parameter Order:

    • merchantId
    • conversionSourceId
    • Scopes: https://www.googleapis.com/auth/content

      Parameters:

        merchantId

          Type: string

          Required: Yes

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

          Format: int64

          Location: path

        conversionSourceId

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

          Type: string

          Required: Yes

          Location: path

      Description: 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.

      Flat Path: {merchantId}/conversionsources/{conversionSourceId}

      Path: {merchantId}/conversionsources/{conversionSourceId}

  • content.conversionsources.undelete

      Parameter Order:

    • merchantId
    • conversionSourceId
    • HTTP Method: POST

      Parameters:

        merchantId

          Required: Yes

          Type: string

          Format: int64

          Location: path

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

        conversionSourceId

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

          Type: string

          Required: Yes

          Location: path

      Flat Path: {merchantId}/conversionsources/{conversionSourceId}:undelete

      Description: Re-enables an archived conversion source.

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

      Path: {merchantId}/conversionsources/{conversionSourceId}:undelete

  • content.conversionsources.create

      Flat Path: {merchantId}/conversionsources

      HTTP Method: POST

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

      Parameters:

        merchantId

          Format: int64

          Type: string

          Location: path

          Required: Yes

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

      Path: {merchantId}/conversionsources

      Description: Creates a new conversion source.

      Parameter Order: merchantId

  • content.conversionsources.list

      Parameter Order: merchantId

      Flat Path: {merchantId}/conversionsources

      Path: {merchantId}/conversionsources

      HTTP Method: GET

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

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

      Parameters:

        pageSize

          Format: int32

          Description: 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.

          Type: integer

          Location: query

        merchantId

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

          Type: string

          Format: int64

          Location: path

          Required: Yes

        showDeleted

          Description: If true, also returns archived conversion sources.

          Type: boolean

          Location: query

        pageToken

          Description: Page token.

          Location: query

          Type: string