class Google::Apis::DoubleclicksearchV2::Availability

A message containing availability data relevant to DoubleClick Search.

Attributes

advertiser_id[RW]

DS advertiser ID. Corresponds to the JSON property `advertiserId` @return [Fixnum]

agency_id[RW]

DS agency ID. Corresponds to the JSON property `agencyId` @return [Fixnum]

availability_timestamp[RW]

The time by which all conversions have been uploaded, in epoch millis UTC. Corresponds to the JSON property `availabilityTimestamp` @return [Fixnum]

segmentation_id[RW]

The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID). Corresponds to the JSON property `segmentationId` @return [Fixnum]

segmentation_name[RW]

The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name). Corresponds to the JSON property `segmentationName` @return [String]

segmentation_type[RW]

The segmentation type that this availability is for (its default value is ` FLOODLIGHT`). Corresponds to the JSON property `segmentationType` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/doubleclicksearch_v2/classes.rb, line 62
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/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