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 URL channels in the specified ad client for this Ad Exchange account.
See: Ad Exchange Seller API Reference for adexchangeseller.accounts.urlchannels.list
.
Synopsis
- type AccountsURLChannelsListResource = "adexchangeseller" :> ("v2.0" :> ("accounts" :> (Capture "accountId" Text :> ("adclients" :> (Capture "adClientId" Text :> ("urlchannels" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] URLChannels)))))))))
- accountsURLChannelsList :: Text -> Text -> AccountsURLChannelsList
- data AccountsURLChannelsList
- auclAdClientId :: Lens' AccountsURLChannelsList Text
- auclAccountId :: Lens' AccountsURLChannelsList Text
- auclPageToken :: Lens' AccountsURLChannelsList (Maybe Text)
- auclMaxResults :: Lens' AccountsURLChannelsList (Maybe Word32)
REST Resource
type AccountsURLChannelsListResource = "adexchangeseller" :> ("v2.0" :> ("accounts" :> (Capture "accountId" Text :> ("adclients" :> (Capture "adClientId" Text :> ("urlchannels" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] URLChannels))))))))) Source #
A resource alias for adexchangeseller.accounts.urlchannels.list
method which the
AccountsURLChannelsList
request conforms to.
Creating a Request
accountsURLChannelsList Source #
Creates a value of AccountsURLChannelsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AccountsURLChannelsList Source #
List all URL channels in the specified ad client for this Ad Exchange account.
See: accountsURLChannelsList
smart constructor.
Instances
Request Lenses
auclAdClientId :: Lens' AccountsURLChannelsList Text Source #
Ad client for which to list URL channels.
auclAccountId :: Lens' AccountsURLChannelsList Text Source #
Account to which the ad client belongs.
auclPageToken :: Lens' AccountsURLChannelsList (Maybe Text) Source #
A continuation token, used to page through URL channels. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous response.
auclMaxResults :: Lens' AccountsURLChannelsList (Maybe Word32) Source #
The maximum number of URL channels to include in the response, used for paging.