gogol-adexperiencereport-0.4.0: Google Ad Experience Report SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.AdExperienceReport.Sites.Get

Contents

Description

Gets a summary of the ad experience rating of a site.

See: Ad Experience Report API Reference for adexperiencereport.sites.get.

Synopsis

REST Resource

type SitesGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] SiteSummaryResponse))))))) Source #

A resource alias for adexperiencereport.sites.get method which the SitesGet request conforms to.

Creating a Request

sitesGet Source #

Arguments

:: Text

sgName

-> SitesGet 

Creates a value of SitesGet with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data SitesGet Source #

Gets a summary of the ad experience rating of a site.

See: sitesGet smart constructor.

Instances
Eq SitesGet Source # 
Instance details

Defined in Network.Google.Resource.AdExperienceReport.Sites.Get

Data SitesGet Source # 
Instance details

Defined in Network.Google.Resource.AdExperienceReport.Sites.Get

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SitesGet -> c SitesGet #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SitesGet #

toConstr :: SitesGet -> Constr #

dataTypeOf :: SitesGet -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SitesGet) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SitesGet) #

gmapT :: (forall b. Data b => b -> b) -> SitesGet -> SitesGet #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SitesGet -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SitesGet -> r #

gmapQ :: (forall d. Data d => d -> u) -> SitesGet -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SitesGet -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SitesGet -> m SitesGet #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SitesGet -> m SitesGet #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SitesGet -> m SitesGet #

Show SitesGet Source # 
Instance details

Defined in Network.Google.Resource.AdExperienceReport.Sites.Get

Generic SitesGet Source # 
Instance details

Defined in Network.Google.Resource.AdExperienceReport.Sites.Get

Associated Types

type Rep SitesGet :: Type -> Type #

Methods

from :: SitesGet -> Rep SitesGet x #

to :: Rep SitesGet x -> SitesGet #

GoogleRequest SitesGet Source # 
Instance details

Defined in Network.Google.Resource.AdExperienceReport.Sites.Get

Associated Types

type Rs SitesGet :: Type #

type Scopes SitesGet :: [Symbol] #

type Rep SitesGet Source # 
Instance details

Defined in Network.Google.Resource.AdExperienceReport.Sites.Get

type Rep SitesGet = D1 (MetaData "SitesGet" "Network.Google.Resource.AdExperienceReport.Sites.Get" "gogol-adexperiencereport-0.4.0-2MG9LPSyCiQ5HQ0Dibw0bQ" False) (C1 (MetaCons "SitesGet'" PrefixI True) ((S1 (MetaSel (Just "_sgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_sgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_sgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_sgName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_sgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes SitesGet Source # 
Instance details

Defined in Network.Google.Resource.AdExperienceReport.Sites.Get

type Scopes SitesGet = "https://www.googleapis.com/auth/xapi.zoo" ': ([] :: [Symbol])
type Rs SitesGet Source # 
Instance details

Defined in Network.Google.Resource.AdExperienceReport.Sites.Get

Request Lenses

sgXgafv :: Lens' SitesGet (Maybe Xgafv) Source #

V1 error format.

sgUploadProtocol :: Lens' SitesGet (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

sgAccessToken :: Lens' SitesGet (Maybe Text) Source #

OAuth access token.

sgUploadType :: Lens' SitesGet (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

sgName :: Lens' SitesGet Text Source #

The required site name. It should be the site property whose ad experiences may have been reviewed, and it should be URL-encoded. For example, sites/https%3A%2F%2Fwww.google.com. The server will return an error of BAD_REQUEST if this field is not filled in. Note that if the site property is not yet verified in Search Console, the reportUrl field returned by the API will lead to the verification page, prompting the user to go through that process before they can gain access to the Ad Experience Report.