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 |
Retrieves a list of landing pages.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.advertiserLandingPages.list
.
Synopsis
- type AdvertiserLandingPagesListResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("advertiserLandingPages" :> (QueryParams "campaignIds" (Textual Int64) :> (QueryParam "searchString" Text :> (QueryParams "ids" (Textual Int64) :> (QueryParam "sortOrder" AdvertiserLandingPagesListSortOrder :> (QueryParam "pageToken" Text :> (QueryParam "sortField" AdvertiserLandingPagesListSortField :> (QueryParam "subaccountId" (Textual Int64) :> (QueryParams "advertiserIds" (Textual Int64) :> (QueryParam "archived" Bool :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] AdvertiserLandingPagesListResponse)))))))))))))))
- advertiserLandingPagesList :: Int64 -> AdvertiserLandingPagesList
- data AdvertiserLandingPagesList
- alplCampaignIds :: Lens' AdvertiserLandingPagesList [Int64]
- alplSearchString :: Lens' AdvertiserLandingPagesList (Maybe Text)
- alplIds :: Lens' AdvertiserLandingPagesList [Int64]
- alplProFileId :: Lens' AdvertiserLandingPagesList Int64
- alplSortOrder :: Lens' AdvertiserLandingPagesList AdvertiserLandingPagesListSortOrder
- alplPageToken :: Lens' AdvertiserLandingPagesList (Maybe Text)
- alplSortField :: Lens' AdvertiserLandingPagesList AdvertiserLandingPagesListSortField
- alplSubAccountId :: Lens' AdvertiserLandingPagesList (Maybe Int64)
- alplAdvertiserIds :: Lens' AdvertiserLandingPagesList [Int64]
- alplArchived :: Lens' AdvertiserLandingPagesList (Maybe Bool)
- alplMaxResults :: Lens' AdvertiserLandingPagesList Int32
REST Resource
type AdvertiserLandingPagesListResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("advertiserLandingPages" :> (QueryParams "campaignIds" (Textual Int64) :> (QueryParam "searchString" Text :> (QueryParams "ids" (Textual Int64) :> (QueryParam "sortOrder" AdvertiserLandingPagesListSortOrder :> (QueryParam "pageToken" Text :> (QueryParam "sortField" AdvertiserLandingPagesListSortField :> (QueryParam "subaccountId" (Textual Int64) :> (QueryParams "advertiserIds" (Textual Int64) :> (QueryParam "archived" Bool :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] AdvertiserLandingPagesListResponse))))))))))))))) Source #
A resource alias for dfareporting.advertiserLandingPages.list
method which the
AdvertiserLandingPagesList
request conforms to.
Creating a Request
advertiserLandingPagesList Source #
Creates a value of AdvertiserLandingPagesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AdvertiserLandingPagesList Source #
Retrieves a list of landing pages.
See: advertiserLandingPagesList
smart constructor.
Instances
Request Lenses
alplCampaignIds :: Lens' AdvertiserLandingPagesList [Int64] Source #
Select only landing pages that are associated with these campaigns.
alplSearchString :: Lens' AdvertiserLandingPagesList (Maybe Text) Source #
Allows searching for landing pages by name or ID. Wildcards (*) are allowed. For example, "landingpage*2017" will return landing pages with names like "landingpage July 2017", "landingpage March 2017", or simply "landingpage 2017". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "landingpage" will match campaigns with name "my landingpage", "landingpage 2015", or simply "landingpage".
alplIds :: Lens' AdvertiserLandingPagesList [Int64] Source #
Select only landing pages with these IDs.
alplProFileId :: Lens' AdvertiserLandingPagesList Int64 Source #
User profile ID associated with this request.
alplSortOrder :: Lens' AdvertiserLandingPagesList AdvertiserLandingPagesListSortOrder Source #
Order of sorted results.
alplPageToken :: Lens' AdvertiserLandingPagesList (Maybe Text) Source #
Value of the nextPageToken from the previous result page.
alplSortField :: Lens' AdvertiserLandingPagesList AdvertiserLandingPagesListSortField Source #
Field by which to sort the list.
alplSubAccountId :: Lens' AdvertiserLandingPagesList (Maybe Int64) Source #
Select only landing pages that belong to this subaccount.
alplAdvertiserIds :: Lens' AdvertiserLandingPagesList [Int64] Source #
Select only landing pages that belong to these advertisers.
alplArchived :: Lens' AdvertiserLandingPagesList (Maybe Bool) Source #
Select only archived landing pages. Don't set this field to select both archived and non-archived landing pages.
alplMaxResults :: Lens' AdvertiserLandingPagesList Int32 Source #
Maximum number of results to return.