Copyright | (c) 2015 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 ad units in the specified custom channel.
See: AdSense Management API Reference for adsense.accounts.customchannels.adunits.list
.
- type AccountsCustomChannelsAdUnitsListResource = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> ("adclients" :> (Capture "adClientId" Text :> ("customchannels" :> (Capture "customChannelId" Text :> ("adunits" :> (QueryParam "includeInactive" Bool :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` AdUnits))))))))))))
- accountsCustomChannelsAdUnitsList :: Text -> Text -> Text -> AccountsCustomChannelsAdUnitsList
- data AccountsCustomChannelsAdUnitsList
- accaulIncludeInactive :: Lens' AccountsCustomChannelsAdUnitsList (Maybe Bool)
- accaulCustomChannelId :: Lens' AccountsCustomChannelsAdUnitsList Text
- accaulAdClientId :: Lens' AccountsCustomChannelsAdUnitsList Text
- accaulAccountId :: Lens' AccountsCustomChannelsAdUnitsList Text
- accaulPageToken :: Lens' AccountsCustomChannelsAdUnitsList (Maybe Text)
- accaulMaxResults :: Lens' AccountsCustomChannelsAdUnitsList (Maybe Int32)
REST Resource
type AccountsCustomChannelsAdUnitsListResource = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> ("adclients" :> (Capture "adClientId" Text :> ("customchannels" :> (Capture "customChannelId" 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.customchannels.adunits.list
method which the
AccountsCustomChannelsAdUnitsList
request conforms to.
Creating a Request
accountsCustomChannelsAdUnitsList Source
:: Text | |
-> Text | |
-> Text | |
-> AccountsCustomChannelsAdUnitsList |
Creates a value of AccountsCustomChannelsAdUnitsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AccountsCustomChannelsAdUnitsList Source
List all ad units in the specified custom channel.
See: accountsCustomChannelsAdUnitsList
smart constructor.
Request Lenses
accaulIncludeInactive :: Lens' AccountsCustomChannelsAdUnitsList (Maybe Bool) Source
Whether to include inactive ad units. Default: true.
accaulCustomChannelId :: Lens' AccountsCustomChannelsAdUnitsList Text Source
Custom channel for which to list ad units.
accaulAdClientId :: Lens' AccountsCustomChannelsAdUnitsList Text Source
Ad client which contains the custom channel.
accaulAccountId :: Lens' AccountsCustomChannelsAdUnitsList Text Source
Account to which the ad client belongs.
accaulPageToken :: Lens' AccountsCustomChannelsAdUnitsList (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.
accaulMaxResults :: Lens' AccountsCustomChannelsAdUnitsList (Maybe Int32) Source
The maximum number of ad units to include in the response, used for paging.