Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
List all saved ad styles in the specified account.
See: AdSense Management API Reference for adsense.accounts.savedadstyles.list
.
Synopsis
- type AccountsSavedadstylesListResource = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> ("savedadstyles" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] SavedAdStyles)))))))
- accountsSavedadstylesList :: Text -> AccountsSavedadstylesList
- data AccountsSavedadstylesList
- aslAccountId :: Lens' AccountsSavedadstylesList Text
- aslPageToken :: Lens' AccountsSavedadstylesList (Maybe Text)
- aslMaxResults :: Lens' AccountsSavedadstylesList (Maybe Int32)
REST Resource
type AccountsSavedadstylesListResource = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> ("savedadstyles" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] SavedAdStyles))))))) Source #
A resource alias for adsense.accounts.savedadstyles.list
method which the
AccountsSavedadstylesList
request conforms to.
Creating a Request
accountsSavedadstylesList Source #
Creates a value of AccountsSavedadstylesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AccountsSavedadstylesList Source #
List all saved ad styles in the specified account.
See: accountsSavedadstylesList
smart constructor.
Instances
Request Lenses
aslAccountId :: Lens' AccountsSavedadstylesList Text Source #
Account for which to list saved ad styles.
aslPageToken :: Lens' AccountsSavedadstylesList (Maybe Text) Source #
A continuation token, used to page through saved ad styles. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous response.
aslMaxResults :: Lens' AccountsSavedadstylesList (Maybe Int32) Source #
The maximum number of saved ad styles to include in the response, used for paging.