Class: Google::Apis::DfareportingV2_1::FloodlightActivityGroup

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

Contains properties of a Floodlight activity group.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ FloodlightActivityGroup

Returns a new instance of FloodlightActivityGroup.



5422
5423
5424
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 5422

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

Instance Attribute Details

#account_idString

Account ID of this floodlight activity group. This is a read-only field that can be left blank. Corresponds to the JSON property accountId

Returns:

  • (String)


5352
5353
5354
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 5352

def 
  @account_id
end

#advertiser_idString

Advertiser ID of this floodlight activity group. If this field is left blank, the value will be copied over either from the floodlight configuration's advertiser or from the existing activity group's advertiser. Corresponds to the JSON property advertiserId

Returns:

  • (String)


5359
5360
5361
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 5359

def advertiser_id
  @advertiser_id
end

#advertiser_id_dimension_valueGoogle::Apis::DfareportingV2_1::DimensionValue

Represents a DimensionValue resource. Corresponds to the JSON property advertiserIdDimensionValue



5364
5365
5366
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 5364

def advertiser_id_dimension_value
  @advertiser_id_dimension_value
end

#floodlight_configuration_idString

Floodlight configuration ID of this floodlight activity group. This is a required field. Corresponds to the JSON property floodlightConfigurationId

Returns:

  • (String)


5370
5371
5372
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 5370

def floodlight_configuration_id
  @floodlight_configuration_id
end

#floodlight_configuration_id_dimension_valueGoogle::Apis::DfareportingV2_1::DimensionValue

Represents a DimensionValue resource. Corresponds to the JSON property floodlightConfigurationIdDimensionValue



5375
5376
5377
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 5375

def floodlight_configuration_id_dimension_value
  @floodlight_configuration_id_dimension_value
end

#idString

ID of this floodlight activity group. This is a read-only, auto-generated field. Corresponds to the JSON property id

Returns:

  • (String)


5381
5382
5383
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 5381

def id
  @id
end

#id_dimension_valueGoogle::Apis::DfareportingV2_1::DimensionValue

Represents a DimensionValue resource. Corresponds to the JSON property idDimensionValue



5386
5387
5388
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 5386

def id_dimension_value
  @id_dimension_value
end

#kindString

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

Returns:

  • (String)


5392
5393
5394
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 5392

def kind
  @kind
end

#nameString

Name of this floodlight activity group. This is a required field. Must be less than 65 characters long and cannot contain quotes. Corresponds to the JSON property name

Returns:

  • (String)


5398
5399
5400
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 5398

def name
  @name
end

#subaccount_idString

Subaccount ID of this floodlight activity group. This is a read-only field that can be left blank. Corresponds to the JSON property subaccountId

Returns:

  • (String)


5404
5405
5406
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 5404

def subaccount_id
  @subaccount_id
end

#tag_stringString

Value of the type= parameter in the floodlight tag, which the ad servers use to identify the activity group that the activity belongs to. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being [a-z][A-Z][0-9][-][ _ ]. This tag string must also be unique among activity groups of the same floodlight configuration. This field is read-only after insertion. Corresponds to the JSON property tagString

Returns:

  • (String)


5414
5415
5416
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 5414

def tag_string
  @tag_string
end

#typeString

Type of the floodlight activity group. This is a required field that is read- only after insertion. Corresponds to the JSON property type

Returns:

  • (String)


5420
5421
5422
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 5420

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 5427

def update!(**args)
  @account_id = args[:account_id] unless args[:account_id].nil?
  @advertiser_id = args[:advertiser_id] unless args[:advertiser_id].nil?
  @advertiser_id_dimension_value = args[:advertiser_id_dimension_value] unless args[:advertiser_id_dimension_value].nil?
  @floodlight_configuration_id = args[:floodlight_configuration_id] unless args[:floodlight_configuration_id].nil?
  @floodlight_configuration_id_dimension_value = args[:floodlight_configuration_id_dimension_value] unless args[:floodlight_configuration_id_dimension_value].nil?
  @id = args[:id] unless args[:id].nil?
  @id_dimension_value = args[:id_dimension_value] unless args[:id_dimension_value].nil?
  @kind = args[:kind] unless args[:kind].nil?
  @name = args[:name] unless args[:name].nil?
  @subaccount_id = args[:subaccount_id] unless args[:subaccount_id].nil?
  @tag_string = args[:tag_string] unless args[:tag_string].nil?
  @type = args[:type] unless args[:type].nil?
end