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 user's account.
See: AdSense Management API Reference for adsense.savedadstyles.list
.
Synopsis
- type SavedadstylesListResource = "adsense" :> ("v1.4" :> ("savedadstyles" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] SavedAdStyles)))))
- savedadstylesList :: SavedadstylesList
- data SavedadstylesList
- slPageToken :: Lens' SavedadstylesList (Maybe Text)
- slMaxResults :: Lens' SavedadstylesList (Maybe Int32)
REST Resource
type SavedadstylesListResource = "adsense" :> ("v1.4" :> ("savedadstyles" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] SavedAdStyles))))) Source #
A resource alias for adsense.savedadstyles.list
method which the
SavedadstylesList
request conforms to.
Creating a Request
savedadstylesList :: SavedadstylesList Source #
Creates a value of SavedadstylesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SavedadstylesList Source #
List all saved ad styles in the user's account.
See: savedadstylesList
smart constructor.
Instances
Request Lenses
slPageToken :: Lens' SavedadstylesList (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.
slMaxResults :: Lens' SavedadstylesList (Maybe Int32) Source #
The maximum number of saved ad styles to include in the response, used for paging.