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



3328
3329
3330
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3328

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



3316
3317
3318
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3316

def dimensions
  @dimensions
end

#weekly_impressionsFixnum

Publisher provided weekly impressions. Corresponds to the JSON property weeklyImpressions

Returns:

  • (Fixnum)


3321
3322
3323
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3321

def weekly_impressions
  @weekly_impressions
end

#weekly_uniquesFixnum

Publisher provided weekly uniques. Corresponds to the JSON property weeklyUniques

Returns:

  • (Fixnum)


3326
3327
3328
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3326

def weekly_uniques
  @weekly_uniques
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3333
3334
3335
3336
3337
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3333

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