Class: Google::Apis::DfareportingV4::FloodlightActivityGroup
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV4::FloodlightActivityGroup
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dfareporting_v4/classes.rb,
lib/google/apis/dfareporting_v4/representations.rb,
lib/google/apis/dfareporting_v4/representations.rb
Overview
Contains properties of a Floodlight activity group.
Instance Attribute Summary collapse
-
#account_id ⇒ Fixnum
Account ID of this floodlight activity group.
-
#advertiser_id ⇒ Fixnum
Advertiser ID of this floodlight activity group.
-
#advertiser_id_dimension_value ⇒ Google::Apis::DfareportingV4::DimensionValue
Represents a DimensionValue resource.
-
#floodlight_configuration_id ⇒ Fixnum
Floodlight configuration ID of this floodlight activity group.
-
#floodlight_configuration_id_dimension_value ⇒ Google::Apis::DfareportingV4::DimensionValue
Represents a DimensionValue resource.
-
#id ⇒ Fixnum
ID of this floodlight activity group.
-
#id_dimension_value ⇒ Google::Apis::DfareportingV4::DimensionValue
Represents a DimensionValue resource.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#name ⇒ String
Name of this floodlight activity group.
-
#subaccount_id ⇒ Fixnum
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.
Constructor Details
#initialize(**args) ⇒ FloodlightActivityGroup
Returns a new instance of FloodlightActivityGroup.
6642 6643 6644 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6642 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_id ⇒ Fixnum
Account ID of this floodlight activity group. This is a read-only field that
can be left blank.
Corresponds to the JSON property accountId
6572 6573 6574 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6572 def account_id @account_id end |
#advertiser_id ⇒ Fixnum
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
6579 6580 6581 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6579 def advertiser_id @advertiser_id end |
#advertiser_id_dimension_value ⇒ Google::Apis::DfareportingV4::DimensionValue
Represents a DimensionValue resource.
Corresponds to the JSON property advertiserIdDimensionValue
6584 6585 6586 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6584 def advertiser_id_dimension_value @advertiser_id_dimension_value end |
#floodlight_configuration_id ⇒ Fixnum
Floodlight configuration ID of this floodlight activity group. This is a
required field.
Corresponds to the JSON property floodlightConfigurationId
6590 6591 6592 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6590 def floodlight_configuration_id @floodlight_configuration_id end |
#floodlight_configuration_id_dimension_value ⇒ Google::Apis::DfareportingV4::DimensionValue
Represents a DimensionValue resource.
Corresponds to the JSON property floodlightConfigurationIdDimensionValue
6595 6596 6597 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6595 def floodlight_configuration_id_dimension_value @floodlight_configuration_id_dimension_value end |
#id ⇒ Fixnum
ID of this floodlight activity group. This is a read-only, auto-generated
field.
Corresponds to the JSON property id
6601 6602 6603 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6601 def id @id end |
#id_dimension_value ⇒ Google::Apis::DfareportingV4::DimensionValue
Represents a DimensionValue resource.
Corresponds to the JSON property idDimensionValue
6606 6607 6608 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6606 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
6612 6613 6614 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6612 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
6618 6619 6620 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6618 def name @name end |
#subaccount_id ⇒ Fixnum
Subaccount ID of this floodlight activity group. This is a read-only field
that can be left blank.
Corresponds to the JSON property subaccountId
6624 6625 6626 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6624 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-z0-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
6634 6635 6636 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6634 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
6640 6641 6642 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6640 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6647 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 |