Class: Google::Apis::DoubleclicksearchV2::Availability

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

Instance Method Summary collapse

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_idFixnum

DS advertiser ID. Corresponds to the JSON property advertiserId

Returns:

  • (Fixnum)


32
33
34
# File 'lib/google/apis/doubleclicksearch_v2/classes.rb', line 32

def advertiser_id
  @advertiser_id
end

#agency_idFixnum

DS agency ID. Corresponds to the JSON property agencyId

Returns:

  • (Fixnum)


37
38
39
# File 'lib/google/apis/doubleclicksearch_v2/classes.rb', line 37

def agency_id
  @agency_id
end

#availability_timestampFixnum

The time by which all conversions have been uploaded, in epoch millis UTC. Corresponds to the JSON property availabilityTimestamp

Returns:

  • (Fixnum)


42
43
44
# File 'lib/google/apis/doubleclicksearch_v2/classes.rb', line 42

def availability_timestamp
  @availability_timestamp
end

#customer_idString

Customer ID of a client account in the new Search Ads 360 experience. Corresponds to the JSON property customerId

Returns:

  • (String)


47
48
49
# File 'lib/google/apis/doubleclicksearch_v2/classes.rb', line 47

def customer_id
  @customer_id
end

#segmentation_idFixnum

The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID). Corresponds to the JSON property segmentationId

Returns:

  • (Fixnum)


53
54
55
# File 'lib/google/apis/doubleclicksearch_v2/classes.rb', line 53

def segmentation_id
  @segmentation_id
end

#segmentation_nameString

The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name). Corresponds to the JSON property segmentationName

Returns:

  • (String)


59
60
61
# File 'lib/google/apis/doubleclicksearch_v2/classes.rb', line 59

def segmentation_name
  @segmentation_name
end

#segmentation_typeString

The segmentation type that this availability is for (its default value is FLOODLIGHT). Corresponds to the JSON property segmentationType

Returns:

  • (String)


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