Class: Google::Apis::DfareportingV2_1::FloodlightActivityPublisherDynamicTag

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

Overview

Publisher Dynamic Tag

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ FloodlightActivityPublisherDynamicTag

Returns a new instance of FloodlightActivityPublisherDynamicTag.



5513
5514
5515
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 5513

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

Instance Attribute Details

#click_throughBoolean Also known as: click_through?

Whether this tag is applicable only for click-throughs. Corresponds to the JSON property clickThrough

Returns:

  • (Boolean)


5482
5483
5484
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 5482

def click_through
  @click_through
end

#directory_site_idString

Directory site ID of this dynamic tag. This is a write-only field that can be used as an alternative to the siteId field. When this resource is retrieved, only the siteId field will be populated. Corresponds to the JSON property directorySiteId

Returns:

  • (String)


5490
5491
5492
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 5490

def directory_site_id
  @directory_site_id
end

#dynamic_tagGoogle::Apis::DfareportingV2_1::FloodlightActivityDynamicTag

Dynamic Tag Corresponds to the JSON property dynamicTag



5495
5496
5497
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 5495

def dynamic_tag
  @dynamic_tag
end

#site_idString

Site ID of this dynamic tag. Corresponds to the JSON property siteId

Returns:

  • (String)


5500
5501
5502
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 5500

def site_id
  @site_id
end

#site_id_dimension_valueGoogle::Apis::DfareportingV2_1::DimensionValue

Represents a DimensionValue resource. Corresponds to the JSON property siteIdDimensionValue



5505
5506
5507
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 5505

def site_id_dimension_value
  @site_id_dimension_value
end

#view_throughBoolean Also known as: view_through?

Whether this tag is applicable only for view-throughs. Corresponds to the JSON property viewThrough

Returns:

  • (Boolean)


5510
5511
5512
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 5510

def view_through
  @view_through
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5518
5519
5520
5521
5522
5523
5524
5525
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 5518

def update!(**args)
  @click_through = args[:click_through] unless args[:click_through].nil?
  @directory_site_id = args[:directory_site_id] unless args[:directory_site_id].nil?
  @dynamic_tag = args[:dynamic_tag] unless args[:dynamic_tag].nil?
  @site_id = args[:site_id] unless args[:site_id].nil?
  @site_id_dimension_value = args[:site_id_dimension_value] unless args[:site_id_dimension_value].nil?
  @view_through = args[:view_through] unless args[:view_through].nil?
end