class Google::Apis::DfareportingV3_5::AccountActiveAdSummary
Gets a summary of active ads in an account.
Attributes
account_id[RW]
ID of the account. Corresponds to the JSON property `accountId` @return [Fixnum]
active_ads[RW]
Ads that have been activated for the account Corresponds to the JSON property `activeAds` @return [Fixnum]
active_ads_limit_tier[RW]
Maximum number of active ads allowed for the account. Corresponds to the JSON property `activeAdsLimitTier` @return [String]
available_ads[RW]
Ads that can be activated for the account. Corresponds to the JSON property `availableAds` @return [Fixnum]
kind[RW]
Identifies what kind of resource this is. Value: the fixed string “ dfareporting#accountActiveAdSummary”. Corresponds to the JSON property `kind` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/dfareporting_v3_5/classes.rb, line 206 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/dfareporting_v3_5/classes.rb, line 211 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @active_ads = args[:active_ads] if args.key?(:active_ads) @active_ads_limit_tier = args[:active_ads_limit_tier] if args.key?(:active_ads_limit_tier) @available_ads = args[:available_ads] if args.key?(:available_ads) @kind = args[:kind] if args.key?(:kind) end