Class: Google::Apis::AdmobV1beta::ListAdUnitMappingsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/admob_v1beta/classes.rb,
lib/google/apis/admob_v1beta/representations.rb,
lib/google/apis/admob_v1beta/representations.rb

Overview

Response for the ListAdUnitMappingsRequest.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListAdUnitMappingsResponse

Returns a new instance of ListAdUnitMappingsResponse.



932
933
934
# File 'lib/google/apis/admob_v1beta/classes.rb', line 932

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#ad_unit_mappingsArray<Google::Apis::AdmobV1beta::AdUnitMapping>

The ad unit mappings from the specified account and ad unit. Corresponds to the JSON property adUnitMappings



924
925
926
# File 'lib/google/apis/admob_v1beta/classes.rb', line 924

def ad_unit_mappings
  @ad_unit_mappings
end

#next_page_tokenString

Used to set the page_token in the ListAdUnitMappingsRequest to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


930
931
932
# File 'lib/google/apis/admob_v1beta/classes.rb', line 930

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



937
938
939
940
# File 'lib/google/apis/admob_v1beta/classes.rb', line 937

def update!(**args)
  @ad_unit_mappings = args[:ad_unit_mappings] if args.key?(:ad_unit_mappings)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end