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

Constructor Details

#initialize(**args) ⇒ PublisherProvidedForecast

Returns a new instance of PublisherProvidedForecast.



3447
3448
3449
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3447

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



3435
3436
3437
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3435

def dimensions
  @dimensions
end

#weekly_impressionsFixnum

Publisher provided weekly impressions. Corresponds to the JSON property weeklyImpressions

Returns:

  • (Fixnum)


3440
3441
3442
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3440

def weekly_impressions
  @weekly_impressions
end

#weekly_uniquesFixnum

Publisher provided weekly uniques. Corresponds to the JSON property weeklyUniques

Returns:

  • (Fixnum)


3445
3446
3447
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3445

def weekly_uniques
  @weekly_uniques
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3452
3453
3454
3455
3456
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3452

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