gogol-adexchange-seller 0.4.0 → 0.5.0
raw patch · 18 files changed
+242/−143 lines, 18 filesdep ~gogol-corePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: gogol-core
API changes (from Hackage documentation)
Files
- README.md +1/−1
- gen/Network/Google/AdExchangeSeller/Types.hs +2/−2
- gen/Network/Google/AdExchangeSeller/Types/Product.hs +136/−76
- gen/Network/Google/Resource/AdExchangeSeller/Accounts/AdClients/List.hs +7/−3
- gen/Network/Google/Resource/AdExchangeSeller/Accounts/Alerts/List.hs +7/−6
- gen/Network/Google/Resource/AdExchangeSeller/Accounts/CustomChannels/Get.hs +7/−3
- gen/Network/Google/Resource/AdExchangeSeller/Accounts/CustomChannels/List.hs +7/−3
- gen/Network/Google/Resource/AdExchangeSeller/Accounts/Get.hs +7/−6
- gen/Network/Google/Resource/AdExchangeSeller/Accounts/List.hs +7/−7
- gen/Network/Google/Resource/AdExchangeSeller/Accounts/Metadata/Dimensions/List.hs +7/−5
- gen/Network/Google/Resource/AdExchangeSeller/Accounts/Metadata/Metrics/List.hs +7/−5
- gen/Network/Google/Resource/AdExchangeSeller/Accounts/PreferredDeals/Get.hs +8/−6
- gen/Network/Google/Resource/AdExchangeSeller/Accounts/PreferredDeals/List.hs +7/−5
- gen/Network/Google/Resource/AdExchangeSeller/Accounts/Reports/Generate.hs +9/−4
- gen/Network/Google/Resource/AdExchangeSeller/Accounts/Reports/Saved/Generate.hs +7/−3
- gen/Network/Google/Resource/AdExchangeSeller/Accounts/Reports/Saved/List.hs +7/−3
- gen/Network/Google/Resource/AdExchangeSeller/Accounts/URLChannels/List.hs +7/−3
- gogol-adexchange-seller.cabal +2/−2
README.md view
@@ -8,7 +8,7 @@ ## Version -`0.3.0`+`0.5.0` ## Description
gen/Network/Google/AdExchangeSeller/Types.hs view
@@ -191,8 +191,8 @@ -- | View your Ad Exchange data adExchangeSellerReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/adexchange.seller.readonly"]-adExchangeSellerReadOnlyScope = Proxy;+adExchangeSellerReadOnlyScope = Proxy -- | View and manage your Ad Exchange data adExchangeSellerScope :: Proxy '["https://www.googleapis.com/auth/adexchange.seller"]-adExchangeSellerScope = Proxy;+adExchangeSellerScope = Proxy
gen/Network/Google/AdExchangeSeller/Types/Product.hs view
@@ -22,13 +22,16 @@ -- -- /See:/ 'adClients' smart constructor.-data AdClients = AdClients'+data AdClients =+ AdClients' { _acEtag :: !(Maybe Text) , _acNextPageToken :: !(Maybe Text) , _acKind :: !Text , _acItems :: !(Maybe [AdClient])- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'AdClients' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -43,13 +46,14 @@ adClients :: AdClients adClients =- AdClients'+ AdClients' { _acEtag = Nothing , _acNextPageToken = Nothing , _acKind = "adexchangeseller#adClients" , _acItems = Nothing } + -- | ETag of this response for caching purposes. acEtag :: Lens' AdClients (Maybe Text) acEtag = lens _acEtag (\ s a -> s{_acEtag = a})@@ -90,7 +94,8 @@ -- -- /See:/ 'reportingMetadataEntry' smart constructor.-data ReportingMetadataEntry = ReportingMetadataEntry'+data ReportingMetadataEntry =+ ReportingMetadataEntry' { _rmeKind :: !Text , _rmeRequiredMetrics :: !(Maybe [Text]) , _rmeCompatibleMetrics :: !(Maybe [Text])@@ -98,8 +103,10 @@ , _rmeId :: !(Maybe Text) , _rmeCompatibleDimensions :: !(Maybe [Text]) , _rmeSupportedProducts :: !(Maybe [Text])- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ReportingMetadataEntry' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -120,7 +127,7 @@ reportingMetadataEntry :: ReportingMetadataEntry reportingMetadataEntry =- ReportingMetadataEntry'+ ReportingMetadataEntry' { _rmeKind = "adexchangeseller#reportingMetadataEntry" , _rmeRequiredMetrics = Nothing , _rmeCompatibleMetrics = Nothing@@ -130,6 +137,7 @@ , _rmeSupportedProducts = Nothing } + -- | Kind of resource this is, in this case -- adexchangeseller#reportingMetadataEntry. rmeKind :: Lens' ReportingMetadataEntry Text@@ -219,13 +227,16 @@ -- -- /See:/ 'accounts' smart constructor.-data Accounts = Accounts'+data Accounts =+ Accounts' { _aEtag :: !(Maybe Text) , _aNextPageToken :: !(Maybe Text) , _aKind :: !Text , _aItems :: !(Maybe [Account])- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'Accounts' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -240,13 +251,14 @@ accounts :: Accounts accounts =- Accounts'+ Accounts' { _aEtag = Nothing , _aNextPageToken = Nothing , _aKind = "adexchangeseller#accounts" , _aItems = Nothing } + -- | ETag of this response for caching purposes. aEtag :: Lens' Accounts (Maybe Text) aEtag = lens _aEtag (\ s a -> s{_aEtag = a})@@ -287,11 +299,14 @@ -- -- /See:/ 'alerts' smart constructor.-data Alerts = Alerts'+data Alerts =+ Alerts' { _aleKind :: !Text , _aleItems :: !(Maybe [Alert])- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'Alerts' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -301,12 +316,9 @@ -- * 'aleItems' alerts :: Alerts-alerts =- Alerts'- { _aleKind = "adexchangeseller#alerts"- , _aleItems = Nothing- }+alerts = Alerts' {_aleKind = "adexchangeseller#alerts", _aleItems = Nothing} + -- | Kind of list this is, in this case adexchangeseller#alerts. aleKind :: Lens' Alerts Text aleKind = lens _aleKind (\ s a -> s{_aleKind = a})@@ -335,13 +347,16 @@ -- -- /See:/ 'savedReports' smart constructor.-data SavedReports = SavedReports'+data SavedReports =+ SavedReports' { _srEtag :: !(Maybe Text) , _srNextPageToken :: !(Maybe Text) , _srKind :: !Text , _srItems :: !(Maybe [SavedReport])- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'SavedReports' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -356,13 +371,14 @@ savedReports :: SavedReports savedReports =- SavedReports'+ SavedReports' { _srEtag = Nothing , _srNextPageToken = Nothing , _srKind = "adexchangeseller#savedReports" , _srItems = Nothing } + -- | ETag of this response for caching purposes. srEtag :: Lens' SavedReports (Maybe Text) srEtag = lens _srEtag (\ s a -> s{_srEtag = a})@@ -404,12 +420,15 @@ -- -- /See:/ 'savedReport' smart constructor.-data SavedReport = SavedReport'+data SavedReport =+ SavedReport' { _sKind :: !Text , _sName :: !(Maybe Text) , _sId :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'SavedReport' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -422,12 +441,10 @@ savedReport :: SavedReport savedReport =- SavedReport'- { _sKind = "adexchangeseller#savedReport"- , _sName = Nothing- , _sId = Nothing- }+ SavedReport'+ {_sKind = "adexchangeseller#savedReport", _sName = Nothing, _sId = Nothing} + -- | Kind of resource this is, in this case adexchangeseller#savedReport. sKind :: Lens' SavedReport Text sKind = lens _sKind (\ s a -> s{_sKind = a})@@ -458,13 +475,16 @@ -- -- /See:/ 'urlChannels' smart constructor.-data URLChannels = URLChannels'+data URLChannels =+ URLChannels' { _ucEtag :: !(Maybe Text) , _ucNextPageToken :: !(Maybe Text) , _ucKind :: !Text , _ucItems :: !(Maybe [URLChannel])- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'URLChannels' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -479,13 +499,14 @@ urlChannels :: URLChannels urlChannels =- URLChannels'+ URLChannels' { _ucEtag = Nothing , _ucNextPageToken = Nothing , _ucKind = "adexchangeseller#urlChannels" , _ucItems = Nothing } + -- | ETag of this response for caching purposes. ucEtag :: Lens' URLChannels (Maybe Text) ucEtag = lens _ucEtag (\ s a -> s{_ucEtag = a})@@ -527,13 +548,16 @@ -- -- /See:/ 'customChannels' smart constructor.-data CustomChannels = CustomChannels'+data CustomChannels =+ CustomChannels' { _ccEtag :: !(Maybe Text) , _ccNextPageToken :: !(Maybe Text) , _ccKind :: !Text , _ccItems :: !(Maybe [CustomChannel])- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'CustomChannels' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -548,13 +572,14 @@ customChannels :: CustomChannels customChannels =- CustomChannels'+ CustomChannels' { _ccEtag = Nothing , _ccNextPageToken = Nothing , _ccKind = "adexchangeseller#customChannels" , _ccItems = Nothing } + -- | ETag of this response for caching purposes. ccEtag :: Lens' CustomChannels (Maybe Text) ccEtag = lens _ccEtag (\ s a -> s{_ccEtag = a})@@ -596,7 +621,8 @@ -- -- /See:/ 'report' smart constructor.-data Report = Report'+data Report =+ Report' { _rKind :: !Text , _rAverages :: !(Maybe [Text]) , _rWarnings :: !(Maybe [Text])@@ -604,8 +630,10 @@ , _rTotals :: !(Maybe [Text]) , _rHeaders :: !(Maybe [ReportHeadersItem]) , _rTotalMatchedRows :: !(Maybe (Textual Int64))- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'Report' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -626,7 +654,7 @@ report :: Report report =- Report'+ Report' { _rKind = "adexchangeseller#report" , _rAverages = Nothing , _rWarnings = Nothing@@ -636,6 +664,7 @@ , _rTotalMatchedRows = Nothing } + -- | Kind this is, in this case adexchangeseller#report. rKind :: Lens' Report Text rKind = lens _rKind (\ s a -> s{_rKind = a})@@ -715,14 +744,17 @@ -- -- /See:/ 'alert' smart constructor.-data Alert = Alert'+data Alert =+ Alert' { _aaKind :: !Text , _aaSeverity :: !(Maybe Text) , _aaId :: !(Maybe Text) , _aaType :: !(Maybe Text) , _aaMessage :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'Alert' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -739,7 +771,7 @@ alert :: Alert alert =- Alert'+ Alert' { _aaKind = "adexchangeseller#alert" , _aaSeverity = Nothing , _aaId = Nothing@@ -747,6 +779,7 @@ , _aaMessage = Nothing } + -- | Kind of resource this is, in this case adexchangeseller#alert. aaKind :: Lens' Alert Text aaKind = lens _aaKind (\ s a -> s{_aaKind = a})@@ -794,12 +827,15 @@ -- -- /See:/ 'account' smart constructor.-data Account = Account'+data Account =+ Account' { _accKind :: !Text , _accName :: !(Maybe Text) , _accId :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'Account' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -812,12 +848,13 @@ account :: Account account =- Account'+ Account' { _accKind = "adexchangeseller#account" , _accName = Nothing , _accId = Nothing } + -- | Kind of resource this is, in this case adexchangeseller#account. accKind :: Lens' Account Text accKind = lens _accKind (\ s a -> s{_accKind = a})@@ -848,14 +885,17 @@ -- -- /See:/ 'adClient' smart constructor.-data AdClient = AdClient'+data AdClient =+ AdClient' { _adKind :: !Text , _adArcOptIn :: !(Maybe Bool) , _adSupportsReporting :: !(Maybe Bool) , _adId :: !(Maybe Text) , _adProductCode :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'AdClient' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -872,7 +912,7 @@ adClient :: AdClient adClient =- AdClient'+ AdClient' { _adKind = "adexchangeseller#adClient" , _adArcOptIn = Nothing , _adSupportsReporting = Nothing@@ -880,6 +920,7 @@ , _adProductCode = Nothing } + -- | Kind of resource this is, in this case adexchangeseller#adClient. adKind :: Lens' AdClient Text adKind = lens _adKind (\ s a -> s{_adKind = a})@@ -929,12 +970,15 @@ -- -- /See:/ 'reportHeadersItem' smart constructor.-data ReportHeadersItem = ReportHeadersItem'+data ReportHeadersItem =+ ReportHeadersItem' { _rhiName :: !(Maybe Text) , _rhiCurrency :: !(Maybe Text) , _rhiType :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ReportHeadersItem' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -947,12 +991,10 @@ reportHeadersItem :: ReportHeadersItem reportHeadersItem =- ReportHeadersItem'- { _rhiName = Nothing- , _rhiCurrency = Nothing- , _rhiType = Nothing- }+ ReportHeadersItem'+ {_rhiName = Nothing, _rhiCurrency = Nothing, _rhiType = Nothing} + -- | The name of the header. rhiName :: Lens' ReportHeadersItem (Maybe Text) rhiName = lens _rhiName (\ s a -> s{_rhiName = a})@@ -987,13 +1029,16 @@ -- | The targeting information of this custom channel, if activated. -- -- /See:/ 'customChannelTargetingInfo' smart constructor.-data CustomChannelTargetingInfo = CustomChannelTargetingInfo'+data CustomChannelTargetingInfo =+ CustomChannelTargetingInfo' { _cctiLocation :: !(Maybe Text) , _cctiSiteLanguage :: !(Maybe Text) , _cctiAdsAppearOn :: !(Maybe Text) , _cctiDescription :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'CustomChannelTargetingInfo' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -1008,13 +1053,14 @@ customChannelTargetingInfo :: CustomChannelTargetingInfo customChannelTargetingInfo =- CustomChannelTargetingInfo'+ CustomChannelTargetingInfo' { _cctiLocation = Nothing , _cctiSiteLanguage = Nothing , _cctiAdsAppearOn = Nothing , _cctiDescription = Nothing } + -- | The locations in which ads appear. (Only valid for content and mobile -- content ads). Acceptable values for content ads are: TOP_LEFT, -- TOP_CENTER, TOP_RIGHT, MIDDLE_LEFT, MIDDLE_CENTER, MIDDLE_RIGHT,@@ -1063,11 +1109,14 @@ -- -- /See:/ 'preferredDeals' smart constructor.-data PreferredDeals = PreferredDeals'+data PreferredDeals =+ PreferredDeals' { _pdKind :: !Text , _pdItems :: !(Maybe [PreferredDeal])- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'PreferredDeals' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -1078,11 +1127,10 @@ preferredDeals :: PreferredDeals preferredDeals =- PreferredDeals'- { _pdKind = "adexchangeseller#preferredDeals"- , _pdItems = Nothing- }+ PreferredDeals'+ {_pdKind = "adexchangeseller#preferredDeals", _pdItems = Nothing} + -- | Kind of list this is, in this case adexchangeseller#preferredDeals. pdKind :: Lens' PreferredDeals Text pdKind = lens _pdKind (\ s a -> s{_pdKind = a})@@ -1110,11 +1158,14 @@ -- -- /See:/ 'metadata' smart constructor.-data Metadata = Metadata'+data Metadata =+ Metadata' { _mKind :: !Text , _mItems :: !(Maybe [ReportingMetadataEntry])- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'Metadata' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -1124,12 +1175,9 @@ -- * 'mItems' metadata :: Metadata-metadata =- Metadata'- { _mKind = "adexchangeseller#metadata"- , _mItems = Nothing- }+metadata = Metadata' {_mKind = "adexchangeseller#metadata", _mItems = Nothing} + -- | Kind of list this is, in this case adexchangeseller#metadata. mKind :: Lens' Metadata Text mKind = lens _mKind (\ s a -> s{_mKind = a})@@ -1155,14 +1203,17 @@ -- -- /See:/ 'customChannel' smart constructor.-data CustomChannel = CustomChannel'+data CustomChannel =+ CustomChannel' { _cTargetingInfo :: !(Maybe CustomChannelTargetingInfo) , _cKind :: !Text , _cName :: !(Maybe Text) , _cCode :: !(Maybe Text) , _cId :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'CustomChannel' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -1179,7 +1230,7 @@ customChannel :: CustomChannel customChannel =- CustomChannel'+ CustomChannel' { _cTargetingInfo = Nothing , _cKind = "adexchangeseller#customChannel" , _cName = Nothing@@ -1187,6 +1238,7 @@ , _cId = Nothing } + -- | The targeting information of this custom channel, if activated. cTargetingInfo :: Lens' CustomChannel (Maybe CustomChannelTargetingInfo) cTargetingInfo@@ -1232,12 +1284,15 @@ -- -- /See:/ 'urlChannel' smart constructor.-data URLChannel = URLChannel'+data URLChannel =+ URLChannel' { _urlcKind :: !Text , _urlcId :: !(Maybe Text) , _urlcURLPattern :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'URLChannel' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -1250,12 +1305,13 @@ urlChannel :: URLChannel urlChannel =- URLChannel'+ URLChannel' { _urlcKind = "adexchangeseller#urlChannel" , _urlcId = Nothing , _urlcURLPattern = Nothing } + -- | Kind of resource this is, in this case adexchangeseller#urlChannel. urlcKind :: Lens' URLChannel Text urlcKind = lens _urlcKind (\ s a -> s{_urlcKind = a})@@ -1291,7 +1347,8 @@ -- -- /See:/ 'preferredDeal' smart constructor.-data PreferredDeal = PreferredDeal'+data PreferredDeal =+ PreferredDeal' { _pAdvertiserName :: !(Maybe Text) , _pCurrencyCode :: !(Maybe Text) , _pStartTime :: !(Maybe (Textual Word64))@@ -1300,8 +1357,10 @@ , _pEndTime :: !(Maybe (Textual Word64)) , _pId :: !(Maybe (Textual Int64)) , _pFixedCpm :: !(Maybe (Textual Int64))- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'PreferredDeal' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -1324,7 +1383,7 @@ preferredDeal :: PreferredDeal preferredDeal =- PreferredDeal'+ PreferredDeal' { _pAdvertiserName = Nothing , _pCurrencyCode = Nothing , _pStartTime = Nothing@@ -1334,6 +1393,7 @@ , _pId = Nothing , _pFixedCpm = Nothing }+ -- | The name of the advertiser this deal is for. pAdvertiserName :: Lens' PreferredDeal (Maybe Text)
gen/Network/Google/Resource/AdExchangeSeller/Accounts/AdClients/List.hs view
@@ -56,12 +56,15 @@ -- | List all ad clients in this Ad Exchange account. -- -- /See:/ 'accountsAdClientsList' smart constructor.-data AccountsAdClientsList = AccountsAdClientsList'+data AccountsAdClientsList =+ AccountsAdClientsList' { _aaclAccountId :: !Text , _aaclPageToken :: !(Maybe Text) , _aaclMaxResults :: !(Maybe (Textual Word32))- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'AccountsAdClientsList' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -75,11 +78,12 @@ :: Text -- ^ 'aaclAccountId' -> AccountsAdClientsList accountsAdClientsList pAaclAccountId_ =- AccountsAdClientsList'+ AccountsAdClientsList' { _aaclAccountId = pAaclAccountId_ , _aaclPageToken = Nothing , _aaclMaxResults = Nothing }+ -- | Account to which the ad client belongs. aaclAccountId :: Lens' AccountsAdClientsList Text
gen/Network/Google/Resource/AdExchangeSeller/Accounts/Alerts/List.hs view
@@ -54,11 +54,14 @@ -- | List the alerts for this Ad Exchange account. -- -- /See:/ 'accountsAlertsList' smart constructor.-data AccountsAlertsList = AccountsAlertsList'+data AccountsAlertsList =+ AccountsAlertsList' { _aalLocale :: !(Maybe Text) , _aalAccountId :: !Text- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'AccountsAlertsList' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -70,10 +73,8 @@ :: Text -- ^ 'aalAccountId' -> AccountsAlertsList accountsAlertsList pAalAccountId_ =- AccountsAlertsList'- { _aalLocale = Nothing- , _aalAccountId = pAalAccountId_- }+ AccountsAlertsList' {_aalLocale = Nothing, _aalAccountId = pAalAccountId_}+ -- | The locale to use for translating alert messages. The account locale -- will be used if this is not supplied. The AdSense default (English) will
gen/Network/Google/Resource/AdExchangeSeller/Accounts/CustomChannels/Get.hs view
@@ -57,12 +57,15 @@ -- | Get the specified custom channel from the specified ad client. -- -- /See:/ 'accountsCustomChannelsGet' smart constructor.-data AccountsCustomChannelsGet = AccountsCustomChannelsGet'+data AccountsCustomChannelsGet =+ AccountsCustomChannelsGet' { _accgCustomChannelId :: !Text , _accgAdClientId :: !Text , _accgAccountId :: !Text- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'AccountsCustomChannelsGet' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -78,11 +81,12 @@ -> Text -- ^ 'accgAccountId' -> AccountsCustomChannelsGet accountsCustomChannelsGet pAccgCustomChannelId_ pAccgAdClientId_ pAccgAccountId_ =- AccountsCustomChannelsGet'+ AccountsCustomChannelsGet' { _accgCustomChannelId = pAccgCustomChannelId_ , _accgAdClientId = pAccgAdClientId_ , _accgAccountId = pAccgAccountId_ }+ -- | Custom channel to retrieve. accgCustomChannelId :: Lens' AccountsCustomChannelsGet Text
gen/Network/Google/Resource/AdExchangeSeller/Accounts/CustomChannels/List.hs view
@@ -62,13 +62,16 @@ -- account. -- -- /See:/ 'accountsCustomChannelsList' smart constructor.-data AccountsCustomChannelsList = AccountsCustomChannelsList'+data AccountsCustomChannelsList =+ AccountsCustomChannelsList' { _acclAdClientId :: !Text , _acclAccountId :: !Text , _acclPageToken :: !(Maybe Text) , _acclMaxResults :: !(Maybe (Textual Word32))- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'AccountsCustomChannelsList' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -85,12 +88,13 @@ -> Text -- ^ 'acclAccountId' -> AccountsCustomChannelsList accountsCustomChannelsList pAcclAdClientId_ pAcclAccountId_ =- AccountsCustomChannelsList'+ AccountsCustomChannelsList' { _acclAdClientId = pAcclAdClientId_ , _acclAccountId = pAcclAccountId_ , _acclPageToken = Nothing , _acclMaxResults = Nothing }+ -- | Ad client for which to list custom channels. acclAdClientId :: Lens' AccountsCustomChannelsList Text
gen/Network/Google/Resource/AdExchangeSeller/Accounts/Get.hs view
@@ -51,10 +51,13 @@ -- | Get information about the selected Ad Exchange account. -- -- /See:/ 'accountsGet' smart constructor.-newtype AccountsGet = AccountsGet'+newtype AccountsGet =+ AccountsGet' { _agAccountId :: Text- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'AccountsGet' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -63,10 +66,8 @@ accountsGet :: Text -- ^ 'agAccountId' -> AccountsGet-accountsGet pAgAccountId_ =- AccountsGet'- { _agAccountId = pAgAccountId_- }+accountsGet pAgAccountId_ = AccountsGet' {_agAccountId = pAgAccountId_}+ -- | Account to get information about. Tip: \'myaccount\' is a valid ID. agAccountId :: Lens' AccountsGet Text
gen/Network/Google/Resource/AdExchangeSeller/Accounts/List.hs view
@@ -53,11 +53,14 @@ -- | List all accounts available to this Ad Exchange account. -- -- /See:/ 'accountsList' smart constructor.-data AccountsList = AccountsList'+data AccountsList =+ AccountsList' { _alPageToken :: !(Maybe Text) , _alMaxResults :: !(Maybe (Textual Int32))- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'AccountsList' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -67,11 +70,8 @@ -- * 'alMaxResults' accountsList :: AccountsList-accountsList =- AccountsList'- { _alPageToken = Nothing- , _alMaxResults = Nothing- }+accountsList = AccountsList' {_alPageToken = Nothing, _alMaxResults = Nothing}+ -- | A continuation token, used to page through accounts. To retrieve the -- next page, set this parameter to the value of \"nextPageToken\" from the
gen/Network/Google/Resource/AdExchangeSeller/Accounts/Metadata/Dimensions/List.hs view
@@ -55,10 +55,13 @@ -- account. -- -- /See:/ 'accountsMetadataDimensionsList' smart constructor.-newtype AccountsMetadataDimensionsList = AccountsMetadataDimensionsList'+newtype AccountsMetadataDimensionsList =+ AccountsMetadataDimensionsList' { _amdlAccountId :: Text- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'AccountsMetadataDimensionsList' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -68,9 +71,8 @@ :: Text -- ^ 'amdlAccountId' -> AccountsMetadataDimensionsList accountsMetadataDimensionsList pAmdlAccountId_ =- AccountsMetadataDimensionsList'- { _amdlAccountId = pAmdlAccountId_- }+ AccountsMetadataDimensionsList' {_amdlAccountId = pAmdlAccountId_}+ -- | Account with visibility to the dimensions. amdlAccountId :: Lens' AccountsMetadataDimensionsList Text
gen/Network/Google/Resource/AdExchangeSeller/Accounts/Metadata/Metrics/List.hs view
@@ -53,10 +53,13 @@ -- | List the metadata for the metrics available to this AdExchange account. -- -- /See:/ 'accountsMetadataMetricsList' smart constructor.-newtype AccountsMetadataMetricsList = AccountsMetadataMetricsList'+newtype AccountsMetadataMetricsList =+ AccountsMetadataMetricsList' { _ammlAccountId :: Text- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'AccountsMetadataMetricsList' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -66,9 +69,8 @@ :: Text -- ^ 'ammlAccountId' -> AccountsMetadataMetricsList accountsMetadataMetricsList pAmmlAccountId_ =- AccountsMetadataMetricsList'- { _ammlAccountId = pAmmlAccountId_- }+ AccountsMetadataMetricsList' {_ammlAccountId = pAmmlAccountId_}+ -- | Account with visibility to the metrics. ammlAccountId :: Lens' AccountsMetadataMetricsList Text
gen/Network/Google/Resource/AdExchangeSeller/Accounts/PreferredDeals/Get.hs view
@@ -54,11 +54,14 @@ -- | Get information about the selected Ad Exchange Preferred Deal. -- -- /See:/ 'accountsPreferredDealsGet' smart constructor.-data AccountsPreferredDealsGet = AccountsPreferredDealsGet'+data AccountsPreferredDealsGet =+ AccountsPreferredDealsGet' { _apdgDealId :: !Text , _apdgAccountId :: !Text- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'AccountsPreferredDealsGet' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -71,10 +74,9 @@ -> Text -- ^ 'apdgAccountId' -> AccountsPreferredDealsGet accountsPreferredDealsGet pApdgDealId_ pApdgAccountId_ =- AccountsPreferredDealsGet'- { _apdgDealId = pApdgDealId_- , _apdgAccountId = pApdgAccountId_- }+ AccountsPreferredDealsGet'+ {_apdgDealId = pApdgDealId_, _apdgAccountId = pApdgAccountId_}+ -- | Preferred deal to get information about. apdgDealId :: Lens' AccountsPreferredDealsGet Text
gen/Network/Google/Resource/AdExchangeSeller/Accounts/PreferredDeals/List.hs view
@@ -53,10 +53,13 @@ -- | List the preferred deals for this Ad Exchange account. -- -- /See:/ 'accountsPreferredDealsList' smart constructor.-newtype AccountsPreferredDealsList = AccountsPreferredDealsList'+newtype AccountsPreferredDealsList =+ AccountsPreferredDealsList' { _apdlAccountId :: Text- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'AccountsPreferredDealsList' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -66,9 +69,8 @@ :: Text -- ^ 'apdlAccountId' -> AccountsPreferredDealsList accountsPreferredDealsList pApdlAccountId_ =- AccountsPreferredDealsList'- { _apdlAccountId = pApdlAccountId_- }+ AccountsPreferredDealsList' {_apdlAccountId = pApdlAccountId_}+ -- | Account owning the deals. apdlAccountId :: Lens' AccountsPreferredDealsList Text
gen/Network/Google/Resource/AdExchangeSeller/Accounts/Reports/Generate.hs view
@@ -91,7 +91,8 @@ -- format specify \"alt=csv\" as a query parameter. -- -- /See:/ 'accountsReportsGenerate' smart constructor.-data AccountsReportsGenerate = AccountsReportsGenerate'+data AccountsReportsGenerate =+ AccountsReportsGenerate' { _argDimension :: !(Maybe [Text]) , _argLocale :: !(Maybe Text) , _argEndDate :: !Text@@ -102,8 +103,10 @@ , _argFilter :: !(Maybe [Text]) , _argStartIndex :: !(Maybe (Textual Word32)) , _argMaxResults :: !(Maybe (Textual Word32))- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'AccountsReportsGenerate' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -133,7 +136,7 @@ -> Text -- ^ 'argAccountId' -> AccountsReportsGenerate accountsReportsGenerate pArgEndDate_ pArgStartDate_ pArgAccountId_ =- AccountsReportsGenerate'+ AccountsReportsGenerate' { _argDimension = Nothing , _argLocale = Nothing , _argEndDate = pArgEndDate_@@ -146,6 +149,7 @@ , _argMaxResults = Nothing } + -- | Dimensions to base the report on. argDimension :: Lens' AccountsReportsGenerate [Text] argDimension@@ -234,7 +238,8 @@ mempty instance GoogleRequest- (MediaDownload AccountsReportsGenerate) where+ (MediaDownload AccountsReportsGenerate)+ where type Rs (MediaDownload AccountsReportsGenerate) = Stream type Scopes (MediaDownload AccountsReportsGenerate) =
gen/Network/Google/Resource/AdExchangeSeller/Accounts/Reports/Saved/Generate.hs view
@@ -62,14 +62,17 @@ -- query parameters. -- -- /See:/ 'accountsReportsSavedGenerate' smart constructor.-data AccountsReportsSavedGenerate = AccountsReportsSavedGenerate'+data AccountsReportsSavedGenerate =+ AccountsReportsSavedGenerate' { _arsgLocale :: !(Maybe Text) , _arsgSavedReportId :: !Text , _arsgAccountId :: !Text , _arsgStartIndex :: !(Maybe (Textual Int32)) , _arsgMaxResults :: !(Maybe (Textual Int32))- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'AccountsReportsSavedGenerate' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -88,13 +91,14 @@ -> Text -- ^ 'arsgAccountId' -> AccountsReportsSavedGenerate accountsReportsSavedGenerate pArsgSavedReportId_ pArsgAccountId_ =- AccountsReportsSavedGenerate'+ AccountsReportsSavedGenerate' { _arsgLocale = Nothing , _arsgSavedReportId = pArsgSavedReportId_ , _arsgAccountId = pArsgAccountId_ , _arsgStartIndex = Nothing , _arsgMaxResults = Nothing }+ -- | Optional locale to use for translating report output to a local -- language. Defaults to \"en_US\" if not specified.
gen/Network/Google/Resource/AdExchangeSeller/Accounts/Reports/Saved/List.hs view
@@ -57,12 +57,15 @@ -- | List all saved reports in this Ad Exchange account. -- -- /See:/ 'accountsReportsSavedList' smart constructor.-data AccountsReportsSavedList = AccountsReportsSavedList'+data AccountsReportsSavedList =+ AccountsReportsSavedList' { _arslAccountId :: !Text , _arslPageToken :: !(Maybe Text) , _arslMaxResults :: !(Maybe (Textual Int32))- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'AccountsReportsSavedList' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -76,11 +79,12 @@ :: Text -- ^ 'arslAccountId' -> AccountsReportsSavedList accountsReportsSavedList pArslAccountId_ =- AccountsReportsSavedList'+ AccountsReportsSavedList' { _arslAccountId = pArslAccountId_ , _arslPageToken = Nothing , _arslMaxResults = Nothing }+ -- | Account owning the saved reports. arslAccountId :: Lens' AccountsReportsSavedList Text
gen/Network/Google/Resource/AdExchangeSeller/Accounts/URLChannels/List.hs view
@@ -61,13 +61,16 @@ -- account. -- -- /See:/ 'accountsURLChannelsList' smart constructor.-data AccountsURLChannelsList = AccountsURLChannelsList'+data AccountsURLChannelsList =+ AccountsURLChannelsList' { _auclAdClientId :: !Text , _auclAccountId :: !Text , _auclPageToken :: !(Maybe Text) , _auclMaxResults :: !(Maybe (Textual Word32))- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | 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:@@ -84,12 +87,13 @@ -> Text -- ^ 'auclAccountId' -> AccountsURLChannelsList accountsURLChannelsList pAuclAdClientId_ pAuclAccountId_ =- AccountsURLChannelsList'+ AccountsURLChannelsList' { _auclAdClientId = pAuclAdClientId_ , _auclAccountId = pAuclAccountId_ , _auclPageToken = Nothing , _auclMaxResults = Nothing }+ -- | Ad client for which to list URL channels. auclAdClientId :: Lens' AccountsURLChannelsList Text
gogol-adexchange-seller.cabal view
@@ -1,5 +1,5 @@ name: gogol-adexchange-seller-version: 0.4.0+version: 0.5.0 synopsis: Google Ad Exchange Seller SDK. homepage: https://github.com/brendanhay/gogol bug-reports: https://github.com/brendanhay/gogol/issues@@ -56,5 +56,5 @@ , Network.Google.AdExchangeSeller.Types.Sum build-depends:- gogol-core == 0.4.0.*+ gogol-core == 0.5.0.* , base >= 4.7 && < 5