Class: Google::Apis::MerchantapiConversionsV1beta::MerchantCenterDestination
- Inherits:
-
Object
- Object
- Google::Apis::MerchantapiConversionsV1beta::MerchantCenterDestination
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/merchantapi_conversions_v1beta/classes.rb,
lib/google/apis/merchantapi_conversions_v1beta/representations.rb,
lib/google/apis/merchantapi_conversions_v1beta/representations.rb
Overview
"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.
Instance Attribute Summary collapse
-
#attribution_settings ⇒ Google::Apis::MerchantapiConversionsV1beta::AttributionSettings
Represents attribution settings for conversion sources receiving pre- attribution data.
-
#currency_code ⇒ String
Required.
-
#destination ⇒ String
Output only.
-
#display_name ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MerchantCenterDestination
constructor
A new instance of MerchantCenterDestination.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MerchantCenterDestination
Returns a new instance of MerchantCenterDestination.
254 255 256 |
# File 'lib/google/apis/merchantapi_conversions_v1beta/classes.rb', line 254 def initialize(**args) update!(**args) end |
Instance Attribute Details
#attribution_settings ⇒ Google::Apis::MerchantapiConversionsV1beta::AttributionSettings
Represents attribution settings for conversion sources receiving pre-
attribution data.
Corresponds to the JSON property attributionSettings
233 234 235 |
# File 'lib/google/apis/merchantapi_conversions_v1beta/classes.rb', line 233 def attribution_settings @attribution_settings end |
#currency_code ⇒ String
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.
Corresponds to the JSON property currencyCode
240 241 242 |
# File 'lib/google/apis/merchantapi_conversions_v1beta/classes.rb', line 240 def currency_code @currency_code end |
#destination ⇒ String
Output only. Merchant Center Destination ID.
Corresponds to the JSON property destination
245 246 247 |
# File 'lib/google/apis/merchantapi_conversions_v1beta/classes.rb', line 245 def destination @destination end |
#display_name ⇒ String
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.
Corresponds to the JSON property displayName
252 253 254 |
# File 'lib/google/apis/merchantapi_conversions_v1beta/classes.rb', line 252 def display_name @display_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
259 260 261 262 263 264 |
# File 'lib/google/apis/merchantapi_conversions_v1beta/classes.rb', line 259 def update!(**args) @attribution_settings = args[:attribution_settings] if args.key?(:attribution_settings) @currency_code = args[:currency_code] if args.key?(:currency_code) @destination = args[:destination] if args.key?(:destination) @display_name = args[:display_name] if args.key?(:display_name) end |