gogol-dfareporting-0.3.0: Google DCM/DFA Reporting And Trafficking SDK.

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

Network.Google.Resource.DFAReporting.CampaignCreativeAssociations.Insert

Contents

Description

Associates a creative with the specified campaign. This method creates a default ad with dimensions matching the creative in the campaign if such a default ad does not exist already.

See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.campaignCreativeAssociations.insert.

Synopsis

REST Resource

type CampaignCreativeAssociationsInsertResource = "dfareporting" :> ("v2.7" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("campaigns" :> (Capture "campaignId" (Textual Int64) :> ("campaignCreativeAssociations" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CampaignCreativeAssociation :> Post '[JSON] CampaignCreativeAssociation)))))))) Source #

A resource alias for dfareporting.campaignCreativeAssociations.insert method which the CampaignCreativeAssociationsInsert request conforms to.

Creating a Request

campaignCreativeAssociationsInsert Source #

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

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

data CampaignCreativeAssociationsInsert Source #

Associates a creative with the specified campaign. This method creates a default ad with dimensions matching the creative in the campaign if such a default ad does not exist already.

See: campaignCreativeAssociationsInsert smart constructor.

Instances

Eq CampaignCreativeAssociationsInsert Source # 
Data CampaignCreativeAssociationsInsert Source # 

Methods

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

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

toConstr :: CampaignCreativeAssociationsInsert -> Constr #

dataTypeOf :: CampaignCreativeAssociationsInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CampaignCreativeAssociationsInsert Source # 
Generic CampaignCreativeAssociationsInsert Source # 
GoogleRequest CampaignCreativeAssociationsInsert Source # 
type Rep CampaignCreativeAssociationsInsert Source # 
type Rep CampaignCreativeAssociationsInsert = D1 (MetaData "CampaignCreativeAssociationsInsert" "Network.Google.Resource.DFAReporting.CampaignCreativeAssociations.Insert" "gogol-dfareporting-0.3.0-1Sz7MzcQaqT30NKUHnKpNh" False) (C1 (MetaCons "CampaignCreativeAssociationsInsert'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ccaiCampaignId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64))) ((:*:) (S1 (MetaSel (Just Symbol "_ccaiProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64))) (S1 (MetaSel (Just Symbol "_ccaiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CampaignCreativeAssociation)))))
type Scopes CampaignCreativeAssociationsInsert Source # 
type Scopes CampaignCreativeAssociationsInsert = (:) Symbol "https://www.googleapis.com/auth/dfatrafficking" ([] Symbol)
type Rs CampaignCreativeAssociationsInsert Source # 

Request Lenses

ccaiProFileId :: Lens' CampaignCreativeAssociationsInsert Int64 Source #

User profile ID associated with this request.