Class: Google::Apis::DoubleclicksearchV2::Availability
- Inherits:
-
Object
- Object
- Google::Apis::DoubleclicksearchV2::Availability
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/doubleclicksearch_v2/classes.rb,
generated/google/apis/doubleclicksearch_v2/representations.rb,
generated/google/apis/doubleclicksearch_v2/representations.rb
Overview
A message containing availability data relevant to DoubleClick Search.
Instance Attribute Summary collapse
-
#advertiser_id ⇒ Fixnum
DS advertiser ID.
-
#agency_id ⇒ Fixnum
DS agency ID.
-
#availability_timestamp ⇒ Fixnum
The time by which all conversions have been uploaded, in epoch millis UTC.
-
#segmentation_id ⇒ Fixnum
The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID).
-
#segmentation_name ⇒ String
The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name).
-
#segmentation_type ⇒ String
The segmentation type that this availability is for (its default value is FLOODLIGHT).
Instance Method Summary collapse
-
#initialize(**args) ⇒ Availability
constructor
A new instance of Availability.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Availability
Returns a new instance of Availability
62 63 64 |
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 62 def initialize(**args) update!(**args) end |
Instance Attribute Details
#advertiser_id ⇒ Fixnum
DS advertiser ID.
Corresponds to the JSON property advertiserId
32 33 34 |
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 32 def advertiser_id @advertiser_id end |
#agency_id ⇒ Fixnum
DS agency ID.
Corresponds to the JSON property agencyId
37 38 39 |
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 37 def agency_id @agency_id end |
#availability_timestamp ⇒ Fixnum
The time by which all conversions have been uploaded, in epoch millis UTC.
Corresponds to the JSON property availabilityTimestamp
42 43 44 |
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 42 def @availability_timestamp end |
#segmentation_id ⇒ Fixnum
The numeric segmentation identifier (for example, DoubleClick Search
Floodlight activity ID).
Corresponds to the JSON property segmentationId
48 49 50 |
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 48 def segmentation_id @segmentation_id end |
#segmentation_name ⇒ String
The friendly segmentation identifier (for example, DoubleClick Search
Floodlight activity name).
Corresponds to the JSON property segmentationName
54 55 56 |
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 54 def segmentation_name @segmentation_name end |
#segmentation_type ⇒ String
The segmentation type that this availability is for (its default value is
FLOODLIGHT).
Corresponds to the JSON property segmentationType
60 61 62 |
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 60 def segmentation_type @segmentation_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
67 68 69 70 71 72 73 74 |
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 67 def update!(**args) @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id) @agency_id = args[:agency_id] if args.key?(:agency_id) @availability_timestamp = args[:availability_timestamp] if args.key?(:availability_timestamp) @segmentation_id = args[:segmentation_id] if args.key?(:segmentation_id) @segmentation_name = args[:segmentation_name] if args.key?(:segmentation_name) @segmentation_type = args[:segmentation_type] if args.key?(:segmentation_type) end |