Class: Google::Apis::DfareportingV3_3::FloodlightActivityPublisherDynamicTag

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

Overview

Publisher Dynamic Tag

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

Returns a new instance of FloodlightActivityPublisherDynamicTag.



6269
6270
6271
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 6269

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)


6238
6239
6240
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 6238

def click_through
  @click_through
end

#directory_site_idFixnum

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:

  • (Fixnum)


6246
6247
6248
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 6246

def directory_site_id
  @directory_site_id
end

#dynamic_tagGoogle::Apis::DfareportingV3_3::FloodlightActivityDynamicTag

Dynamic Tag Corresponds to the JSON property dynamicTag



6251
6252
6253
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 6251

def dynamic_tag
  @dynamic_tag
end

#site_idFixnum

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

Returns:

  • (Fixnum)


6256
6257
6258
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 6256

def site_id
  @site_id
end

#site_id_dimension_valueGoogle::Apis::DfareportingV3_3::DimensionValue

Represents a DimensionValue resource. Corresponds to the JSON property siteIdDimensionValue



6261
6262
6263
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 6261

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)


6266
6267
6268
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 6266

def view_through
  @view_through
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6274
6275
6276
6277
6278
6279
6280
6281
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 6274

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