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 |
Views Ad Experience Report data, and gets a list of sites that have a significant number of annoying ads.
Synopsis
- adExperienceReportService :: ServiceConfig
- xapiZooScope :: Proxy '["https://www.googleapis.com/auth/xapi.zoo"]
- type AdExperienceReportAPI = ViolatingSitesListResource :<|> SitesGetResource
- module Network.Google.Resource.AdExperienceReport.Sites.Get
- module Network.Google.Resource.AdExperienceReport.ViolatingSites.List
- data SiteSummaryResponse
- siteSummaryResponse :: SiteSummaryResponse
- ssrMobileSummary :: Lens' SiteSummaryResponse (Maybe PlatformSummary)
- ssrReviewedSite :: Lens' SiteSummaryResponse (Maybe Text)
- ssrDesktopSummary :: Lens' SiteSummaryResponse (Maybe PlatformSummary)
- data PlatformSummaryFilterStatus
- data ViolatingSitesResponse
- violatingSitesResponse :: ViolatingSitesResponse
- vsrViolatingSites :: Lens' ViolatingSitesResponse [SiteSummaryResponse]
- data Xgafv
- data PlatformSummary
- platformSummary :: PlatformSummary
- psEnforcementTime :: Lens' PlatformSummary (Maybe UTCTime)
- psLastChangeTime :: Lens' PlatformSummary (Maybe UTCTime)
- psFilterStatus :: Lens' PlatformSummary (Maybe PlatformSummaryFilterStatus)
- psUnderReview :: Lens' PlatformSummary (Maybe Bool)
- psBetterAdsStatus :: Lens' PlatformSummary (Maybe PlatformSummaryBetterAdsStatus)
- psReportURL :: Lens' PlatformSummary (Maybe Text)
- psRegion :: Lens' PlatformSummary [Text]
- data PlatformSummaryBetterAdsStatus
Service Configuration
adExperienceReportService :: ServiceConfig Source #
Default request referring to version v1
of the Ad Experience Report API. This contains the host and root path used as a starting point for constructing service requests.
OAuth Scopes
xapiZooScope :: Proxy '["https://www.googleapis.com/auth/xapi.zoo"] Source #
Test scope for access to the Zoo service
API Declaration
type AdExperienceReportAPI = ViolatingSitesListResource :<|> SitesGetResource Source #
Represents the entirety of the methods and resources available for the Ad Experience Report API service.
Resources
adexperiencereport.sites.get
adexperiencereport.violatingSites.list
Types
SiteSummaryResponse
data SiteSummaryResponse Source #
Response message for GetSiteSummary.
See: siteSummaryResponse
smart constructor.
Instances
siteSummaryResponse :: SiteSummaryResponse Source #
Creates a value of SiteSummaryResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ssrMobileSummary :: Lens' SiteSummaryResponse (Maybe PlatformSummary) Source #
Summary for the mobile review of the site.
ssrReviewedSite :: Lens' SiteSummaryResponse (Maybe Text) Source #
The name of the site reviewed.
ssrDesktopSummary :: Lens' SiteSummaryResponse (Maybe PlatformSummary) Source #
Summary for the desktop review of the site.
PlatformSummaryFilterStatus
data PlatformSummaryFilterStatus Source #
The ad filtering status of the site.
Unknown |
|
ON |
|
Off |
|
Paused |
|
Pending |
|
Instances
ViolatingSitesResponse
data ViolatingSitesResponse Source #
Response message for ListViolatingSites.
See: violatingSitesResponse
smart constructor.
Instances
violatingSitesResponse :: ViolatingSitesResponse Source #
Creates a value of ViolatingSitesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
vsrViolatingSites :: Lens' ViolatingSitesResponse [SiteSummaryResponse] Source #
A list of summaries of violating sites.
Xgafv
V1 error format.
Instances
PlatformSummary
data PlatformSummary Source #
Summary of the ad experience rating of a site for a specific platform.
See: platformSummary
smart constructor.
Instances
platformSummary :: PlatformSummary Source #
Creates a value of PlatformSummary
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
psEnforcementTime :: Lens' PlatformSummary (Maybe UTCTime) Source #
The date on which ad filtering begins.
psLastChangeTime :: Lens' PlatformSummary (Maybe UTCTime) Source #
The last time that the site changed status.
psFilterStatus :: Lens' PlatformSummary (Maybe PlatformSummaryFilterStatus) Source #
The ad filtering status of the site.
psUnderReview :: Lens' PlatformSummary (Maybe Bool) Source #
Whether the site is currently under review.
psBetterAdsStatus :: Lens' PlatformSummary (Maybe PlatformSummaryBetterAdsStatus) Source #
The status of the site reviewed for the Better Ads Standards.
psReportURL :: Lens' PlatformSummary (Maybe Text) Source #
A link that leads to a full ad experience report.
PlatformSummaryBetterAdsStatus
data PlatformSummaryBetterAdsStatus Source #
The status of the site reviewed for the Better Ads Standards.
PSBASUnknown |
|
PSBASPassing |
|
PSBASWarning |
|
PSBASFailing |
|