Get desktop application:
View/edit binary Protocol Buffers messages
Service for managing conversion sources for a merchant account.
Creates a new conversion source.
Request message for the CreateConversionSource method.
Required. The merchant account that will own the new conversion source. Format: accounts/{account}
Required. The conversion source description. A new ID will be automatically assigned to it upon creation.
Updates information of an existing conversion source. Available only for Merchant Center Destination conversion sources.
Request message for the UpdateConversionSource method.
Required. The new version of the conversion source data. Format: accounts/{account}/conversionSources/{conversion_source}
Required. List of fields being updated.
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.
Request message for the DeleteConversionSource method.
Required. The name of the conversion source to be deleted. Format: accounts/{account}/conversionSources/{conversion_source}
Re-enables an archived conversion source. Only Available for Merchant Center Destination conversion sources.
Request message for the UndeleteConversionSource method.
Required. The name of the conversion source to be undeleted. Format: accounts/{account}/conversionSources/{conversion_source}
Fetches a conversion source.
Request message for the GetConversionSource method.
Required. The name of the conversion source to be fetched. Format: accounts/{account}/conversionsources/{conversion_source}
Retrieves the list of conversion sources the caller has access to.
Request message for the ListConversionSources method.
Required. The merchant account who owns the collection of conversion sources. Format: accounts/{account}
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.
Optional. Page token.
Optional. Show deleted (archived) option.
Response message for the ListConversionSources method.
List of conversion sources.
Token to be used to fetch the next results page.
Represents attribution settings for conversion sources receiving pre-attribution data.
Used in:
,Required. Lookback windows (in days) used for attribution in this source. Supported values are 7, 30, 40.
Required. Attribution model.
Immutable. Unordered list. List of different conversion types a conversion event can be classified as. A standard "purchase" type will be automatically created if this list is empty at creation time.
The attribution model used for this source. We support the same set of models offered by Google Analytics 4, as described in: https://support.google.com/analytics/answer/10596866.
Used in:
Unspecified model.
Cross-channel Last Click model.
Ads-preferred Last Click model.
Cross-channel Data Driven model.
Cross-channel First Click model.
Cross-channel Linear model.
Cross-channel Position Based model.
Cross-channel Time Decay model.
Message representing a types of conversion events
Used in:
Output only. Conversion event name, as it'll be reported by the client.
Output only. Option indicating if the type should be included in Merchant Center reporting.
Represents a conversion source owned by a Merchant account. A merchant account can have up to 200 conversion sources.
Used as response type in: ConversionSourcesService.CreateConversionSource, ConversionSourcesService.GetConversionSource, ConversionSourcesService.UndeleteConversionSource, ConversionSourcesService.UpdateConversionSource
Used as field type in:
, ,Required. Conversion source data specific to each different type of source.
Immutable. Conversion Source of type "Link to Google Analytics Property".
Conversion Source of type "Merchant Center Tag Destination".
Output only. Identifier. 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.
Output only. Current state of this conversion source. Can't be edited through the API.
Output only. The time when an archived conversion source becomes permanently deleted and is no longer available to undelete.
Output only. Controller of the conversion source.
Entity controlling the conversion source.
Used in:
Default value. This value is unused.
Controlled by the Merchant who owns the Conversion Source.
Controlled by the YT Affiliates program.
Represents state of the conversion source.
Used in:
Conversion source has unspecified state.
Conversion source is fully functional.
Conversion source has been archived in the last 30 days and not currently functional. Can be restored using the undelete method.
Conversion source creation has started but not fully finished yet.
"Google Analytics Link" sources can be used to get conversion data from an existing Google Analytics property into the linked Merchant Center account.
Used in:
Required. Immutable. ID of the Google Analytics property the merchant is linked to.
Output only. Attribution settings for the linked Google Analytics property.
Output only. Name of the Google Analytics property the merchant is linked to.
"Merchant Center Destination" sources can be used to send conversion events from an online store using a Google tag directly to a Merchant Center account where the source is created.
Used in:
Output only. Merchant Center Destination ID.
Required. Attribution settings being used for the Merchant Center Destination.
Required. Merchant-specified display name for the destination. This is the name that identifies the conversion source within the Merchant Center UI. Limited to 64 characters.
Required. Three-letter currency code (ISO 4217). The currency code defines in which currency the conversions sent to this destination will be reported in Merchant Center.