Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesShoppingPerformanceView

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/searchads360_v0/classes.rb,
lib/google/apis/searchads360_v0/representations.rb,
lib/google/apis/searchads360_v0/representations.rb

Overview

Shopping performance view. Provides Shopping campaign statistics aggregated at several product dimension levels. Product dimension values from Merchant Center such as brand, category, custom attributes, product condition and product type will reflect the state of each dimension as of the date and time when the corresponding event was recorded.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V0ResourcesShoppingPerformanceView

Returns a new instance of GoogleAdsSearchads360V0ResourcesShoppingPerformanceView.



7502
7503
7504
# File 'lib/google/apis/searchads360_v0/classes.rb', line 7502

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#resource_nameString

Output only. The resource name of the Shopping performance view. Shopping performance view resource names have the form: customers/customer_id/ shoppingPerformanceView Corresponds to the JSON property resourceName

Returns:

  • (String)


7500
7501
7502
# File 'lib/google/apis/searchads360_v0/classes.rb', line 7500

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7507
7508
7509
# File 'lib/google/apis/searchads360_v0/classes.rb', line 7507

def update!(**args)
  @resource_name = args[:resource_name] if args.key?(:resource_name)
end