Class: Google::Apis::DfareportingV4::FloodlightActivity
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV4::FloodlightActivity
- 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
-
#account_id ⇒ Fixnum
Account ID of this floodlight activity.
-
#advertiser_id ⇒ Fixnum
Advertiser ID of this floodlight activity.
-
#advertiser_id_dimension_value ⇒ Google::Apis::DfareportingV4::DimensionValue
Represents a DimensionValue resource.
-
#attribution_enabled ⇒ Boolean
(also: #attribution_enabled?)
Whether the activity is enabled for attribution.
-
#cache_busting_type ⇒ String
Code type used for cache busting in the generated tag.
-
#counting_method ⇒ String
Counting method for conversions for this floodlight activity.
-
#default_tags ⇒ Array<Google::Apis::DfareportingV4::FloodlightActivityDynamicTag>
Dynamic floodlight tags.
-
#expected_url ⇒ String
URL where this tag will be deployed.
-
#floodlight_activity_group_id ⇒ Fixnum
Floodlight activity group ID of this floodlight activity.
-
#floodlight_activity_group_name ⇒ String
Name of the associated floodlight activity group.
-
#floodlight_activity_group_tag_string ⇒ String
Tag string of the associated floodlight activity group.
-
#floodlight_activity_group_type ⇒ String
Type of the associated floodlight activity group.
-
#floodlight_configuration_id ⇒ Fixnum
Floodlight configuration ID of this floodlight activity.
-
#floodlight_configuration_id_dimension_value ⇒ Google::Apis::DfareportingV4::DimensionValue
Represents a DimensionValue resource.
-
#floodlight_tag_type ⇒ String
The type of Floodlight tag this activity will generate.
-
#id ⇒ Fixnum
ID of this floodlight activity.
-
#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.
-
#notes ⇒ String
General notes or implementation instructions for the tag.
-
#publisher_tags ⇒ Array<Google::Apis::DfareportingV4::FloodlightActivityPublisherDynamicTag>
Publisher dynamic floodlight tags.
-
#secure ⇒ Boolean
(also: #secure?)
Whether this tag should use SSL.
-
#ssl_compliant ⇒ Boolean
(also: #ssl_compliant?)
Whether the floodlight activity is SSL-compliant.
-
#ssl_required ⇒ Boolean
(also: #ssl_required?)
Whether this floodlight activity must be SSL-compliant.
-
#status ⇒ String
The status of the activity.
-
#subaccount_id ⇒ Fixnum
Subaccount ID of this floodlight activity.
-
#tag_format ⇒ String
Tag format type for the floodlight activity.
-
#tag_string ⇒ String
Value of the cat= parameter in the floodlight tag, which the ad servers use to identify the activity.
-
#user_defined_variable_types ⇒ Array<String>
List of the user-defined variables used by this conversion tag.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FloodlightActivity
constructor
A new instance of FloodlightActivity.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FloodlightActivity
Returns a new instance of FloodlightActivity.
6367 6368 6369 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6367 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_id ⇒ Fixnum
Account ID of this floodlight activity. This is a read-only field that can be
left blank.
Corresponds to the JSON property accountId
6194 6195 6196 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6194 def account_id @account_id end |
#advertiser_id ⇒ Fixnum
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
6201 6202 6203 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6201 def advertiser_id @advertiser_id end |
#advertiser_id_dimension_value ⇒ Google::Apis::DfareportingV4::DimensionValue
Represents a DimensionValue resource.
Corresponds to the JSON property advertiserIdDimensionValue
6206 6207 6208 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6206 def advertiser_id_dimension_value @advertiser_id_dimension_value end |
#attribution_enabled ⇒ Boolean Also known as: attribution_enabled?
Whether the activity is enabled for attribution.
Corresponds to the JSON property attributionEnabled
6211 6212 6213 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6211 def attribution_enabled @attribution_enabled end |
#cache_busting_type ⇒ String
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
6219 6220 6221 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6219 def cache_busting_type @cache_busting_type end |
#counting_method ⇒ String
Counting method for conversions for this floodlight activity. This is a
required field.
Corresponds to the JSON property countingMethod
6225 6226 6227 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6225 def counting_method @counting_method end |
#default_tags ⇒ Array<Google::Apis::DfareportingV4::FloodlightActivityDynamicTag>
Dynamic floodlight tags.
Corresponds to the JSON property defaultTags
6230 6231 6232 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6230 def @default_tags end |
#expected_url ⇒ String
URL where this tag will be deployed. If specified, must be less than 256
characters long.
Corresponds to the JSON property expectedUrl
6236 6237 6238 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6236 def expected_url @expected_url end |
#floodlight_activity_group_id ⇒ Fixnum
Floodlight activity group ID of this floodlight activity. This is a required
field.
Corresponds to the JSON property floodlightActivityGroupId
6242 6243 6244 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6242 def floodlight_activity_group_id @floodlight_activity_group_id end |
#floodlight_activity_group_name ⇒ String
Name of the associated floodlight activity group. This is a read-only field.
Corresponds to the JSON property floodlightActivityGroupName
6247 6248 6249 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6247 def floodlight_activity_group_name @floodlight_activity_group_name end |
#floodlight_activity_group_tag_string ⇒ String
Tag string of the associated floodlight activity group. This is a read-only
field.
Corresponds to the JSON property floodlightActivityGroupTagString
6253 6254 6255 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6253 def floodlight_activity_group_tag_string @floodlight_activity_group_tag_string end |
#floodlight_activity_group_type ⇒ String
Type of the associated floodlight activity group. This is a read-only field.
Corresponds to the JSON property floodlightActivityGroupType
6258 6259 6260 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6258 def floodlight_activity_group_type @floodlight_activity_group_type end |
#floodlight_configuration_id ⇒ Fixnum
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
6266 6267 6268 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6266 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
6271 6272 6273 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6271 def floodlight_configuration_id_dimension_value @floodlight_configuration_id_dimension_value end |
#floodlight_tag_type ⇒ String
The type of Floodlight tag this activity will generate. This is a required
field.
Corresponds to the JSON property floodlightTagType
6277 6278 6279 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6277 def floodlight_tag_type @floodlight_tag_type end |
#id ⇒ Fixnum
ID of this floodlight activity. This is a read-only, auto-generated field.
Corresponds to the JSON property id
6282 6283 6284 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6282 def id @id end |
#id_dimension_value ⇒ Google::Apis::DfareportingV4::DimensionValue
Represents a DimensionValue resource.
Corresponds to the JSON property idDimensionValue
6287 6288 6289 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6287 def id_dimension_value @id_dimension_value end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#floodlightActivity".
Corresponds to the JSON property kind
6293 6294 6295 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6293 def kind @kind end |
#name ⇒ String
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
6299 6300 6301 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6299 def name @name end |
#notes ⇒ String
General notes or implementation instructions for the tag.
Corresponds to the JSON property notes
6304 6305 6306 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6304 def notes @notes end |
#publisher_tags ⇒ Array<Google::Apis::DfareportingV4::FloodlightActivityPublisherDynamicTag>
Publisher dynamic floodlight tags.
Corresponds to the JSON property publisherTags
6309 6310 6311 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6309 def @publisher_tags end |
#secure ⇒ Boolean Also known as: secure?
Whether this tag should use SSL.
Corresponds to the JSON property secure
6314 6315 6316 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6314 def secure @secure end |
#ssl_compliant ⇒ Boolean 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
6321 6322 6323 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6321 def ssl_compliant @ssl_compliant end |
#ssl_required ⇒ Boolean Also known as: ssl_required?
Whether this floodlight activity must be SSL-compliant.
Corresponds to the JSON property sslRequired
6327 6328 6329 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6327 def ssl_required @ssl_required end |
#status ⇒ String
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
6337 6338 6339 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6337 def status @status end |
#subaccount_id ⇒ Fixnum
Subaccount ID of this floodlight activity. This is a read-only field that can
be left blank.
Corresponds to the JSON property subaccountId
6343 6344 6345 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6343 def subaccount_id @subaccount_id end |
#tag_format ⇒ String
Tag format type for the floodlight activity. If left blank, the tag format
will default to HTML.
Corresponds to the JSON property tagFormat
6349 6350 6351 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6349 def tag_format @tag_format end |
#tag_string ⇒ String
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
6358 6359 6360 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6358 def tag_string @tag_string end |
#user_defined_variable_types ⇒ Array<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
6365 6366 6367 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6365 def user_defined_variable_types @user_defined_variable_types end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6372 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 |