target.apidocs.com.google.api.services.content.model.MerchantCenterDestination.html Maven / Gradle / Ivy
MerchantCenterDestination (Content API for Shopping v2.1-rev20240609-2.0.0)
com.google.api.services.content.model
Class MerchantCenterDestination
- 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.MerchantCenterDestination
-
public final class MerchantCenterDestination
extends com.google.api.client.json.GenericJson
"Merchant Center Destination" sources can be used to send conversion events from a website using
a Google tag directly to a Merchant Center account where the source is created.
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
MerchantCenterDestination()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
MerchantCenterDestination
clone()
AttributionSettings
getAttributionSettings()
Required.
String
getCurrencyCode()
Required.
String
getDestinationId()
Output only.
String
getDisplayName()
Required.
MerchantCenterDestination
set(String fieldName,
Object value)
MerchantCenterDestination
setAttributionSettings(AttributionSettings attributionSettings)
Required.
MerchantCenterDestination
setCurrencyCode(String currencyCode)
Required.
MerchantCenterDestination
setDestinationId(String destinationId)
Output only.
MerchantCenterDestination
setDisplayName(String displayName)
Required.
-
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
-
getAttributionSettings
public AttributionSettings getAttributionSettings()
Required. Attribution settings being used for the Merchant Center Destination.
- Returns:
- value or
null
for none
-
setAttributionSettings
public MerchantCenterDestination setAttributionSettings(AttributionSettings attributionSettings)
Required. Attribution settings being used for the Merchant Center Destination.
- Parameters:
attributionSettings
- attributionSettings or null
for none
-
getCurrencyCode
public String getCurrencyCode()
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.
- Returns:
- value or
null
for none
-
setCurrencyCode
public MerchantCenterDestination setCurrencyCode(String currencyCode)
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.
- Parameters:
currencyCode
- currencyCode or null
for none
-
getDestinationId
public String getDestinationId()
Output only. Merchant Center Destination ID.
- Returns:
- value or
null
for none
-
setDestinationId
public MerchantCenterDestination setDestinationId(String destinationId)
Output only. Merchant Center Destination ID.
- Parameters:
destinationId
- destinationId or null
for none
-
getDisplayName
public String getDisplayName()
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.
- Returns:
- value or
null
for none
-
setDisplayName
public MerchantCenterDestination setDisplayName(String displayName)
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.
- Parameters:
displayName
- displayName or null
for none
-
set
public MerchantCenterDestination set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public MerchantCenterDestination 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