Class: Google::Apis::DfareportingV2_7::FloodlightActivityGroup

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dfareporting_v2_7/classes.rb,
generated/google/apis/dfareporting_v2_7/representations.rb,
generated/google/apis/dfareporting_v2_7/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



6027
6028
6029
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 6027

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)


5957
5958
5959
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 5957

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)


5964
5965
5966
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 5964

def advertiser_id
  @advertiser_id
end

#advertiser_id_dimension_valueGoogle::Apis::DfareportingV2_7::DimensionValue

Represents a DimensionValue resource. Corresponds to the JSON property advertiserIdDimensionValue



5969
5970
5971
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 5969

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)


5975
5976
5977
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 5975

def floodlight_configuration_id
  @floodlight_configuration_id
end

#floodlight_configuration_id_dimension_valueGoogle::Apis::DfareportingV2_7::DimensionValue

Represents a DimensionValue resource. Corresponds to the JSON property floodlightConfigurationIdDimensionValue



5980
5981
5982
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 5980

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)


5986
5987
5988
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 5986

def id
  @id
end

#id_dimension_valueGoogle::Apis::DfareportingV2_7::DimensionValue

Represents a DimensionValue resource. Corresponds to the JSON property idDimensionValue



5991
5992
5993
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 5991

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)


5997
5998
5999
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 5997

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)


6003
6004
6005
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 6003

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)


6009
6010
6011
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 6009

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)


6019
6020
6021
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 6019

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)


6025
6026
6027
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 6025

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 6032

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