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 ads, possibly filtered. This method supports paging.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.ads.list
.
Synopsis
- type AdsListResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("ads" :> (QueryParams "remarketingListIds" (Textual Int64) :> (QueryParams "landingPageIds" (Textual Int64) :> (QueryParams "creativeIds" (Textual Int64) :> (QueryParam "advertiserId" (Textual Int64) :> (QueryParams "campaignIds" (Textual Int64) :> (QueryParam "searchString" Text :> (QueryParams "sizeIds" (Textual Int64) :> (QueryParam "sslCompliant" Bool :> (QueryParams "ids" (Textual Int64) :> (QueryParam "sortOrder" AdsListSortOrder :> (QueryParam "active" Bool :> (QueryParams "creativeOptimizationConfigurationIds" (Textual Int64) :> (QueryParams "placementIds" (Textual Int64) :> (QueryParam "sslRequired" Bool :> (QueryParam "overriddenEventTagId" (Textual Int64) :> (QueryParam "pageToken" Text :> (QueryParam "sortField" AdsListSortField :> (QueryParams "type" AdsListType :> (QueryParam "dynamicClickTracker" Bool :> (QueryParam "compatibility" AdsListCompatibility :> (QueryParam "archived" Bool :> (QueryParam "maxResults" (Textual Int32) :> (QueryParams "audienceSegmentIds" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get '[JSON] AdsListResponse))))))))))))))))))))))))))))
- adsList :: Int64 -> AdsList
- data AdsList
- alRemarketingListIds :: Lens' AdsList [Int64]
- alLandingPageIds :: Lens' AdsList [Int64]
- alCreativeIds :: Lens' AdsList [Int64]
- alAdvertiserId :: Lens' AdsList (Maybe Int64)
- alCampaignIds :: Lens' AdsList [Int64]
- alSearchString :: Lens' AdsList (Maybe Text)
- alSizeIds :: Lens' AdsList [Int64]
- alSSLCompliant :: Lens' AdsList (Maybe Bool)
- alIds :: Lens' AdsList [Int64]
- alProFileId :: Lens' AdsList Int64
- alSortOrder :: Lens' AdsList AdsListSortOrder
- alActive :: Lens' AdsList (Maybe Bool)
- alCreativeOptimizationConfigurationIds :: Lens' AdsList [Int64]
- alPlacementIds :: Lens' AdsList [Int64]
- alSSLRequired :: Lens' AdsList (Maybe Bool)
- alOverriddenEventTagId :: Lens' AdsList (Maybe Int64)
- alPageToken :: Lens' AdsList (Maybe Text)
- alSortField :: Lens' AdsList AdsListSortField
- alType :: Lens' AdsList [AdsListType]
- alDynamicClickTracker :: Lens' AdsList (Maybe Bool)
- alCompatibility :: Lens' AdsList (Maybe AdsListCompatibility)
- alArchived :: Lens' AdsList (Maybe Bool)
- alMaxResults :: Lens' AdsList Int32
- alAudienceSegmentIds :: Lens' AdsList [Int64]
REST Resource
type AdsListResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("ads" :> (QueryParams "remarketingListIds" (Textual Int64) :> (QueryParams "landingPageIds" (Textual Int64) :> (QueryParams "creativeIds" (Textual Int64) :> (QueryParam "advertiserId" (Textual Int64) :> (QueryParams "campaignIds" (Textual Int64) :> (QueryParam "searchString" Text :> (QueryParams "sizeIds" (Textual Int64) :> (QueryParam "sslCompliant" Bool :> (QueryParams "ids" (Textual Int64) :> (QueryParam "sortOrder" AdsListSortOrder :> (QueryParam "active" Bool :> (QueryParams "creativeOptimizationConfigurationIds" (Textual Int64) :> (QueryParams "placementIds" (Textual Int64) :> (QueryParam "sslRequired" Bool :> (QueryParam "overriddenEventTagId" (Textual Int64) :> (QueryParam "pageToken" Text :> (QueryParam "sortField" AdsListSortField :> (QueryParams "type" AdsListType :> (QueryParam "dynamicClickTracker" Bool :> (QueryParam "compatibility" AdsListCompatibility :> (QueryParam "archived" Bool :> (QueryParam "maxResults" (Textual Int32) :> (QueryParams "audienceSegmentIds" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get '[JSON] AdsListResponse)))))))))))))))))))))))))))) Source #
A resource alias for dfareporting.ads.list
method which the
AdsList
request conforms to.
Creating a Request
Creates a value of AdsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
alRemarketingListIds
alLandingPageIds
alCreativeIds
alAdvertiserId
alCampaignIds
alSearchString
alSizeIds
alSSLCompliant
alIds
alProFileId
alSortOrder
alActive
alCreativeOptimizationConfigurationIds
alPlacementIds
alSSLRequired
alOverriddenEventTagId
alPageToken
alSortField
alType
alDynamicClickTracker
alCompatibility
alArchived
alMaxResults
alAudienceSegmentIds
Retrieves a list of ads, possibly filtered. This method supports paging.
See: adsList
smart constructor.
Instances
Request Lenses
alRemarketingListIds :: Lens' AdsList [Int64] Source #
Select only ads whose list targeting expression use these remarketing list IDs.
alSearchString :: Lens' AdsList (Maybe Text) Source #
Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "ad*2015" will return objects with names like "ad June 2015", "ad April 2015", or simply "ad 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "ad" will match objects with name "my ad", "ad 2015", or simply "ad".
alSortOrder :: Lens' AdsList AdsListSortOrder Source #
Order of sorted results.
alCreativeOptimizationConfigurationIds :: Lens' AdsList [Int64] Source #
Select only ads with these creative optimization configuration IDs.
alOverriddenEventTagId :: Lens' AdsList (Maybe Int64) Source #
Select only ads with this event tag override ID.
alPageToken :: Lens' AdsList (Maybe Text) Source #
Value of the nextPageToken from the previous result page.
alSortField :: Lens' AdsList AdsListSortField Source #
Field by which to sort the list.
alDynamicClickTracker :: Lens' AdsList (Maybe Bool) Source #
Select only dynamic click trackers. Applicable when type is AD_SERVING_CLICK_TRACKER. If true, select dynamic click trackers. If false, select static click trackers. Leave unset to select both.
alCompatibility :: Lens' AdsList (Maybe AdsListCompatibility) Source #
Select default ads with the specified compatibility. Applicable when type is AD_SERVING_DEFAULT_AD. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering an in-stream video ads developed with the VAST standard.