Class: Google::Apis::DoubleclicksearchV2::Availability
- Inherits:
-
Object
- Object
- Google::Apis::DoubleclicksearchV2::Availability
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/doubleclicksearch_v2/classes.rb,
lib/google/apis/doubleclicksearch_v2/representations.rb,
lib/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.
-
#customer_id ⇒ String
Customer ID of a client account in the new Search Ads 360 experience.
-
#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.
Constructor Details
#initialize(**args) ⇒ Availability
Returns a new instance of Availability.
67 68 69 |
# File 'lib/google/apis/doubleclicksearch_v2/classes.rb', line 67 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 'lib/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 'lib/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 'lib/google/apis/doubleclicksearch_v2/classes.rb', line 42 def @availability_timestamp end |
#customer_id ⇒ String
Customer ID of a client account in the new Search Ads 360 experience.
Corresponds to the JSON property customerId
47 48 49 |
# File 'lib/google/apis/doubleclicksearch_v2/classes.rb', line 47 def customer_id @customer_id end |
#segmentation_id ⇒ Fixnum
The numeric segmentation identifier (for example, DoubleClick Search
Floodlight activity ID).
Corresponds to the JSON property segmentationId
53 54 55 |
# File 'lib/google/apis/doubleclicksearch_v2/classes.rb', line 53 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
59 60 61 |
# File 'lib/google/apis/doubleclicksearch_v2/classes.rb', line 59 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
65 66 67 |
# File 'lib/google/apis/doubleclicksearch_v2/classes.rb', line 65 def segmentation_type @segmentation_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
72 73 74 75 76 77 78 79 80 |
# File 'lib/google/apis/doubleclicksearch_v2/classes.rb', line 72 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) @customer_id = args[:customer_id] if args.key?(:customer_id) @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 |