Class: Google::Apis::AdexchangebuyerV1_4::PublisherProvidedForecast

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/adexchangebuyer_v1_4/classes.rb,
generated/google/apis/adexchangebuyer_v1_4/representations.rb,
generated/google/apis/adexchangebuyer_v1_4/representations.rb

Overview

This message carries publisher provided forecasting information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ PublisherProvidedForecast

Returns a new instance of PublisherProvidedForecast.



3238
3239
3240
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3238

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#dimensionsArray<Google::Apis::AdexchangebuyerV1_4::Dimension>

Publisher provided dimensions. E.g. geo, sizes etc... Corresponds to the JSON property dimensions



3226
3227
3228
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3226

def dimensions
  @dimensions
end

#weekly_impressionsString

Publisher provided weekly impressions. Corresponds to the JSON property weeklyImpressions

Returns:

  • (String)


3231
3232
3233
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3231

def weekly_impressions
  @weekly_impressions
end

#weekly_uniquesString

Publisher provided weekly uniques. Corresponds to the JSON property weeklyUniques

Returns:

  • (String)


3236
3237
3238
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3236

def weekly_uniques
  @weekly_uniques
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3243
3244
3245
3246
3247
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3243

def update!(**args)
  @dimensions = args[:dimensions] if args.key?(:dimensions)
  @weekly_impressions = args[:weekly_impressions] if args.key?(:weekly_impressions)
  @weekly_uniques = args[:weekly_uniques] if args.key?(:weekly_uniques)
end