Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesConversionActionGoogleAnalytics4Settings
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesConversionActionGoogleAnalytics4Settings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/searchads360_v23/classes.rb,
lib/google/apis/searchads360_v23/representations.rb,
lib/google/apis/searchads360_v23/representations.rb
Overview
Settings related to a Google Analytics 4 conversion action.
Instance Attribute Summary collapse
-
#event_name ⇒ String
Output only.
-
#property_id ⇒ Fixnum
Output only.
-
#property_name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesConversionActionGoogleAnalytics4Settings
constructor
A new instance of GoogleAdsSearchads360V23ResourcesConversionActionGoogleAnalytics4Settings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesConversionActionGoogleAnalytics4Settings
Returns a new instance of GoogleAdsSearchads360V23ResourcesConversionActionGoogleAnalytics4Settings.
16351 16352 16353 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16351 def initialize(**args) update!(**args) end |
Instance Attribute Details
#event_name ⇒ String
Output only. The name of the GA 4 event.
Corresponds to the JSON property eventName
16339 16340 16341 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16339 def event_name @event_name end |
#property_id ⇒ Fixnum
Output only. The ID of the GA 4 property.
Corresponds to the JSON property propertyId
16344 16345 16346 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16344 def property_id @property_id end |
#property_name ⇒ String
Output only. The name of the GA 4 property.
Corresponds to the JSON property propertyName
16349 16350 16351 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16349 def property_name @property_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16356 16357 16358 16359 16360 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16356 def update!(**args) @event_name = args[:event_name] if args.key?(:event_name) @property_id = args[:property_id] if args.key?(:property_id) @property_name = args[:property_name] if args.key?(:property_name) end |