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.AdUnits.List

Contents

Description

List all ad units in the specified ad client for the specified account.

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

Synopsis

REST Resource

type AccountsAdUnitsListResource = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> ("adclients" :> (Capture "adClientId" Text :> ("adunits" :> (QueryParam "includeInactive" Bool :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` AdUnits)))))))))) Source

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

Creating a Request

accountsAdUnitsList Source

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

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

Request Lenses

aaulIncludeInactive :: Lens' AccountsAdUnitsList (Maybe Bool) Source

Whether to include inactive ad units. Default: true.

aaulAdClientId :: Lens' AccountsAdUnitsList Text Source

Ad client for which to list ad units.

aaulAccountId :: Lens' AccountsAdUnitsList Text Source

Account to which the ad client belongs.

aaulPageToken :: Lens' AccountsAdUnitsList (Maybe Text) Source

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

aaulMaxResults :: Lens' AccountsAdUnitsList (Maybe Int32) Source

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