gogol-adsense-0.0.1: Google AdSense Management SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.AdSense.Accounts.List

Contents

Description

List all accounts available to this AdSense account.

See: AdSense Management API Reference for adsense.accounts.list.

Synopsis

REST Resource

type AccountsListResource = "adsense" :> ("v1.4" :> ("accounts" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` Accounts))))) Source

A resource alias for adsense.accounts.list method which the AccountsList request conforms to.

Creating a Request

accountsList :: AccountsList Source

Creates a value of AccountsList with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

alPageToken :: Lens' AccountsList (Maybe Text) Source

A continuation token, used to page through accounts. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous response.

alMaxResults :: Lens' AccountsList (Maybe Int32) Source

The maximum number of accounts to include in the response, used for paging.