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.
16285 16286 16287 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16285 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
16273 16274 16275 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16273 def event_name @event_name end |
#property_id ⇒ Fixnum
Output only. The ID of the GA 4 property.
Corresponds to the JSON property propertyId
16278 16279 16280 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16278 def property_id @property_id end |
#property_name ⇒ String
Output only. The name of the GA 4 property.
Corresponds to the JSON property propertyName
16283 16284 16285 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16283 def property_name @property_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16290 16291 16292 16293 16294 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16290 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 |