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 ad units in the specified custom channel.
See: AdSense Management API Reference for adsense.customchannels.adunits.list
.
Synopsis
- 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))))))))))
- customChannelsAdUnitsList :: Text -> Text -> CustomChannelsAdUnitsList
- data CustomChannelsAdUnitsList
- ccaulIncludeInactive :: Lens' CustomChannelsAdUnitsList (Maybe Bool)
- ccaulCustomChannelId :: Lens' CustomChannelsAdUnitsList Text
- ccaulAdClientId :: Lens' CustomChannelsAdUnitsList Text
- ccaulPageToken :: Lens' CustomChannelsAdUnitsList (Maybe Text)
- ccaulMaxResults :: Lens' CustomChannelsAdUnitsList (Maybe Int32)
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:
data CustomChannelsAdUnitsList Source #
List all ad units in the specified custom channel.
See: customChannelsAdUnitsList
smart constructor.
Instances
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.