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

Contents

Description

List all ad units in the specified custom channel.

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

Synopsis

REST Resource

type CustomChannelsAdUnitsListResource = "adsense" :> ("v1.4" :> ("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.customchannels.adunits.list method which the CustomChannelsAdUnitsList request conforms to.

Creating a Request

customChannelsAdUnitsList Source

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

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

Request Lenses

ccaulIncludeInactive :: Lens' CustomChannelsAdUnitsList (Maybe Bool) Source

Whether to include inactive ad units. Default: true.

ccaulCustomChannelId :: Lens' CustomChannelsAdUnitsList Text Source

Custom channel for which to list ad units.

ccaulAdClientId :: Lens' CustomChannelsAdUnitsList Text Source

Ad client which contains the custom channel.

ccaulPageToken :: Lens' CustomChannelsAdUnitsList (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.

ccaulMaxResults :: Lens' CustomChannelsAdUnitsList (Maybe Int32) Source

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