Class: Google::Apis::FirebasedynamiclinksV1::GooglePlayAnalytics

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

Overview

Parameters for Google Play Campaign Measurements. Learn more

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GooglePlayAnalytics

Returns a new instance of GooglePlayAnalytics.



835
836
837
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 835

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

Instance Attribute Details

#gclidString

AdWords autotagging parameter; used to measure Google AdWords ads. This value is generated dynamically and should never be modified. Corresponds to the JSON property gclid

Returns:

  • (String)


805
806
807
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 805

def gclid
  @gclid
end

#utm_campaignString

Campaign name; used for keyword analysis to identify a specific product promotion or strategic campaign. Corresponds to the JSON property utmCampaign

Returns:

  • (String)


811
812
813
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 811

def utm_campaign
  @utm_campaign
end

#utm_contentString

Campaign content; used for A/B testing and content-targeted ads to differentiate ads or links that point to the same URL. Corresponds to the JSON property utmContent

Returns:

  • (String)


817
818
819
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 817

def utm_content
  @utm_content
end

#utm_mediumString

Campaign medium; used to identify a medium such as email or cost-per-click. Corresponds to the JSON property utmMedium

Returns:

  • (String)


822
823
824
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 822

def utm_medium
  @utm_medium
end

#utm_sourceString

Campaign source; used to identify a search engine, newsletter, or other source. Corresponds to the JSON property utmSource

Returns:

  • (String)


828
829
830
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 828

def utm_source
  @utm_source
end

#utm_termString

Campaign term; used with paid search to supply the keywords for ads. Corresponds to the JSON property utmTerm

Returns:

  • (String)


833
834
835
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 833

def utm_term
  @utm_term
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



840
841
842
843
844
845
846
847
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 840

def update!(**args)
  @gclid = args[:gclid] if args.key?(:gclid)
  @utm_campaign = args[:utm_campaign] if args.key?(:utm_campaign)
  @utm_content = args[:utm_content] if args.key?(:utm_content)
  @utm_medium = args[:utm_medium] if args.key?(:utm_medium)
  @utm_source = args[:utm_source] if args.key?(:utm_source)
  @utm_term = args[:utm_term] if args.key?(:utm_term)
end