Class: Google::Apis::DfareportingV4::FloodlightActivity

Inherits:
Object
  • Object
show all
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.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FloodlightActivity

Returns a new instance of FloodlightActivity.



6512
6513
6514
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6512

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

Instance Attribute Details

#account_idFixnum

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

Returns:

  • (Fixnum)


6339
6340
6341
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6339

def 
  @account_id
end

#advertiser_idFixnum

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

Returns:

  • (Fixnum)


6346
6347
6348
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6346

def advertiser_id
  @advertiser_id
end

#advertiser_id_dimension_valueGoogle::Apis::DfareportingV4::DimensionValue

Represents a DimensionValue resource. Corresponds to the JSON property advertiserIdDimensionValue



6351
6352
6353
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6351

def advertiser_id_dimension_value
  @advertiser_id_dimension_value
end

#attribution_enabledBoolean Also known as: attribution_enabled?

Whether the activity is enabled for attribution. Corresponds to the JSON property attributionEnabled

Returns:

  • (Boolean)


6356
6357
6358
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6356

def attribution_enabled
  @attribution_enabled
end

#cache_busting_typeString

Code type used for cache busting in the generated tag. Applicable only when floodlightActivityGroupType is COUNTER and countingMethod is STANDARD_COUNTING or UNIQUE_COUNTING. Corresponds to the JSON property cacheBustingType

Returns:

  • (String)


6364
6365
6366
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6364

def cache_busting_type
  @cache_busting_type
end

#counting_methodString

Counting method for conversions for this floodlight activity. This is a required field. Corresponds to the JSON property countingMethod

Returns:

  • (String)


6370
6371
6372
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6370

def counting_method
  @counting_method
end

#default_tagsArray<Google::Apis::DfareportingV4::FloodlightActivityDynamicTag>

Dynamic floodlight tags. Corresponds to the JSON property defaultTags



6375
6376
6377
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6375

def default_tags
  @default_tags
end

#expected_urlString

URL where this tag will be deployed. If specified, must be less than 256 characters long. Corresponds to the JSON property expectedUrl

Returns:

  • (String)


6381
6382
6383
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6381

def expected_url
  @expected_url
end

#floodlight_activity_group_idFixnum

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

Returns:

  • (Fixnum)


6387
6388
6389
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6387

def floodlight_activity_group_id
  @floodlight_activity_group_id
end

#floodlight_activity_group_nameString

Name of the associated floodlight activity group. This is a read-only field. Corresponds to the JSON property floodlightActivityGroupName

Returns:

  • (String)


6392
6393
6394
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6392

def floodlight_activity_group_name
  @floodlight_activity_group_name
end

#floodlight_activity_group_tag_stringString

Tag string of the associated floodlight activity group. This is a read-only field. Corresponds to the JSON property floodlightActivityGroupTagString

Returns:

  • (String)


6398
6399
6400
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6398

def floodlight_activity_group_tag_string
  @floodlight_activity_group_tag_string
end

#floodlight_activity_group_typeString

Type of the associated floodlight activity group. This is a read-only field. Corresponds to the JSON property floodlightActivityGroupType

Returns:

  • (String)


6403
6404
6405
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6403

def floodlight_activity_group_type
  @floodlight_activity_group_type
end

#floodlight_configuration_idFixnum

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

Returns:

  • (Fixnum)


6411
6412
6413
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6411

def floodlight_configuration_id
  @floodlight_configuration_id
end

#floodlight_configuration_id_dimension_valueGoogle::Apis::DfareportingV4::DimensionValue

Represents a DimensionValue resource. Corresponds to the JSON property floodlightConfigurationIdDimensionValue



6416
6417
6418
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6416

def floodlight_configuration_id_dimension_value
  @floodlight_configuration_id_dimension_value
end

#floodlight_tag_typeString

The type of Floodlight tag this activity will generate. This is a required field. Corresponds to the JSON property floodlightTagType

Returns:

  • (String)


6422
6423
6424
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6422

def floodlight_tag_type
  @floodlight_tag_type
end

#idFixnum

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

Returns:

  • (Fixnum)


6427
6428
6429
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6427

def id
  @id
end

#id_dimension_valueGoogle::Apis::DfareportingV4::DimensionValue

Represents a DimensionValue resource. Corresponds to the JSON property idDimensionValue



6432
6433
6434
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6432

def id_dimension_value
  @id_dimension_value
end

#kindString

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

Returns:

  • (String)


6438
6439
6440
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6438

def kind
  @kind
end

#nameString

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

Returns:

  • (String)


6444
6445
6446
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6444

def name
  @name
end

#notesString

General notes or implementation instructions for the tag. Corresponds to the JSON property notes

Returns:

  • (String)


6449
6450
6451
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6449

def notes
  @notes
end

#publisher_tagsArray<Google::Apis::DfareportingV4::FloodlightActivityPublisherDynamicTag>

Publisher dynamic floodlight tags. Corresponds to the JSON property publisherTags



6454
6455
6456
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6454

def publisher_tags
  @publisher_tags
end

#secureBoolean Also known as: secure?

Whether this tag should use SSL. Corresponds to the JSON property secure

Returns:

  • (Boolean)


6459
6460
6461
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6459

def secure
  @secure
end

#ssl_compliantBoolean Also known as: ssl_compliant?

Whether the floodlight activity is SSL-compliant. This is a read-only field, its value detected by the system from the floodlight tags. Corresponds to the JSON property sslCompliant

Returns:

  • (Boolean)


6466
6467
6468
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6466

def ssl_compliant
  @ssl_compliant
end

#ssl_requiredBoolean Also known as: ssl_required?

Whether this floodlight activity must be SSL-compliant. Corresponds to the JSON property sslRequired

Returns:

  • (Boolean)


6472
6473
6474
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6472

def ssl_required
  @ssl_required
end

#statusString

The status of the activity. This can only be set to ACTIVE or ARCHIVED_AND_DISABLED. The ARCHIVED status is no longer supported and cannot be set for Floodlight activities. The DISABLED_POLICY status indicates that a Floodlight activity is violating Google policy. Contact your account manager for more information. Corresponds to the JSON property status

Returns:

  • (String)


6482
6483
6484
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6482

def status
  @status
end

#subaccount_idFixnum

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

Returns:

  • (Fixnum)


6488
6489
6490
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6488

def subaccount_id
  @subaccount_id
end

#tag_formatString

Tag format type for the floodlight activity. If left blank, the tag format will default to HTML. Corresponds to the JSON property tagFormat

Returns:

  • (String)


6494
6495
6496
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6494

def tag_format
  @tag_format
end

#tag_stringString

Value of the cat= parameter in the floodlight tag, which the ad servers use to identify the activity. 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 activities of the same activity group. This field is read-only after insertion. Corresponds to the JSON property tagString

Returns:

  • (String)


6503
6504
6505
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6503

def tag_string
  @tag_string
end

#user_defined_variable_typesArray<String>

List of the user-defined variables used by this conversion tag. These map to the "u[1-100]=" in the tags. Each of these can have a user defined type. Acceptable values are U1 to U100, inclusive. Corresponds to the JSON property userDefinedVariableTypes

Returns:

  • (Array<String>)


6510
6511
6512
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6510

def user_defined_variable_types
  @user_defined_variable_types
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6517

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)
  @attribution_enabled = args[:attribution_enabled] if args.key?(:attribution_enabled)
  @cache_busting_type = args[:cache_busting_type] if args.key?(:cache_busting_type)
  @counting_method = args[:counting_method] if args.key?(:counting_method)
  @default_tags = args[:default_tags] if args.key?(:default_tags)
  @expected_url = args[:expected_url] if args.key?(:expected_url)
  @floodlight_activity_group_id = args[:floodlight_activity_group_id] if args.key?(:floodlight_activity_group_id)
  @floodlight_activity_group_name = args[:floodlight_activity_group_name] if args.key?(:floodlight_activity_group_name)
  @floodlight_activity_group_tag_string = args[:floodlight_activity_group_tag_string] if args.key?(:floodlight_activity_group_tag_string)
  @floodlight_activity_group_type = args[:floodlight_activity_group_type] if args.key?(:floodlight_activity_group_type)
  @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)
  @floodlight_tag_type = args[:floodlight_tag_type] if args.key?(:floodlight_tag_type)
  @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)
  @notes = args[:notes] if args.key?(:notes)
  @publisher_tags = args[:publisher_tags] if args.key?(:publisher_tags)
  @secure = args[:secure] if args.key?(:secure)
  @ssl_compliant = args[:ssl_compliant] if args.key?(:ssl_compliant)
  @ssl_required = args[:ssl_required] if args.key?(:ssl_required)
  @status = args[:status] if args.key?(:status)
  @subaccount_id = args[:subaccount_id] if args.key?(:subaccount_id)
  @tag_format = args[:tag_format] if args.key?(:tag_format)
  @tag_string = args[:tag_string] if args.key?(:tag_string)
  @user_defined_variable_types = args[:user_defined_variable_types] if args.key?(:user_defined_variable_types)
end