class Google::Apis::DfareportingV2_1::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 [String]
active_ads[RW]
Ads that have been activated for the account Corresponds to the JSON property `activeAds` @return [String]
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 [String]
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 generated/google/apis/dfareporting_v2_1/classes.rb, line 249 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# 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