gogol-doubleclick-search 0.4.0 → 0.5.0
raw patch · 14 files changed
+203/−137 lines, 14 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/DoubleClickSearch/Types.hs +1/−1
- gen/Network/Google/DoubleClickSearch/Types/Product.hs +129/−86
- gen/Network/Google/Resource/DoubleClickSearch/Conversion/Get.hs +7/−3
- gen/Network/Google/Resource/DoubleClickSearch/Conversion/Insert.hs +7/−6
- gen/Network/Google/Resource/DoubleClickSearch/Conversion/Patch.hs +7/−3
- gen/Network/Google/Resource/DoubleClickSearch/Conversion/Update.hs +7/−6
- gen/Network/Google/Resource/DoubleClickSearch/Conversion/UpdateAvailability.hs +7/−5
- gen/Network/Google/Resource/DoubleClickSearch/Reports/Generate.hs +7/−6
- gen/Network/Google/Resource/DoubleClickSearch/Reports/Get.hs +7/−6
- gen/Network/Google/Resource/DoubleClickSearch/Reports/GetFile.hs +7/−3
- gen/Network/Google/Resource/DoubleClickSearch/Reports/Request.hs +7/−6
- gen/Network/Google/Resource/DoubleClickSearch/SavedColumns/List.hs +7/−3
- gogol-doubleclick-search.cabal +2/−2
README.md view
@@ -8,7 +8,7 @@ ## Version -`0.3.0`+`0.5.0` ## Description
gen/Network/Google/DoubleClickSearch/Types.hs view
@@ -211,4 +211,4 @@ -- | View and manage your advertising data in DoubleClick Search doubleClickSearchScope :: Proxy '["https://www.googleapis.com/auth/doubleclicksearch"]-doubleClickSearchScope = Proxy;+doubleClickSearchScope = Proxy
gen/Network/Google/DoubleClickSearch/Types/Product.hs view
@@ -23,10 +23,13 @@ -- | A row in a DoubleClick Search report. -- -- /See:/ 'reportRow' smart constructor.-newtype ReportRow = ReportRow'+newtype ReportRow =+ ReportRow' { _rrAddtional :: HashMap Text JSONValue- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ReportRow' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -35,11 +38,9 @@ reportRow :: HashMap Text JSONValue -- ^ 'rrAddtional' -> ReportRow-reportRow pRrAddtional_ =- ReportRow'- { _rrAddtional = _Coerce # pRrAddtional_- }+reportRow pRrAddtional_ = ReportRow' {_rrAddtional = _Coerce # pRrAddtional_} + -- | Indicates the columns that are represented in this row. That is, each -- key corresponds to a column with a non-empty cell in this row. rrAddtional :: Lens' ReportRow (HashMap Text JSONValue)@@ -58,7 +59,8 @@ -- | A request object used to create a DoubleClick Search report. -- -- /See:/ 'reportRequest' smart constructor.-data ReportRequest = ReportRequest'+data ReportRequest =+ ReportRequest' { _rrMaxRowsPerFile :: !(Maybe (Textual Int32)) , _rrReportScope :: !(Maybe ReportRequestReportScope) , _rrStatisticsCurrency :: !(Maybe Text)@@ -73,8 +75,10 @@ , _rrReportType :: !(Maybe Text) , _rrVerifySingleTimeZone :: !Bool , _rrRowCount :: !(Textual Int32)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ReportRequest' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -109,7 +113,7 @@ reportRequest :: ReportRequest reportRequest =- ReportRequest'+ ReportRequest' { _rrMaxRowsPerFile = Nothing , _rrReportScope = Nothing , _rrStatisticsCurrency = Nothing@@ -126,6 +130,7 @@ , _rrRowCount = 10000 } + -- | Asynchronous report only. The maximum number of rows per report file. A -- large report is split into many files based on this field. Acceptable -- values are 1000000 to 100000000, inclusive.@@ -285,11 +290,14 @@ -- -- /See:/ 'reportRequestOrderByItem' smart constructor.-data ReportRequestOrderByItem = ReportRequestOrderByItem'+data ReportRequestOrderByItem =+ ReportRequestOrderByItem' { _rrobiSortOrder :: !(Maybe Text) , _rrobiColumn :: !(Maybe ReportAPIColumnSpec)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ReportRequestOrderByItem' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -300,11 +308,9 @@ reportRequestOrderByItem :: ReportRequestOrderByItem reportRequestOrderByItem =- ReportRequestOrderByItem'- { _rrobiSortOrder = Nothing- , _rrobiColumn = Nothing- }+ ReportRequestOrderByItem' {_rrobiSortOrder = Nothing, _rrobiColumn = Nothing} + -- | The sort direction, which is either ascending or descending. rrobiSortOrder :: Lens' ReportRequestOrderByItem (Maybe Text) rrobiSortOrder@@ -336,7 +342,8 @@ -- rows or report files. -- -- /See:/ 'report' smart constructor.-data Report = Report'+data Report =+ Report' { _rKind :: !Text , _rRows :: !(Maybe [ReportRow]) , _rStatisticsCurrencyCode :: !(Maybe Text)@@ -346,8 +353,10 @@ , _rStatisticsTimeZone :: !(Maybe Text) , _rRowCount :: !(Maybe (Textual Int32)) , _rRequest :: !(Maybe ReportRequest)- } 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:@@ -372,7 +381,7 @@ report :: Report report =- Report'+ Report' { _rKind = "doubleclicksearch#report" , _rRows = Nothing , _rStatisticsCurrencyCode = Nothing@@ -384,6 +393,7 @@ , _rRequest = Nothing } + -- | Identifies this as a Report resource. Value: the fixed string -- doubleclicksearch#report. rKind :: Lens' Report Text@@ -471,11 +481,14 @@ -- -- /See:/ 'reportFilesItem' smart constructor.-data ReportFilesItem = ReportFilesItem'+data ReportFilesItem =+ ReportFilesItem' { _rfiURL :: !(Maybe Text) , _rfiByteCount :: !(Maybe (Textual Int64))- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ReportFilesItem' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -485,12 +498,9 @@ -- * 'rfiByteCount' reportFilesItem :: ReportFilesItem-reportFilesItem =- ReportFilesItem'- { _rfiURL = Nothing- , _rfiByteCount = Nothing- }+reportFilesItem = ReportFilesItem' {_rfiURL = Nothing, _rfiByteCount = Nothing} + -- | Use this url to download the report file. rfiURL :: Lens' ReportFilesItem (Maybe Text) rfiURL = lens _rfiURL (\ s a -> s{_rfiURL = a})@@ -517,12 +527,15 @@ -- -- /See:/ 'reportRequestFiltersItem' smart constructor.-data ReportRequestFiltersItem = ReportRequestFiltersItem'+data ReportRequestFiltersItem =+ ReportRequestFiltersItem' { _rrfiOperator :: !(Maybe Text) , _rrfiValues :: !(Maybe [JSONValue]) , _rrfiColumn :: !(Maybe ReportAPIColumnSpec)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ReportRequestFiltersItem' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -535,12 +548,10 @@ reportRequestFiltersItem :: ReportRequestFiltersItem reportRequestFiltersItem =- ReportRequestFiltersItem'- { _rrfiOperator = Nothing- , _rrfiValues = Nothing- , _rrfiColumn = Nothing- }+ ReportRequestFiltersItem'+ {_rrfiOperator = Nothing, _rrfiValues = Nothing, _rrfiColumn = Nothing} + -- | Operator to use in the filter. See the filter reference for a list of -- available operators. rrfiOperator :: Lens' ReportRequestFiltersItem (Maybe Text)@@ -580,15 +591,18 @@ -- | A message containing availability data relevant to DoubleClick Search. -- -- /See:/ 'availability' smart constructor.-data Availability = Availability'+data Availability =+ Availability' { _aAgencyId :: !(Maybe (Textual Int64)) , _aAdvertiserId :: !(Maybe (Textual Int64)) , _aSegmentationId :: !(Maybe (Textual Int64)) , _aSegmentationName :: !(Maybe Text) , _aAvailabilityTimestamp :: !(Maybe (Textual Word64)) , _aSegmentationType :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'Availability' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -607,7 +621,7 @@ availability :: Availability availability =- Availability'+ Availability' { _aAgencyId = Nothing , _aAdvertiserId = Nothing , _aSegmentationId = Nothing@@ -616,6 +630,7 @@ , _aSegmentationType = Nothing } + -- | DS agency ID. aAgencyId :: Lens' Availability (Maybe Int64) aAgencyId@@ -685,10 +700,13 @@ -- | The request to update availability. -- -- /See:/ 'updateAvailabilityRequest' smart constructor.-newtype UpdateAvailabilityRequest = UpdateAvailabilityRequest'+newtype UpdateAvailabilityRequest =+ UpdateAvailabilityRequest' { _uarAvailabilities :: Maybe [Availability]- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'UpdateAvailabilityRequest' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -697,10 +715,9 @@ updateAvailabilityRequest :: UpdateAvailabilityRequest updateAvailabilityRequest =- UpdateAvailabilityRequest'- { _uarAvailabilities = Nothing- }+ UpdateAvailabilityRequest' {_uarAvailabilities = Nothing} + -- | The availabilities being requested. uarAvailabilities :: Lens' UpdateAvailabilityRequest [Availability] uarAvailabilities@@ -725,11 +742,14 @@ -- | A message containing the custome metric. -- -- /See:/ 'customMetric' smart constructor.-data CustomMetric = CustomMetric'+data CustomMetric =+ CustomMetric' { _cmValue :: !(Maybe (Textual Double)) , _cmName :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'CustomMetric' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -739,12 +759,9 @@ -- * 'cmName' customMetric :: CustomMetric-customMetric =- CustomMetric'- { _cmValue = Nothing- , _cmName = Nothing- }+customMetric = CustomMetric' {_cmValue = Nothing, _cmName = Nothing} + -- | Custom metric numeric value. cmValue :: Lens' CustomMetric (Maybe Double) cmValue@@ -770,11 +787,14 @@ -- | A list of conversions. -- -- /See:/ 'conversionList' smart constructor.-data ConversionList = ConversionList'+data ConversionList =+ ConversionList' { _clKind :: !Text , _clConversion :: !(Maybe [Conversion])- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ConversionList' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -785,11 +805,10 @@ conversionList :: ConversionList conversionList =- ConversionList'- { _clKind = "doubleclicksearch#conversionList"- , _clConversion = Nothing- }+ ConversionList'+ {_clKind = "doubleclicksearch#conversionList", _clConversion = Nothing} + -- | Identifies this as a ConversionList resource. Value: the fixed string -- doubleclicksearch#conversionList. clKind :: Lens' ConversionList Text@@ -820,7 +839,8 @@ -- | A request object used to create a DoubleClick Search report. -- -- /See:/ 'reportAPIColumnSpec' smart constructor.-data ReportAPIColumnSpec = ReportAPIColumnSpec'+data ReportAPIColumnSpec =+ ReportAPIColumnSpec' { _racsCustomDimensionName :: !(Maybe Text) , _racsSavedColumnName :: !(Maybe Text) , _racsGroupByColumn :: !Bool@@ -831,8 +851,10 @@ , _racsHeaderText :: !(Maybe Text) , _racsPlatformSource :: !(Maybe Text) , _racsColumnName :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ReportAPIColumnSpec' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -859,7 +881,7 @@ reportAPIColumnSpec :: ReportAPIColumnSpec reportAPIColumnSpec =- ReportAPIColumnSpec'+ ReportAPIColumnSpec' { _racsCustomDimensionName = Nothing , _racsSavedColumnName = Nothing , _racsGroupByColumn = False@@ -872,6 +894,7 @@ , _racsColumnName = Nothing } + -- | Segments a report by a custom dimension. The report must be scoped to an -- advertiser or lower, and the custom dimension must already be set up in -- DoubleClick Search. The custom dimension name, which appears in@@ -990,13 +1013,16 @@ -- restrict the metrics to a specific time range. -- -- /See:/ 'reportRequestTimeRange' smart constructor.-data ReportRequestTimeRange = ReportRequestTimeRange'+data ReportRequestTimeRange =+ ReportRequestTimeRange' { _rrtrEndDate :: !(Maybe Text) , _rrtrChangedAttributesSinceTimestamp :: !(Maybe DateTime') , _rrtrStartDate :: !(Maybe Text) , _rrtrChangedMetricsSinceTimestamp :: !(Maybe DateTime')- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ReportRequestTimeRange' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -1011,13 +1037,14 @@ reportRequestTimeRange :: ReportRequestTimeRange reportRequestTimeRange =- ReportRequestTimeRange'+ ReportRequestTimeRange' { _rrtrEndDate = Nothing , _rrtrChangedAttributesSinceTimestamp = Nothing , _rrtrStartDate = Nothing , _rrtrChangedMetricsSinceTimestamp = Nothing } + -- | Inclusive date in YYYY-MM-DD format. rrtrEndDate :: Lens' ReportRequestTimeRange (Maybe Text) rrtrEndDate@@ -1070,7 +1097,8 @@ -- | A conversion containing data relevant to DoubleClick Search. -- -- /See:/ 'conversion' smart constructor.-data Conversion = Conversion'+data Conversion =+ Conversion' { _cAdGroupId :: !(Maybe (Textual Int64)) , _cConversionModifiedTimestamp :: !(Maybe (Textual Word64)) , _cState :: !(Maybe Text)@@ -1104,8 +1132,10 @@ , _cSegmentationType :: !(Maybe Text) , _cProductId :: !(Maybe Text) , _cProductGroupId :: !(Maybe (Textual Int64))- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'Conversion' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -1178,7 +1208,7 @@ conversion :: Conversion conversion =- Conversion'+ Conversion' { _cAdGroupId = Nothing , _cConversionModifiedTimestamp = Nothing , _cState = Nothing@@ -1214,6 +1244,7 @@ , _cProductGroupId = Nothing } + -- | DS ad group ID. cAdGroupId :: Lens' Conversion (Maybe Int64) cAdGroupId@@ -1518,12 +1549,15 @@ -- | A saved column -- -- /See:/ 'savedColumn' smart constructor.-data SavedColumn = SavedColumn'+data SavedColumn =+ SavedColumn' { _scSavedColumnName :: !(Maybe Text) , _scKind :: !Text , _scType :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'SavedColumn' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -1536,12 +1570,13 @@ savedColumn :: SavedColumn savedColumn =- SavedColumn'+ SavedColumn' { _scSavedColumnName = Nothing , _scKind = "doubleclicksearch#savedColumn" , _scType = Nothing } + -- | The name of the saved column. scSavedColumnName :: Lens' SavedColumn (Maybe Text) scSavedColumnName@@ -1576,11 +1611,14 @@ -- | A message containing the custome dimension. -- -- /See:/ 'customDimension' smart constructor.-data CustomDimension = CustomDimension'+data CustomDimension =+ CustomDimension' { _cdValue :: !(Maybe Text) , _cdName :: !(Maybe Text)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'CustomDimension' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -1590,12 +1628,9 @@ -- * 'cdName' customDimension :: CustomDimension-customDimension =- CustomDimension'- { _cdValue = Nothing- , _cdName = Nothing- }+customDimension = CustomDimension' {_cdValue = Nothing, _cdName = Nothing} + -- | Custom dimension value. cdValue :: Lens' CustomDimension (Maybe Text) cdValue = lens _cdValue (\ s a -> s{_cdValue = a})@@ -1620,10 +1655,13 @@ -- | The response to a update availability request. -- -- /See:/ 'updateAvailabilityResponse' smart constructor.-newtype UpdateAvailabilityResponse = UpdateAvailabilityResponse'+newtype UpdateAvailabilityResponse =+ UpdateAvailabilityResponse' { _uAvailabilities :: Maybe [Availability]- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'UpdateAvailabilityResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -1632,10 +1670,9 @@ updateAvailabilityResponse :: UpdateAvailabilityResponse updateAvailabilityResponse =- UpdateAvailabilityResponse'- { _uAvailabilities = Nothing- }+ UpdateAvailabilityResponse' {_uAvailabilities = Nothing} + -- | The availabilities being returned. uAvailabilities :: Lens' UpdateAvailabilityResponse [Availability] uAvailabilities@@ -1662,7 +1699,8 @@ -- the lowest scoped level desired up through agency is required. -- -- /See:/ 'reportRequestReportScope' smart constructor.-data ReportRequestReportScope = ReportRequestReportScope'+data ReportRequestReportScope =+ ReportRequestReportScope' { _rrrsKeywordId :: !(Maybe (Textual Int64)) , _rrrsAdGroupId :: !(Maybe (Textual Int64)) , _rrrsEngineAccountId :: !(Maybe (Textual Int64))@@ -1670,8 +1708,10 @@ , _rrrsAdvertiserId :: !(Maybe (Textual Int64)) , _rrrsCampaignId :: !(Maybe (Textual Int64)) , _rrrsAdId :: !(Maybe (Textual Int64))- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ReportRequestReportScope' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -1692,7 +1732,7 @@ reportRequestReportScope :: ReportRequestReportScope reportRequestReportScope =- ReportRequestReportScope'+ ReportRequestReportScope' { _rrrsKeywordId = Nothing , _rrrsAdGroupId = Nothing , _rrrsEngineAccountId = Nothing@@ -1702,6 +1742,7 @@ , _rrrsAdId = Nothing } + -- | DS keyword ID. rrrsKeywordId :: Lens' ReportRequestReportScope (Maybe Int64) rrrsKeywordId@@ -1779,11 +1820,14 @@ -- that are available from this list. -- -- /See:/ 'savedColumnList' smart constructor.-data SavedColumnList = SavedColumnList'+data SavedColumnList =+ SavedColumnList' { _sclKind :: !Text , _sclItems :: !(Maybe [SavedColumn])- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'SavedColumnList' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -1794,10 +1838,9 @@ savedColumnList :: SavedColumnList savedColumnList =- SavedColumnList'- { _sclKind = "doubleclicksearch#savedColumnList"- , _sclItems = Nothing- }+ SavedColumnList'+ {_sclKind = "doubleclicksearch#savedColumnList", _sclItems = Nothing}+ -- | Identifies this as a SavedColumnList resource. Value: the fixed string -- doubleclicksearch#savedColumnList.
gen/Network/Google/Resource/DoubleClickSearch/Conversion/Get.hs view
@@ -77,7 +77,8 @@ -- account. -- -- /See:/ 'conversionGet' smart constructor.-data ConversionGet = ConversionGet'+data ConversionGet =+ ConversionGet' { _cgAdGroupId :: !(Maybe (Textual Int64)) , _cgEngineAccountId :: !(Textual Int64) , _cgAgencyId :: !(Textual Int64)@@ -89,8 +90,10 @@ , _cgStartRow :: !(Textual Word32) , _cgAdId :: !(Maybe (Textual Int64)) , _cgRowCount :: !(Textual Int32)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ConversionGet' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -126,7 +129,7 @@ -> Int32 -- ^ 'cgRowCount' -> ConversionGet conversionGet pCgEngineAccountId_ pCgAgencyId_ pCgAdvertiserId_ pCgEndDate_ pCgStartDate_ pCgStartRow_ pCgRowCount_ =- ConversionGet'+ ConversionGet' { _cgAdGroupId = Nothing , _cgEngineAccountId = _Coerce # pCgEngineAccountId_ , _cgAgencyId = _Coerce # pCgAgencyId_@@ -139,6 +142,7 @@ , _cgAdId = Nothing , _cgRowCount = _Coerce # pCgRowCount_ }+ -- | Numeric ID of the ad group. cgAdGroupId :: Lens' ConversionGet (Maybe Int64)
gen/Network/Google/Resource/DoubleClickSearch/Conversion/Insert.hs view
@@ -52,10 +52,13 @@ -- | Inserts a batch of new conversions into DoubleClick Search. -- -- /See:/ 'conversionInsert' smart constructor.-newtype ConversionInsert = ConversionInsert'+newtype ConversionInsert =+ ConversionInsert' { _ciPayload :: ConversionList- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ConversionInsert' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -64,10 +67,8 @@ conversionInsert :: ConversionList -- ^ 'ciPayload' -> ConversionInsert-conversionInsert pCiPayload_ =- ConversionInsert'- { _ciPayload = pCiPayload_- }+conversionInsert pCiPayload_ = ConversionInsert' {_ciPayload = pCiPayload_}+ -- | Multipart request metadata. ciPayload :: Lens' ConversionInsert ConversionList
gen/Network/Google/Resource/DoubleClickSearch/Conversion/Patch.hs view
@@ -68,7 +68,8 @@ -- supports patch semantics. -- -- /See:/ 'conversionPatch' smart constructor.-data ConversionPatch = ConversionPatch'+data ConversionPatch =+ ConversionPatch' { _cpEngineAccountId :: !(Textual Int64) , _cpAgencyId :: !(Textual Int64) , _cpAdvertiserId :: !(Textual Int64)@@ -77,8 +78,10 @@ , _cpStartDate :: !(Textual Int32) , _cpStartRow :: !(Textual Word32) , _cpRowCount :: !(Textual Int32)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ConversionPatch' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -109,7 +112,7 @@ -> Int32 -- ^ 'cpRowCount' -> ConversionPatch conversionPatch pCpEngineAccountId_ pCpAgencyId_ pCpAdvertiserId_ pCpEndDate_ pCpPayload_ pCpStartDate_ pCpStartRow_ pCpRowCount_ =- ConversionPatch'+ ConversionPatch' { _cpEngineAccountId = _Coerce # pCpEngineAccountId_ , _cpAgencyId = _Coerce # pCpAgencyId_ , _cpAdvertiserId = _Coerce # pCpAdvertiserId_@@ -119,6 +122,7 @@ , _cpStartRow = _Coerce # pCpStartRow_ , _cpRowCount = _Coerce # pCpRowCount_ }+ -- | Numeric ID of the engine account. cpEngineAccountId :: Lens' ConversionPatch Int64
gen/Network/Google/Resource/DoubleClickSearch/Conversion/Update.hs view
@@ -52,10 +52,13 @@ -- | Updates a batch of conversions in DoubleClick Search. -- -- /See:/ 'conversionUpdate' smart constructor.-newtype ConversionUpdate = ConversionUpdate'+newtype ConversionUpdate =+ ConversionUpdate' { _cuPayload :: ConversionList- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ConversionUpdate' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -64,10 +67,8 @@ conversionUpdate :: ConversionList -- ^ 'cuPayload' -> ConversionUpdate-conversionUpdate pCuPayload_ =- ConversionUpdate'- { _cuPayload = pCuPayload_- }+conversionUpdate pCuPayload_ = ConversionUpdate' {_cuPayload = pCuPayload_}+ -- | Multipart request metadata. cuPayload :: Lens' ConversionUpdate ConversionList
gen/Network/Google/Resource/DoubleClickSearch/Conversion/UpdateAvailability.hs view
@@ -55,10 +55,13 @@ -- DoubleClick Search. -- -- /See:/ 'conversionUpdateAvailability' smart constructor.-newtype ConversionUpdateAvailability = ConversionUpdateAvailability'+newtype ConversionUpdateAvailability =+ ConversionUpdateAvailability' { _cuaPayload :: UpdateAvailabilityRequest- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ConversionUpdateAvailability' 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 @@ :: UpdateAvailabilityRequest -- ^ 'cuaPayload' -> ConversionUpdateAvailability conversionUpdateAvailability pCuaPayload_ =- ConversionUpdateAvailability'- { _cuaPayload = pCuaPayload_- }+ ConversionUpdateAvailability' {_cuaPayload = pCuaPayload_}+ -- | Multipart request metadata. cuaPayload :: Lens' ConversionUpdateAvailability UpdateAvailabilityRequest
gen/Network/Google/Resource/DoubleClickSearch/Reports/Generate.hs view
@@ -52,10 +52,13 @@ -- | Generates and returns a report immediately. -- -- /See:/ 'reportsGenerate' smart constructor.-newtype ReportsGenerate = ReportsGenerate'+newtype ReportsGenerate =+ ReportsGenerate' { _rgPayload :: ReportRequest- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ReportsGenerate' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -64,10 +67,8 @@ reportsGenerate :: ReportRequest -- ^ 'rgPayload' -> ReportsGenerate-reportsGenerate pRgPayload_ =- ReportsGenerate'- { _rgPayload = pRgPayload_- }+reportsGenerate pRgPayload_ = ReportsGenerate' {_rgPayload = pRgPayload_}+ -- | Multipart request metadata. rgPayload :: Lens' ReportsGenerate ReportRequest
gen/Network/Google/Resource/DoubleClickSearch/Reports/Get.hs view
@@ -51,10 +51,13 @@ -- | Polls for the status of a report request. -- -- /See:/ 'reportsGet' smart constructor.-newtype ReportsGet = ReportsGet'+newtype ReportsGet =+ ReportsGet' { _rgReportId :: Text- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ReportsGet' 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 @@ reportsGet :: Text -- ^ 'rgReportId' -> ReportsGet-reportsGet pRgReportId_ =- ReportsGet'- { _rgReportId = pRgReportId_- }+reportsGet pRgReportId_ = ReportsGet' {_rgReportId = pRgReportId_}+ -- | ID of the report request being polled. rgReportId :: Lens' ReportsGet Text
gen/Network/Google/Resource/DoubleClickSearch/Reports/GetFile.hs view
@@ -63,11 +63,14 @@ -- | Downloads a report file encoded in UTF-8. -- -- /See:/ 'reportsGetFile' smart constructor.-data ReportsGetFile = ReportsGetFile'+data ReportsGetFile =+ ReportsGetFile' { _rgfReportId :: !Text , _rgfReportFragment :: !(Textual Int32)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ReportsGetFile' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -80,10 +83,11 @@ -> Int32 -- ^ 'rgfReportFragment' -> ReportsGetFile reportsGetFile pRgfReportId_ pRgfReportFragment_ =- ReportsGetFile'+ ReportsGetFile' { _rgfReportId = pRgfReportId_ , _rgfReportFragment = _Coerce # pRgfReportFragment_ }+ -- | ID of the report. rgfReportId :: Lens' ReportsGetFile Text
gen/Network/Google/Resource/DoubleClickSearch/Reports/Request.hs view
@@ -51,10 +51,13 @@ -- | Inserts a report request into the reporting system. -- -- /See:/ 'reportsRequest' smart constructor.-newtype ReportsRequest = ReportsRequest'+newtype ReportsRequest =+ ReportsRequest' { _rrPayload :: ReportRequest- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'ReportsRequest' 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 @@ reportsRequest :: ReportRequest -- ^ 'rrPayload' -> ReportsRequest-reportsRequest pRrPayload_ =- ReportsRequest'- { _rrPayload = pRrPayload_- }+reportsRequest pRrPayload_ = ReportsRequest' {_rrPayload = pRrPayload_}+ -- | Multipart request metadata. rrPayload :: Lens' ReportsRequest ReportRequest
gen/Network/Google/Resource/DoubleClickSearch/SavedColumns/List.hs view
@@ -56,11 +56,14 @@ -- | Retrieve the list of saved columns for a specified advertiser. -- -- /See:/ 'savedColumnsList' smart constructor.-data SavedColumnsList = SavedColumnsList'+data SavedColumnsList =+ SavedColumnsList' { _sclAgencyId :: !(Textual Int64) , _sclAdvertiserId :: !(Textual Int64)- } deriving (Eq,Show,Data,Typeable,Generic)+ }+ deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'SavedColumnsList' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -73,10 +76,11 @@ -> Int64 -- ^ 'sclAdvertiserId' -> SavedColumnsList savedColumnsList pSclAgencyId_ pSclAdvertiserId_ =- SavedColumnsList'+ SavedColumnsList' { _sclAgencyId = _Coerce # pSclAgencyId_ , _sclAdvertiserId = _Coerce # pSclAdvertiserId_ }+ -- | DS ID of the agency. sclAgencyId :: Lens' SavedColumnsList Int64
gogol-doubleclick-search.cabal view
@@ -1,5 +1,5 @@ name: gogol-doubleclick-search-version: 0.4.0+version: 0.5.0 synopsis: Google DoubleClick Search SDK. homepage: https://github.com/brendanhay/gogol bug-reports: https://github.com/brendanhay/gogol/issues@@ -52,5 +52,5 @@ , Network.Google.DoubleClickSearch.Types.Sum build-depends:- gogol-core == 0.4.0.*+ gogol-core == 0.5.0.* , base >= 4.7 && < 5