@@ -19,56 +19,56 @@ import Network.Google.AdExchangeBuyer.Types.Sum
19import Network.Google.Prelude
19import Network.Google.Prelude
22−-- /See:/ 'brandDto' smart constructor.
22+-- /See:/ 'brandDTO' smart constructor.
23−data BrandDto = BrandDto
23+data BrandDTO = BrandDTO
24− { _bdAdvertiserId :: !(Maybe Int64)
24+ { _bdtoAdvertiserId :: !(Maybe Int64)
25− , _bdName :: !(Maybe Text)
25+ , _bdtoName :: !(Maybe Text)
26− , _bdId :: !(Maybe Int64)
26+ , _bdtoId :: !(Maybe Int64)
27 } deriving (Eq,Read,Show,Data,Typeable,Generic)
27 } deriving (Eq,Read,Show,Data,Typeable,Generic)
29−-- | Creates a value of 'BrandDto' with the minimum fields required to make a request.
29+-- | Creates a value of 'BrandDTO' with the minimum fields required to make a request.
31-- Use one of the following lenses to modify other fields as desired:
31-- Use one of the following lenses to modify other fields as desired:
33−-- * 'bdAdvertiserId'
33+-- * 'bdtoAdvertiserId'
35−-- * 'bdName'
35+-- * 'bdtoName'
37−-- * 'bdId'
37+-- * 'bdtoId'
39− :: BrandDto
39+ :: BrandDTO
40−brandDto =
40+brandDTO =
42− { _bdAdvertiserId = Nothing
42+ { _bdtoAdvertiserId = Nothing
43− , _bdName = Nothing
43+ , _bdtoName = Nothing
44− , _bdId = Nothing
44+ , _bdtoId = Nothing
47−bdAdvertiserId :: Lens' BrandDto (Maybe Int64)
47+bdtoAdvertiserId :: Lens' BrandDTO (Maybe Int64)
48−bdAdvertiserId
48+bdtoAdvertiserId
49− = lens _bdAdvertiserId
49+ = lens _bdtoAdvertiserId
50− (\ s a -> s{_bdAdvertiserId = a})
50+ (\ s a -> s{_bdtoAdvertiserId = a})
52−bdName :: Lens' BrandDto (Maybe Text)
52+bdtoName :: Lens' BrandDTO (Maybe Text)
53−bdName = lens _bdName (\ s a -> s{_bdName = a})
53+bdtoName = lens _bdtoName (\ s a -> s{_bdtoName = a})
55−bdId :: Lens' BrandDto (Maybe Int64)
55+bdtoId :: Lens' BrandDTO (Maybe Int64)
56−bdId = lens _bdId (\ s a -> s{_bdId = a})
56+bdtoId = lens _bdtoId (\ s a -> s{_bdtoId = a})
58−instance FromJSON BrandDto where
58+instance FromJSON BrandDTO where
60− = withObject "BrandDto"
60+ = withObject "BrandDTO"
62− BrandDto <$>
62+ BrandDTO <$>
63 (o .:? "advertiserId") <*> (o .:? "name") <*>
63 (o .:? "advertiserId") <*> (o .:? "name") <*>
64 (o .:? "id"))
64 (o .:? "id"))
66−instance ToJSON BrandDto where
66+instance ToJSON BrandDTO where
67− toJSON BrandDto{..}
67+ toJSON BrandDTO{..}
69 (catMaybes
69 (catMaybes
70− [("advertiserId" .=) <$> _bdAdvertiserId,
70+ [("advertiserId" .=) <$> _bdtoAdvertiserId,
71− ("name" .=) <$> _bdName, ("id" .=) <$> _bdId])
71+ ("name" .=) <$> _bdtoName, ("id" .=) <$> _bdtoId])
74-- /See:/ 'editAllOrderDealsResponse' smart constructor.
74-- /See:/ 'editAllOrderDealsResponse' smart constructor.
@@ -434,295 +434,297 @@ instance ToJSON PretargetingConfigDimensions where
434 ("width" .=) <$> _pcdWidth])
434 ("width" .=) <$> _pcdWidth])
437−-- /See:/ 'termsDto' smart constructor.
437+-- /See:/ 'termsDTO' smart constructor.
438−data TermsDto = TermsDto
438+data TermsDTO = TermsDTO
439− { _tdFinalizeAutomatically :: !(Maybe Bool)
439+ { _tdtoFinalizeAutomatically :: !(Maybe Bool)
440− , _tdBuyerBillingType :: !(Maybe Text)
440+ , _tdtoBuyerBillingType :: !(Maybe Text)
441− , _tdTargetingAllAdSlots :: !(Maybe Bool)
441+ , _tdtoTargetingAllAdSlots :: !(Maybe Bool)
442− , _tdURLs :: !(Maybe [Text])
442+ , _tdtoURLs :: !(Maybe [Text])
443− , _tdEndDate :: !(Maybe DateTime)
443+ , _tdtoEndDate :: !(Maybe DateTime)
444− , _tdCpm :: !(Maybe MoneyDto)
444+ , _tdtoCpm :: !(Maybe MoneyDTO)
445− , _tdEstimatedSpend :: !(Maybe MoneyDto)
445+ , _tdtoEstimatedSpend :: !(Maybe MoneyDTO)
446− , _tdAdvertisers :: !(Maybe [AdvertiserDto])
446+ , _tdtoAdvertisers :: !(Maybe [AdvertiserDTO])
447− , _tdEstimatedImpressionsPerDay :: !(Maybe Int64)
447+ , _tdtoEstimatedImpressionsPerDay :: !(Maybe Int64)
448− , _tdMonetizerType :: !(Maybe Text)
448+ , _tdtoMonetizerType :: !(Maybe Text)
449− , _tdAudienceSegmentDescription :: !(Maybe Text)
449+ , _tdtoAudienceSegmentDescription :: !(Maybe Text)
450− , _tdCreativeReviewPolicy :: !(Maybe Text)
450+ , _tdtoCreativeReviewPolicy :: !(Maybe Text)
451− , _tdMinimumTrueLooks :: !(Maybe Int64)
451+ , _tdtoMinimumTrueLooks :: !(Maybe Int64)
452− , _tdStartDate :: !(Maybe DateTime)
452+ , _tdtoStartDate :: !(Maybe DateTime)
453− , _tdCreativeBlockingLevel :: !(Maybe Text)
453+ , _tdtoCreativeBlockingLevel :: !(Maybe Text)
454− , _tdSemiTransparent :: !(Maybe Bool)
454+ , _tdtoSemiTransparent :: !(Maybe Bool)
455− , _tdAudienceSegment :: !(Maybe AudienceSegment)
455+ , _tdtoAudienceSegment :: !(Maybe AudienceSegment)
456− , _tdDealPremium :: !(Maybe MoneyDto)
456+ , _tdtoDealPremium :: !(Maybe MoneyDTO)
457− , _tdIsReservation :: !(Maybe Bool)
457+ , _tdtoIsReservation :: !(Maybe Bool)
458− , _tdAdSlots :: !(Maybe [AdSlotDto])
458+ , _tdtoAdSlots :: !(Maybe [AdSlotDTO])
459− , _tdTermsAttributes :: !(Maybe [Text])
459+ , _tdtoTermsAttributes :: !(Maybe [Text])
460− , _tdInventorySegmentTargeting :: !(Maybe InventorySegmentTargeting)
460+ , _tdtoInventorySegmentTargeting :: !(Maybe InventorySegmentTargeting)
461− , _tdDescriptiveName :: !(Maybe Text)
461+ , _tdtoDescriptiveName :: !(Maybe Text)
462− , _tdMinimumSpendMicros :: !(Maybe Int64)
462+ , _tdtoMinimumSpendMicros :: !(Maybe Int64)
463− , _tdTargetByDealId :: !(Maybe Bool)
463+ , _tdtoTargetByDealId :: !(Maybe Bool)
464− , _tdBillingTerms :: !(Maybe Text)
464+ , _tdtoBillingTerms :: !(Maybe Text)
465− , _tdDescription :: !(Maybe Text)
465+ , _tdtoDescription :: !(Maybe Text)
466 } deriving (Eq,Read,Show,Data,Typeable,Generic)
466 } deriving (Eq,Read,Show,Data,Typeable,Generic)
468−-- | Creates a value of 'TermsDto' with the minimum fields required to make a request.
468+-- | Creates a value of 'TermsDTO' with the minimum fields required to make a request.
470-- Use one of the following lenses to modify other fields as desired:
470-- Use one of the following lenses to modify other fields as desired:
472−-- * 'tdFinalizeAutomatically'
472+-- * 'tdtoFinalizeAutomatically'
474−-- * 'tdBuyerBillingType'
474+-- * 'tdtoBuyerBillingType'
476−-- * 'tdTargetingAllAdSlots'
476+-- * 'tdtoTargetingAllAdSlots'
478−-- * 'tdURLs'
478+-- * 'tdtoURLs'
480−-- * 'tdEndDate'
480+-- * 'tdtoEndDate'
482−-- * 'tdCpm'
482+-- * 'tdtoCpm'
484−-- * 'tdEstimatedSpend'
484+-- * 'tdtoEstimatedSpend'
486−-- * 'tdAdvertisers'
486+-- * 'tdtoAdvertisers'
488−-- * 'tdEstimatedImpressionsPerDay'
488+-- * 'tdtoEstimatedImpressionsPerDay'
490−-- * 'tdMonetizerType'
490+-- * 'tdtoMonetizerType'
492−-- * 'tdAudienceSegmentDescription'
492+-- * 'tdtoAudienceSegmentDescription'
494−-- * 'tdCreativeReviewPolicy'
494+-- * 'tdtoCreativeReviewPolicy'
496−-- * 'tdMinimumTrueLooks'
496+-- * 'tdtoMinimumTrueLooks'
498−-- * 'tdStartDate'
498+-- * 'tdtoStartDate'
500−-- * 'tdCreativeBlockingLevel'
500+-- * 'tdtoCreativeBlockingLevel'
502−-- * 'tdSemiTransparent'
502+-- * 'tdtoSemiTransparent'
504−-- * 'tdAudienceSegment'
504+-- * 'tdtoAudienceSegment'
506−-- * 'tdDealPremium'
506+-- * 'tdtoDealPremium'
508−-- * 'tdIsReservation'
508+-- * 'tdtoIsReservation'
510−-- * 'tdAdSlots'
510+-- * 'tdtoAdSlots'
512−-- * 'tdTermsAttributes'
512+-- * 'tdtoTermsAttributes'
514−-- * 'tdInventorySegmentTargeting'
514+-- * 'tdtoInventorySegmentTargeting'
516−-- * 'tdDescriptiveName'
516+-- * 'tdtoDescriptiveName'
518−-- * 'tdMinimumSpendMicros'
518+-- * 'tdtoMinimumSpendMicros'
520−-- * 'tdTargetByDealId'
520+-- * 'tdtoTargetByDealId'
522−-- * 'tdBillingTerms'
522+-- * 'tdtoBillingTerms'
524−-- * 'tdDescription'
524+-- * 'tdtoDescription'
526− :: TermsDto
526+ :: TermsDTO
527−termsDto =
527+termsDTO =
528− TermsDto
528+ TermsDTO
529− { _tdFinalizeAutomatically = Nothing
529+ { _tdtoFinalizeAutomatically = Nothing
530− , _tdBuyerBillingType = Nothing
530+ , _tdtoBuyerBillingType = Nothing
531− , _tdTargetingAllAdSlots = Nothing
531+ , _tdtoTargetingAllAdSlots = Nothing
532− , _tdURLs = Nothing
532+ , _tdtoURLs = Nothing
533− , _tdEndDate = Nothing
533+ , _tdtoEndDate = Nothing
534− , _tdCpm = Nothing
534+ , _tdtoCpm = Nothing
535− , _tdEstimatedSpend = Nothing
535+ , _tdtoEstimatedSpend = Nothing
536− , _tdAdvertisers = Nothing
536+ , _tdtoAdvertisers = Nothing
537− , _tdEstimatedImpressionsPerDay = Nothing
537+ , _tdtoEstimatedImpressionsPerDay = Nothing
538− , _tdMonetizerType = Nothing
538+ , _tdtoMonetizerType = Nothing
539− , _tdAudienceSegmentDescription = Nothing
539+ , _tdtoAudienceSegmentDescription = Nothing
540− , _tdCreativeReviewPolicy = Nothing
540+ , _tdtoCreativeReviewPolicy = Nothing
541− , _tdMinimumTrueLooks = Nothing
541+ , _tdtoMinimumTrueLooks = Nothing
542− , _tdStartDate = Nothing
542+ , _tdtoStartDate = Nothing
543− , _tdCreativeBlockingLevel = Nothing
543+ , _tdtoCreativeBlockingLevel = Nothing
544− , _tdSemiTransparent = Nothing
544+ , _tdtoSemiTransparent = Nothing
545− , _tdAudienceSegment = Nothing
545+ , _tdtoAudienceSegment = Nothing
546− , _tdDealPremium = Nothing
546+ , _tdtoDealPremium = Nothing
547− , _tdIsReservation = Nothing
547+ , _tdtoIsReservation = Nothing
548− , _tdAdSlots = Nothing
548+ , _tdtoAdSlots = Nothing
549− , _tdTermsAttributes = Nothing
549+ , _tdtoTermsAttributes = Nothing
550− , _tdInventorySegmentTargeting = Nothing
550+ , _tdtoInventorySegmentTargeting = Nothing
551− , _tdDescriptiveName = Nothing
551+ , _tdtoDescriptiveName = Nothing
552− , _tdMinimumSpendMicros = Nothing
552+ , _tdtoMinimumSpendMicros = Nothing
553− , _tdTargetByDealId = Nothing
553+ , _tdtoTargetByDealId = Nothing
554− , _tdBillingTerms = Nothing
554+ , _tdtoBillingTerms = Nothing
555− , _tdDescription = Nothing
555+ , _tdtoDescription = Nothing
558-- | If true, the offer will finalize automatically when accepted.
558-- | If true, the offer will finalize automatically when accepted.
559−tdFinalizeAutomatically :: Lens' TermsDto (Maybe Bool)
559+tdtoFinalizeAutomatically :: Lens' TermsDTO (Maybe Bool)
560−tdFinalizeAutomatically
560+tdtoFinalizeAutomatically
561− = lens _tdFinalizeAutomatically
561+ = lens _tdtoFinalizeAutomatically
562− (\ s a -> s{_tdFinalizeAutomatically = a})
562+ (\ s a -> s{_tdtoFinalizeAutomatically = a})
564-- | The buyer billing type.
564-- | The buyer billing type.
565−tdBuyerBillingType :: Lens' TermsDto (Maybe Text)
565+tdtoBuyerBillingType :: Lens' TermsDTO (Maybe Text)
566−tdBuyerBillingType
566+tdtoBuyerBillingType
567− = lens _tdBuyerBillingType
567+ = lens _tdtoBuyerBillingType
568− (\ s a -> s{_tdBuyerBillingType = a})
568+ (\ s a -> s{_tdtoBuyerBillingType = a})
570-- | If true, the offer targets all ad slots.
570-- | If true, the offer targets all ad slots.
571−tdTargetingAllAdSlots :: Lens' TermsDto (Maybe Bool)
571+tdtoTargetingAllAdSlots :: Lens' TermsDTO (Maybe Bool)
572−tdTargetingAllAdSlots
572+tdtoTargetingAllAdSlots
573− = lens _tdTargetingAllAdSlots
573+ = lens _tdtoTargetingAllAdSlots
574− (\ s a -> s{_tdTargetingAllAdSlots = a})
574+ (\ s a -> s{_tdtoTargetingAllAdSlots = a})
576-- | The urls applicable to the offer.
576-- | The urls applicable to the offer.
577−tdURLs :: Lens' TermsDto [Text]
577+tdtoURLs :: Lens' TermsDTO [Text]
579+ = lens _tdtoURLs (\ s a -> s{_tdtoURLs = a}) .
579− = lens _tdURLs (\ s a -> s{_tdURLs = a}) . _Default .
580+ _Default
580− _Coerce
581+ . _Coerce
582-- | The end date for the offer.
583-- | The end date for the offer.
583−tdEndDate :: Lens' TermsDto (Maybe DateTime)
584+tdtoEndDate :: Lens' TermsDTO (Maybe DateTime)
584−tdEndDate
585+tdtoEndDate
585− = lens _tdEndDate (\ s a -> s{_tdEndDate = a})
586+ = lens _tdtoEndDate (\ s a -> s{_tdtoEndDate = a})
587-- | The cpm terms.
588-- | The cpm terms.
588−tdCpm :: Lens' TermsDto (Maybe MoneyDto)
589+tdtoCpm :: Lens' TermsDTO (Maybe MoneyDTO)
589−tdCpm = lens _tdCpm (\ s a -> s{_tdCpm = a})
590+tdtoCpm = lens _tdtoCpm (\ s a -> s{_tdtoCpm = a})
591-- | The estimated spend for the offer.
592-- | The estimated spend for the offer.
592−tdEstimatedSpend :: Lens' TermsDto (Maybe MoneyDto)
593+tdtoEstimatedSpend :: Lens' TermsDTO (Maybe MoneyDTO)
593−tdEstimatedSpend
594+tdtoEstimatedSpend
594− = lens _tdEstimatedSpend
595+ = lens _tdtoEstimatedSpend
595− (\ s a -> s{_tdEstimatedSpend = a})
596+ (\ s a -> s{_tdtoEstimatedSpend = a})
597-- | A list of advertisers for this offer.
598-- | A list of advertisers for this offer.
598−tdAdvertisers :: Lens' TermsDto [AdvertiserDto]
599+tdtoAdvertisers :: Lens' TermsDTO [AdvertiserDTO]
599−tdAdvertisers
600+tdtoAdvertisers
600− = lens _tdAdvertisers
601+ = lens _tdtoAdvertisers
601− (\ s a -> s{_tdAdvertisers = a})
602+ (\ s a -> s{_tdtoAdvertisers = a})
602 . _Default
603 . _Default
603 . _Coerce
604 . _Coerce
605-- | The estimated daily impressions for the offer.
606-- | The estimated daily impressions for the offer.
606−tdEstimatedImpressionsPerDay :: Lens' TermsDto (Maybe Int64)
607+tdtoEstimatedImpressionsPerDay :: Lens' TermsDTO (Maybe Int64)
607−tdEstimatedImpressionsPerDay
608+tdtoEstimatedImpressionsPerDay
608− = lens _tdEstimatedImpressionsPerDay
609+ = lens _tdtoEstimatedImpressionsPerDay
609− (\ s a -> s{_tdEstimatedImpressionsPerDay = a})
610+ (\ s a -> s{_tdtoEstimatedImpressionsPerDay = a})
611-- | The monetizer type.
612-- | The monetizer type.
612−tdMonetizerType :: Lens' TermsDto (Maybe Text)
613+tdtoMonetizerType :: Lens' TermsDTO (Maybe Text)
613−tdMonetizerType
614+tdtoMonetizerType
614− = lens _tdMonetizerType
615+ = lens _tdtoMonetizerType
615− (\ s a -> s{_tdMonetizerType = a})
616+ (\ s a -> s{_tdtoMonetizerType = a})
617-- | A description of the audience segment for the offer.
618-- | A description of the audience segment for the offer.
618−tdAudienceSegmentDescription :: Lens' TermsDto (Maybe Text)
619+tdtoAudienceSegmentDescription :: Lens' TermsDTO (Maybe Text)
619−tdAudienceSegmentDescription
620+tdtoAudienceSegmentDescription
620− = lens _tdAudienceSegmentDescription
621+ = lens _tdtoAudienceSegmentDescription
621− (\ s a -> s{_tdAudienceSegmentDescription = a})
622+ (\ s a -> s{_tdtoAudienceSegmentDescription = a})
623-- | Whether to use publisher review policy or AdX review policy.
624-- | Whether to use publisher review policy or AdX review policy.
624−tdCreativeReviewPolicy :: Lens' TermsDto (Maybe Text)
625+tdtoCreativeReviewPolicy :: Lens' TermsDTO (Maybe Text)
625−tdCreativeReviewPolicy
626+tdtoCreativeReviewPolicy
626− = lens _tdCreativeReviewPolicy
627+ = lens _tdtoCreativeReviewPolicy
627− (\ s a -> s{_tdCreativeReviewPolicy = a})
628+ (\ s a -> s{_tdtoCreativeReviewPolicy = a})
629-- | The minimum true looks for the offer.
630-- | The minimum true looks for the offer.
630−tdMinimumTrueLooks :: Lens' TermsDto (Maybe Int64)
631+tdtoMinimumTrueLooks :: Lens' TermsDTO (Maybe Int64)
631−tdMinimumTrueLooks
632+tdtoMinimumTrueLooks
632− = lens _tdMinimumTrueLooks
633+ = lens _tdtoMinimumTrueLooks
633− (\ s a -> s{_tdMinimumTrueLooks = a})
634+ (\ s a -> s{_tdtoMinimumTrueLooks = a})
635-- | The start date for the offer.
636-- | The start date for the offer.
636−tdStartDate :: Lens' TermsDto (Maybe DateTime)
637+tdtoStartDate :: Lens' TermsDTO (Maybe DateTime)
637−tdStartDate
638+tdtoStartDate
638− = lens _tdStartDate (\ s a -> s{_tdStartDate = a})
639+ = lens _tdtoStartDate
640+ (\ s a -> s{_tdtoStartDate = a})
640-- | Whether to use or ignore publisher blocking rules.
642-- | Whether to use or ignore publisher blocking rules.
641−tdCreativeBlockingLevel :: Lens' TermsDto (Maybe Text)
643+tdtoCreativeBlockingLevel :: Lens' TermsDTO (Maybe Text)
642−tdCreativeBlockingLevel
644+tdtoCreativeBlockingLevel
643− = lens _tdCreativeBlockingLevel
645+ = lens _tdtoCreativeBlockingLevel
644− (\ s a -> s{_tdCreativeBlockingLevel = a})
646+ (\ s a -> s{_tdtoCreativeBlockingLevel = a})
646-- | Whether this offer is semi-transparent.
648-- | Whether this offer is semi-transparent.
647−tdSemiTransparent :: Lens' TermsDto (Maybe Bool)
649+tdtoSemiTransparent :: Lens' TermsDTO (Maybe Bool)
648−tdSemiTransparent
650+tdtoSemiTransparent
649− = lens _tdSemiTransparent
651+ = lens _tdtoSemiTransparent
650− (\ s a -> s{_tdSemiTransparent = a})
652+ (\ s a -> s{_tdtoSemiTransparent = a})
652-- | The audience segment for the offer.
654-- | The audience segment for the offer.
653−tdAudienceSegment :: Lens' TermsDto (Maybe AudienceSegment)
655+tdtoAudienceSegment :: Lens' TermsDTO (Maybe AudienceSegment)
654−tdAudienceSegment
656+tdtoAudienceSegment
655− = lens _tdAudienceSegment
657+ = lens _tdtoAudienceSegment
656− (\ s a -> s{_tdAudienceSegment = a})
658+ (\ s a -> s{_tdtoAudienceSegment = a})
658-- | The premium terms.
660-- | The premium terms.
659−tdDealPremium :: Lens' TermsDto (Maybe MoneyDto)
661+tdtoDealPremium :: Lens' TermsDTO (Maybe MoneyDTO)
660−tdDealPremium
662+tdtoDealPremium
661− = lens _tdDealPremium
663+ = lens _tdtoDealPremium
662− (\ s a -> s{_tdDealPremium = a})
664+ (\ s a -> s{_tdtoDealPremium = a})
664-- | Whether the offer is a reservation.
666-- | Whether the offer is a reservation.
665−tdIsReservation :: Lens' TermsDto (Maybe Bool)
667+tdtoIsReservation :: Lens' TermsDTO (Maybe Bool)
666−tdIsReservation
668+tdtoIsReservation
667− = lens _tdIsReservation
669+ = lens _tdtoIsReservation
668− (\ s a -> s{_tdIsReservation = a})
670+ (\ s a -> s{_tdtoIsReservation = a})
670-- | The particular ad slots targeted by the offer.
672-- | The particular ad slots targeted by the offer.
671−tdAdSlots :: Lens' TermsDto [AdSlotDto]
673+tdtoAdSlots :: Lens' TermsDTO [AdSlotDTO]
672−tdAdSlots
674+tdtoAdSlots
673− = lens _tdAdSlots (\ s a -> s{_tdAdSlots = a}) .
675+ = lens _tdtoAdSlots (\ s a -> s{_tdtoAdSlots = a}) .
675 . _Coerce
677 . _Coerce
677-- | A list of terms attributes.
679-- | A list of terms attributes.
678−tdTermsAttributes :: Lens' TermsDto [Text]
680+tdtoTermsAttributes :: Lens' TermsDTO [Text]
679−tdTermsAttributes
681+tdtoTermsAttributes
680− = lens _tdTermsAttributes
682+ = lens _tdtoTermsAttributes
681− (\ s a -> s{_tdTermsAttributes = a})
683+ (\ s a -> s{_tdtoTermsAttributes = a})
682 . _Default
684 . _Default
683 . _Coerce
685 . _Coerce
685-- | The inventory segment targeting for the offer.
687-- | The inventory segment targeting for the offer.
686−tdInventorySegmentTargeting :: Lens' TermsDto (Maybe InventorySegmentTargeting)
688+tdtoInventorySegmentTargeting :: Lens' TermsDTO (Maybe InventorySegmentTargeting)
687−tdInventorySegmentTargeting
689+tdtoInventorySegmentTargeting
688− = lens _tdInventorySegmentTargeting
690+ = lens _tdtoInventorySegmentTargeting
689− (\ s a -> s{_tdInventorySegmentTargeting = a})
691+ (\ s a -> s{_tdtoInventorySegmentTargeting = a})
691-- | A descriptive name for these terms.
693-- | A descriptive name for these terms.
692−tdDescriptiveName :: Lens' TermsDto (Maybe Text)
694+tdtoDescriptiveName :: Lens' TermsDTO (Maybe Text)
693−tdDescriptiveName
695+tdtoDescriptiveName
694− = lens _tdDescriptiveName
696+ = lens _tdtoDescriptiveName
695− (\ s a -> s{_tdDescriptiveName = a})
697+ (\ s a -> s{_tdtoDescriptiveName = a})
697-- | The minimum spend for the offer.
699-- | The minimum spend for the offer.
698−tdMinimumSpendMicros :: Lens' TermsDto (Maybe Int64)
700+tdtoMinimumSpendMicros :: Lens' TermsDTO (Maybe Int64)
699−tdMinimumSpendMicros
701+tdtoMinimumSpendMicros
700− = lens _tdMinimumSpendMicros
702+ = lens _tdtoMinimumSpendMicros
701− (\ s a -> s{_tdMinimumSpendMicros = a})
703+ (\ s a -> s{_tdtoMinimumSpendMicros = a})
703-- | Whether to target by deal id.
705-- | Whether to target by deal id.
704−tdTargetByDealId :: Lens' TermsDto (Maybe Bool)
706+tdtoTargetByDealId :: Lens' TermsDTO (Maybe Bool)
705−tdTargetByDealId
707+tdtoTargetByDealId
706− = lens _tdTargetByDealId
708+ = lens _tdtoTargetByDealId
707− (\ s a -> s{_tdTargetByDealId = a})
709+ (\ s a -> s{_tdtoTargetByDealId = a})
709-- | The billing terms.
711-- | The billing terms.
710−tdBillingTerms :: Lens' TermsDto (Maybe Text)
712+tdtoBillingTerms :: Lens' TermsDTO (Maybe Text)
711−tdBillingTerms
713+tdtoBillingTerms
712− = lens _tdBillingTerms
714+ = lens _tdtoBillingTerms
713− (\ s a -> s{_tdBillingTerms = a})
715+ (\ s a -> s{_tdtoBillingTerms = a})
715-- | A description for these terms.
717-- | A description for these terms.
716−tdDescription :: Lens' TermsDto (Maybe Text)
718+tdtoDescription :: Lens' TermsDTO (Maybe Text)
717−tdDescription
719+tdtoDescription
718− = lens _tdDescription
720+ = lens _tdtoDescription
719− (\ s a -> s{_tdDescription = a})
721+ (\ s a -> s{_tdtoDescription = a})
721−instance FromJSON TermsDto where
723+instance FromJSON TermsDTO where
722 parseJSON
724 parseJSON
723− = withObject "TermsDto"
725+ = withObject "TermsDTO"
725− TermsDto <$>
727+ TermsDTO <$>
726 (o .:? "finalizeAutomatically") <*>
728 (o .:? "finalizeAutomatically") <*>
727 (o .:? "buyerBillingType")
729 (o .:? "buyerBillingType")
728 <*> (o .:? "targetingAllAdSlots")
730 <*> (o .:? "targetingAllAdSlots")
@@ -751,43 +753,45 @@ instance FromJSON TermsDto where
751 <*> (o .:? "billingTerms")
753 <*> (o .:? "billingTerms")
752 <*> (o .:? "description"))
754 <*> (o .:? "description"))
754−instance ToJSON TermsDto where
756+instance ToJSON TermsDTO where
755− toJSON TermsDto{..}
757+ toJSON TermsDTO{..}
757 (catMaybes
759 (catMaybes
758 [("finalizeAutomatically" .=) <$>
760 [("finalizeAutomatically" .=) <$>
759− _tdFinalizeAutomatically,
761+ _tdtoFinalizeAutomatically,
760− ("buyerBillingType" .=) <$> _tdBuyerBillingType,
762+ ("buyerBillingType" .=) <$> _tdtoBuyerBillingType,
761 ("targetingAllAdSlots" .=) <$>
763 ("targetingAllAdSlots" .=) <$>
762− _tdTargetingAllAdSlots,
764+ _tdtoTargetingAllAdSlots,
763− ("urls" .=) <$> _tdURLs,
765+ ("urls" .=) <$> _tdtoURLs,
764− ("endDate" .=) <$> _tdEndDate, ("cpm" .=) <$> _tdCpm,
766+ ("endDate" .=) <$> _tdtoEndDate,
767+ ("cpm" .=) <$> _tdtoCpm,
765− ("estimatedSpend" .=) <$> _tdEstimatedSpend,
768+ ("estimatedSpend" .=) <$> _tdtoEstimatedSpend,
766− ("advertisers" .=) <$> _tdAdvertisers,
769+ ("advertisers" .=) <$> _tdtoAdvertisers,
767 ("estimatedImpressionsPerDay" .=) <$>
770 ("estimatedImpressionsPerDay" .=) <$>
768− _tdEstimatedImpressionsPerDay,
771+ _tdtoEstimatedImpressionsPerDay,
769− ("monetizerType" .=) <$> _tdMonetizerType,
772+ ("monetizerType" .=) <$> _tdtoMonetizerType,
770 ("audienceSegmentDescription" .=) <$>
773 ("audienceSegmentDescription" .=) <$>
771− _tdAudienceSegmentDescription,
774+ _tdtoAudienceSegmentDescription,
772 ("creativeReviewPolicy" .=) <$>
775 ("creativeReviewPolicy" .=) <$>
773− _tdCreativeReviewPolicy,
776+ _tdtoCreativeReviewPolicy,
774− ("minimumTrueLooks" .=) <$> _tdMinimumTrueLooks,
777+ ("minimumTrueLooks" .=) <$> _tdtoMinimumTrueLooks,
775− ("startDate" .=) <$> _tdStartDate,
778+ ("startDate" .=) <$> _tdtoStartDate,
776 ("creativeBlockingLevel" .=) <$>
779 ("creativeBlockingLevel" .=) <$>
777− _tdCreativeBlockingLevel,
780+ _tdtoCreativeBlockingLevel,
778− ("semiTransparent" .=) <$> _tdSemiTransparent,
781+ ("semiTransparent" .=) <$> _tdtoSemiTransparent,
779− ("audienceSegment" .=) <$> _tdAudienceSegment,
782+ ("audienceSegment" .=) <$> _tdtoAudienceSegment,
780− ("dealPremium" .=) <$> _tdDealPremium,
783+ ("dealPremium" .=) <$> _tdtoDealPremium,
781− ("isReservation" .=) <$> _tdIsReservation,
784+ ("isReservation" .=) <$> _tdtoIsReservation,
782− ("adSlots" .=) <$> _tdAdSlots,
785+ ("adSlots" .=) <$> _tdtoAdSlots,
783− ("termsAttributes" .=) <$> _tdTermsAttributes,
786+ ("termsAttributes" .=) <$> _tdtoTermsAttributes,
784 ("inventorySegmentTargeting" .=) <$>
787 ("inventorySegmentTargeting" .=) <$>
785− _tdInventorySegmentTargeting,
788+ _tdtoInventorySegmentTargeting,
786− ("descriptiveName" .=) <$> _tdDescriptiveName,
789+ ("descriptiveName" .=) <$> _tdtoDescriptiveName,
787− ("minimumSpendMicros" .=) <$> _tdMinimumSpendMicros,
790+ ("minimumSpendMicros" .=) <$>
791+ _tdtoMinimumSpendMicros,
788− ("targetByDealId" .=) <$> _tdTargetByDealId,
792+ ("targetByDealId" .=) <$> _tdtoTargetByDealId,
789− ("billingTerms" .=) <$> _tdBillingTerms,
793+ ("billingTerms" .=) <$> _tdtoBillingTerms,
790− ("description" .=) <$> _tdDescription])
794+ ("description" .=) <$> _tdtoDescription])
792-- | The creatives feed lists the active creatives for the Ad Exchange buyer
796-- | The creatives feed lists the active creatives for the Ad Exchange buyer
793-- accounts that the user has access to. Each entry in the feed corresponds
797-- accounts that the user has access to. Each entry in the feed corresponds
@@ -1052,79 +1056,81 @@ instance ToJSON MarketplaceDealParty where
1052 ("buyer" .=) <$> _mdpBuyer])
1056 ("buyer" .=) <$> _mdpBuyer])
1055−-- /See:/ 'dealPartyDto' smart constructor.
1059+-- /See:/ 'dealPartyDTO' smart constructor.
1056−data DealPartyDto = DealPartyDto
1060+data DealPartyDTO = DealPartyDTO
1057− { _dpdBuyerSellerRole :: !(Maybe Text)
1061+ { _dpdtoBuyerSellerRole :: !(Maybe Text)
1058− , _dpdCustomerId :: !(Maybe Int32)
1062+ , _dpdtoCustomerId :: !(Maybe Int32)
1059− , _dpdName :: !(Maybe Text)
1063+ , _dpdtoName :: !(Maybe Text)
1060− , _dpdWebProperty :: !(Maybe WebPropertyDto)
1064+ , _dpdtoWebProperty :: !(Maybe WebPropertyDTO)
1061− , _dpdBuyer :: !(Maybe BuyerDto)
1065+ , _dpdtoBuyer :: !(Maybe BuyerDTO)
1062 } deriving (Eq,Read,Show,Data,Typeable,Generic)
1066 } deriving (Eq,Read,Show,Data,Typeable,Generic)
1064−-- | Creates a value of 'DealPartyDto' with the minimum fields required to make a request.
1068+-- | Creates a value of 'DealPartyDTO' with the minimum fields required to make a request.
1066-- Use one of the following lenses to modify other fields as desired:
1070-- Use one of the following lenses to modify other fields as desired:
1068−-- * 'dpdBuyerSellerRole'
1072+-- * 'dpdtoBuyerSellerRole'
1070−-- * 'dpdCustomerId'
1074+-- * 'dpdtoCustomerId'
1072−-- * 'dpdName'
1076+-- * 'dpdtoName'
1074−-- * 'dpdWebProperty'
1078+-- * 'dpdtoWebProperty'
1076−-- * 'dpdBuyer'
1080+-- * 'dpdtoBuyer'
1077−dealPartyDto
1081+dealPartyDTO
1078− :: DealPartyDto
1082+ :: DealPartyDTO
1079−dealPartyDto =
1083+dealPartyDTO =
1080− DealPartyDto
1084+ DealPartyDTO
1081− { _dpdBuyerSellerRole = Nothing
1085+ { _dpdtoBuyerSellerRole = Nothing
1082− , _dpdCustomerId = Nothing
1086+ , _dpdtoCustomerId = Nothing
1083− , _dpdName = Nothing
1087+ , _dpdtoName = Nothing
1084− , _dpdWebProperty = Nothing
1088+ , _dpdtoWebProperty = Nothing
1085− , _dpdBuyer = Nothing
1089+ , _dpdtoBuyer = Nothing
1088−dpdBuyerSellerRole :: Lens' DealPartyDto (Maybe Text)
1092+dpdtoBuyerSellerRole :: Lens' DealPartyDTO (Maybe Text)
1089−dpdBuyerSellerRole
1093+dpdtoBuyerSellerRole
1090− = lens _dpdBuyerSellerRole
1094+ = lens _dpdtoBuyerSellerRole
1091− (\ s a -> s{_dpdBuyerSellerRole = a})
1095+ (\ s a -> s{_dpdtoBuyerSellerRole = a})
1093−dpdCustomerId :: Lens' DealPartyDto (Maybe Int32)
1097+dpdtoCustomerId :: Lens' DealPartyDTO (Maybe Int32)
1094−dpdCustomerId
1098+dpdtoCustomerId
1095− = lens _dpdCustomerId
1099+ = lens _dpdtoCustomerId
1096− (\ s a -> s{_dpdCustomerId = a})
1100+ (\ s a -> s{_dpdtoCustomerId = a})
1098−dpdName :: Lens' DealPartyDto (Maybe Text)
1102+dpdtoName :: Lens' DealPartyDTO (Maybe Text)
1099−dpdName = lens _dpdName (\ s a -> s{_dpdName = a})
1103+dpdtoName
1104+ = lens _dpdtoName (\ s a -> s{_dpdtoName = a})
1101−dpdWebProperty :: Lens' DealPartyDto (Maybe WebPropertyDto)
1106+dpdtoWebProperty :: Lens' DealPartyDTO (Maybe WebPropertyDTO)
1102−dpdWebProperty
1107+dpdtoWebProperty
1103− = lens _dpdWebProperty
1108+ = lens _dpdtoWebProperty
1104− (\ s a -> s{_dpdWebProperty = a})
1109+ (\ s a -> s{_dpdtoWebProperty = a})
1106−dpdBuyer :: Lens' DealPartyDto (Maybe BuyerDto)
1111+dpdtoBuyer :: Lens' DealPartyDTO (Maybe BuyerDTO)
1107−dpdBuyer = lens _dpdBuyer (\ s a -> s{_dpdBuyer = a})
1112+dpdtoBuyer
1113+ = lens _dpdtoBuyer (\ s a -> s{_dpdtoBuyer = a})
1109−instance FromJSON DealPartyDto where
1115+instance FromJSON DealPartyDTO where
1110 parseJSON
1116 parseJSON
1111− = withObject "DealPartyDto"
1117+ = withObject "DealPartyDTO"
1113− DealPartyDto <$>
1119+ DealPartyDTO <$>
1114 (o .:? "buyerSellerRole") <*> (o .:? "customerId")
1120 (o .:? "buyerSellerRole") <*> (o .:? "customerId")
1115 <*> (o .:? "name")
1121 <*> (o .:? "name")
1116 <*> (o .:? "webProperty")
1122 <*> (o .:? "webProperty")
1117 <*> (o .:? "buyer"))
1123 <*> (o .:? "buyer"))
1119−instance ToJSON DealPartyDto where
1125+instance ToJSON DealPartyDTO where
1120− toJSON DealPartyDto{..}
1126+ toJSON DealPartyDTO{..}
1121 = object
1127 = object
1122 (catMaybes
1128 (catMaybes
1123− [("buyerSellerRole" .=) <$> _dpdBuyerSellerRole,
1129+ [("buyerSellerRole" .=) <$> _dpdtoBuyerSellerRole,
1124− ("customerId" .=) <$> _dpdCustomerId,
1130+ ("customerId" .=) <$> _dpdtoCustomerId,
1125− ("name" .=) <$> _dpdName,
1131+ ("name" .=) <$> _dpdtoName,
1126− ("webProperty" .=) <$> _dpdWebProperty,
1132+ ("webProperty" .=) <$> _dpdtoWebProperty,
1127− ("buyer" .=) <$> _dpdBuyer])
1133+ ("buyer" .=) <$> _dpdtoBuyer])
1130-- /See:/ 'deliveryControlFrequencyCap' smart constructor.
1136-- /See:/ 'deliveryControlFrequencyCap' smart constructor.
@@ -1187,7 +1193,7 @@ instance ToJSON DeliveryControlFrequencyCap where
1187-- /See:/ 'getNegotiationsResponse' smart constructor.
1193-- /See:/ 'getNegotiationsResponse' smart constructor.
1188data GetNegotiationsResponse = GetNegotiationsResponse
1194data GetNegotiationsResponse = GetNegotiationsResponse
1189 { _gnrKind :: !Text
1195 { _gnrKind :: !Text
1190− , _gnrNegotiations :: !(Maybe [NegotiationDto])
1196+ , _gnrNegotiations :: !(Maybe [NegotiationDTO])
1191 } deriving (Eq,Read,Show,Data,Typeable,Generic)
1197 } deriving (Eq,Read,Show,Data,Typeable,Generic)
1193-- | Creates a value of 'GetNegotiationsResponse' with the minimum fields required to make a request.
1199-- | Creates a value of 'GetNegotiationsResponse' with the minimum fields required to make a request.
@@ -1208,7 +1214,7 @@ getNegotiationsResponse =
1208gnrKind :: Lens' GetNegotiationsResponse Text
1214gnrKind :: Lens' GetNegotiationsResponse Text
1209gnrKind = lens _gnrKind (\ s a -> s{_gnrKind = a})
1215gnrKind = lens _gnrKind (\ s a -> s{_gnrKind = a})
1211−gnrNegotiations :: Lens' GetNegotiationsResponse [NegotiationDto]
1217+gnrNegotiations :: Lens' GetNegotiationsResponse [NegotiationDTO]
1212gnrNegotiations
1218gnrNegotiations
1213 = lens _gnrNegotiations
1219 = lens _gnrNegotiations
1214 (\ s a -> s{_gnrNegotiations = a})
1220 (\ s a -> s{_gnrNegotiations = a})
@@ -1923,7 +1929,7 @@ data Creative = Creative
1923 , _cVersion :: !(Maybe Int32)
1929 , _cVersion :: !(Maybe Int32)
1924 , _cSensitiveCategories :: !(Maybe [Int32])
1930 , _cSensitiveCategories :: !(Maybe [Int32])
1925 , _cVideoURL :: !(Maybe Text)
1931 , _cVideoURL :: !(Maybe Text)
1926− , _cAPIUploadTimestamp :: !(Maybe DateTime)
1932+ , _cAPIUploadTimestamp :: !(Maybe DateTime')
1927 , _cServingRestrictions :: !(Maybe [CreativeServingRestrictions])
1933 , _cServingRestrictions :: !(Maybe [CreativeServingRestrictions])
1928 , _cOpenAuctionStatus :: !(Maybe Text)
1934 , _cOpenAuctionStatus :: !(Maybe Text)
1929 } deriving (Eq,Read,Show,Data,Typeable,Generic)
1935 } deriving (Eq,Read,Show,Data,Typeable,Generic)
@@ -2164,6 +2170,7 @@ cAPIUploadTimestamp :: Lens' Creative (Maybe UTCTime)
2164cAPIUploadTimestamp
2170cAPIUploadTimestamp
2165 = lens _cAPIUploadTimestamp
2171 = lens _cAPIUploadTimestamp
2166 (\ s a -> s{_cAPIUploadTimestamp = a})
2172 (\ s a -> s{_cAPIUploadTimestamp = a})
2173+ . mapping _DateTime
2168-- | The granular status of this ad in specific contexts. A context here
2175-- | The granular status of this ad in specific contexts. A context here
2169-- relates to where something ultimately serves (for example, a physical
2176-- relates to where something ultimately serves (for example, a physical
@@ -2396,8 +2403,8 @@ instance ToJSON CreativeCorrections where
2396 ("details" .=) <$> _ccDetails])
2403 ("details" .=) <$> _ccDetails])
2399−-- /See:/ 'buyerDto' smart constructor.
2406+-- /See:/ 'buyerDTO' smart constructor.
2400−data BuyerDto = BuyerDto
2407+data BuyerDTO = BuyerDTO
2401 { _buySponsorAccountId :: !(Maybe Int32)
2408 { _buySponsorAccountId :: !(Maybe Int32)
2402 , _buyEnabledForInterestTargetingDeals :: !(Maybe Bool)
2409 , _buyEnabledForInterestTargetingDeals :: !(Maybe Bool)
2403 , _buyCustomerId :: !(Maybe Int32)
2410 , _buyCustomerId :: !(Maybe Int32)
@@ -2407,7 +2414,7 @@ data BuyerDto = BuyerDto
2407 , _buyId :: !(Maybe Int32)
2414 , _buyId :: !(Maybe Int32)
2408 } deriving (Eq,Read,Show,Data,Typeable,Generic)
2415 } deriving (Eq,Read,Show,Data,Typeable,Generic)
2410−-- | Creates a value of 'BuyerDto' with the minimum fields required to make a request.
2417+-- | Creates a value of 'BuyerDTO' with the minimum fields required to make a request.
2412-- Use one of the following lenses to modify other fields as desired:
2419-- Use one of the following lenses to modify other fields as desired:
@@ -2424,10 +2431,10 @@ data BuyerDto = BuyerDto
2424-- * 'buyDisplayName'
2431-- * 'buyDisplayName'
2426-- * 'buyId'
2433-- * 'buyId'
2427−buyerDto
2434+buyerDTO
2428− :: BuyerDto
2435+ :: BuyerDTO
2429−buyerDto =
2436+buyerDTO =
2430− BuyerDto
2437+ BuyerDTO
2431 { _buySponsorAccountId = Nothing
2438 { _buySponsorAccountId = Nothing
2432 , _buyEnabledForInterestTargetingDeals = Nothing
2439 , _buyEnabledForInterestTargetingDeals = Nothing
2433 , _buyCustomerId = Nothing
2440 , _buyCustomerId = Nothing
@@ -2437,44 +2444,44 @@ buyerDto =
2437 , _buyId = Nothing
2444 , _buyId = Nothing
2440−buySponsorAccountId :: Lens' BuyerDto (Maybe Int32)
2447+buySponsorAccountId :: Lens' BuyerDTO (Maybe Int32)
2441buySponsorAccountId
2448buySponsorAccountId
2442 = lens _buySponsorAccountId
2449 = lens _buySponsorAccountId
2443 (\ s a -> s{_buySponsorAccountId = a})
2450 (\ s a -> s{_buySponsorAccountId = a})
2445−buyEnabledForInterestTargetingDeals :: Lens' BuyerDto (Maybe Bool)
2452+buyEnabledForInterestTargetingDeals :: Lens' BuyerDTO (Maybe Bool)
2446buyEnabledForInterestTargetingDeals
2453buyEnabledForInterestTargetingDeals
2447 = lens _buyEnabledForInterestTargetingDeals
2454 = lens _buyEnabledForInterestTargetingDeals
2448 (\ s a ->
2455 (\ s a ->
2449 s{_buyEnabledForInterestTargetingDeals = a})
2456 s{_buyEnabledForInterestTargetingDeals = a})
2451−buyCustomerId :: Lens' BuyerDto (Maybe Int32)
2458+buyCustomerId :: Lens' BuyerDTO (Maybe Int32)
2452buyCustomerId
2459buyCustomerId
2453 = lens _buyCustomerId
2460 = lens _buyCustomerId
2454 (\ s a -> s{_buyCustomerId = a})
2461 (\ s a -> s{_buyCustomerId = a})
2456−buyEnabledForPreferredDeals :: Lens' BuyerDto (Maybe Bool)
2463+buyEnabledForPreferredDeals :: Lens' BuyerDTO (Maybe Bool)
2457buyEnabledForPreferredDeals
2464buyEnabledForPreferredDeals
2458 = lens _buyEnabledForPreferredDeals
2465 = lens _buyEnabledForPreferredDeals
2459 (\ s a -> s{_buyEnabledForPreferredDeals = a})
2466 (\ s a -> s{_buyEnabledForPreferredDeals = a})
2461−buyAccountId :: Lens' BuyerDto (Maybe Int32)
2468+buyAccountId :: Lens' BuyerDTO (Maybe Int32)
2462buyAccountId
2469buyAccountId
2463 = lens _buyAccountId (\ s a -> s{_buyAccountId = a})
2470 = lens _buyAccountId (\ s a -> s{_buyAccountId = a})
2465−buyDisplayName :: Lens' BuyerDto (Maybe Text)
2472+buyDisplayName :: Lens' BuyerDTO (Maybe Text)
2466buyDisplayName
2473buyDisplayName
2467 = lens _buyDisplayName
2474 = lens _buyDisplayName
2468 (\ s a -> s{_buyDisplayName = a})
2475 (\ s a -> s{_buyDisplayName = a})
2470−buyId :: Lens' BuyerDto (Maybe Int32)
2477+buyId :: Lens' BuyerDTO (Maybe Int32)
2471buyId = lens _buyId (\ s a -> s{_buyId = a})
2478buyId = lens _buyId (\ s a -> s{_buyId = a})
2473−instance FromJSON BuyerDto where
2480+instance FromJSON BuyerDTO where
2474 parseJSON
2481 parseJSON
2475− = withObject "BuyerDto"
2482+ = withObject "BuyerDTO"
2477− BuyerDto <$>
2484+ BuyerDTO <$>
2478 (o .:? "sponsorAccountId") <*>
2485 (o .:? "sponsorAccountId") <*>
2479 (o .:? "enabledForInterestTargetingDeals")
2486 (o .:? "enabledForInterestTargetingDeals")
2480 <*> (o .:? "customerId")
2487 <*> (o .:? "customerId")
@@ -2483,8 +2490,8 @@ instance FromJSON BuyerDto where
2483 <*> (o .:? "displayName")
2490 <*> (o .:? "displayName")
2484 <*> (o .:? "id"))
2491 <*> (o .:? "id"))
2486−instance ToJSON BuyerDto where
2493+instance ToJSON BuyerDTO where
2487− toJSON BuyerDto{..}
2494+ toJSON BuyerDTO{..}
2488 = object
2495 = object
2489 (catMaybes
2496 (catMaybes
2490 [("sponsorAccountId" .=) <$> _buySponsorAccountId,
2497 [("sponsorAccountId" .=) <$> _buySponsorAccountId,
@@ -2539,89 +2546,92 @@ instance ToJSON DealTermsNonGuaranteedFixedPriceTerms
2539 [("fixedPrices" .=) <$> _dtngfptFixedPrices])
2546 [("fixedPrices" .=) <$> _dtngfptFixedPrices])
2542−-- /See:/ 'adSlotDto' smart constructor.
2549+-- /See:/ 'adSlotDTO' smart constructor.
2543−data AdSlotDto = AdSlotDto
2550+data AdSlotDTO = AdSlotDTO
2544− { _asdWebPropertyId :: !(Maybe Int32)
2551+ { _asdtoWebPropertyId :: !(Maybe Int32)
2545− , _asdSize :: !(Maybe Text)
2552+ , _asdtoSize :: !(Maybe Text)
2546− , _asdChannelCode :: !(Maybe Text)
2553+ , _asdtoChannelCode :: !(Maybe Text)
2547− , _asdChannelId :: !(Maybe Int32)
2554+ , _asdtoChannelId :: !(Maybe Int32)
2548− , _asdName :: !(Maybe Text)
2555+ , _asdtoName :: !(Maybe Text)
2549− , _asdDescription :: !(Maybe Text)
2556+ , _asdtoDescription :: !(Maybe Text)
2550 } deriving (Eq,Read,Show,Data,Typeable,Generic)
2557 } deriving (Eq,Read,Show,Data,Typeable,Generic)
2552−-- | Creates a value of 'AdSlotDto' with the minimum fields required to make a request.
2559+-- | Creates a value of 'AdSlotDTO' with the minimum fields required to make a request.
2554-- Use one of the following lenses to modify other fields as desired:
2561-- Use one of the following lenses to modify other fields as desired:
2556−-- * 'asdWebPropertyId'
2563+-- * 'asdtoWebPropertyId'
2558−-- * 'asdSize'
2565+-- * 'asdtoSize'
2560−-- * 'asdChannelCode'
2567+-- * 'asdtoChannelCode'
2562−-- * 'asdChannelId'
2569+-- * 'asdtoChannelId'
2564−-- * 'asdName'
2571+-- * 'asdtoName'
2566−-- * 'asdDescription'
2573+-- * 'asdtoDescription'
2567−adSlotDto
2574+adSlotDTO
2568− :: AdSlotDto
2575+ :: AdSlotDTO
2569−adSlotDto =
2576+adSlotDTO =
2570− AdSlotDto
2577+ AdSlotDTO
2571− { _asdWebPropertyId = Nothing
2578+ { _asdtoWebPropertyId = Nothing
2572− , _asdSize = Nothing
2579+ , _asdtoSize = Nothing
2573− , _asdChannelCode = Nothing
2580+ , _asdtoChannelCode = Nothing
2574− , _asdChannelId = Nothing
2581+ , _asdtoChannelId = Nothing
2575− , _asdName = Nothing
2582+ , _asdtoName = Nothing
2576− , _asdDescription = Nothing
2583+ , _asdtoDescription = Nothing
2579−asdWebPropertyId :: Lens' AdSlotDto (Maybe Int32)
2586+asdtoWebPropertyId :: Lens' AdSlotDTO (Maybe Int32)
2580−asdWebPropertyId
2587+asdtoWebPropertyId
2581− = lens _asdWebPropertyId
2588+ = lens _asdtoWebPropertyId
2582− (\ s a -> s{_asdWebPropertyId = a})
2589+ (\ s a -> s{_asdtoWebPropertyId = a})
2584−asdSize :: Lens' AdSlotDto (Maybe Text)
2591+asdtoSize :: Lens' AdSlotDTO (Maybe Text)
2585−asdSize = lens _asdSize (\ s a -> s{_asdSize = a})
2592+asdtoSize
2593+ = lens _asdtoSize (\ s a -> s{_asdtoSize = a})
2587−asdChannelCode :: Lens' AdSlotDto (Maybe Text)
2595+asdtoChannelCode :: Lens' AdSlotDTO (Maybe Text)
2588−asdChannelCode
2596+asdtoChannelCode
2589− = lens _asdChannelCode
2597+ = lens _asdtoChannelCode
2590− (\ s a -> s{_asdChannelCode = a})
2598+ (\ s a -> s{_asdtoChannelCode = a})
2592−asdChannelId :: Lens' AdSlotDto (Maybe Int32)
2600+asdtoChannelId :: Lens' AdSlotDTO (Maybe Int32)
2593−asdChannelId
2601+asdtoChannelId
2594− = lens _asdChannelId (\ s a -> s{_asdChannelId = a})
2602+ = lens _asdtoChannelId
2603+ (\ s a -> s{_asdtoChannelId = a})
2596−asdName :: Lens' AdSlotDto (Maybe Text)
2605+asdtoName :: Lens' AdSlotDTO (Maybe Text)
2597−asdName = lens _asdName (\ s a -> s{_asdName = a})
2606+asdtoName
2607+ = lens _asdtoName (\ s a -> s{_asdtoName = a})
2599−asdDescription :: Lens' AdSlotDto (Maybe Text)
2609+asdtoDescription :: Lens' AdSlotDTO (Maybe Text)
2600−asdDescription
2610+asdtoDescription
2601− = lens _asdDescription
2611+ = lens _asdtoDescription
2602− (\ s a -> s{_asdDescription = a})
2612+ (\ s a -> s{_asdtoDescription = a})
2604−instance FromJSON AdSlotDto where
2614+instance FromJSON AdSlotDTO where
2605 parseJSON
2615 parseJSON
2606− = withObject "AdSlotDto"
2616+ = withObject "AdSlotDTO"
2608− AdSlotDto <$>
2618+ AdSlotDTO <$>
2609 (o .:? "webPropertyId") <*> (o .:? "size") <*>
2619 (o .:? "webPropertyId") <*> (o .:? "size") <*>
2610 (o .:? "channelCode")
2620 (o .:? "channelCode")
2611 <*> (o .:? "channelId")
2621 <*> (o .:? "channelId")
2612 <*> (o .:? "name")
2622 <*> (o .:? "name")
2613 <*> (o .:? "description"))
2623 <*> (o .:? "description"))
2615−instance ToJSON AdSlotDto where
2625+instance ToJSON AdSlotDTO where
2616− toJSON AdSlotDto{..}
2626+ toJSON AdSlotDTO{..}
2617 = object
2627 = object
2618 (catMaybes
2628 (catMaybes
2619− [("webPropertyId" .=) <$> _asdWebPropertyId,
2629+ [("webPropertyId" .=) <$> _asdtoWebPropertyId,
2620− ("size" .=) <$> _asdSize,
2630+ ("size" .=) <$> _asdtoSize,
2621− ("channelCode" .=) <$> _asdChannelCode,
2631+ ("channelCode" .=) <$> _asdtoChannelCode,
2622− ("channelId" .=) <$> _asdChannelId,
2632+ ("channelId" .=) <$> _asdtoChannelId,
2623− ("name" .=) <$> _asdName,
2633+ ("name" .=) <$> _asdtoName,
2624− ("description" .=) <$> _asdDescription])
2634+ ("description" .=) <$> _asdtoDescription])
2626-- | The configuration data for an Ad Exchange performance report list.
2636-- | The configuration data for an Ad Exchange performance report list.
@@ -3867,168 +3877,173 @@ instance ToJSON PerformanceReportList where
3867 ("performanceReport" .=) <$> _prlPerformanceReport])
3877 ("performanceReport" .=) <$> _prlPerformanceReport])
3870−-- /See:/ 'negotiationDto' smart constructor.
3880+-- /See:/ 'negotiationDTO' smart constructor.
3871−data NegotiationDto = NegotiationDto
3881+data NegotiationDTO = NegotiationDTO
3872− { _ndNegotiationState :: !(Maybe Text)
3882+ { _ndtoNegotiationState :: !(Maybe Text)
3873− , _ndExternalDealId :: !(Maybe Int64)
3883+ , _ndtoExternalDealId :: !(Maybe Int64)
3874− , _ndStatus :: !(Maybe Text)
3884+ , _ndtoStatus :: !(Maybe Text)
3875− , _ndDealType :: !(Maybe Text)
3885+ , _ndtoDealType :: !(Maybe Text)
3876− , _ndNegotiationRounds :: !(Maybe [NegotiationRoundDto])
3886+ , _ndtoNegotiationRounds :: !(Maybe [NegotiationRoundDTO])
3877− , _ndKind :: !Text
3887+ , _ndtoKind :: !Text
3878− , _ndBilledBuyer :: !(Maybe DealPartyDto)
3888+ , _ndtoBilledBuyer :: !(Maybe DealPartyDTO)
3879− , _ndBuyerEmailContacts :: !(Maybe [Text])
3889+ , _ndtoBuyerEmailContacts :: !(Maybe [Text])
3880− , _ndStats :: !(Maybe StatsDto)
3890+ , _ndtoStats :: !(Maybe StatsDTO)
3881− , _ndSeller :: !(Maybe DealPartyDto)
3891+ , _ndtoSeller :: !(Maybe DealPartyDTO)
3882− , _ndLabelNames :: !(Maybe [Text])
3892+ , _ndtoLabelNames :: !(Maybe [Text])
3883− , _ndOfferId :: !(Maybe Int64)
3893+ , _ndtoOfferId :: !(Maybe Int64)
3884− , _ndNegotiationId :: !(Maybe Int64)
3894+ , _ndtoNegotiationId :: !(Maybe Int64)
3885− , _ndSellerEmailContacts :: !(Maybe [Text])
3895+ , _ndtoSellerEmailContacts :: !(Maybe [Text])
3886− , _ndBuyer :: !(Maybe DealPartyDto)
3896+ , _ndtoBuyer :: !(Maybe DealPartyDTO)
3887 } deriving (Eq,Read,Show,Data,Typeable,Generic)
3897 } deriving (Eq,Read,Show,Data,Typeable,Generic)
3889−-- | Creates a value of 'NegotiationDto' with the minimum fields required to make a request.
3899+-- | Creates a value of 'NegotiationDTO' with the minimum fields required to make a request.
3891-- Use one of the following lenses to modify other fields as desired:
3901-- Use one of the following lenses to modify other fields as desired:
3893−-- * 'ndNegotiationState'
3903+-- * 'ndtoNegotiationState'
3895−-- * 'ndExternalDealId'
3905+-- * 'ndtoExternalDealId'
3897−-- * 'ndStatus'
3907+-- * 'ndtoStatus'
3899−-- * 'ndDealType'
3909+-- * 'ndtoDealType'
3901−-- * 'ndNegotiationRounds'
3911+-- * 'ndtoNegotiationRounds'
3903−-- * 'ndKind'
3913+-- * 'ndtoKind'
3905−-- * 'ndBilledBuyer'
3915+-- * 'ndtoBilledBuyer'
3907−-- * 'ndBuyerEmailContacts'
3917+-- * 'ndtoBuyerEmailContacts'
3909−-- * 'ndStats'
3919+-- * 'ndtoStats'
3911−-- * 'ndSeller'
3921+-- * 'ndtoSeller'
3913−-- * 'ndLabelNames'
3923+-- * 'ndtoLabelNames'
3915−-- * 'ndOfferId'
3925+-- * 'ndtoOfferId'
3917−-- * 'ndNegotiationId'
3927+-- * 'ndtoNegotiationId'
3919−-- * 'ndSellerEmailContacts'
3929+-- * 'ndtoSellerEmailContacts'
3921−-- * 'ndBuyer'
3931+-- * 'ndtoBuyer'
3922−negotiationDto
3932+negotiationDTO
3923− :: NegotiationDto
3933+ :: NegotiationDTO
3924−negotiationDto =
3934+negotiationDTO =
3925− NegotiationDto
3935+ NegotiationDTO
3926− { _ndNegotiationState = Nothing
3936+ { _ndtoNegotiationState = Nothing
3927− , _ndExternalDealId = Nothing
3937+ , _ndtoExternalDealId = Nothing
3928− , _ndStatus = Nothing
3938+ , _ndtoStatus = Nothing
3929− , _ndDealType = Nothing
3939+ , _ndtoDealType = Nothing
3930− , _ndNegotiationRounds = Nothing
3940+ , _ndtoNegotiationRounds = Nothing
3931− , _ndKind = "adexchangebuyer#negotiation"
3941+ , _ndtoKind = "adexchangebuyer#negotiation"
3932− , _ndBilledBuyer = Nothing
3942+ , _ndtoBilledBuyer = Nothing
3933− , _ndBuyerEmailContacts = Nothing
3943+ , _ndtoBuyerEmailContacts = Nothing
3934− , _ndStats = Nothing
3944+ , _ndtoStats = Nothing
3935− , _ndSeller = Nothing
3945+ , _ndtoSeller = Nothing
3936− , _ndLabelNames = Nothing
3946+ , _ndtoLabelNames = Nothing
3937− , _ndOfferId = Nothing
3947+ , _ndtoOfferId = Nothing
3938− , _ndNegotiationId = Nothing
3948+ , _ndtoNegotiationId = Nothing
3939− , _ndSellerEmailContacts = Nothing
3949+ , _ndtoSellerEmailContacts = Nothing
3940− , _ndBuyer = Nothing
3950+ , _ndtoBuyer = Nothing
3943-- | The state of this negotiation.
3953-- | The state of this negotiation.
3944−ndNegotiationState :: Lens' NegotiationDto (Maybe Text)
3954+ndtoNegotiationState :: Lens' NegotiationDTO (Maybe Text)
3945−ndNegotiationState
3955+ndtoNegotiationState
3946− = lens _ndNegotiationState
3956+ = lens _ndtoNegotiationState
3947− (\ s a -> s{_ndNegotiationState = a})
3957+ (\ s a -> s{_ndtoNegotiationState = a})
3949-- | For finalized negotiations, the ID of the finalized deal.
3959-- | For finalized negotiations, the ID of the finalized deal.
3950−ndExternalDealId :: Lens' NegotiationDto (Maybe Int64)
3960+ndtoExternalDealId :: Lens' NegotiationDTO (Maybe Int64)
3951−ndExternalDealId
3961+ndtoExternalDealId
3952− = lens _ndExternalDealId
3962+ = lens _ndtoExternalDealId
3953− (\ s a -> s{_ndExternalDealId = a})
3963+ (\ s a -> s{_ndtoExternalDealId = a})
3955-- | The status of this negotiation.
3965-- | The status of this negotiation.
3956−ndStatus :: Lens' NegotiationDto (Maybe Text)
3966+ndtoStatus :: Lens' NegotiationDTO (Maybe Text)
3957−ndStatus = lens _ndStatus (\ s a -> s{_ndStatus = a})
3967+ndtoStatus
3968+ = lens _ndtoStatus (\ s a -> s{_ndtoStatus = a})
3959-- | The type of this deal.
3970-- | The type of this deal.
3960−ndDealType :: Lens' NegotiationDto (Maybe Text)
3971+ndtoDealType :: Lens' NegotiationDTO (Maybe Text)
3961−ndDealType
3972+ndtoDealType
3962− = lens _ndDealType (\ s a -> s{_ndDealType = a})
3973+ = lens _ndtoDealType (\ s a -> s{_ndtoDealType = a})
3964-- | The series of negotiation rounds for this negotiation.
3975-- | The series of negotiation rounds for this negotiation.
3965−ndNegotiationRounds :: Lens' NegotiationDto [NegotiationRoundDto]
3976+ndtoNegotiationRounds :: Lens' NegotiationDTO [NegotiationRoundDTO]
3966−ndNegotiationRounds
3977+ndtoNegotiationRounds
3967− = lens _ndNegotiationRounds
3978+ = lens _ndtoNegotiationRounds
3968− (\ s a -> s{_ndNegotiationRounds = a})
3979+ (\ s a -> s{_ndtoNegotiationRounds = a})
3969 . _Default
3980 . _Default
3970 . _Coerce
3981 . _Coerce
3972−ndKind :: Lens' NegotiationDto Text
3983+ndtoKind :: Lens' NegotiationDTO Text
3973−ndKind = lens _ndKind (\ s a -> s{_ndKind = a})
3984+ndtoKind = lens _ndtoKind (\ s a -> s{_ndtoKind = a})
3975-- | The billed buyer; Specified by a buyer buying through an intermediary.
3986-- | The billed buyer; Specified by a buyer buying through an intermediary.
3976−ndBilledBuyer :: Lens' NegotiationDto (Maybe DealPartyDto)
3987+ndtoBilledBuyer :: Lens' NegotiationDTO (Maybe DealPartyDTO)
3977−ndBilledBuyer
3988+ndtoBilledBuyer
3978− = lens _ndBilledBuyer
3989+ = lens _ndtoBilledBuyer
3979− (\ s a -> s{_ndBilledBuyer = a})
3990+ (\ s a -> s{_ndtoBilledBuyer = a})
3981-- | The buyer party\'s contact email.
3992-- | The buyer party\'s contact email.
3982−ndBuyerEmailContacts :: Lens' NegotiationDto [Text]
3993+ndtoBuyerEmailContacts :: Lens' NegotiationDTO [Text]
3983−ndBuyerEmailContacts
3994+ndtoBuyerEmailContacts
3984− = lens _ndBuyerEmailContacts
3995+ = lens _ndtoBuyerEmailContacts
3985− (\ s a -> s{_ndBuyerEmailContacts = a})
3996+ (\ s a -> s{_ndtoBuyerEmailContacts = a})
3986 . _Default
3997 . _Default
3987 . _Coerce
3998 . _Coerce
3989-- | The stats for this negotiation.
4000-- | The stats for this negotiation.
3990−ndStats :: Lens' NegotiationDto (Maybe StatsDto)
4001+ndtoStats :: Lens' NegotiationDTO (Maybe StatsDTO)
3991−ndStats = lens _ndStats (\ s a -> s{_ndStats = a})
4002+ndtoStats
4003+ = lens _ndtoStats (\ s a -> s{_ndtoStats = a})
3993-- | Details of the seller party in this negotiation.
4005-- | Details of the seller party in this negotiation.
3994−ndSeller :: Lens' NegotiationDto (Maybe DealPartyDto)
4006+ndtoSeller :: Lens' NegotiationDTO (Maybe DealPartyDTO)
3995−ndSeller = lens _ndSeller (\ s a -> s{_ndSeller = a})
4007+ndtoSeller
4008+ = lens _ndtoSeller (\ s a -> s{_ndtoSeller = a})
3997-- | A list of label names applicable to this negotiation.
4010-- | A list of label names applicable to this negotiation.
3998−ndLabelNames :: Lens' NegotiationDto [Text]
4011+ndtoLabelNames :: Lens' NegotiationDTO [Text]
3999−ndLabelNames
4012+ndtoLabelNames
4000− = lens _ndLabelNames (\ s a -> s{_ndLabelNames = a})
4013+ = lens _ndtoLabelNames
4014+ (\ s a -> s{_ndtoLabelNames = a})
4001 . _Default
4015 . _Default
4002 . _Coerce
4016 . _Coerce
4004-- | The ID of this negotiation\'s original offer.
4018-- | The ID of this negotiation\'s original offer.
4005−ndOfferId :: Lens' NegotiationDto (Maybe Int64)
4019+ndtoOfferId :: Lens' NegotiationDTO (Maybe Int64)
4006−ndOfferId
4020+ndtoOfferId
4007− = lens _ndOfferId (\ s a -> s{_ndOfferId = a})
4021+ = lens _ndtoOfferId (\ s a -> s{_ndtoOfferId = a})
4009-- | The unique ID of this negotiation.
4023-- | The unique ID of this negotiation.
4010−ndNegotiationId :: Lens' NegotiationDto (Maybe Int64)
4024+ndtoNegotiationId :: Lens' NegotiationDTO (Maybe Int64)
4011−ndNegotiationId
4025+ndtoNegotiationId
4012− = lens _ndNegotiationId
4026+ = lens _ndtoNegotiationId
4013− (\ s a -> s{_ndNegotiationId = a})
4027+ (\ s a -> s{_ndtoNegotiationId = a})
4015-- | The seller party\'s contact email.
4029-- | The seller party\'s contact email.
4016−ndSellerEmailContacts :: Lens' NegotiationDto [Text]
4030+ndtoSellerEmailContacts :: Lens' NegotiationDTO [Text]
4017−ndSellerEmailContacts
4031+ndtoSellerEmailContacts
4018− = lens _ndSellerEmailContacts
4032+ = lens _ndtoSellerEmailContacts
4019− (\ s a -> s{_ndSellerEmailContacts = a})
4033+ (\ s a -> s{_ndtoSellerEmailContacts = a})
4020 . _Default
4034 . _Default
4021 . _Coerce
4035 . _Coerce
4023-- | Details of the buyer party in this negotiation.
4037-- | Details of the buyer party in this negotiation.
4024−ndBuyer :: Lens' NegotiationDto (Maybe DealPartyDto)
4038+ndtoBuyer :: Lens' NegotiationDTO (Maybe DealPartyDTO)
4025−ndBuyer = lens _ndBuyer (\ s a -> s{_ndBuyer = a})
4039+ndtoBuyer
4040+ = lens _ndtoBuyer (\ s a -> s{_ndtoBuyer = a})
4027−instance FromJSON NegotiationDto where
4042+instance FromJSON NegotiationDTO where
4028 parseJSON
4043 parseJSON
4029− = withObject "NegotiationDto"
4044+ = withObject "NegotiationDTO"
4031− NegotiationDto <$>
4046+ NegotiationDTO <$>
4032 (o .:? "negotiationState") <*>
4047 (o .:? "negotiationState") <*>
4033 (o .:? "externalDealId")
4048 (o .:? "externalDealId")
4034 <*> (o .:? "status")
4049 <*> (o .:? "status")
@@ -4045,26 +4060,27 @@ instance FromJSON NegotiationDto where
4045 <*> (o .:? "sellerEmailContacts" .!= mempty)
4060 <*> (o .:? "sellerEmailContacts" .!= mempty)
4046 <*> (o .:? "buyer"))
4061 <*> (o .:? "buyer"))
4048−instance ToJSON NegotiationDto where
4063+instance ToJSON NegotiationDTO where
4049− toJSON NegotiationDto{..}
4064+ toJSON NegotiationDTO{..}
4050 = object
4065 = object
4051 (catMaybes
4066 (catMaybes
4052− [("negotiationState" .=) <$> _ndNegotiationState,
4067+ [("negotiationState" .=) <$> _ndtoNegotiationState,
4053− ("externalDealId" .=) <$> _ndExternalDealId,
4068+ ("externalDealId" .=) <$> _ndtoExternalDealId,
4054− ("status" .=) <$> _ndStatus,
4069+ ("status" .=) <$> _ndtoStatus,
4055− ("dealType" .=) <$> _ndDealType,
4070+ ("dealType" .=) <$> _ndtoDealType,
4056− ("negotiationRounds" .=) <$> _ndNegotiationRounds,
4071+ ("negotiationRounds" .=) <$> _ndtoNegotiationRounds,
4057− Just ("kind" .= _ndKind),
4072+ Just ("kind" .= _ndtoKind),
4058− ("billedBuyer" .=) <$> _ndBilledBuyer,
4073+ ("billedBuyer" .=) <$> _ndtoBilledBuyer,
4059− ("buyerEmailContacts" .=) <$> _ndBuyerEmailContacts,
4074+ ("buyerEmailContacts" .=) <$>
4060− ("stats" .=) <$> _ndStats,
4075+ _ndtoBuyerEmailContacts,
4061− ("seller" .=) <$> _ndSeller,
4076+ ("stats" .=) <$> _ndtoStats,
4077+ ("seller" .=) <$> _ndtoSeller,
4062− ("labelNames" .=) <$> _ndLabelNames,
4078+ ("labelNames" .=) <$> _ndtoLabelNames,
4063− ("offerId" .=) <$> _ndOfferId,
4079+ ("offerId" .=) <$> _ndtoOfferId,
4064− ("negotiationId" .=) <$> _ndNegotiationId,
4080+ ("negotiationId" .=) <$> _ndtoNegotiationId,
4065 ("sellerEmailContacts" .=) <$>
4081 ("sellerEmailContacts" .=) <$>
4066− _ndSellerEmailContacts,
4082+ _ndtoSellerEmailContacts,
4067− ("buyer" .=) <$> _ndBuyer])
4083+ ("buyer" .=) <$> _ndtoBuyer])
4070-- /See:/ 'audienceSegment' smart constructor.
4086-- /See:/ 'audienceSegment' smart constructor.
@@ -4129,159 +4145,165 @@ instance ToJSON AudienceSegment where
4129 ("description" .=) <$> _asDescription])
4145 ("description" .=) <$> _asDescription])
4132−-- /See:/ 'offerDto' smart constructor.
4148+-- /See:/ 'offerDTO' smart constructor.
4133−data OfferDto = OfferDto
4149+data OfferDTO = OfferDTO
4134− { _odCreator :: !(Maybe DealPartyDto)
4150+ { _odtoCreator :: !(Maybe DealPartyDTO)
4135− , _odStatus :: !(Maybe Text)
4151+ , _odtoStatus :: !(Maybe Text)
4136− , _odOfferState :: !(Maybe Text)
4152+ , _odtoOfferState :: !(Maybe Text)
4137− , _odPointOfContact :: !(Maybe Text)
4153+ , _odtoPointOfContact :: !(Maybe Text)
4138− , _odTerms :: !(Maybe TermsDto)
4154+ , _odtoTerms :: !(Maybe TermsDTO)
4139− , _odKind :: !Text
4155+ , _odtoKind :: !Text
4140− , _odBilledBuyer :: !(Maybe DealPartyDto)
4156+ , _odtoBilledBuyer :: !(Maybe DealPartyDTO)
4141− , _odOpenToDealParties :: !(Maybe [DealPartyDto])
4157+ , _odtoOpenToDealParties :: !(Maybe [DealPartyDTO])
4142− , _odEmailContacts :: !(Maybe [Text])
4158+ , _odtoEmailContacts :: !(Maybe [Text])
4143− , _odLabelNames :: !(Maybe [Text])
4159+ , _odtoLabelNames :: !(Maybe [Text])
4144− , _odOfferId :: !(Maybe Int64)
4160+ , _odtoOfferId :: !(Maybe Int64)
4145− , _odClosedToDealParties :: !(Maybe [DealPartyDto])
4161+ , _odtoClosedToDealParties :: !(Maybe [DealPartyDTO])
4146− , _odAnonymous :: !(Maybe Bool)
4162+ , _odtoAnonymous :: !(Maybe Bool)
4147− , _odIsOpen :: !(Maybe Bool)
4163+ , _odtoIsOpen :: !(Maybe Bool)
4148 } deriving (Eq,Read,Show,Data,Typeable,Generic)
4164 } deriving (Eq,Read,Show,Data,Typeable,Generic)
4150−-- | Creates a value of 'OfferDto' with the minimum fields required to make a request.
4166+-- | Creates a value of 'OfferDTO' with the minimum fields required to make a request.
4152-- Use one of the following lenses to modify other fields as desired:
4168-- Use one of the following lenses to modify other fields as desired:
4154−-- * 'odCreator'
4170+-- * 'odtoCreator'
4156−-- * 'odStatus'
4172+-- * 'odtoStatus'
4158−-- * 'odOfferState'
4174+-- * 'odtoOfferState'
4160−-- * 'odPointOfContact'
4176+-- * 'odtoPointOfContact'
4162−-- * 'odTerms'
4178+-- * 'odtoTerms'
4164−-- * 'odKind'
4180+-- * 'odtoKind'
4166−-- * 'odBilledBuyer'
4182+-- * 'odtoBilledBuyer'
4168−-- * 'odOpenToDealParties'
4184+-- * 'odtoOpenToDealParties'
4170−-- * 'odEmailContacts'
4186+-- * 'odtoEmailContacts'
4172−-- * 'odLabelNames'
4188+-- * 'odtoLabelNames'
4174−-- * 'odOfferId'
4190+-- * 'odtoOfferId'
4176−-- * 'odClosedToDealParties'
4192+-- * 'odtoClosedToDealParties'
4178−-- * 'odAnonymous'
4194+-- * 'odtoAnonymous'
4180−-- * 'odIsOpen'
4196+-- * 'odtoIsOpen'
4181−offerDto
4197+offerDTO
4182− :: OfferDto
4198+ :: OfferDTO
4183−offerDto =
4199+offerDTO =
4184− OfferDto
4200+ OfferDTO
4185− { _odCreator = Nothing
4201+ { _odtoCreator = Nothing
4186− , _odStatus = Nothing
4202+ , _odtoStatus = Nothing
4187− , _odOfferState = Nothing
4203+ , _odtoOfferState = Nothing
4188− , _odPointOfContact = Nothing
4204+ , _odtoPointOfContact = Nothing
4189− , _odTerms = Nothing
4205+ , _odtoTerms = Nothing
4190− , _odKind = "adexchangebuyer#offer"
4206+ , _odtoKind = "adexchangebuyer#offer"
4191− , _odBilledBuyer = Nothing
4207+ , _odtoBilledBuyer = Nothing
4192− , _odOpenToDealParties = Nothing
4208+ , _odtoOpenToDealParties = Nothing
4193− , _odEmailContacts = Nothing
4209+ , _odtoEmailContacts = Nothing
4194− , _odLabelNames = Nothing
4210+ , _odtoLabelNames = Nothing
4195− , _odOfferId = Nothing
4211+ , _odtoOfferId = Nothing
4196− , _odClosedToDealParties = Nothing
4212+ , _odtoClosedToDealParties = Nothing
4197− , _odAnonymous = Nothing
4213+ , _odtoAnonymous = Nothing
4198− , _odIsOpen = Nothing
4214+ , _odtoIsOpen = Nothing
4201-- | The creator of this offer.
4217-- | The creator of this offer.
4202−odCreator :: Lens' OfferDto (Maybe DealPartyDto)
4218+odtoCreator :: Lens' OfferDTO (Maybe DealPartyDTO)
4203−odCreator
4219+odtoCreator
4204− = lens _odCreator (\ s a -> s{_odCreator = a})
4220+ = lens _odtoCreator (\ s a -> s{_odtoCreator = a})
4206-- | The status of this offer.
4222-- | The status of this offer.
4207−odStatus :: Lens' OfferDto (Maybe Text)
4223+odtoStatus :: Lens' OfferDTO (Maybe Text)
4208−odStatus = lens _odStatus (\ s a -> s{_odStatus = a})
4224+odtoStatus
4225+ = lens _odtoStatus (\ s a -> s{_odtoStatus = a})
4210-- | The state of this offer.
4227-- | The state of this offer.
4211−odOfferState :: Lens' OfferDto (Maybe Text)
4228+odtoOfferState :: Lens' OfferDTO (Maybe Text)
4212−odOfferState
4229+odtoOfferState
4213− = lens _odOfferState (\ s a -> s{_odOfferState = a})
4230+ = lens _odtoOfferState
4231+ (\ s a -> s{_odtoOfferState = a})
4215-- | The point of contact for this offer.
4233-- | The point of contact for this offer.
4216−odPointOfContact :: Lens' OfferDto (Maybe Text)
4234+odtoPointOfContact :: Lens' OfferDTO (Maybe Text)
4217−odPointOfContact
4235+odtoPointOfContact
4218− = lens _odPointOfContact
4236+ = lens _odtoPointOfContact
4219− (\ s a -> s{_odPointOfContact = a})
4237+ (\ s a -> s{_odtoPointOfContact = a})
4221-- | The terms of this offer.
4239-- | The terms of this offer.
4222−odTerms :: Lens' OfferDto (Maybe TermsDto)
4240+odtoTerms :: Lens' OfferDTO (Maybe TermsDTO)
4223−odTerms = lens _odTerms (\ s a -> s{_odTerms = a})
4241+odtoTerms
4242+ = lens _odtoTerms (\ s a -> s{_odtoTerms = a})
4225−odKind :: Lens' OfferDto Text
4244+odtoKind :: Lens' OfferDTO Text
4226−odKind = lens _odKind (\ s a -> s{_odKind = a})
4245+odtoKind = lens _odtoKind (\ s a -> s{_odtoKind = a})
4228-- | The billed buyer; For buyer initiated offers, buying through an
4247-- | The billed buyer; For buyer initiated offers, buying through an
4229-- intermediary.
4248-- intermediary.
4230−odBilledBuyer :: Lens' OfferDto (Maybe DealPartyDto)
4249+odtoBilledBuyer :: Lens' OfferDTO (Maybe DealPartyDTO)
4231−odBilledBuyer
4250+odtoBilledBuyer
4232− = lens _odBilledBuyer
4251+ = lens _odtoBilledBuyer
4233− (\ s a -> s{_odBilledBuyer = a})
4252+ (\ s a -> s{_odtoBilledBuyer = a})
4235-- | The list of buyer or seller parties this offer is open to.
4254-- | The list of buyer or seller parties this offer is open to.
4236−odOpenToDealParties :: Lens' OfferDto [DealPartyDto]
4255+odtoOpenToDealParties :: Lens' OfferDTO [DealPartyDTO]
4237−odOpenToDealParties
4256+odtoOpenToDealParties
4238− = lens _odOpenToDealParties
4257+ = lens _odtoOpenToDealParties
4239− (\ s a -> s{_odOpenToDealParties = a})
4258+ (\ s a -> s{_odtoOpenToDealParties = a})
4240 . _Default
4259 . _Default
4241 . _Coerce
4260 . _Coerce
4243-- | The list of email contacts for this offer.
4262-- | The list of email contacts for this offer.
4244−odEmailContacts :: Lens' OfferDto [Text]
4263+odtoEmailContacts :: Lens' OfferDTO [Text]
4245−odEmailContacts
4264+odtoEmailContacts
4246− = lens _odEmailContacts
4265+ = lens _odtoEmailContacts
4247− (\ s a -> s{_odEmailContacts = a})
4266+ (\ s a -> s{_odtoEmailContacts = a})
4248 . _Default
4267 . _Default
4249 . _Coerce
4268 . _Coerce
4251-- | The list of label names applicable to this offer.
4270-- | The list of label names applicable to this offer.
4252−odLabelNames :: Lens' OfferDto [Text]
4271+odtoLabelNames :: Lens' OfferDTO [Text]
4253−odLabelNames
4272+odtoLabelNames
4254− = lens _odLabelNames (\ s a -> s{_odLabelNames = a})
4273+ = lens _odtoLabelNames
4274+ (\ s a -> s{_odtoLabelNames = a})
4255 . _Default
4275 . _Default
4256 . _Coerce
4276 . _Coerce
4258-- | The unique ID of this offer.
4278-- | The unique ID of this offer.
4259−odOfferId :: Lens' OfferDto (Maybe Int64)
4279+odtoOfferId :: Lens' OfferDTO (Maybe Int64)
4260−odOfferId
4280+odtoOfferId
4261− = lens _odOfferId (\ s a -> s{_odOfferId = a})
4281+ = lens _odtoOfferId (\ s a -> s{_odtoOfferId = a})
4263-- | The list of buyer or seller parties this offer is closed to.
4283-- | The list of buyer or seller parties this offer is closed to.
4264−odClosedToDealParties :: Lens' OfferDto [DealPartyDto]
4284+odtoClosedToDealParties :: Lens' OfferDTO [DealPartyDTO]
4265−odClosedToDealParties
4285+odtoClosedToDealParties
4266− = lens _odClosedToDealParties
4286+ = lens _odtoClosedToDealParties
4267− (\ s a -> s{_odClosedToDealParties = a})
4287+ (\ s a -> s{_odtoClosedToDealParties = a})
4268 . _Default
4288 . _Default
4269 . _Coerce
4289 . _Coerce
4271-- | Whether this offer is anonymous.
4291-- | Whether this offer is anonymous.
4272−odAnonymous :: Lens' OfferDto (Maybe Bool)
4292+odtoAnonymous :: Lens' OfferDTO (Maybe Bool)
4273−odAnonymous
4293+odtoAnonymous
4274− = lens _odAnonymous (\ s a -> s{_odAnonymous = a})
4294+ = lens _odtoAnonymous
4295+ (\ s a -> s{_odtoAnonymous = a})
4276-- | Whether this offer is open.
4297-- | Whether this offer is open.
4277−odIsOpen :: Lens' OfferDto (Maybe Bool)
4298+odtoIsOpen :: Lens' OfferDTO (Maybe Bool)
4278−odIsOpen = lens _odIsOpen (\ s a -> s{_odIsOpen = a})
4299+odtoIsOpen
4300+ = lens _odtoIsOpen (\ s a -> s{_odtoIsOpen = a})
4280−instance FromJSON OfferDto where
4302+instance FromJSON OfferDTO where
4281 parseJSON
4303 parseJSON
4282− = withObject "OfferDto"
4304+ = withObject "OfferDTO"
4284− OfferDto <$>
4306+ OfferDTO <$>
4285 (o .:? "creator") <*> (o .:? "status") <*>
4307 (o .:? "creator") <*> (o .:? "status") <*>
4286 (o .:? "offerState")
4308 (o .:? "offerState")
4287 <*> (o .:? "pointOfContact")
4309 <*> (o .:? "pointOfContact")
@@ -4296,24 +4318,25 @@ instance FromJSON OfferDto where
4296 <*> (o .:? "anonymous")
4318 <*> (o .:? "anonymous")
4297 <*> (o .:? "isOpen"))
4319 <*> (o .:? "isOpen"))
4299−instance ToJSON OfferDto where
4321+instance ToJSON OfferDTO where
4300− toJSON OfferDto{..}
4322+ toJSON OfferDTO{..}
4301 = object
4323 = object
4302 (catMaybes
4324 (catMaybes
4303− [("creator" .=) <$> _odCreator,
4325+ [("creator" .=) <$> _odtoCreator,
4304− ("status" .=) <$> _odStatus,
4326+ ("status" .=) <$> _odtoStatus,
4305− ("offerState" .=) <$> _odOfferState,
4327+ ("offerState" .=) <$> _odtoOfferState,
4306− ("pointOfContact" .=) <$> _odPointOfContact,
4328+ ("pointOfContact" .=) <$> _odtoPointOfContact,
4307− ("terms" .=) <$> _odTerms, Just ("kind" .= _odKind),
4329+ ("terms" .=) <$> _odtoTerms,
4330+ Just ("kind" .= _odtoKind),
4308− ("billedBuyer" .=) <$> _odBilledBuyer,
4331+ ("billedBuyer" .=) <$> _odtoBilledBuyer,
4309− ("openToDealParties" .=) <$> _odOpenToDealParties,
4332+ ("openToDealParties" .=) <$> _odtoOpenToDealParties,
4310− ("emailContacts" .=) <$> _odEmailContacts,
4333+ ("emailContacts" .=) <$> _odtoEmailContacts,
4311− ("labelNames" .=) <$> _odLabelNames,
4334+ ("labelNames" .=) <$> _odtoLabelNames,
4312− ("offerId" .=) <$> _odOfferId,
4335+ ("offerId" .=) <$> _odtoOfferId,
4313 ("closedToDealParties" .=) <$>
4336 ("closedToDealParties" .=) <$>
4314− _odClosedToDealParties,
4337+ _odtoClosedToDealParties,
4315− ("anonymous" .=) <$> _odAnonymous,
4338+ ("anonymous" .=) <$> _odtoAnonymous,
4316− ("isOpen" .=) <$> _odIsOpen])
4339+ ("isOpen" .=) <$> _odtoIsOpen])
4319-- /See:/ 'targetingValueSize' smart constructor.
4342-- /See:/ 'targetingValueSize' smart constructor.
@@ -4743,48 +4766,49 @@ instance ToJSON AddOrderNotesResponse where
4743 = object (catMaybes [("notes" .=) <$> _aNotes])
4766 = object (catMaybes [("notes" .=) <$> _aNotes])
4746−-- /See:/ 'moneyDto' smart constructor.
4769+-- /See:/ 'moneyDTO' smart constructor.
4747−data MoneyDto = MoneyDto
4770+data MoneyDTO = MoneyDTO
4748− { _mdCurrencyCode :: !(Maybe Text)
4771+ { _mdtoCurrencyCode :: !(Maybe Text)
4749− , _mdMicros :: !(Maybe Int64)
4772+ , _mdtoMicros :: !(Maybe Int64)
4750 } deriving (Eq,Read,Show,Data,Typeable,Generic)
4773 } deriving (Eq,Read,Show,Data,Typeable,Generic)
4752−-- | Creates a value of 'MoneyDto' with the minimum fields required to make a request.
4775+-- | Creates a value of 'MoneyDTO' with the minimum fields required to make a request.
4754-- Use one of the following lenses to modify other fields as desired:
4777-- Use one of the following lenses to modify other fields as desired:
4756−-- * 'mdCurrencyCode'
4779+-- * 'mdtoCurrencyCode'
4758−-- * 'mdMicros'
4781+-- * 'mdtoMicros'
4759−moneyDto
4782+moneyDTO
4760− :: MoneyDto
4783+ :: MoneyDTO
4761−moneyDto =
4784+moneyDTO =
4762− MoneyDto
4785+ MoneyDTO
4763− { _mdCurrencyCode = Nothing
4786+ { _mdtoCurrencyCode = Nothing
4764− , _mdMicros = Nothing
4787+ , _mdtoMicros = Nothing
4767−mdCurrencyCode :: Lens' MoneyDto (Maybe Text)
4790+mdtoCurrencyCode :: Lens' MoneyDTO (Maybe Text)
4768−mdCurrencyCode
4791+mdtoCurrencyCode
4769− = lens _mdCurrencyCode
4792+ = lens _mdtoCurrencyCode
4770− (\ s a -> s{_mdCurrencyCode = a})
4793+ (\ s a -> s{_mdtoCurrencyCode = a})
4772−mdMicros :: Lens' MoneyDto (Maybe Int64)
4795+mdtoMicros :: Lens' MoneyDTO (Maybe Int64)
4773−mdMicros = lens _mdMicros (\ s a -> s{_mdMicros = a})
4796+mdtoMicros
4797+ = lens _mdtoMicros (\ s a -> s{_mdtoMicros = a})
4775−instance FromJSON MoneyDto where
4799+instance FromJSON MoneyDTO where
4776 parseJSON
4800 parseJSON
4777− = withObject "MoneyDto"
4801+ = withObject "MoneyDTO"
4779− MoneyDto <$>
4803+ MoneyDTO <$>
4780 (o .:? "currencyCode") <*> (o .:? "micros"))
4804 (o .:? "currencyCode") <*> (o .:? "micros"))
4782−instance ToJSON MoneyDto where
4806+instance ToJSON MoneyDTO where
4783− toJSON MoneyDto{..}
4807+ toJSON MoneyDTO{..}
4784 = object
4808 = object
4785 (catMaybes
4809 (catMaybes
4786− [("currencyCode" .=) <$> _mdCurrencyCode,
4810+ [("currencyCode" .=) <$> _mdtoCurrencyCode,
4787− ("micros" .=) <$> _mdMicros])
4811+ ("micros" .=) <$> _mdtoMicros])
4790-- /See:/ 'listClientAccessCapabilitiesResponse' smart constructor.
4814-- /See:/ 'listClientAccessCapabilitiesResponse' smart constructor.
@@ -4868,7 +4892,7 @@ instance ToJSON GetNegotiationByIdRequest where
4868-- /See:/ 'listOffersResponse' smart constructor.
4892-- /See:/ 'listOffersResponse' smart constructor.
4869data ListOffersResponse = ListOffersResponse
4893data ListOffersResponse = ListOffersResponse
4870 { _lorKind :: !Text
4894 { _lorKind :: !Text
4871− , _lorOffers :: !(Maybe [OfferDto])
4895+ , _lorOffers :: !(Maybe [OfferDTO])
4872 } deriving (Eq,Read,Show,Data,Typeable,Generic)
4896 } deriving (Eq,Read,Show,Data,Typeable,Generic)
4874-- | Creates a value of 'ListOffersResponse' with the minimum fields required to make a request.
4898-- | Creates a value of 'ListOffersResponse' with the minimum fields required to make a request.
@@ -4889,7 +4913,7 @@ listOffersResponse =
4889lorKind :: Lens' ListOffersResponse Text
4913lorKind :: Lens' ListOffersResponse Text
4890lorKind = lens _lorKind (\ s a -> s{_lorKind = a})
4914lorKind = lens _lorKind (\ s a -> s{_lorKind = a})
4892−lorOffers :: Lens' ListOffersResponse [OfferDto]
4916+lorOffers :: Lens' ListOffersResponse [OfferDTO]
4893lorOffers
4917lorOffers
4894 = lens _lorOffers (\ s a -> s{_lorOffers = a}) .
4918 = lens _lorOffers (\ s a -> s{_lorOffers = a}) .
4895 _Default
4919 _Default
@@ -4911,66 +4935,67 @@ instance ToJSON ListOffersResponse where
4911 ("offers" .=) <$> _lorOffers])
4935 ("offers" .=) <$> _lorOffers])
4914−-- /See:/ 'advertiserDto' smart constructor.
4938+-- /See:/ 'advertiserDTO' smart constructor.
4915−data AdvertiserDto = AdvertiserDto
4939+data AdvertiserDTO = AdvertiserDTO
4916− { _adStatus :: !(Maybe Text)
4940+ { _adtoStatus :: !(Maybe Text)
4917− , _adBrands :: !(Maybe [BrandDto])
4941+ , _adtoBrands :: !(Maybe [BrandDTO])
4918− , _adName :: !(Maybe Text)
4942+ , _adtoName :: !(Maybe Text)
4919− , _adId :: !(Maybe Int64)
4943+ , _adtoId :: !(Maybe Int64)
4920 } deriving (Eq,Read,Show,Data,Typeable,Generic)
4944 } deriving (Eq,Read,Show,Data,Typeable,Generic)
4922−-- | Creates a value of 'AdvertiserDto' with the minimum fields required to make a request.
4946+-- | Creates a value of 'AdvertiserDTO' with the minimum fields required to make a request.
4924-- Use one of the following lenses to modify other fields as desired:
4948-- Use one of the following lenses to modify other fields as desired:
4926−-- * 'adStatus'
4950+-- * 'adtoStatus'
4928−-- * 'adBrands'
4952+-- * 'adtoBrands'
4930−-- * 'adName'
4954+-- * 'adtoName'
4932−-- * 'adId'
4956+-- * 'adtoId'
4933−advertiserDto
4957+advertiserDTO
4934− :: AdvertiserDto
4958+ :: AdvertiserDTO
4935−advertiserDto =
4959+advertiserDTO =
4936− AdvertiserDto
4960+ AdvertiserDTO
4937− { _adStatus = Nothing
4961+ { _adtoStatus = Nothing
4938− , _adBrands = Nothing
4962+ , _adtoBrands = Nothing
4939− , _adName = Nothing
4963+ , _adtoName = Nothing
4940− , _adId = Nothing
4964+ , _adtoId = Nothing
4943−adStatus :: Lens' AdvertiserDto (Maybe Text)
4967+adtoStatus :: Lens' AdvertiserDTO (Maybe Text)
4944−adStatus = lens _adStatus (\ s a -> s{_adStatus = a})
4968+adtoStatus
4969+ = lens _adtoStatus (\ s a -> s{_adtoStatus = a})
4946−adBrands :: Lens' AdvertiserDto [BrandDto]
4971+adtoBrands :: Lens' AdvertiserDTO [BrandDTO]
4947−adBrands
4972+adtoBrands
4948− = lens _adBrands (\ s a -> s{_adBrands = a}) .
4973+ = lens _adtoBrands (\ s a -> s{_adtoBrands = a}) .
4949 _Default
4974 _Default
4950 . _Coerce
4975 . _Coerce
4952−adName :: Lens' AdvertiserDto (Maybe Text)
4977+adtoName :: Lens' AdvertiserDTO (Maybe Text)
4953−adName = lens _adName (\ s a -> s{_adName = a})
4978+adtoName = lens _adtoName (\ s a -> s{_adtoName = a})
4955−adId :: Lens' AdvertiserDto (Maybe Int64)
4980+adtoId :: Lens' AdvertiserDTO (Maybe Int64)
4956−adId = lens _adId (\ s a -> s{_adId = a})
4981+adtoId = lens _adtoId (\ s a -> s{_adtoId = a})
4958−instance FromJSON AdvertiserDto where
4983+instance FromJSON AdvertiserDTO where
4959 parseJSON
4984 parseJSON
4960− = withObject "AdvertiserDto"
4985+ = withObject "AdvertiserDTO"
4962− AdvertiserDto <$>
4987+ AdvertiserDTO <$>
4963 (o .:? "status") <*> (o .:? "brands" .!= mempty) <*>
4988 (o .:? "status") <*> (o .:? "brands" .!= mempty) <*>
4964 (o .:? "name")
4989 (o .:? "name")
4965 <*> (o .:? "id"))
4990 <*> (o .:? "id"))
4967−instance ToJSON AdvertiserDto where
4992+instance ToJSON AdvertiserDTO where
4968− toJSON AdvertiserDto{..}
4993+ toJSON AdvertiserDTO{..}
4969 = object
4994 = object
4970 (catMaybes
4995 (catMaybes
4971− [("status" .=) <$> _adStatus,
4996+ [("status" .=) <$> _adtoStatus,
4972− ("brands" .=) <$> _adBrands, ("name" .=) <$> _adName,
4997+ ("brands" .=) <$> _adtoBrands,
4973− ("id" .=) <$> _adId])
4998+ ("name" .=) <$> _adtoName, ("id" .=) <$> _adtoId])
4976-- /See:/ 'targetingValue' smart constructor.
5001-- /See:/ 'targetingValue' smart constructor.
@@ -5306,84 +5331,86 @@ instance ToJSON BillingInfo where
5306 ("billingId" .=) <$> _biBillingId])
5331 ("billingId" .=) <$> _biBillingId])
5309−-- /See:/ 'webPropertyDto' smart constructor.
5334+-- /See:/ 'webPropertyDTO' smart constructor.
5310−data WebPropertyDto = WebPropertyDto
5335+data WebPropertyDTO = WebPropertyDTO
5311− { _wpdEnabledForPreferredDeals :: !(Maybe Bool)
5336+ { _wpdtoEnabledForPreferredDeals :: !(Maybe Bool)
5312− , _wpdSyndicationProduct :: !(Maybe Text)
5337+ , _wpdtoSyndicationProduct :: !(Maybe Text)
5313− , _wpdName :: !(Maybe Text)
5338+ , _wpdtoName :: !(Maybe Text)
5314− , _wpdPropertyCode :: !(Maybe Text)
5339+ , _wpdtoPropertyCode :: !(Maybe Text)
5315− , _wpdId :: !(Maybe Int32)
5340+ , _wpdtoId :: !(Maybe Int32)
5316− , _wpdSiteURLs :: !(Maybe [Text])
5341+ , _wpdtoSiteURLs :: !(Maybe [Text])
5317− , _wpdAllowInterestTargetedAds :: !(Maybe Bool)
5342+ , _wpdtoAllowInterestTargetedAds :: !(Maybe Bool)
5318 } deriving (Eq,Read,Show,Data,Typeable,Generic)
5343 } deriving (Eq,Read,Show,Data,Typeable,Generic)
5320−-- | Creates a value of 'WebPropertyDto' with the minimum fields required to make a request.
5345+-- | Creates a value of 'WebPropertyDTO' with the minimum fields required to make a request.
5322-- Use one of the following lenses to modify other fields as desired:
5347-- Use one of the following lenses to modify other fields as desired:
5324−-- * 'wpdEnabledForPreferredDeals'
5349+-- * 'wpdtoEnabledForPreferredDeals'
5326−-- * 'wpdSyndicationProduct'
5351+-- * 'wpdtoSyndicationProduct'
5328−-- * 'wpdName'
5353+-- * 'wpdtoName'
5330−-- * 'wpdPropertyCode'
5355+-- * 'wpdtoPropertyCode'
5332−-- * 'wpdId'
5357+-- * 'wpdtoId'
5334−-- * 'wpdSiteURLs'
5359+-- * 'wpdtoSiteURLs'
5336−-- * 'wpdAllowInterestTargetedAds'
5361+-- * 'wpdtoAllowInterestTargetedAds'
5337−webPropertyDto
5362+webPropertyDTO
5338− :: WebPropertyDto
5363+ :: WebPropertyDTO
5339−webPropertyDto =
5364+webPropertyDTO =
5340− WebPropertyDto
5365+ WebPropertyDTO
5341− { _wpdEnabledForPreferredDeals = Nothing
5366+ { _wpdtoEnabledForPreferredDeals = Nothing
5342− , _wpdSyndicationProduct = Nothing
5367+ , _wpdtoSyndicationProduct = Nothing
5343− , _wpdName = Nothing
5368+ , _wpdtoName = Nothing
5344− , _wpdPropertyCode = Nothing
5369+ , _wpdtoPropertyCode = Nothing
5345− , _wpdId = Nothing
5370+ , _wpdtoId = Nothing
5346− , _wpdSiteURLs = Nothing
5371+ , _wpdtoSiteURLs = Nothing
5347− , _wpdAllowInterestTargetedAds = Nothing
5372+ , _wpdtoAllowInterestTargetedAds = Nothing
5350−wpdEnabledForPreferredDeals :: Lens' WebPropertyDto (Maybe Bool)
5375+wpdtoEnabledForPreferredDeals :: Lens' WebPropertyDTO (Maybe Bool)
5351−wpdEnabledForPreferredDeals
5376+wpdtoEnabledForPreferredDeals
5352− = lens _wpdEnabledForPreferredDeals
5377+ = lens _wpdtoEnabledForPreferredDeals
5353− (\ s a -> s{_wpdEnabledForPreferredDeals = a})
5378+ (\ s a -> s{_wpdtoEnabledForPreferredDeals = a})
5355−wpdSyndicationProduct :: Lens' WebPropertyDto (Maybe Text)
5380+wpdtoSyndicationProduct :: Lens' WebPropertyDTO (Maybe Text)
5356−wpdSyndicationProduct
5381+wpdtoSyndicationProduct
5357− = lens _wpdSyndicationProduct
5382+ = lens _wpdtoSyndicationProduct
5358− (\ s a -> s{_wpdSyndicationProduct = a})
5383+ (\ s a -> s{_wpdtoSyndicationProduct = a})
5360−wpdName :: Lens' WebPropertyDto (Maybe Text)
5385+wpdtoName :: Lens' WebPropertyDTO (Maybe Text)
5361−wpdName = lens _wpdName (\ s a -> s{_wpdName = a})
5386+wpdtoName
5387+ = lens _wpdtoName (\ s a -> s{_wpdtoName = a})
5363−wpdPropertyCode :: Lens' WebPropertyDto (Maybe Text)
5389+wpdtoPropertyCode :: Lens' WebPropertyDTO (Maybe Text)
5364−wpdPropertyCode
5390+wpdtoPropertyCode
5365− = lens _wpdPropertyCode
5391+ = lens _wpdtoPropertyCode
5366− (\ s a -> s{_wpdPropertyCode = a})
5392+ (\ s a -> s{_wpdtoPropertyCode = a})
5368−wpdId :: Lens' WebPropertyDto (Maybe Int32)
5394+wpdtoId :: Lens' WebPropertyDTO (Maybe Int32)
5369−wpdId = lens _wpdId (\ s a -> s{_wpdId = a})
5395+wpdtoId = lens _wpdtoId (\ s a -> s{_wpdtoId = a})
5371−wpdSiteURLs :: Lens' WebPropertyDto [Text]
5397+wpdtoSiteURLs :: Lens' WebPropertyDTO [Text]
5372−wpdSiteURLs
5398+wpdtoSiteURLs
5373− = lens _wpdSiteURLs (\ s a -> s{_wpdSiteURLs = a}) .
5399+ = lens _wpdtoSiteURLs
5400+ (\ s a -> s{_wpdtoSiteURLs = a})
5374− _Default
5401+ . _Default
5375 . _Coerce
5402 . _Coerce
5377−wpdAllowInterestTargetedAds :: Lens' WebPropertyDto (Maybe Bool)
5404+wpdtoAllowInterestTargetedAds :: Lens' WebPropertyDTO (Maybe Bool)
5378−wpdAllowInterestTargetedAds
5405+wpdtoAllowInterestTargetedAds
5379− = lens _wpdAllowInterestTargetedAds
5406+ = lens _wpdtoAllowInterestTargetedAds
5380− (\ s a -> s{_wpdAllowInterestTargetedAds = a})
5407+ (\ s a -> s{_wpdtoAllowInterestTargetedAds = a})
5382−instance FromJSON WebPropertyDto where
5409+instance FromJSON WebPropertyDTO where
5383 parseJSON
5410 parseJSON
5384− = withObject "WebPropertyDto"
5411+ = withObject "WebPropertyDTO"
5386− WebPropertyDto <$>
5413+ WebPropertyDTO <$>
5387 (o .:? "enabledForPreferredDeals") <*>
5414 (o .:? "enabledForPreferredDeals") <*>
5388 (o .:? "syndicationProduct")
5415 (o .:? "syndicationProduct")
5389 <*> (o .:? "name")
5416 <*> (o .:? "name")
@@ -5392,19 +5419,20 @@ instance FromJSON WebPropertyDto where
5392 <*> (o .:? "siteUrls" .!= mempty)
5419 <*> (o .:? "siteUrls" .!= mempty)
5393 <*> (o .:? "allowInterestTargetedAds"))
5420 <*> (o .:? "allowInterestTargetedAds"))
5395−instance ToJSON WebPropertyDto where
5422+instance ToJSON WebPropertyDTO where
5396− toJSON WebPropertyDto{..}
5423+ toJSON WebPropertyDTO{..}
5397 = object
5424 = object
5398 (catMaybes
5425 (catMaybes
5399 [("enabledForPreferredDeals" .=) <$>
5426 [("enabledForPreferredDeals" .=) <$>
5400− _wpdEnabledForPreferredDeals,
5427+ _wpdtoEnabledForPreferredDeals,
5401− ("syndicationProduct" .=) <$> _wpdSyndicationProduct,
5428+ ("syndicationProduct" .=) <$>
5402− ("name" .=) <$> _wpdName,
5429+ _wpdtoSyndicationProduct,
5430+ ("name" .=) <$> _wpdtoName,
5403− ("propertyCode" .=) <$> _wpdPropertyCode,
5431+ ("propertyCode" .=) <$> _wpdtoPropertyCode,
5404− ("id" .=) <$> _wpdId,
5432+ ("id" .=) <$> _wpdtoId,
5405− ("siteUrls" .=) <$> _wpdSiteURLs,
5433+ ("siteUrls" .=) <$> _wpdtoSiteURLs,
5406 ("allowInterestTargetedAds" .=) <$>
5434 ("allowInterestTargetedAds" .=) <$>
5407− _wpdAllowInterestTargetedAds])
5435+ _wpdtoAllowInterestTargetedAds])
5410-- /See:/ 'targetingValueDayPartTargeting' smart constructor.
5438-- /See:/ 'targetingValueDayPartTargeting' smart constructor.
@@ -6680,106 +6708,109 @@ instance ToJSON PretargetingConfigPlacements where
6680 ("type" .=) <$> _pcpType])
6708 ("type" .=) <$> _pcpType])
6683−-- /See:/ 'negotiationRoundDto' smart constructor.
6711+-- /See:/ 'negotiationRoundDTO' smart constructor.
6684−data NegotiationRoundDto = NegotiationRoundDto
6712+data NegotiationRoundDTO = NegotiationRoundDTO
6685− { _nrdTerms :: !(Maybe TermsDto)
6713+ { _nrdtoTerms :: !(Maybe TermsDTO)
6686− , _nrdKind :: !Text
6714+ , _nrdtoKind :: !Text
6687− , _nrdOriginatorRole :: !(Maybe Text)
6715+ , _nrdtoOriginatorRole :: !(Maybe Text)
6688− , _nrdAction :: !(Maybe Text)
6716+ , _nrdtoAction :: !(Maybe Text)
6689− , _nrdDBmPartnerId :: !(Maybe Int64)
6717+ , _nrdtoDBmPartnerId :: !(Maybe Int64)
6690− , _nrdNotes :: !(Maybe Text)
6718+ , _nrdtoNotes :: !(Maybe Text)
6691− , _nrdNegotiationId :: !(Maybe Int64)
6719+ , _nrdtoNegotiationId :: !(Maybe Int64)
6692− , _nrdEditHistory :: !(Maybe EditHistoryDto)
6720+ , _nrdtoEditHistory :: !(Maybe EditHistoryDTO)
6693− , _nrdRoundNumber :: !(Maybe Int64)
6721+ , _nrdtoRoundNumber :: !(Maybe Int64)
6694 } deriving (Eq,Read,Show,Data,Typeable,Generic)
6722 } deriving (Eq,Read,Show,Data,Typeable,Generic)
6696−-- | Creates a value of 'NegotiationRoundDto' with the minimum fields required to make a request.
6724+-- | Creates a value of 'NegotiationRoundDTO' with the minimum fields required to make a request.
6698-- Use one of the following lenses to modify other fields as desired:
6726-- Use one of the following lenses to modify other fields as desired:
6700−-- * 'nrdTerms'
6728+-- * 'nrdtoTerms'
6702−-- * 'nrdKind'
6730+-- * 'nrdtoKind'
6704−-- * 'nrdOriginatorRole'
6732+-- * 'nrdtoOriginatorRole'
6706−-- * 'nrdAction'
6734+-- * 'nrdtoAction'
6708−-- * 'nrdDBmPartnerId'
6736+-- * 'nrdtoDBmPartnerId'
6710−-- * 'nrdNotes'
6738+-- * 'nrdtoNotes'
6712−-- * 'nrdNegotiationId'
6740+-- * 'nrdtoNegotiationId'
6714−-- * 'nrdEditHistory'
6742+-- * 'nrdtoEditHistory'
6716−-- * 'nrdRoundNumber'
6744+-- * 'nrdtoRoundNumber'
6717−negotiationRoundDto
6745+negotiationRoundDTO
6718− :: NegotiationRoundDto
6746+ :: NegotiationRoundDTO
6719−negotiationRoundDto =
6747+negotiationRoundDTO =
6720− NegotiationRoundDto
6748+ NegotiationRoundDTO
6721− { _nrdTerms = Nothing
6749+ { _nrdtoTerms = Nothing
6722− , _nrdKind = "adexchangebuyer#negotiationRound"
6750+ , _nrdtoKind = "adexchangebuyer#negotiationRound"
6723− , _nrdOriginatorRole = Nothing
6751+ , _nrdtoOriginatorRole = Nothing
6724− , _nrdAction = Nothing
6752+ , _nrdtoAction = Nothing
6725− , _nrdDBmPartnerId = Nothing
6753+ , _nrdtoDBmPartnerId = Nothing
6726− , _nrdNotes = Nothing
6754+ , _nrdtoNotes = Nothing
6727− , _nrdNegotiationId = Nothing
6755+ , _nrdtoNegotiationId = Nothing
6728− , _nrdEditHistory = Nothing
6756+ , _nrdtoEditHistory = Nothing
6729− , _nrdRoundNumber = Nothing
6757+ , _nrdtoRoundNumber = Nothing
6732-- | The detailed terms proposed in this negotiation round.
6760-- | The detailed terms proposed in this negotiation round.
6733−nrdTerms :: Lens' NegotiationRoundDto (Maybe TermsDto)
6761+nrdtoTerms :: Lens' NegotiationRoundDTO (Maybe TermsDTO)
6734−nrdTerms = lens _nrdTerms (\ s a -> s{_nrdTerms = a})
6762+nrdtoTerms
6763+ = lens _nrdtoTerms (\ s a -> s{_nrdtoTerms = a})
6736−nrdKind :: Lens' NegotiationRoundDto Text
6765+nrdtoKind :: Lens' NegotiationRoundDTO Text
6737−nrdKind = lens _nrdKind (\ s a -> s{_nrdKind = a})
6766+nrdtoKind
6767+ = lens _nrdtoKind (\ s a -> s{_nrdtoKind = a})
6739-- | The role, either buyer or seller, initiating this negotiation round.
6769-- | The role, either buyer or seller, initiating this negotiation round.
6740−nrdOriginatorRole :: Lens' NegotiationRoundDto (Maybe Text)
6770+nrdtoOriginatorRole :: Lens' NegotiationRoundDTO (Maybe Text)
6741−nrdOriginatorRole
6771+nrdtoOriginatorRole
6742− = lens _nrdOriginatorRole
6772+ = lens _nrdtoOriginatorRole
6743− (\ s a -> s{_nrdOriginatorRole = a})
6773+ (\ s a -> s{_nrdtoOriginatorRole = a})
6745-- | The action performed by this negotiation round.
6775-- | The action performed by this negotiation round.
6746−nrdAction :: Lens' NegotiationRoundDto (Maybe Text)
6776+nrdtoAction :: Lens' NegotiationRoundDTO (Maybe Text)
6747−nrdAction
6777+nrdtoAction
6748− = lens _nrdAction (\ s a -> s{_nrdAction = a})
6778+ = lens _nrdtoAction (\ s a -> s{_nrdtoAction = a})
6750-- | Stores DBM partner ID for use by DBM
6780-- | Stores DBM partner ID for use by DBM
6751−nrdDBmPartnerId :: Lens' NegotiationRoundDto (Maybe Int64)
6781+nrdtoDBmPartnerId :: Lens' NegotiationRoundDTO (Maybe Int64)
6752−nrdDBmPartnerId
6782+nrdtoDBmPartnerId
6753− = lens _nrdDBmPartnerId
6783+ = lens _nrdtoDBmPartnerId
6754− (\ s a -> s{_nrdDBmPartnerId = a})
6784+ (\ s a -> s{_nrdtoDBmPartnerId = a})
6756-- | Notes regarding this negotiation round.
6786-- | Notes regarding this negotiation round.
6757−nrdNotes :: Lens' NegotiationRoundDto (Maybe Text)
6787+nrdtoNotes :: Lens' NegotiationRoundDTO (Maybe Text)
6758−nrdNotes = lens _nrdNotes (\ s a -> s{_nrdNotes = a})
6788+nrdtoNotes
6789+ = lens _nrdtoNotes (\ s a -> s{_nrdtoNotes = a})
6760-- | The ID of the negotiation to which this negotiation round applies.
6791-- | The ID of the negotiation to which this negotiation round applies.
6761−nrdNegotiationId :: Lens' NegotiationRoundDto (Maybe Int64)
6792+nrdtoNegotiationId :: Lens' NegotiationRoundDTO (Maybe Int64)
6762−nrdNegotiationId
6793+nrdtoNegotiationId
6763− = lens _nrdNegotiationId
6794+ = lens _nrdtoNegotiationId
6764− (\ s a -> s{_nrdNegotiationId = a})
6795+ (\ s a -> s{_nrdtoNegotiationId = a})
6766-- | The edit history of this negotiation round.
6797-- | The edit history of this negotiation round.
6767−nrdEditHistory :: Lens' NegotiationRoundDto (Maybe EditHistoryDto)
6798+nrdtoEditHistory :: Lens' NegotiationRoundDTO (Maybe EditHistoryDTO)
6768−nrdEditHistory
6799+nrdtoEditHistory
6769− = lens _nrdEditHistory
6800+ = lens _nrdtoEditHistory
6770− (\ s a -> s{_nrdEditHistory = a})
6801+ (\ s a -> s{_nrdtoEditHistory = a})
6772-- | The number of this negotiation round, in sequence.
6803-- | The number of this negotiation round, in sequence.
6773−nrdRoundNumber :: Lens' NegotiationRoundDto (Maybe Int64)
6804+nrdtoRoundNumber :: Lens' NegotiationRoundDTO (Maybe Int64)
6774−nrdRoundNumber
6805+nrdtoRoundNumber
6775− = lens _nrdRoundNumber
6806+ = lens _nrdtoRoundNumber
6776− (\ s a -> s{_nrdRoundNumber = a})
6807+ (\ s a -> s{_nrdtoRoundNumber = a})
6778−instance FromJSON NegotiationRoundDto where
6809+instance FromJSON NegotiationRoundDTO where
6779 parseJSON
6810 parseJSON
6780− = withObject "NegotiationRoundDto"
6811+ = withObject "NegotiationRoundDTO"
6782− NegotiationRoundDto <$>
6813+ NegotiationRoundDTO <$>
6783 (o .:? "terms") <*>
6814 (o .:? "terms") <*>
6784 (o .:? "kind" .!= "adexchangebuyer#negotiationRound")
6815 (o .:? "kind" .!= "adexchangebuyer#negotiationRound")
6785 <*> (o .:? "originatorRole")
6816 <*> (o .:? "originatorRole")
@@ -6790,101 +6821,103 @@ instance FromJSON NegotiationRoundDto where
6790 <*> (o .:? "editHistory")
6821 <*> (o .:? "editHistory")
6791 <*> (o .:? "roundNumber"))
6822 <*> (o .:? "roundNumber"))
6793−instance ToJSON NegotiationRoundDto where
6824+instance ToJSON NegotiationRoundDTO where
6794− toJSON NegotiationRoundDto{..}
6825+ toJSON NegotiationRoundDTO{..}
6795 = object
6826 = object
6796 (catMaybes
6827 (catMaybes
6797− [("terms" .=) <$> _nrdTerms,
6828+ [("terms" .=) <$> _nrdtoTerms,
6798− Just ("kind" .= _nrdKind),
6829+ Just ("kind" .= _nrdtoKind),
6799− ("originatorRole" .=) <$> _nrdOriginatorRole,
6830+ ("originatorRole" .=) <$> _nrdtoOriginatorRole,
6800− ("action" .=) <$> _nrdAction,
6831+ ("action" .=) <$> _nrdtoAction,
6801− ("dbmPartnerId" .=) <$> _nrdDBmPartnerId,
6832+ ("dbmPartnerId" .=) <$> _nrdtoDBmPartnerId,
6802− ("notes" .=) <$> _nrdNotes,
6833+ ("notes" .=) <$> _nrdtoNotes,
6803− ("negotiationId" .=) <$> _nrdNegotiationId,
6834+ ("negotiationId" .=) <$> _nrdtoNegotiationId,
6804− ("editHistory" .=) <$> _nrdEditHistory,
6835+ ("editHistory" .=) <$> _nrdtoEditHistory,
6805− ("roundNumber" .=) <$> _nrdRoundNumber])
6836+ ("roundNumber" .=) <$> _nrdtoRoundNumber])
6808−-- /See:/ 'statsDto' smart constructor.
6839+-- /See:/ 'statsDTO' smart constructor.
6809−data StatsDto = StatsDto
6840+data StatsDTO = StatsDTO
6810− { _sdBids :: !(Maybe Int64)
6841+ { _sdtoBids :: !(Maybe Int64)
6811− , _sdSpend :: !(Maybe MoneyDto)
6842+ , _sdtoSpend :: !(Maybe MoneyDTO)
6812− , _sdImpressions :: !(Maybe Int64)
6843+ , _sdtoImpressions :: !(Maybe Int64)
6813− , _sdGoodBids :: !(Maybe Int64)
6844+ , _sdtoGoodBids :: !(Maybe Int64)
6814− , _sdRevenue :: !(Maybe MoneyDto)
6845+ , _sdtoRevenue :: !(Maybe MoneyDTO)
6815− , _sdRequests :: !(Maybe Int64)
6846+ , _sdtoRequests :: !(Maybe Int64)
6816 } deriving (Eq,Read,Show,Data,Typeable,Generic)
6847 } deriving (Eq,Read,Show,Data,Typeable,Generic)
6818−-- | Creates a value of 'StatsDto' with the minimum fields required to make a request.
6849+-- | Creates a value of 'StatsDTO' with the minimum fields required to make a request.
6820-- Use one of the following lenses to modify other fields as desired:
6851-- Use one of the following lenses to modify other fields as desired:
6822−-- * 'sdBids'
6853+-- * 'sdtoBids'
6824−-- * 'sdSpend'
6855+-- * 'sdtoSpend'
6826−-- * 'sdImpressions'
6857+-- * 'sdtoImpressions'
6828−-- * 'sdGoodBids'
6859+-- * 'sdtoGoodBids'
6830−-- * 'sdRevenue'
6861+-- * 'sdtoRevenue'
6832−-- * 'sdRequests'
6863+-- * 'sdtoRequests'
6833−statsDto
6864+statsDTO
6834− :: StatsDto
6865+ :: StatsDTO
6835−statsDto =
6866+statsDTO =
6836− StatsDto
6867+ StatsDTO
6837− { _sdBids = Nothing
6868+ { _sdtoBids = Nothing
6838− , _sdSpend = Nothing
6869+ , _sdtoSpend = Nothing
6839− , _sdImpressions = Nothing
6870+ , _sdtoImpressions = Nothing
6840− , _sdGoodBids = Nothing
6871+ , _sdtoGoodBids = Nothing
6841− , _sdRevenue = Nothing
6872+ , _sdtoRevenue = Nothing
6842− , _sdRequests = Nothing
6873+ , _sdtoRequests = Nothing
6845−sdBids :: Lens' StatsDto (Maybe Int64)
6876+sdtoBids :: Lens' StatsDTO (Maybe Int64)
6846−sdBids = lens _sdBids (\ s a -> s{_sdBids = a})
6877+sdtoBids = lens _sdtoBids (\ s a -> s{_sdtoBids = a})
6848−sdSpend :: Lens' StatsDto (Maybe MoneyDto)
6879+sdtoSpend :: Lens' StatsDTO (Maybe MoneyDTO)
6849−sdSpend = lens _sdSpend (\ s a -> s{_sdSpend = a})
6880+sdtoSpend
6881+ = lens _sdtoSpend (\ s a -> s{_sdtoSpend = a})
6851−sdImpressions :: Lens' StatsDto (Maybe Int64)
6883+sdtoImpressions :: Lens' StatsDTO (Maybe Int64)
6852−sdImpressions
6884+sdtoImpressions
6853− = lens _sdImpressions
6885+ = lens _sdtoImpressions
6854− (\ s a -> s{_sdImpressions = a})
6886+ (\ s a -> s{_sdtoImpressions = a})
6856−sdGoodBids :: Lens' StatsDto (Maybe Int64)
6888+sdtoGoodBids :: Lens' StatsDTO (Maybe Int64)
6857−sdGoodBids
6889+sdtoGoodBids
6858− = lens _sdGoodBids (\ s a -> s{_sdGoodBids = a})
6890+ = lens _sdtoGoodBids (\ s a -> s{_sdtoGoodBids = a})
6860−sdRevenue :: Lens' StatsDto (Maybe MoneyDto)
6892+sdtoRevenue :: Lens' StatsDTO (Maybe MoneyDTO)
6861−sdRevenue
6893+sdtoRevenue
6862− = lens _sdRevenue (\ s a -> s{_sdRevenue = a})
6894+ = lens _sdtoRevenue (\ s a -> s{_sdtoRevenue = a})
6864−sdRequests :: Lens' StatsDto (Maybe Int64)
6896+sdtoRequests :: Lens' StatsDTO (Maybe Int64)
6865−sdRequests
6897+sdtoRequests
6866− = lens _sdRequests (\ s a -> s{_sdRequests = a})
6898+ = lens _sdtoRequests (\ s a -> s{_sdtoRequests = a})
6868−instance FromJSON StatsDto where
6900+instance FromJSON StatsDTO where
6869 parseJSON
6901 parseJSON
6870− = withObject "StatsDto"
6902+ = withObject "StatsDTO"
6872− StatsDto <$>
6904+ StatsDTO <$>
6873 (o .:? "bids") <*> (o .:? "spend") <*>
6905 (o .:? "bids") <*> (o .:? "spend") <*>
6874 (o .:? "impressions")
6906 (o .:? "impressions")
6875 <*> (o .:? "goodBids")
6907 <*> (o .:? "goodBids")
6876 <*> (o .:? "revenue")
6908 <*> (o .:? "revenue")
6877 <*> (o .:? "requests"))
6909 <*> (o .:? "requests"))
6879−instance ToJSON StatsDto where
6911+instance ToJSON StatsDTO where
6880− toJSON StatsDto{..}
6912+ toJSON StatsDTO{..}
6881 = object
6913 = object
6882 (catMaybes
6914 (catMaybes
6883− [("bids" .=) <$> _sdBids, ("spend" .=) <$> _sdSpend,
6915+ [("bids" .=) <$> _sdtoBids,
6916+ ("spend" .=) <$> _sdtoSpend,
6884− ("impressions" .=) <$> _sdImpressions,
6917+ ("impressions" .=) <$> _sdtoImpressions,
6885− ("goodBids" .=) <$> _sdGoodBids,
6918+ ("goodBids" .=) <$> _sdtoGoodBids,
6886− ("revenue" .=) <$> _sdRevenue,
6919+ ("revenue" .=) <$> _sdtoRevenue,
6887− ("requests" .=) <$> _sdRequests])
6920+ ("requests" .=) <$> _sdtoRequests])
6890-- /See:/ 'getOffersResponse' smart constructor.
6923-- /See:/ 'getOffersResponse' smart constructor.
@@ -7714,72 +7747,73 @@ instance ToJSON DealTerms where
7714 ("description" .=) <$> _dtDescription])
7747 ("description" .=) <$> _dtDescription])
7717−-- /See:/ 'editHistoryDto' smart constructor.
7750+-- /See:/ 'editHistoryDTO' smart constructor.
7718−data EditHistoryDto = EditHistoryDto
7751+data EditHistoryDTO = EditHistoryDTO
7719− { _ehdLastUpdatedByLoginName :: !(Maybe Text)
7752+ { _ehdtoLastUpdatedByLoginName :: !(Maybe Text)
7720− , _ehdCreatedByLoginName :: !(Maybe Text)
7753+ , _ehdtoCreatedByLoginName :: !(Maybe Text)
7721− , _ehdLastUpdateTimeStamp :: !(Maybe Int64)
7754+ , _ehdtoLastUpdateTimeStamp :: !(Maybe Int64)
7722− , _ehdCreatedTimeStamp :: !(Maybe Int64)
7755+ , _ehdtoCreatedTimeStamp :: !(Maybe Int64)
7723 } deriving (Eq,Read,Show,Data,Typeable,Generic)
7756 } deriving (Eq,Read,Show,Data,Typeable,Generic)
7725−-- | Creates a value of 'EditHistoryDto' with the minimum fields required to make a request.
7758+-- | Creates a value of 'EditHistoryDTO' with the minimum fields required to make a request.
7727-- Use one of the following lenses to modify other fields as desired:
7760-- Use one of the following lenses to modify other fields as desired:
7729−-- * 'ehdLastUpdatedByLoginName'
7762+-- * 'ehdtoLastUpdatedByLoginName'
7731−-- * 'ehdCreatedByLoginName'
7764+-- * 'ehdtoCreatedByLoginName'
7733−-- * 'ehdLastUpdateTimeStamp'
7766+-- * 'ehdtoLastUpdateTimeStamp'
7735−-- * 'ehdCreatedTimeStamp'
7768+-- * 'ehdtoCreatedTimeStamp'
7736−editHistoryDto
7769+editHistoryDTO
7737− :: EditHistoryDto
7770+ :: EditHistoryDTO
7738−editHistoryDto =
7771+editHistoryDTO =
7739− EditHistoryDto
7772+ EditHistoryDTO
7740− { _ehdLastUpdatedByLoginName = Nothing
7773+ { _ehdtoLastUpdatedByLoginName = Nothing
7741− , _ehdCreatedByLoginName = Nothing
7774+ , _ehdtoCreatedByLoginName = Nothing
7742− , _ehdLastUpdateTimeStamp = Nothing
7775+ , _ehdtoLastUpdateTimeStamp = Nothing
7743− , _ehdCreatedTimeStamp = Nothing
7776+ , _ehdtoCreatedTimeStamp = Nothing
7746−ehdLastUpdatedByLoginName :: Lens' EditHistoryDto (Maybe Text)
7779+ehdtoLastUpdatedByLoginName :: Lens' EditHistoryDTO (Maybe Text)
7747−ehdLastUpdatedByLoginName
7780+ehdtoLastUpdatedByLoginName
7748− = lens _ehdLastUpdatedByLoginName
7781+ = lens _ehdtoLastUpdatedByLoginName
7749− (\ s a -> s{_ehdLastUpdatedByLoginName = a})
7782+ (\ s a -> s{_ehdtoLastUpdatedByLoginName = a})
7751−ehdCreatedByLoginName :: Lens' EditHistoryDto (Maybe Text)
7784+ehdtoCreatedByLoginName :: Lens' EditHistoryDTO (Maybe Text)
7752−ehdCreatedByLoginName
7785+ehdtoCreatedByLoginName
7753− = lens _ehdCreatedByLoginName
7786+ = lens _ehdtoCreatedByLoginName
7754− (\ s a -> s{_ehdCreatedByLoginName = a})
7787+ (\ s a -> s{_ehdtoCreatedByLoginName = a})
7756−ehdLastUpdateTimeStamp :: Lens' EditHistoryDto (Maybe Int64)
7789+ehdtoLastUpdateTimeStamp :: Lens' EditHistoryDTO (Maybe Int64)
7757−ehdLastUpdateTimeStamp
7790+ehdtoLastUpdateTimeStamp
7758− = lens _ehdLastUpdateTimeStamp
7791+ = lens _ehdtoLastUpdateTimeStamp
7759− (\ s a -> s{_ehdLastUpdateTimeStamp = a})
7792+ (\ s a -> s{_ehdtoLastUpdateTimeStamp = a})
7761−ehdCreatedTimeStamp :: Lens' EditHistoryDto (Maybe Int64)
7794+ehdtoCreatedTimeStamp :: Lens' EditHistoryDTO (Maybe Int64)
7762−ehdCreatedTimeStamp
7795+ehdtoCreatedTimeStamp
7763− = lens _ehdCreatedTimeStamp
7796+ = lens _ehdtoCreatedTimeStamp
7764− (\ s a -> s{_ehdCreatedTimeStamp = a})
7797+ (\ s a -> s{_ehdtoCreatedTimeStamp = a})
7766−instance FromJSON EditHistoryDto where
7799+instance FromJSON EditHistoryDTO where
7767 parseJSON
7800 parseJSON
7768− = withObject "EditHistoryDto"
7801+ = withObject "EditHistoryDTO"
7770− EditHistoryDto <$>
7803+ EditHistoryDTO <$>
7771 (o .:? "lastUpdatedByLoginName") <*>
7804 (o .:? "lastUpdatedByLoginName") <*>
7772 (o .:? "createdByLoginName")
7805 (o .:? "createdByLoginName")
7773 <*> (o .:? "lastUpdateTimeStamp")
7806 <*> (o .:? "lastUpdateTimeStamp")
7774 <*> (o .:? "createdTimeStamp"))
7807 <*> (o .:? "createdTimeStamp"))
7776−instance ToJSON EditHistoryDto where
7809+instance ToJSON EditHistoryDTO where
7777− toJSON EditHistoryDto{..}
7810+ toJSON EditHistoryDTO{..}
7778 = object
7811 = object
7779 (catMaybes
7812 (catMaybes
7780 [("lastUpdatedByLoginName" .=) <$>
7813 [("lastUpdatedByLoginName" .=) <$>
7781− _ehdLastUpdatedByLoginName,
7814+ _ehdtoLastUpdatedByLoginName,
7782− ("createdByLoginName" .=) <$> _ehdCreatedByLoginName,
7815+ ("createdByLoginName" .=) <$>
7816+ _ehdtoCreatedByLoginName,
7783 ("lastUpdateTimeStamp" .=) <$>
7817 ("lastUpdateTimeStamp" .=) <$>
7784− _ehdLastUpdateTimeStamp,
7818+ _ehdtoLastUpdateTimeStamp,
7785− ("createdTimeStamp" .=) <$> _ehdCreatedTimeStamp])
7819+ ("createdTimeStamp" .=) <$> _ehdtoCreatedTimeStamp])