Class: Google::Apis::DfareportingV3_4::FloodlightActivitiesGenerateTagResponse

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

Overview

Floodlight Activity GenerateTag Response

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) ⇒ FloodlightActivitiesGenerateTagResponse

Returns a new instance of FloodlightActivitiesGenerateTagResponse.


6223
6224
6225
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 6223

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

Instance Attribute Details

#floodlight_activity_tagString

Generated tag for this Floodlight activity. For global site tags, this is the event snippet. Corresponds to the JSON property floodlightActivityTag

Returns:

  • (String)

6208
6209
6210
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 6208

def floodlight_activity_tag
  @floodlight_activity_tag
end

#global_site_tag_global_snippetString

The global snippet section of a global site tag. The global site tag sets new cookies on your domain, which will store a unique identifier for a user or the ad click that brought the user to your site. Learn more. Corresponds to the JSON property globalSiteTagGlobalSnippet

Returns:

  • (String)

6215
6216
6217
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 6215

def global_site_tag_global_snippet
  @global_site_tag_global_snippet
end

#kindString

Identifies what kind of resource this is. Value: the fixed string " dfareporting#floodlightActivitiesGenerateTagResponse". Corresponds to the JSON property kind

Returns:

  • (String)

6221
6222
6223
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 6221

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


6228
6229
6230
6231
6232
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 6228

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