class Google::Apis::AdmobV1beta::ListAdUnitsResponse

Response for the ad units list request.

Attributes

ad_units[RW]

The resulting ad units for the requested account. Corresponds to the JSON property `adUnits` @return [Array<Google::Apis::AdmobV1beta::AdUnit>]

next_page_token[RW]

If not empty, indicates that there may be more ad units for the request; this value should be passed in a new `ListAdUnitsRequest`. Corresponds to the JSON property `nextPageToken` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/admob_v1beta/classes.rb, line 428
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/admob_v1beta/classes.rb, line 433
def update!(**args)
  @ad_units = args[:ad_units] if args.key?(:ad_units)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end