Class: Google::Apis::AdsenseV2::ListLinkedAdUnitsResponse
- Inherits:
-
Object
- Object
- Google::Apis::AdsenseV2::ListLinkedAdUnitsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/adsense_v2/classes.rb,
lib/google/apis/adsense_v2/representations.rb,
lib/google/apis/adsense_v2/representations.rb
Overview
Response definition for the ad units linked to a custom channel list rpc.
Instance Attribute Summary collapse
-
#ad_units ⇒ Array<Google::Apis::AdsenseV2::AdUnit>
The ad units returned in the list response.
-
#next_page_token ⇒ String
Continuation token used to page through ad units.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListLinkedAdUnitsResponse
constructor
A new instance of ListLinkedAdUnitsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListLinkedAdUnitsResponse
Returns a new instance of ListLinkedAdUnitsResponse.
686 687 688 |
# File 'lib/google/apis/adsense_v2/classes.rb', line 686 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ad_units ⇒ Array<Google::Apis::AdsenseV2::AdUnit>
The ad units returned in the list response.
Corresponds to the JSON property adUnits
678 679 680 |
# File 'lib/google/apis/adsense_v2/classes.rb', line 678 def ad_units @ad_units end |
#next_page_token ⇒ String
Continuation token used to page through ad units. To retrieve the next page of
the results, set the next request's "page_token" value to this.
Corresponds to the JSON property nextPageToken
684 685 686 |
# File 'lib/google/apis/adsense_v2/classes.rb', line 684 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
691 692 693 694 |
# File 'lib/google/apis/adsense_v2/classes.rb', line 691 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 |