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

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

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






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












com.google.api.services.content.model

Class AttributionSettings

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


    public final class AttributionSettings
    extends com.google.api.client.json.GenericJson
    Represents attribution settings for conversion sources receiving pre-attribution data.

    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

      • AttributionSettings

        public AttributionSettings()
    • Method Detail

      • getAttributionLookbackWindowInDays

        public Integer getAttributionLookbackWindowInDays()
        Required. Lookback windows (in days) used for attribution in this source. Supported values are 7, 30, 40.
        Returns:
        value or null for none
      • setAttributionLookbackWindowInDays

        public AttributionSettings setAttributionLookbackWindowInDays(Integer attributionLookbackWindowInDays)
        Required. Lookback windows (in days) used for attribution in this source. Supported values are 7, 30, 40.
        Parameters:
        attributionLookbackWindowInDays - attributionLookbackWindowInDays or null for none
      • getAttributionModel

        public String getAttributionModel()
        Required. Attribution model.
        Returns:
        value or null for none
      • setAttributionModel

        public AttributionSettings setAttributionModel(String attributionModel)
        Required. Attribution model.
        Parameters:
        attributionModel - attributionModel or null for none
      • getConversionType

        public List<AttributionSettingsConversionType> getConversionType()
        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.
        Returns:
        value or null for none
      • setConversionType

        public AttributionSettings setConversionType(List<AttributionSettingsConversionType> conversionType)
        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.
        Parameters:
        conversionType - conversionType or null for none
      • clone

        public AttributionSettings 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