target.apidocs.com.google.api.services.content.model.AttributionSettings.html Maven / Gradle / Ivy
AttributionSettings (Content API for Shopping v2.1-rev20240609-2.0.0)
com.google.api.services.content.model
Class AttributionSettings
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.content.model.AttributionSettings
-
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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
AttributionSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
AttributionSettings
clone()
Integer
getAttributionLookbackWindowInDays()
Required.
String
getAttributionModel()
Required.
List<AttributionSettingsConversionType>
getConversionType()
Immutable.
AttributionSettings
set(String fieldName,
Object value)
AttributionSettings
setAttributionLookbackWindowInDays(Integer attributionLookbackWindowInDays)
Required.
AttributionSettings
setAttributionModel(String attributionModel)
Required.
AttributionSettings
setConversionType(List<AttributionSettingsConversionType> conversionType)
Immutable.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
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
-
set
public AttributionSettings set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
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