Class: Google::Apis::DfareportingV2_1::AccountActiveAdSummary
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_1::AccountActiveAdSummary
- Includes:
- Core::Hashable
- Defined in:
- generated/google/apis/dfareporting_v2_1/classes.rb,
generated/google/apis/dfareporting_v2_1/representations.rb,
generated/google/apis/dfareporting_v2_1/representations.rb
Overview
Gets a summary of active ads in an account.
Instance Attribute Summary collapse
-
#account_id ⇒ String
ID of the account.
-
#active_ads ⇒ String
Ads that have been activated for the account Corresponds to the JSON property
activeAds
. -
#active_ads_limit_tier ⇒ String
Maximum number of active ads allowed for the account.
-
#available_ads ⇒ String
Ads that can be activated for the account.
-
#kind ⇒ String
Identifies what kind of resource this is.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AccountActiveAdSummary
constructor
A new instance of AccountActiveAdSummary.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AccountActiveAdSummary
Returns a new instance of AccountActiveAdSummary
249 250 251 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 249 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_id ⇒ String
ID of the account.
Corresponds to the JSON property accountId
226 227 228 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 226 def account_id @account_id end |
#active_ads ⇒ String
Ads that have been activated for the account
Corresponds to the JSON property activeAds
231 232 233 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 231 def active_ads @active_ads end |
#active_ads_limit_tier ⇒ String
Maximum number of active ads allowed for the account.
Corresponds to the JSON property activeAdsLimitTier
236 237 238 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 236 def active_ads_limit_tier @active_ads_limit_tier end |
#available_ads ⇒ String
Ads that can be activated for the account.
Corresponds to the JSON property availableAds
241 242 243 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 241 def available_ads @available_ads end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#accountActiveAdSummary".
Corresponds to the JSON property kind
247 248 249 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 247 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
254 255 256 257 258 259 260 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 254 def update!(**args) @account_id = args[:account_id] unless args[:account_id].nil? @active_ads = args[:active_ads] unless args[:active_ads].nil? @active_ads_limit_tier = args[:active_ads_limit_tier] unless args[:active_ads_limit_tier].nil? @available_ads = args[:available_ads] unless args[:available_ads].nil? @kind = args[:kind] unless args[:kind].nil? end |