v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13125317428.7 KB
conversionsources

Updates information of an existing conversion source.

patch/{merchantId}/conversionsources/{conversionSourceId}

Path parameters

merchantIdstring required

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

conversionSourceIdstring required

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

Query parameters

updateMaskstring

Optional. List of fields being updated. The following fields can be updated: attribution_settings, display_name, currency_code.

Request body

conversionSourceIdstring

Output only. 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 conversio 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.

state'STATE_UNSPECIFIED' | 'ACTIVE' | 'ARCHIVED' | 'PENDING'

Output only. Current state of this conversion source. Can't be edited through the API.

expireTimestring google-datetime

Output only. The time when an archived conversion source becomes permanently deleted and is no longer available to undelete.

Response

Successful response