Class: Google::Apis::DfareportingV2_8::FloodlightActivityGroup

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

Overview

Contains properties of a Floodlight activity group.

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

Returns a new instance of FloodlightActivityGroup



6160
6161
6162
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 6160

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

Instance Attribute Details

#account_idFixnum

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:

  • (Fixnum)


6090
6091
6092
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 6090

def 
  @account_id
end

#advertiser_idFixnum

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:

  • (Fixnum)


6097
6098
6099
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 6097

def advertiser_id
  @advertiser_id
end

#advertiser_id_dimension_valueGoogle::Apis::DfareportingV2_8::DimensionValue

Represents a DimensionValue resource. Corresponds to the JSON property advertiserIdDimensionValue



6102
6103
6104
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 6102

def advertiser_id_dimension_value
  @advertiser_id_dimension_value
end

#floodlight_configuration_idFixnum

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

Returns:

  • (Fixnum)


6108
6109
6110
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 6108

def floodlight_configuration_id
  @floodlight_configuration_id
end

#floodlight_configuration_id_dimension_valueGoogle::Apis::DfareportingV2_8::DimensionValue

Represents a DimensionValue resource. Corresponds to the JSON property floodlightConfigurationIdDimensionValue



6113
6114
6115
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 6113

def floodlight_configuration_id_dimension_value
  @floodlight_configuration_id_dimension_value
end

#idFixnum

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

Returns:

  • (Fixnum)


6119
6120
6121
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 6119

def id
  @id
end

#id_dimension_valueGoogle::Apis::DfareportingV2_8::DimensionValue

Represents a DimensionValue resource. Corresponds to the JSON property idDimensionValue



6124
6125
6126
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 6124

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)


6130
6131
6132
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 6130

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)


6136
6137
6138
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 6136

def name
  @name
end

#subaccount_idFixnum

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:

  • (Fixnum)


6142
6143
6144
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 6142

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)


6152
6153
6154
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 6152

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)


6158
6159
6160
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 6158

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 6165

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