Class: Google::Apis::DfareportingV2_3::FloodlightActivityGroup
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_3::FloodlightActivityGroup
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v2_3/classes.rb,
generated/google/apis/dfareporting_v2_3/representations.rb,
generated/google/apis/dfareporting_v2_3/representations.rb
Overview
Contains properties of a Floodlight activity group.
Instance Attribute Summary collapse
-
#account_id ⇒ String
Account ID of this floodlight activity group.
-
#advertiser_id ⇒ String
Advertiser ID of this floodlight activity group.
-
#advertiser_id_dimension_value ⇒ Google::Apis::DfareportingV2_3::DimensionValue
Represents a DimensionValue resource.
-
#floodlight_configuration_id ⇒ String
Floodlight configuration ID of this floodlight activity group.
-
#floodlight_configuration_id_dimension_value ⇒ Google::Apis::DfareportingV2_3::DimensionValue
Represents a DimensionValue resource.
-
#id ⇒ String
ID of this floodlight activity group.
-
#id_dimension_value ⇒ Google::Apis::DfareportingV2_3::DimensionValue
Represents a DimensionValue resource.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#name ⇒ String
Name of this floodlight activity group.
-
#subaccount_id ⇒ String
Subaccount ID of this floodlight activity group.
-
#tag_string ⇒ String
Value of the type= parameter in the floodlight tag, which the ad servers use to identify the activity group that the activity belongs to.
-
#type ⇒ String
Type of the floodlight activity group.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FloodlightActivityGroup
constructor
A new instance of FloodlightActivityGroup.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ FloodlightActivityGroup
Returns a new instance of FloodlightActivityGroup
5492 5493 5494 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 5492 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_id ⇒ String
Account ID of this floodlight activity group. This is a read-only field that
can be left blank.
Corresponds to the JSON property accountId
5422 5423 5424 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 5422 def account_id @account_id end |
#advertiser_id ⇒ String
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
5429 5430 5431 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 5429 def advertiser_id @advertiser_id end |
#advertiser_id_dimension_value ⇒ Google::Apis::DfareportingV2_3::DimensionValue
Represents a DimensionValue resource.
Corresponds to the JSON property advertiserIdDimensionValue
5434 5435 5436 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 5434 def advertiser_id_dimension_value @advertiser_id_dimension_value end |
#floodlight_configuration_id ⇒ String
Floodlight configuration ID of this floodlight activity group. This is a
required field.
Corresponds to the JSON property floodlightConfigurationId
5440 5441 5442 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 5440 def floodlight_configuration_id @floodlight_configuration_id end |
#floodlight_configuration_id_dimension_value ⇒ Google::Apis::DfareportingV2_3::DimensionValue
Represents a DimensionValue resource.
Corresponds to the JSON property floodlightConfigurationIdDimensionValue
5445 5446 5447 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 5445 def floodlight_configuration_id_dimension_value @floodlight_configuration_id_dimension_value end |
#id ⇒ String
ID of this floodlight activity group. This is a read-only, auto-generated
field.
Corresponds to the JSON property id
5451 5452 5453 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 5451 def id @id end |
#id_dimension_value ⇒ Google::Apis::DfareportingV2_3::DimensionValue
Represents a DimensionValue resource.
Corresponds to the JSON property idDimensionValue
5456 5457 5458 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 5456 def id_dimension_value @id_dimension_value end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#floodlightActivityGroup".
Corresponds to the JSON property kind
5462 5463 5464 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 5462 def kind @kind end |
#name ⇒ String
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
5468 5469 5470 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 5468 def name @name end |
#subaccount_id ⇒ String
Subaccount ID of this floodlight activity group. This is a read-only field
that can be left blank.
Corresponds to the JSON property subaccountId
5474 5475 5476 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 5474 def subaccount_id @subaccount_id end |
#tag_string ⇒ String
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
5484 5485 5486 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 5484 def tag_string @tag_string end |
#type ⇒ String
Type of the floodlight activity group. This is a required field that is read-
only after insertion.
Corresponds to the JSON property type
5490 5491 5492 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 5490 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 5497 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 |