All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.content.model.ConversionSource.html Maven / Gradle / Ivy

There is a newer version: v2.1-rev20241217-2.0.0
Show newest version






ConversionSource (Content API for Shopping v2.1-rev20240609-2.0.0)












com.google.api.services.content.model

Class ConversionSource

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    public final class ConversionSource
    extends com.google.api.client.json.GenericJson
    Represents a conversion source owned by a Merchant account. A merchant account can have up to 200 conversion sources.

    This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Content API for Shopping. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json

    Author:
    Google, Inc.
    • Constructor Detail

      • ConversionSource

        public ConversionSource()
    • Method Detail

      • getConversionSourceId

        public String getConversionSourceId()
        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.
        Returns:
        value or null for none
      • setConversionSourceId

        public ConversionSource setConversionSourceId(String conversionSourceId)
        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.
        Parameters:
        conversionSourceId - conversionSourceId or null for none
      • getExpireTime

        public String getExpireTime()
        Output only. The time when an archived conversion source becomes permanently deleted and is no longer available to undelete.
        Returns:
        value or null for none
      • setExpireTime

        public ConversionSource setExpireTime(String expireTime)
        Output only. The time when an archived conversion source becomes permanently deleted and is no longer available to undelete.
        Parameters:
        expireTime - expireTime or null for none
      • getGoogleAnalyticsLink

        public GoogleAnalyticsLink getGoogleAnalyticsLink()
        Immutable. Conversion Source of type "Link to Google Analytics Property".
        Returns:
        value or null for none
      • setGoogleAnalyticsLink

        public ConversionSource setGoogleAnalyticsLink(GoogleAnalyticsLink googleAnalyticsLink)
        Immutable. Conversion Source of type "Link to Google Analytics Property".
        Parameters:
        googleAnalyticsLink - googleAnalyticsLink or null for none
      • getMerchantCenterDestination

        public MerchantCenterDestination getMerchantCenterDestination()
        Conversion Source of type "Merchant Center Tag Destination".
        Returns:
        value or null for none
      • setMerchantCenterDestination

        public ConversionSource setMerchantCenterDestination(MerchantCenterDestination merchantCenterDestination)
        Conversion Source of type "Merchant Center Tag Destination".
        Parameters:
        merchantCenterDestination - merchantCenterDestination or null for none
      • getState

        public String getState()
        Output only. Current state of this conversion source. Can't be edited through the API.
        Returns:
        value or null for none
      • setState

        public ConversionSource setState(String state)
        Output only. Current state of this conversion source. Can't be edited through the API.
        Parameters:
        state - state or null for none
      • clone

        public ConversionSource clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy