googledfareporting.pp 953 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519
  1. unit googledfareporting;
  2. {$MODE objfpc}
  3. {$H+}
  4. interface
  5. uses sysutils, classes, googleservice, restbase, googlebase;
  6. type
  7. //Top-level schema types
  8. TAccount = Class;
  9. TAccountActiveAdSummary = Class;
  10. TAccountPermission = Class;
  11. TAccountPermissionGroup = Class;
  12. TAccountPermissionGroupsListResponse = Class;
  13. TAccountPermissionsListResponse = Class;
  14. TAccountUserProfile = Class;
  15. TAccountUserProfilesListResponse = Class;
  16. TAccountsListResponse = Class;
  17. TActivities = Class;
  18. TAd = Class;
  19. TAdSlot = Class;
  20. TAdsListResponse = Class;
  21. TAdvertiser = Class;
  22. TAdvertiserGroup = Class;
  23. TAdvertiserGroupsListResponse = Class;
  24. TAdvertisersListResponse = Class;
  25. TAudienceSegment = Class;
  26. TAudienceSegmentGroup = Class;
  27. TBrowser = Class;
  28. TBrowsersListResponse = Class;
  29. TCampaign = Class;
  30. TCampaignCreativeAssociation = Class;
  31. TCampaignCreativeAssociationsListResponse = Class;
  32. TCampaignsListResponse = Class;
  33. TChangeLog = Class;
  34. TChangeLogsListResponse = Class;
  35. TCitiesListResponse = Class;
  36. TCity = Class;
  37. TClickTag = Class;
  38. TClickThroughUrl = Class;
  39. TClickThroughUrlSuffixProperties = Class;
  40. TCompanionClickThroughOverride = Class;
  41. TCompatibleFields = Class;
  42. TConnectionType = Class;
  43. TConnectionTypesListResponse = Class;
  44. TContentCategoriesListResponse = Class;
  45. TContentCategory = Class;
  46. TConversion = Class;
  47. TConversionError = Class;
  48. TConversionStatus = Class;
  49. TConversionsBatchInsertRequest = Class;
  50. TConversionsBatchInsertResponse = Class;
  51. TCountriesListResponse = Class;
  52. TCountry = Class;
  53. TCreative = Class;
  54. TCreativeAsset = Class;
  55. TCreativeAssetId = Class;
  56. TCreativeAssetMetadata = Class;
  57. TCreativeAssignment = Class;
  58. TCreativeCustomEvent = Class;
  59. TCreativeField = Class;
  60. TCreativeFieldAssignment = Class;
  61. TCreativeFieldValue = Class;
  62. TCreativeFieldValuesListResponse = Class;
  63. TCreativeFieldsListResponse = Class;
  64. TCreativeGroup = Class;
  65. TCreativeGroupAssignment = Class;
  66. TCreativeGroupsListResponse = Class;
  67. TCreativeOptimizationConfiguration = Class;
  68. TCreativeRotation = Class;
  69. TCreativeSettings = Class;
  70. TCreativesListResponse = Class;
  71. TCrossDimensionReachReportCompatibleFields = Class;
  72. TCustomFloodlightVariable = Class;
  73. TCustomRichMediaEvents = Class;
  74. TDateRange = Class;
  75. TDayPartTargeting = Class;
  76. TDefaultClickThroughEventTagProperties = Class;
  77. TDeliverySchedule = Class;
  78. TDfpSettings = Class;
  79. TDimension = Class;
  80. TDimensionFilter = Class;
  81. TDimensionValue = Class;
  82. TDimensionValueList = Class;
  83. TDimensionValueRequest = Class;
  84. TDirectorySite = Class;
  85. TDirectorySiteContact = Class;
  86. TDirectorySiteContactAssignment = Class;
  87. TDirectorySiteContactsListResponse = Class;
  88. TDirectorySiteSettings = Class;
  89. TDirectorySitesListResponse = Class;
  90. TDynamicTargetingKey = Class;
  91. TDynamicTargetingKeysListResponse = Class;
  92. TEncryptionInfo = Class;
  93. TEventTag = Class;
  94. TEventTagOverride = Class;
  95. TEventTagsListResponse = Class;
  96. TFile = Class;
  97. TFileList = Class;
  98. TFlight = Class;
  99. TFloodlightActivitiesGenerateTagResponse = Class;
  100. TFloodlightActivitiesListResponse = Class;
  101. TFloodlightActivity = Class;
  102. TFloodlightActivityDynamicTag = Class;
  103. TFloodlightActivityGroup = Class;
  104. TFloodlightActivityGroupsListResponse = Class;
  105. TFloodlightActivityPublisherDynamicTag = Class;
  106. TFloodlightConfiguration = Class;
  107. TFloodlightConfigurationsListResponse = Class;
  108. TFloodlightReportCompatibleFields = Class;
  109. TFrequencyCap = Class;
  110. TFsCommand = Class;
  111. TGeoTargeting = Class;
  112. TInventoryItem = Class;
  113. TInventoryItemsListResponse = Class;
  114. TKeyValueTargetingExpression = Class;
  115. TLandingPage = Class;
  116. TLandingPagesListResponse = Class;
  117. TLastModifiedInfo = Class;
  118. TListPopulationClause = Class;
  119. TListPopulationRule = Class;
  120. TListPopulationTerm = Class;
  121. TListTargetingExpression = Class;
  122. TLookbackConfiguration = Class;
  123. TMetric = Class;
  124. TMetro = Class;
  125. TMetrosListResponse = Class;
  126. TMobileCarrier = Class;
  127. TMobileCarriersListResponse = Class;
  128. TObjectFilter = Class;
  129. TOffsetPosition = Class;
  130. TOmnitureSettings = Class;
  131. TOperatingSystem = Class;
  132. TOperatingSystemVersion = Class;
  133. TOperatingSystemVersionsListResponse = Class;
  134. TOperatingSystemsListResponse = Class;
  135. TOptimizationActivity = Class;
  136. TOrder = Class;
  137. TOrderContact = Class;
  138. TOrderDocument = Class;
  139. TOrderDocumentsListResponse = Class;
  140. TOrdersListResponse = Class;
  141. TPathToConversionReportCompatibleFields = Class;
  142. TPlacement = Class;
  143. TPlacementAssignment = Class;
  144. TPlacementGroup = Class;
  145. TPlacementGroupsListResponse = Class;
  146. TPlacementStrategiesListResponse = Class;
  147. TPlacementStrategy = Class;
  148. TPlacementTag = Class;
  149. TPlacementsGenerateTagsResponse = Class;
  150. TPlacementsListResponse = Class;
  151. TPlatformType = Class;
  152. TPlatformTypesListResponse = Class;
  153. TPopupWindowProperties = Class;
  154. TPostalCode = Class;
  155. TPostalCodesListResponse = Class;
  156. TPricing = Class;
  157. TPricingSchedule = Class;
  158. TPricingSchedulePricingPeriod = Class;
  159. TProject = Class;
  160. TProjectsListResponse = Class;
  161. TReachReportCompatibleFields = Class;
  162. TRecipient = Class;
  163. TRegion = Class;
  164. TRegionsListResponse = Class;
  165. TRemarketingList = Class;
  166. TRemarketingListShare = Class;
  167. TRemarketingListsListResponse = Class;
  168. TReport = Class;
  169. TReportCompatibleFields = Class;
  170. TReportList = Class;
  171. TReportsConfiguration = Class;
  172. TRichMediaExitOverride = Class;
  173. TSite = Class;
  174. TSiteContact = Class;
  175. TSiteSettings = Class;
  176. TSitesListResponse = Class;
  177. TSize = Class;
  178. TSizesListResponse = Class;
  179. TSortedDimension = Class;
  180. TSubaccount = Class;
  181. TSubaccountsListResponse = Class;
  182. TTagData = Class;
  183. TTagSetting = Class;
  184. TTagSettings = Class;
  185. TTargetWindow = Class;
  186. TTargetableRemarketingList = Class;
  187. TTargetableRemarketingListsListResponse = Class;
  188. TTechnologyTargeting = Class;
  189. TThirdPartyAuthenticationToken = Class;
  190. TThirdPartyTrackingUrl = Class;
  191. TUserDefinedVariableConfiguration = Class;
  192. TUserProfile = Class;
  193. TUserProfileList = Class;
  194. TUserRole = Class;
  195. TUserRolePermission = Class;
  196. TUserRolePermissionGroup = Class;
  197. TUserRolePermissionGroupsListResponse = Class;
  198. TUserRolePermissionsListResponse = Class;
  199. TUserRolesListResponse = Class;
  200. TAccountArray = Array of TAccount;
  201. TAccountActiveAdSummaryArray = Array of TAccountActiveAdSummary;
  202. TAccountPermissionArray = Array of TAccountPermission;
  203. TAccountPermissionGroupArray = Array of TAccountPermissionGroup;
  204. TAccountPermissionGroupsListResponseArray = Array of TAccountPermissionGroupsListResponse;
  205. TAccountPermissionsListResponseArray = Array of TAccountPermissionsListResponse;
  206. TAccountUserProfileArray = Array of TAccountUserProfile;
  207. TAccountUserProfilesListResponseArray = Array of TAccountUserProfilesListResponse;
  208. TAccountsListResponseArray = Array of TAccountsListResponse;
  209. TActivitiesArray = Array of TActivities;
  210. TAdArray = Array of TAd;
  211. TAdSlotArray = Array of TAdSlot;
  212. TAdsListResponseArray = Array of TAdsListResponse;
  213. TAdvertiserArray = Array of TAdvertiser;
  214. TAdvertiserGroupArray = Array of TAdvertiserGroup;
  215. TAdvertiserGroupsListResponseArray = Array of TAdvertiserGroupsListResponse;
  216. TAdvertisersListResponseArray = Array of TAdvertisersListResponse;
  217. TAudienceSegmentArray = Array of TAudienceSegment;
  218. TAudienceSegmentGroupArray = Array of TAudienceSegmentGroup;
  219. TBrowserArray = Array of TBrowser;
  220. TBrowsersListResponseArray = Array of TBrowsersListResponse;
  221. TCampaignArray = Array of TCampaign;
  222. TCampaignCreativeAssociationArray = Array of TCampaignCreativeAssociation;
  223. TCampaignCreativeAssociationsListResponseArray = Array of TCampaignCreativeAssociationsListResponse;
  224. TCampaignsListResponseArray = Array of TCampaignsListResponse;
  225. TChangeLogArray = Array of TChangeLog;
  226. TChangeLogsListResponseArray = Array of TChangeLogsListResponse;
  227. TCitiesListResponseArray = Array of TCitiesListResponse;
  228. TCityArray = Array of TCity;
  229. TClickTagArray = Array of TClickTag;
  230. TClickThroughUrlArray = Array of TClickThroughUrl;
  231. TClickThroughUrlSuffixPropertiesArray = Array of TClickThroughUrlSuffixProperties;
  232. TCompanionClickThroughOverrideArray = Array of TCompanionClickThroughOverride;
  233. TCompatibleFieldsArray = Array of TCompatibleFields;
  234. TConnectionTypeArray = Array of TConnectionType;
  235. TConnectionTypesListResponseArray = Array of TConnectionTypesListResponse;
  236. TContentCategoriesListResponseArray = Array of TContentCategoriesListResponse;
  237. TContentCategoryArray = Array of TContentCategory;
  238. TConversionArray = Array of TConversion;
  239. TConversionErrorArray = Array of TConversionError;
  240. TConversionStatusArray = Array of TConversionStatus;
  241. TConversionsBatchInsertRequestArray = Array of TConversionsBatchInsertRequest;
  242. TConversionsBatchInsertResponseArray = Array of TConversionsBatchInsertResponse;
  243. TCountriesListResponseArray = Array of TCountriesListResponse;
  244. TCountryArray = Array of TCountry;
  245. TCreativeArray = Array of TCreative;
  246. TCreativeAssetArray = Array of TCreativeAsset;
  247. TCreativeAssetIdArray = Array of TCreativeAssetId;
  248. TCreativeAssetMetadataArray = Array of TCreativeAssetMetadata;
  249. TCreativeAssignmentArray = Array of TCreativeAssignment;
  250. TCreativeCustomEventArray = Array of TCreativeCustomEvent;
  251. TCreativeFieldArray = Array of TCreativeField;
  252. TCreativeFieldAssignmentArray = Array of TCreativeFieldAssignment;
  253. TCreativeFieldValueArray = Array of TCreativeFieldValue;
  254. TCreativeFieldValuesListResponseArray = Array of TCreativeFieldValuesListResponse;
  255. TCreativeFieldsListResponseArray = Array of TCreativeFieldsListResponse;
  256. TCreativeGroupArray = Array of TCreativeGroup;
  257. TCreativeGroupAssignmentArray = Array of TCreativeGroupAssignment;
  258. TCreativeGroupsListResponseArray = Array of TCreativeGroupsListResponse;
  259. TCreativeOptimizationConfigurationArray = Array of TCreativeOptimizationConfiguration;
  260. TCreativeRotationArray = Array of TCreativeRotation;
  261. TCreativeSettingsArray = Array of TCreativeSettings;
  262. TCreativesListResponseArray = Array of TCreativesListResponse;
  263. TCrossDimensionReachReportCompatibleFieldsArray = Array of TCrossDimensionReachReportCompatibleFields;
  264. TCustomFloodlightVariableArray = Array of TCustomFloodlightVariable;
  265. TCustomRichMediaEventsArray = Array of TCustomRichMediaEvents;
  266. TDateRangeArray = Array of TDateRange;
  267. TDayPartTargetingArray = Array of TDayPartTargeting;
  268. TDefaultClickThroughEventTagPropertiesArray = Array of TDefaultClickThroughEventTagProperties;
  269. TDeliveryScheduleArray = Array of TDeliverySchedule;
  270. TDfpSettingsArray = Array of TDfpSettings;
  271. TDimensionArray = Array of TDimension;
  272. TDimensionFilterArray = Array of TDimensionFilter;
  273. TDimensionValueArray = Array of TDimensionValue;
  274. TDimensionValueListArray = Array of TDimensionValueList;
  275. TDimensionValueRequestArray = Array of TDimensionValueRequest;
  276. TDirectorySiteArray = Array of TDirectorySite;
  277. TDirectorySiteContactArray = Array of TDirectorySiteContact;
  278. TDirectorySiteContactAssignmentArray = Array of TDirectorySiteContactAssignment;
  279. TDirectorySiteContactsListResponseArray = Array of TDirectorySiteContactsListResponse;
  280. TDirectorySiteSettingsArray = Array of TDirectorySiteSettings;
  281. TDirectorySitesListResponseArray = Array of TDirectorySitesListResponse;
  282. TDynamicTargetingKeyArray = Array of TDynamicTargetingKey;
  283. TDynamicTargetingKeysListResponseArray = Array of TDynamicTargetingKeysListResponse;
  284. TEncryptionInfoArray = Array of TEncryptionInfo;
  285. TEventTagArray = Array of TEventTag;
  286. TEventTagOverrideArray = Array of TEventTagOverride;
  287. TEventTagsListResponseArray = Array of TEventTagsListResponse;
  288. TFileArray = Array of TFile;
  289. TFileListArray = Array of TFileList;
  290. TFlightArray = Array of TFlight;
  291. TFloodlightActivitiesGenerateTagResponseArray = Array of TFloodlightActivitiesGenerateTagResponse;
  292. TFloodlightActivitiesListResponseArray = Array of TFloodlightActivitiesListResponse;
  293. TFloodlightActivityArray = Array of TFloodlightActivity;
  294. TFloodlightActivityDynamicTagArray = Array of TFloodlightActivityDynamicTag;
  295. TFloodlightActivityGroupArray = Array of TFloodlightActivityGroup;
  296. TFloodlightActivityGroupsListResponseArray = Array of TFloodlightActivityGroupsListResponse;
  297. TFloodlightActivityPublisherDynamicTagArray = Array of TFloodlightActivityPublisherDynamicTag;
  298. TFloodlightConfigurationArray = Array of TFloodlightConfiguration;
  299. TFloodlightConfigurationsListResponseArray = Array of TFloodlightConfigurationsListResponse;
  300. TFloodlightReportCompatibleFieldsArray = Array of TFloodlightReportCompatibleFields;
  301. TFrequencyCapArray = Array of TFrequencyCap;
  302. TFsCommandArray = Array of TFsCommand;
  303. TGeoTargetingArray = Array of TGeoTargeting;
  304. TInventoryItemArray = Array of TInventoryItem;
  305. TInventoryItemsListResponseArray = Array of TInventoryItemsListResponse;
  306. TKeyValueTargetingExpressionArray = Array of TKeyValueTargetingExpression;
  307. TLandingPageArray = Array of TLandingPage;
  308. TLandingPagesListResponseArray = Array of TLandingPagesListResponse;
  309. TLastModifiedInfoArray = Array of TLastModifiedInfo;
  310. TListPopulationClauseArray = Array of TListPopulationClause;
  311. TListPopulationRuleArray = Array of TListPopulationRule;
  312. TListPopulationTermArray = Array of TListPopulationTerm;
  313. TListTargetingExpressionArray = Array of TListTargetingExpression;
  314. TLookbackConfigurationArray = Array of TLookbackConfiguration;
  315. TMetricArray = Array of TMetric;
  316. TMetroArray = Array of TMetro;
  317. TMetrosListResponseArray = Array of TMetrosListResponse;
  318. TMobileCarrierArray = Array of TMobileCarrier;
  319. TMobileCarriersListResponseArray = Array of TMobileCarriersListResponse;
  320. TObjectFilterArray = Array of TObjectFilter;
  321. TOffsetPositionArray = Array of TOffsetPosition;
  322. TOmnitureSettingsArray = Array of TOmnitureSettings;
  323. TOperatingSystemArray = Array of TOperatingSystem;
  324. TOperatingSystemVersionArray = Array of TOperatingSystemVersion;
  325. TOperatingSystemVersionsListResponseArray = Array of TOperatingSystemVersionsListResponse;
  326. TOperatingSystemsListResponseArray = Array of TOperatingSystemsListResponse;
  327. TOptimizationActivityArray = Array of TOptimizationActivity;
  328. TOrderArray = Array of TOrder;
  329. TOrderContactArray = Array of TOrderContact;
  330. TOrderDocumentArray = Array of TOrderDocument;
  331. TOrderDocumentsListResponseArray = Array of TOrderDocumentsListResponse;
  332. TOrdersListResponseArray = Array of TOrdersListResponse;
  333. TPathToConversionReportCompatibleFieldsArray = Array of TPathToConversionReportCompatibleFields;
  334. TPlacementArray = Array of TPlacement;
  335. TPlacementAssignmentArray = Array of TPlacementAssignment;
  336. TPlacementGroupArray = Array of TPlacementGroup;
  337. TPlacementGroupsListResponseArray = Array of TPlacementGroupsListResponse;
  338. TPlacementStrategiesListResponseArray = Array of TPlacementStrategiesListResponse;
  339. TPlacementStrategyArray = Array of TPlacementStrategy;
  340. TPlacementTagArray = Array of TPlacementTag;
  341. TPlacementsGenerateTagsResponseArray = Array of TPlacementsGenerateTagsResponse;
  342. TPlacementsListResponseArray = Array of TPlacementsListResponse;
  343. TPlatformTypeArray = Array of TPlatformType;
  344. TPlatformTypesListResponseArray = Array of TPlatformTypesListResponse;
  345. TPopupWindowPropertiesArray = Array of TPopupWindowProperties;
  346. TPostalCodeArray = Array of TPostalCode;
  347. TPostalCodesListResponseArray = Array of TPostalCodesListResponse;
  348. TPricingArray = Array of TPricing;
  349. TPricingScheduleArray = Array of TPricingSchedule;
  350. TPricingSchedulePricingPeriodArray = Array of TPricingSchedulePricingPeriod;
  351. TProjectArray = Array of TProject;
  352. TProjectsListResponseArray = Array of TProjectsListResponse;
  353. TReachReportCompatibleFieldsArray = Array of TReachReportCompatibleFields;
  354. TRecipientArray = Array of TRecipient;
  355. TRegionArray = Array of TRegion;
  356. TRegionsListResponseArray = Array of TRegionsListResponse;
  357. TRemarketingListArray = Array of TRemarketingList;
  358. TRemarketingListShareArray = Array of TRemarketingListShare;
  359. TRemarketingListsListResponseArray = Array of TRemarketingListsListResponse;
  360. TReportArray = Array of TReport;
  361. TReportCompatibleFieldsArray = Array of TReportCompatibleFields;
  362. TReportListArray = Array of TReportList;
  363. TReportsConfigurationArray = Array of TReportsConfiguration;
  364. TRichMediaExitOverrideArray = Array of TRichMediaExitOverride;
  365. TSiteArray = Array of TSite;
  366. TSiteContactArray = Array of TSiteContact;
  367. TSiteSettingsArray = Array of TSiteSettings;
  368. TSitesListResponseArray = Array of TSitesListResponse;
  369. TSizeArray = Array of TSize;
  370. TSizesListResponseArray = Array of TSizesListResponse;
  371. TSortedDimensionArray = Array of TSortedDimension;
  372. TSubaccountArray = Array of TSubaccount;
  373. TSubaccountsListResponseArray = Array of TSubaccountsListResponse;
  374. TTagDataArray = Array of TTagData;
  375. TTagSettingArray = Array of TTagSetting;
  376. TTagSettingsArray = Array of TTagSettings;
  377. TTargetWindowArray = Array of TTargetWindow;
  378. TTargetableRemarketingListArray = Array of TTargetableRemarketingList;
  379. TTargetableRemarketingListsListResponseArray = Array of TTargetableRemarketingListsListResponse;
  380. TTechnologyTargetingArray = Array of TTechnologyTargeting;
  381. TThirdPartyAuthenticationTokenArray = Array of TThirdPartyAuthenticationToken;
  382. TThirdPartyTrackingUrlArray = Array of TThirdPartyTrackingUrl;
  383. TUserDefinedVariableConfigurationArray = Array of TUserDefinedVariableConfiguration;
  384. TUserProfileArray = Array of TUserProfile;
  385. TUserProfileListArray = Array of TUserProfileList;
  386. TUserRoleArray = Array of TUserRole;
  387. TUserRolePermissionArray = Array of TUserRolePermission;
  388. TUserRolePermissionGroupArray = Array of TUserRolePermissionGroup;
  389. TUserRolePermissionGroupsListResponseArray = Array of TUserRolePermissionGroupsListResponse;
  390. TUserRolePermissionsListResponseArray = Array of TUserRolePermissionsListResponse;
  391. TUserRolesListResponseArray = Array of TUserRolesListResponse;
  392. //Anonymous types, using auto-generated names
  393. TFileTypeurls = Class;
  394. TReportTypecriteria = Class;
  395. TReportTypecrossDimensionReachCriteria = Class;
  396. TReportTypedelivery = Class;
  397. TReportTypefloodlightCriteriaTypereportProperties = Class;
  398. TReportTypefloodlightCriteria = Class;
  399. TReportTypepathToConversionCriteriaTypereportProperties = Class;
  400. TReportTypepathToConversionCriteria = Class;
  401. TReportTypereachCriteria = Class;
  402. TReportTypeschedule = Class;
  403. TAccountPermissionGroupsListResponseTypeaccountPermissionGroupsArray = Array of TAccountPermissionGroup;
  404. TAccountPermissionsListResponseTypeaccountPermissionsArray = Array of TAccountPermission;
  405. TAccountUserProfilesListResponseTypeaccountUserProfilesArray = Array of TAccountUserProfile;
  406. TAccountsListResponseTypeaccountsArray = Array of TAccount;
  407. TActivitiesTypefiltersArray = Array of TDimensionValue;
  408. TAdTypecreativeGroupAssignmentsArray = Array of TCreativeGroupAssignment;
  409. TAdTypeeventTagOverridesArray = Array of TEventTagOverride;
  410. TAdTypeplacementAssignmentsArray = Array of TPlacementAssignment;
  411. TAdsListResponseTypeadsArray = Array of TAd;
  412. TAdvertiserGroupsListResponseTypeadvertiserGroupsArray = Array of TAdvertiserGroup;
  413. TAdvertisersListResponseTypeadvertisersArray = Array of TAdvertiser;
  414. TAudienceSegmentGroupTypeaudienceSegmentsArray = Array of TAudienceSegment;
  415. TBrowsersListResponseTypebrowsersArray = Array of TBrowser;
  416. TCampaignTypeadditionalCreativeOptimizationConfigurationsArray = Array of TCreativeOptimizationConfiguration;
  417. TCampaignTypeaudienceSegmentGroupsArray = Array of TAudienceSegmentGroup;
  418. TCampaignTypeeventTagOverridesArray = Array of TEventTagOverride;
  419. TCampaignCreativeAssociationsListResponseTypecampaignCreativeAssociationsArray = Array of TCampaignCreativeAssociation;
  420. TCampaignsListResponseTypecampaignsArray = Array of TCampaign;
  421. TChangeLogsListResponseTypechangeLogsArray = Array of TChangeLog;
  422. TCitiesListResponseTypecitiesArray = Array of TCity;
  423. TConnectionTypesListResponseTypeconnectionTypesArray = Array of TConnectionType;
  424. TContentCategoriesListResponseTypecontentCategoriesArray = Array of TContentCategory;
  425. TConversionTypecustomVariablesArray = Array of TCustomFloodlightVariable;
  426. TConversionStatusTypeerrorsArray = Array of TConversionError;
  427. TConversionsBatchInsertRequestTypeconversionsArray = Array of TConversion;
  428. TConversionsBatchInsertResponseTypestatusArray = Array of TConversionStatus;
  429. TCountriesListResponseTypecountriesArray = Array of TCountry;
  430. TCreativeTypeclickTagsArray = Array of TClickTag;
  431. TCreativeTypecounterCustomEventsArray = Array of TCreativeCustomEvent;
  432. TCreativeTypecreativeAssetsArray = Array of TCreativeAsset;
  433. TCreativeTypecreativeFieldAssignmentsArray = Array of TCreativeFieldAssignment;
  434. TCreativeTypeexitCustomEventsArray = Array of TCreativeCustomEvent;
  435. TCreativeTypethirdPartyUrlsArray = Array of TThirdPartyTrackingUrl;
  436. TCreativeTypetimerCustomEventsArray = Array of TCreativeCustomEvent;
  437. TCreativeAssetMetadataTypeclickTagsArray = Array of TClickTag;
  438. TCreativeAssignmentTypecompanionCreativeOverridesArray = Array of TCompanionClickThroughOverride;
  439. TCreativeAssignmentTypecreativeGroupAssignmentsArray = Array of TCreativeGroupAssignment;
  440. TCreativeAssignmentTyperichMediaExitOverridesArray = Array of TRichMediaExitOverride;
  441. TCreativeFieldValuesListResponseTypecreativeFieldValuesArray = Array of TCreativeFieldValue;
  442. TCreativeFieldsListResponseTypecreativeFieldsArray = Array of TCreativeField;
  443. TCreativeGroupsListResponseTypecreativeGroupsArray = Array of TCreativeGroup;
  444. TCreativeOptimizationConfigurationTypeoptimizationActivitysArray = Array of TOptimizationActivity;
  445. TCreativeRotationTypecreativeAssignmentsArray = Array of TCreativeAssignment;
  446. TCreativesListResponseTypecreativesArray = Array of TCreative;
  447. TCrossDimensionReachReportCompatibleFieldsTypebreakdownArray = Array of TDimension;
  448. TCrossDimensionReachReportCompatibleFieldsTypedimensionFiltersArray = Array of TDimension;
  449. TCrossDimensionReachReportCompatibleFieldsTypemetricsArray = Array of TMetric;
  450. TCrossDimensionReachReportCompatibleFieldsTypeoverlapMetricsArray = Array of TMetric;
  451. TCustomRichMediaEventsTypefilteredEventIdsArray = Array of TDimensionValue;
  452. TDimensionValueListTypeitemsArray = Array of TDimensionValue;
  453. TDimensionValueRequestTypefiltersArray = Array of TDimensionFilter;
  454. TDirectorySiteTypecontactAssignmentsArray = Array of TDirectorySiteContactAssignment;
  455. TDirectorySiteContactsListResponseTypedirectorySiteContactsArray = Array of TDirectorySiteContact;
  456. TDirectorySitesListResponseTypedirectorySitesArray = Array of TDirectorySite;
  457. TDynamicTargetingKeysListResponseTypedynamicTargetingKeysArray = Array of TDynamicTargetingKey;
  458. TEventTagsListResponseTypeeventTagsArray = Array of TEventTag;
  459. TFileListTypeitemsArray = Array of TFile;
  460. TFloodlightActivitiesListResponseTypefloodlightActivitiesArray = Array of TFloodlightActivity;
  461. TFloodlightActivityTypedefaultTagsArray = Array of TFloodlightActivityDynamicTag;
  462. TFloodlightActivityTypepublisherTagsArray = Array of TFloodlightActivityPublisherDynamicTag;
  463. TFloodlightActivityGroupsListResponseTypefloodlightActivityGroupsArray = Array of TFloodlightActivityGroup;
  464. TFloodlightConfigurationTypethirdPartyAuthenticationTokensArray = Array of TThirdPartyAuthenticationToken;
  465. TFloodlightConfigurationTypeuserDefinedVariableConfigurationsArray = Array of TUserDefinedVariableConfiguration;
  466. TFloodlightConfigurationsListResponseTypefloodlightConfigurationsArray = Array of TFloodlightConfiguration;
  467. TFloodlightReportCompatibleFieldsTypedimensionFiltersArray = Array of TDimension;
  468. TFloodlightReportCompatibleFieldsTypedimensionsArray = Array of TDimension;
  469. TFloodlightReportCompatibleFieldsTypemetricsArray = Array of TMetric;
  470. TGeoTargetingTypecitiesArray = Array of TCity;
  471. TGeoTargetingTypecountriesArray = Array of TCountry;
  472. TGeoTargetingTypemetrosArray = Array of TMetro;
  473. TGeoTargetingTypepostalCodesArray = Array of TPostalCode;
  474. TGeoTargetingTyperegionsArray = Array of TRegion;
  475. TInventoryItemTypeadSlotsArray = Array of TAdSlot;
  476. TInventoryItemsListResponseTypeinventoryItemsArray = Array of TInventoryItem;
  477. TLandingPagesListResponseTypelandingPagesArray = Array of TLandingPage;
  478. TListPopulationClauseTypetermsArray = Array of TListPopulationTerm;
  479. TListPopulationRuleTypelistPopulationClausesArray = Array of TListPopulationClause;
  480. TMetrosListResponseTypemetrosArray = Array of TMetro;
  481. TMobileCarriersListResponseTypemobileCarriersArray = Array of TMobileCarrier;
  482. TOperatingSystemVersionsListResponseTypeoperatingSystemVersionsArray = Array of TOperatingSystemVersion;
  483. TOperatingSystemsListResponseTypeoperatingSystemsArray = Array of TOperatingSystem;
  484. TOrderTypecontactsArray = Array of TOrderContact;
  485. TOrderDocumentsListResponseTypeorderDocumentsArray = Array of TOrderDocument;
  486. TOrdersListResponseTypeordersArray = Array of TOrder;
  487. TPathToConversionReportCompatibleFieldsTypeconversionDimensionsArray = Array of TDimension;
  488. TPathToConversionReportCompatibleFieldsTypecustomFloodlightVariablesArray = Array of TDimension;
  489. TPathToConversionReportCompatibleFieldsTypemetricsArray = Array of TMetric;
  490. TPathToConversionReportCompatibleFieldsTypeperInteractionDimensionsArray = Array of TDimension;
  491. TPlacementGroupsListResponseTypeplacementGroupsArray = Array of TPlacementGroup;
  492. TPlacementStrategiesListResponseTypeplacementStrategiesArray = Array of TPlacementStrategy;
  493. TPlacementTagTypetagDatasArray = Array of TTagData;
  494. TPlacementsGenerateTagsResponseTypeplacementTagsArray = Array of TPlacementTag;
  495. TPlacementsListResponseTypeplacementsArray = Array of TPlacement;
  496. TPlatformTypesListResponseTypeplatformTypesArray = Array of TPlatformType;
  497. TPostalCodesListResponseTypepostalCodesArray = Array of TPostalCode;
  498. TPricingTypeflightsArray = Array of TFlight;
  499. TPricingScheduleTypepricingPeriodsArray = Array of TPricingSchedulePricingPeriod;
  500. TProjectsListResponseTypeprojectsArray = Array of TProject;
  501. TReachReportCompatibleFieldsTypedimensionFiltersArray = Array of TDimension;
  502. TReachReportCompatibleFieldsTypedimensionsArray = Array of TDimension;
  503. TReachReportCompatibleFieldsTypemetricsArray = Array of TMetric;
  504. TReachReportCompatibleFieldsTypepivotedActivityMetricsArray = Array of TMetric;
  505. TReachReportCompatibleFieldsTypereachByFrequencyMetricsArray = Array of TMetric;
  506. TRegionsListResponseTyperegionsArray = Array of TRegion;
  507. TRemarketingListsListResponseTyperemarketingListsArray = Array of TRemarketingList;
  508. TReportTypecriteriaTypedimensionFiltersArray = Array of TDimensionValue;
  509. TReportTypecriteriaTypedimensionsArray = Array of TSortedDimension;
  510. TReportTypecrossDimensionReachCriteriaTypebreakdownArray = Array of TSortedDimension;
  511. TReportTypecrossDimensionReachCriteriaTypedimensionFiltersArray = Array of TDimensionValue;
  512. TReportTypedeliveryTyperecipientsArray = Array of TRecipient;
  513. TReportTypefloodlightCriteriaTypecustomRichMediaEventsArray = Array of TDimensionValue;
  514. TReportTypefloodlightCriteriaTypedimensionFiltersArray = Array of TDimensionValue;
  515. TReportTypefloodlightCriteriaTypedimensionsArray = Array of TSortedDimension;
  516. TReportTypepathToConversionCriteriaTypeactivityFiltersArray = Array of TDimensionValue;
  517. TReportTypepathToConversionCriteriaTypeconversionDimensionsArray = Array of TSortedDimension;
  518. TReportTypepathToConversionCriteriaTypecustomFloodlightVariablesArray = Array of TSortedDimension;
  519. TReportTypepathToConversionCriteriaTypecustomRichMediaEventsArray = Array of TDimensionValue;
  520. TReportTypepathToConversionCriteriaTypeperInteractionDimensionsArray = Array of TSortedDimension;
  521. TReportTypereachCriteriaTypedimensionFiltersArray = Array of TDimensionValue;
  522. TReportTypereachCriteriaTypedimensionsArray = Array of TSortedDimension;
  523. TReportCompatibleFieldsTypedimensionFiltersArray = Array of TDimension;
  524. TReportCompatibleFieldsTypedimensionsArray = Array of TDimension;
  525. TReportCompatibleFieldsTypemetricsArray = Array of TMetric;
  526. TReportCompatibleFieldsTypepivotedActivityMetricsArray = Array of TMetric;
  527. TReportListTypeitemsArray = Array of TReport;
  528. TSiteTypesiteContactsArray = Array of TSiteContact;
  529. TSitesListResponseTypesitesArray = Array of TSite;
  530. TSizesListResponseTypesizesArray = Array of TSize;
  531. TSubaccountsListResponseTypesubaccountsArray = Array of TSubaccount;
  532. TTargetableRemarketingListsListResponseTypetargetableRemarketingListsArray = Array of TTargetableRemarketingList;
  533. TTechnologyTargetingTypebrowsersArray = Array of TBrowser;
  534. TTechnologyTargetingTypeconnectionTypesArray = Array of TConnectionType;
  535. TTechnologyTargetingTypemobileCarriersArray = Array of TMobileCarrier;
  536. TTechnologyTargetingTypeoperatingSystemVersionsArray = Array of TOperatingSystemVersion;
  537. TTechnologyTargetingTypeoperatingSystemsArray = Array of TOperatingSystem;
  538. TTechnologyTargetingTypeplatformTypesArray = Array of TPlatformType;
  539. TUserProfileListTypeitemsArray = Array of TUserProfile;
  540. TUserRoleTypepermissionsArray = Array of TUserRolePermission;
  541. TUserRolePermissionGroupsListResponseTypeuserRolePermissionGroupsArray = Array of TUserRolePermissionGroup;
  542. TUserRolePermissionsListResponseTypeuserRolePermissionsArray = Array of TUserRolePermission;
  543. TUserRolesListResponseTypeuserRolesArray = Array of TUserRole;
  544. { --------------------------------------------------------------------
  545. TAccount
  546. --------------------------------------------------------------------}
  547. TAccount = Class(TGoogleBaseObject)
  548. Private
  549. FaccountPermissionIds : TStringArray;
  550. FaccountProfile : String;
  551. Factive : boolean;
  552. FactiveAdsLimitTier : String;
  553. FactiveViewOptOut : boolean;
  554. FavailablePermissionIds : TStringArray;
  555. FcomscoreVceEnabled : boolean;
  556. FcountryId : String;
  557. FcurrencyId : String;
  558. FdefaultCreativeSizeId : String;
  559. Fdescription : String;
  560. Fid : String;
  561. Fkind : String;
  562. Flocale : String;
  563. FmaximumImageSize : String;
  564. Fname : String;
  565. FnielsenOcrEnabled : boolean;
  566. FreportsConfiguration : TReportsConfiguration;
  567. FteaserSizeLimit : String;
  568. Protected
  569. //Property setters
  570. Procedure SetaccountPermissionIds(AIndex : Integer; const AValue : TStringArray); virtual;
  571. Procedure SetaccountProfile(AIndex : Integer; const AValue : String); virtual;
  572. Procedure Setactive(AIndex : Integer; const AValue : boolean); virtual;
  573. Procedure SetactiveAdsLimitTier(AIndex : Integer; const AValue : String); virtual;
  574. Procedure SetactiveViewOptOut(AIndex : Integer; const AValue : boolean); virtual;
  575. Procedure SetavailablePermissionIds(AIndex : Integer; const AValue : TStringArray); virtual;
  576. Procedure SetcomscoreVceEnabled(AIndex : Integer; const AValue : boolean); virtual;
  577. Procedure SetcountryId(AIndex : Integer; const AValue : String); virtual;
  578. Procedure SetcurrencyId(AIndex : Integer; const AValue : String); virtual;
  579. Procedure SetdefaultCreativeSizeId(AIndex : Integer; const AValue : String); virtual;
  580. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  581. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  582. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  583. Procedure Setlocale(AIndex : Integer; const AValue : String); virtual;
  584. Procedure SetmaximumImageSize(AIndex : Integer; const AValue : String); virtual;
  585. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  586. Procedure SetnielsenOcrEnabled(AIndex : Integer; const AValue : boolean); virtual;
  587. Procedure SetreportsConfiguration(AIndex : Integer; const AValue : TReportsConfiguration); virtual;
  588. Procedure SetteaserSizeLimit(AIndex : Integer; const AValue : String); virtual;
  589. //2.6.4. bug workaround
  590. {$IFDEF VER2_6}
  591. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  592. {$ENDIF VER2_6}
  593. Public
  594. Published
  595. Property accountPermissionIds : TStringArray Index 0 Read FaccountPermissionIds Write SetaccountPermissionIds;
  596. Property accountProfile : String Index 8 Read FaccountProfile Write SetaccountProfile;
  597. Property active : boolean Index 16 Read Factive Write Setactive;
  598. Property activeAdsLimitTier : String Index 24 Read FactiveAdsLimitTier Write SetactiveAdsLimitTier;
  599. Property activeViewOptOut : boolean Index 32 Read FactiveViewOptOut Write SetactiveViewOptOut;
  600. Property availablePermissionIds : TStringArray Index 40 Read FavailablePermissionIds Write SetavailablePermissionIds;
  601. Property comscoreVceEnabled : boolean Index 48 Read FcomscoreVceEnabled Write SetcomscoreVceEnabled;
  602. Property countryId : String Index 56 Read FcountryId Write SetcountryId;
  603. Property currencyId : String Index 64 Read FcurrencyId Write SetcurrencyId;
  604. Property defaultCreativeSizeId : String Index 72 Read FdefaultCreativeSizeId Write SetdefaultCreativeSizeId;
  605. Property description : String Index 80 Read Fdescription Write Setdescription;
  606. Property id : String Index 88 Read Fid Write Setid;
  607. Property kind : String Index 96 Read Fkind Write Setkind;
  608. Property locale : String Index 104 Read Flocale Write Setlocale;
  609. Property maximumImageSize : String Index 112 Read FmaximumImageSize Write SetmaximumImageSize;
  610. Property name : String Index 120 Read Fname Write Setname;
  611. Property nielsenOcrEnabled : boolean Index 128 Read FnielsenOcrEnabled Write SetnielsenOcrEnabled;
  612. Property reportsConfiguration : TReportsConfiguration Index 136 Read FreportsConfiguration Write SetreportsConfiguration;
  613. Property teaserSizeLimit : String Index 144 Read FteaserSizeLimit Write SetteaserSizeLimit;
  614. end;
  615. TAccountClass = Class of TAccount;
  616. { --------------------------------------------------------------------
  617. TAccountActiveAdSummary
  618. --------------------------------------------------------------------}
  619. TAccountActiveAdSummary = Class(TGoogleBaseObject)
  620. Private
  621. FaccountId : String;
  622. FactiveAds : String;
  623. FactiveAdsLimitTier : String;
  624. FavailableAds : String;
  625. Fkind : String;
  626. Protected
  627. //Property setters
  628. Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
  629. Procedure SetactiveAds(AIndex : Integer; const AValue : String); virtual;
  630. Procedure SetactiveAdsLimitTier(AIndex : Integer; const AValue : String); virtual;
  631. Procedure SetavailableAds(AIndex : Integer; const AValue : String); virtual;
  632. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  633. Public
  634. Published
  635. Property accountId : String Index 0 Read FaccountId Write SetaccountId;
  636. Property activeAds : String Index 8 Read FactiveAds Write SetactiveAds;
  637. Property activeAdsLimitTier : String Index 16 Read FactiveAdsLimitTier Write SetactiveAdsLimitTier;
  638. Property availableAds : String Index 24 Read FavailableAds Write SetavailableAds;
  639. Property kind : String Index 32 Read Fkind Write Setkind;
  640. end;
  641. TAccountActiveAdSummaryClass = Class of TAccountActiveAdSummary;
  642. { --------------------------------------------------------------------
  643. TAccountPermission
  644. --------------------------------------------------------------------}
  645. TAccountPermission = Class(TGoogleBaseObject)
  646. Private
  647. FaccountProfiles : TStringArray;
  648. Fid : String;
  649. Fkind : String;
  650. Flevel : String;
  651. Fname : String;
  652. FpermissionGroupId : String;
  653. Protected
  654. //Property setters
  655. Procedure SetaccountProfiles(AIndex : Integer; const AValue : TStringArray); virtual;
  656. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  657. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  658. Procedure Setlevel(AIndex : Integer; const AValue : String); virtual;
  659. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  660. Procedure SetpermissionGroupId(AIndex : Integer; const AValue : String); virtual;
  661. //2.6.4. bug workaround
  662. {$IFDEF VER2_6}
  663. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  664. {$ENDIF VER2_6}
  665. Public
  666. Published
  667. Property accountProfiles : TStringArray Index 0 Read FaccountProfiles Write SetaccountProfiles;
  668. Property id : String Index 8 Read Fid Write Setid;
  669. Property kind : String Index 16 Read Fkind Write Setkind;
  670. Property level : String Index 24 Read Flevel Write Setlevel;
  671. Property name : String Index 32 Read Fname Write Setname;
  672. Property permissionGroupId : String Index 40 Read FpermissionGroupId Write SetpermissionGroupId;
  673. end;
  674. TAccountPermissionClass = Class of TAccountPermission;
  675. { --------------------------------------------------------------------
  676. TAccountPermissionGroup
  677. --------------------------------------------------------------------}
  678. TAccountPermissionGroup = Class(TGoogleBaseObject)
  679. Private
  680. Fid : String;
  681. Fkind : String;
  682. Fname : String;
  683. Protected
  684. //Property setters
  685. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  686. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  687. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  688. Public
  689. Published
  690. Property id : String Index 0 Read Fid Write Setid;
  691. Property kind : String Index 8 Read Fkind Write Setkind;
  692. Property name : String Index 16 Read Fname Write Setname;
  693. end;
  694. TAccountPermissionGroupClass = Class of TAccountPermissionGroup;
  695. { --------------------------------------------------------------------
  696. TAccountPermissionGroupsListResponse
  697. --------------------------------------------------------------------}
  698. TAccountPermissionGroupsListResponse = Class(TGoogleBaseObject)
  699. Private
  700. FaccountPermissionGroups : TAccountPermissionGroupsListResponseTypeaccountPermissionGroupsArray;
  701. Fkind : String;
  702. Protected
  703. //Property setters
  704. Procedure SetaccountPermissionGroups(AIndex : Integer; const AValue : TAccountPermissionGroupsListResponseTypeaccountPermissionGroupsArray); virtual;
  705. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  706. //2.6.4. bug workaround
  707. {$IFDEF VER2_6}
  708. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  709. {$ENDIF VER2_6}
  710. Public
  711. Published
  712. Property accountPermissionGroups : TAccountPermissionGroupsListResponseTypeaccountPermissionGroupsArray Index 0 Read FaccountPermissionGroups Write SetaccountPermissionGroups;
  713. Property kind : String Index 8 Read Fkind Write Setkind;
  714. end;
  715. TAccountPermissionGroupsListResponseClass = Class of TAccountPermissionGroupsListResponse;
  716. { --------------------------------------------------------------------
  717. TAccountPermissionsListResponse
  718. --------------------------------------------------------------------}
  719. TAccountPermissionsListResponse = Class(TGoogleBaseObject)
  720. Private
  721. FaccountPermissions : TAccountPermissionsListResponseTypeaccountPermissionsArray;
  722. Fkind : String;
  723. Protected
  724. //Property setters
  725. Procedure SetaccountPermissions(AIndex : Integer; const AValue : TAccountPermissionsListResponseTypeaccountPermissionsArray); virtual;
  726. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  727. //2.6.4. bug workaround
  728. {$IFDEF VER2_6}
  729. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  730. {$ENDIF VER2_6}
  731. Public
  732. Published
  733. Property accountPermissions : TAccountPermissionsListResponseTypeaccountPermissionsArray Index 0 Read FaccountPermissions Write SetaccountPermissions;
  734. Property kind : String Index 8 Read Fkind Write Setkind;
  735. end;
  736. TAccountPermissionsListResponseClass = Class of TAccountPermissionsListResponse;
  737. { --------------------------------------------------------------------
  738. TAccountUserProfile
  739. --------------------------------------------------------------------}
  740. TAccountUserProfile = Class(TGoogleBaseObject)
  741. Private
  742. FaccountId : String;
  743. Factive : boolean;
  744. FadvertiserFilter : TObjectFilter;
  745. FcampaignFilter : TObjectFilter;
  746. Fcomments : String;
  747. Femail : String;
  748. Fid : String;
  749. Fkind : String;
  750. Flocale : String;
  751. Fname : String;
  752. FsiteFilter : TObjectFilter;
  753. FsubaccountId : String;
  754. FtraffickerType : String;
  755. FuserAccessType : String;
  756. FuserRoleFilter : TObjectFilter;
  757. FuserRoleId : String;
  758. Protected
  759. //Property setters
  760. Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
  761. Procedure Setactive(AIndex : Integer; const AValue : boolean); virtual;
  762. Procedure SetadvertiserFilter(AIndex : Integer; const AValue : TObjectFilter); virtual;
  763. Procedure SetcampaignFilter(AIndex : Integer; const AValue : TObjectFilter); virtual;
  764. Procedure Setcomments(AIndex : Integer; const AValue : String); virtual;
  765. Procedure Setemail(AIndex : Integer; const AValue : String); virtual;
  766. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  767. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  768. Procedure Setlocale(AIndex : Integer; const AValue : String); virtual;
  769. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  770. Procedure SetsiteFilter(AIndex : Integer; const AValue : TObjectFilter); virtual;
  771. Procedure SetsubaccountId(AIndex : Integer; const AValue : String); virtual;
  772. Procedure SettraffickerType(AIndex : Integer; const AValue : String); virtual;
  773. Procedure SetuserAccessType(AIndex : Integer; const AValue : String); virtual;
  774. Procedure SetuserRoleFilter(AIndex : Integer; const AValue : TObjectFilter); virtual;
  775. Procedure SetuserRoleId(AIndex : Integer; const AValue : String); virtual;
  776. Public
  777. Published
  778. Property accountId : String Index 0 Read FaccountId Write SetaccountId;
  779. Property active : boolean Index 8 Read Factive Write Setactive;
  780. Property advertiserFilter : TObjectFilter Index 16 Read FadvertiserFilter Write SetadvertiserFilter;
  781. Property campaignFilter : TObjectFilter Index 24 Read FcampaignFilter Write SetcampaignFilter;
  782. Property comments : String Index 32 Read Fcomments Write Setcomments;
  783. Property email : String Index 40 Read Femail Write Setemail;
  784. Property id : String Index 48 Read Fid Write Setid;
  785. Property kind : String Index 56 Read Fkind Write Setkind;
  786. Property locale : String Index 64 Read Flocale Write Setlocale;
  787. Property name : String Index 72 Read Fname Write Setname;
  788. Property siteFilter : TObjectFilter Index 80 Read FsiteFilter Write SetsiteFilter;
  789. Property subaccountId : String Index 88 Read FsubaccountId Write SetsubaccountId;
  790. Property traffickerType : String Index 96 Read FtraffickerType Write SettraffickerType;
  791. Property userAccessType : String Index 104 Read FuserAccessType Write SetuserAccessType;
  792. Property userRoleFilter : TObjectFilter Index 112 Read FuserRoleFilter Write SetuserRoleFilter;
  793. Property userRoleId : String Index 120 Read FuserRoleId Write SetuserRoleId;
  794. end;
  795. TAccountUserProfileClass = Class of TAccountUserProfile;
  796. { --------------------------------------------------------------------
  797. TAccountUserProfilesListResponse
  798. --------------------------------------------------------------------}
  799. TAccountUserProfilesListResponse = Class(TGoogleBaseObject)
  800. Private
  801. FaccountUserProfiles : TAccountUserProfilesListResponseTypeaccountUserProfilesArray;
  802. Fkind : String;
  803. FnextPageToken : String;
  804. Protected
  805. //Property setters
  806. Procedure SetaccountUserProfiles(AIndex : Integer; const AValue : TAccountUserProfilesListResponseTypeaccountUserProfilesArray); virtual;
  807. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  808. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  809. //2.6.4. bug workaround
  810. {$IFDEF VER2_6}
  811. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  812. {$ENDIF VER2_6}
  813. Public
  814. Published
  815. Property accountUserProfiles : TAccountUserProfilesListResponseTypeaccountUserProfilesArray Index 0 Read FaccountUserProfiles Write SetaccountUserProfiles;
  816. Property kind : String Index 8 Read Fkind Write Setkind;
  817. Property nextPageToken : String Index 16 Read FnextPageToken Write SetnextPageToken;
  818. end;
  819. TAccountUserProfilesListResponseClass = Class of TAccountUserProfilesListResponse;
  820. { --------------------------------------------------------------------
  821. TAccountsListResponse
  822. --------------------------------------------------------------------}
  823. TAccountsListResponse = Class(TGoogleBaseObject)
  824. Private
  825. Faccounts : TAccountsListResponseTypeaccountsArray;
  826. Fkind : String;
  827. FnextPageToken : String;
  828. Protected
  829. //Property setters
  830. Procedure Setaccounts(AIndex : Integer; const AValue : TAccountsListResponseTypeaccountsArray); virtual;
  831. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  832. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  833. //2.6.4. bug workaround
  834. {$IFDEF VER2_6}
  835. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  836. {$ENDIF VER2_6}
  837. Public
  838. Published
  839. Property accounts : TAccountsListResponseTypeaccountsArray Index 0 Read Faccounts Write Setaccounts;
  840. Property kind : String Index 8 Read Fkind Write Setkind;
  841. Property nextPageToken : String Index 16 Read FnextPageToken Write SetnextPageToken;
  842. end;
  843. TAccountsListResponseClass = Class of TAccountsListResponse;
  844. { --------------------------------------------------------------------
  845. TActivities
  846. --------------------------------------------------------------------}
  847. TActivities = Class(TGoogleBaseObject)
  848. Private
  849. Ffilters : TActivitiesTypefiltersArray;
  850. Fkind : String;
  851. FmetricNames : TStringArray;
  852. Protected
  853. //Property setters
  854. Procedure Setfilters(AIndex : Integer; const AValue : TActivitiesTypefiltersArray); virtual;
  855. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  856. Procedure SetmetricNames(AIndex : Integer; const AValue : TStringArray); virtual;
  857. //2.6.4. bug workaround
  858. {$IFDEF VER2_6}
  859. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  860. {$ENDIF VER2_6}
  861. Public
  862. Published
  863. Property filters : TActivitiesTypefiltersArray Index 0 Read Ffilters Write Setfilters;
  864. Property kind : String Index 8 Read Fkind Write Setkind;
  865. Property metricNames : TStringArray Index 16 Read FmetricNames Write SetmetricNames;
  866. end;
  867. TActivitiesClass = Class of TActivities;
  868. { --------------------------------------------------------------------
  869. TAd
  870. --------------------------------------------------------------------}
  871. TAd = Class(TGoogleBaseObject)
  872. Private
  873. FaccountId : String;
  874. Factive : boolean;
  875. FadvertiserId : String;
  876. FadvertiserIdDimensionValue : TDimensionValue;
  877. Farchived : boolean;
  878. FaudienceSegmentId : String;
  879. FcampaignId : String;
  880. FcampaignIdDimensionValue : TDimensionValue;
  881. FclickThroughUrl : TClickThroughUrl;
  882. FclickThroughUrlSuffixProperties : TClickThroughUrlSuffixProperties;
  883. Fcomments : String;
  884. Fcompatibility : String;
  885. FcreateInfo : TLastModifiedInfo;
  886. FcreativeGroupAssignments : TAdTypecreativeGroupAssignmentsArray;
  887. FcreativeRotation : TCreativeRotation;
  888. FdayPartTargeting : TDayPartTargeting;
  889. FdefaultClickThroughEventTagProperties : TDefaultClickThroughEventTagProperties;
  890. FdeliverySchedule : TDeliverySchedule;
  891. FdynamicClickTracker : boolean;
  892. FendTime : TDatetime;
  893. FeventTagOverrides : TAdTypeeventTagOverridesArray;
  894. FgeoTargeting : TGeoTargeting;
  895. Fid : String;
  896. FidDimensionValue : TDimensionValue;
  897. FkeyValueTargetingExpression : TKeyValueTargetingExpression;
  898. Fkind : String;
  899. FlastModifiedInfo : TLastModifiedInfo;
  900. Fname : String;
  901. FplacementAssignments : TAdTypeplacementAssignmentsArray;
  902. FremarketingListExpression : TListTargetingExpression;
  903. Fsize : TSize;
  904. FsslCompliant : boolean;
  905. FsslRequired : boolean;
  906. FstartTime : TDatetime;
  907. FsubaccountId : String;
  908. FtechnologyTargeting : TTechnologyTargeting;
  909. F_type : String;
  910. Protected
  911. Class Function ExportPropertyName(Const AName : String) : string; override;
  912. //Property setters
  913. Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
  914. Procedure Setactive(AIndex : Integer; const AValue : boolean); virtual;
  915. Procedure SetadvertiserId(AIndex : Integer; const AValue : String); virtual;
  916. Procedure SetadvertiserIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue); virtual;
  917. Procedure Setarchived(AIndex : Integer; const AValue : boolean); virtual;
  918. Procedure SetaudienceSegmentId(AIndex : Integer; const AValue : String); virtual;
  919. Procedure SetcampaignId(AIndex : Integer; const AValue : String); virtual;
  920. Procedure SetcampaignIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue); virtual;
  921. Procedure SetclickThroughUrl(AIndex : Integer; const AValue : TClickThroughUrl); virtual;
  922. Procedure SetclickThroughUrlSuffixProperties(AIndex : Integer; const AValue : TClickThroughUrlSuffixProperties); virtual;
  923. Procedure Setcomments(AIndex : Integer; const AValue : String); virtual;
  924. Procedure Setcompatibility(AIndex : Integer; const AValue : String); virtual;
  925. Procedure SetcreateInfo(AIndex : Integer; const AValue : TLastModifiedInfo); virtual;
  926. Procedure SetcreativeGroupAssignments(AIndex : Integer; const AValue : TAdTypecreativeGroupAssignmentsArray); virtual;
  927. Procedure SetcreativeRotation(AIndex : Integer; const AValue : TCreativeRotation); virtual;
  928. Procedure SetdayPartTargeting(AIndex : Integer; const AValue : TDayPartTargeting); virtual;
  929. Procedure SetdefaultClickThroughEventTagProperties(AIndex : Integer; const AValue : TDefaultClickThroughEventTagProperties); virtual;
  930. Procedure SetdeliverySchedule(AIndex : Integer; const AValue : TDeliverySchedule); virtual;
  931. Procedure SetdynamicClickTracker(AIndex : Integer; const AValue : boolean); virtual;
  932. Procedure SetendTime(AIndex : Integer; const AValue : TDatetime); virtual;
  933. Procedure SeteventTagOverrides(AIndex : Integer; const AValue : TAdTypeeventTagOverridesArray); virtual;
  934. Procedure SetgeoTargeting(AIndex : Integer; const AValue : TGeoTargeting); virtual;
  935. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  936. Procedure SetidDimensionValue(AIndex : Integer; const AValue : TDimensionValue); virtual;
  937. Procedure SetkeyValueTargetingExpression(AIndex : Integer; const AValue : TKeyValueTargetingExpression); virtual;
  938. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  939. Procedure SetlastModifiedInfo(AIndex : Integer; const AValue : TLastModifiedInfo); virtual;
  940. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  941. Procedure SetplacementAssignments(AIndex : Integer; const AValue : TAdTypeplacementAssignmentsArray); virtual;
  942. Procedure SetremarketingListExpression(AIndex : Integer; const AValue : TListTargetingExpression); virtual;
  943. Procedure Setsize(AIndex : Integer; const AValue : TSize); virtual;
  944. Procedure SetsslCompliant(AIndex : Integer; const AValue : boolean); virtual;
  945. Procedure SetsslRequired(AIndex : Integer; const AValue : boolean); virtual;
  946. Procedure SetstartTime(AIndex : Integer; const AValue : TDatetime); virtual;
  947. Procedure SetsubaccountId(AIndex : Integer; const AValue : String); virtual;
  948. Procedure SettechnologyTargeting(AIndex : Integer; const AValue : TTechnologyTargeting); virtual;
  949. Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
  950. //2.6.4. bug workaround
  951. {$IFDEF VER2_6}
  952. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  953. {$ENDIF VER2_6}
  954. Public
  955. Published
  956. Property accountId : String Index 0 Read FaccountId Write SetaccountId;
  957. Property active : boolean Index 8 Read Factive Write Setactive;
  958. Property advertiserId : String Index 16 Read FadvertiserId Write SetadvertiserId;
  959. Property advertiserIdDimensionValue : TDimensionValue Index 24 Read FadvertiserIdDimensionValue Write SetadvertiserIdDimensionValue;
  960. Property archived : boolean Index 32 Read Farchived Write Setarchived;
  961. Property audienceSegmentId : String Index 40 Read FaudienceSegmentId Write SetaudienceSegmentId;
  962. Property campaignId : String Index 48 Read FcampaignId Write SetcampaignId;
  963. Property campaignIdDimensionValue : TDimensionValue Index 56 Read FcampaignIdDimensionValue Write SetcampaignIdDimensionValue;
  964. Property clickThroughUrl : TClickThroughUrl Index 64 Read FclickThroughUrl Write SetclickThroughUrl;
  965. Property clickThroughUrlSuffixProperties : TClickThroughUrlSuffixProperties Index 72 Read FclickThroughUrlSuffixProperties Write SetclickThroughUrlSuffixProperties;
  966. Property comments : String Index 80 Read Fcomments Write Setcomments;
  967. Property compatibility : String Index 88 Read Fcompatibility Write Setcompatibility;
  968. Property createInfo : TLastModifiedInfo Index 96 Read FcreateInfo Write SetcreateInfo;
  969. Property creativeGroupAssignments : TAdTypecreativeGroupAssignmentsArray Index 104 Read FcreativeGroupAssignments Write SetcreativeGroupAssignments;
  970. Property creativeRotation : TCreativeRotation Index 112 Read FcreativeRotation Write SetcreativeRotation;
  971. Property dayPartTargeting : TDayPartTargeting Index 120 Read FdayPartTargeting Write SetdayPartTargeting;
  972. Property defaultClickThroughEventTagProperties : TDefaultClickThroughEventTagProperties Index 128 Read FdefaultClickThroughEventTagProperties Write SetdefaultClickThroughEventTagProperties;
  973. Property deliverySchedule : TDeliverySchedule Index 136 Read FdeliverySchedule Write SetdeliverySchedule;
  974. Property dynamicClickTracker : boolean Index 144 Read FdynamicClickTracker Write SetdynamicClickTracker;
  975. Property endTime : TDatetime Index 152 Read FendTime Write SetendTime;
  976. Property eventTagOverrides : TAdTypeeventTagOverridesArray Index 160 Read FeventTagOverrides Write SeteventTagOverrides;
  977. Property geoTargeting : TGeoTargeting Index 168 Read FgeoTargeting Write SetgeoTargeting;
  978. Property id : String Index 176 Read Fid Write Setid;
  979. Property idDimensionValue : TDimensionValue Index 184 Read FidDimensionValue Write SetidDimensionValue;
  980. Property keyValueTargetingExpression : TKeyValueTargetingExpression Index 192 Read FkeyValueTargetingExpression Write SetkeyValueTargetingExpression;
  981. Property kind : String Index 200 Read Fkind Write Setkind;
  982. Property lastModifiedInfo : TLastModifiedInfo Index 208 Read FlastModifiedInfo Write SetlastModifiedInfo;
  983. Property name : String Index 216 Read Fname Write Setname;
  984. Property placementAssignments : TAdTypeplacementAssignmentsArray Index 224 Read FplacementAssignments Write SetplacementAssignments;
  985. Property remarketingListExpression : TListTargetingExpression Index 232 Read FremarketingListExpression Write SetremarketingListExpression;
  986. Property size : TSize Index 240 Read Fsize Write Setsize;
  987. Property sslCompliant : boolean Index 248 Read FsslCompliant Write SetsslCompliant;
  988. Property sslRequired : boolean Index 256 Read FsslRequired Write SetsslRequired;
  989. Property startTime : TDatetime Index 264 Read FstartTime Write SetstartTime;
  990. Property subaccountId : String Index 272 Read FsubaccountId Write SetsubaccountId;
  991. Property technologyTargeting : TTechnologyTargeting Index 280 Read FtechnologyTargeting Write SettechnologyTargeting;
  992. Property _type : String Index 288 Read F_type Write Set_type;
  993. end;
  994. TAdClass = Class of TAd;
  995. { --------------------------------------------------------------------
  996. TAdSlot
  997. --------------------------------------------------------------------}
  998. TAdSlot = Class(TGoogleBaseObject)
  999. Private
  1000. Fcomment : String;
  1001. Fcompatibility : String;
  1002. Fheight : String;
  1003. FlinkedPlacementId : String;
  1004. Fname : String;
  1005. FpaymentSourceType : String;
  1006. Fprimary : boolean;
  1007. Fwidth : String;
  1008. Protected
  1009. //Property setters
  1010. Procedure Setcomment(AIndex : Integer; const AValue : String); virtual;
  1011. Procedure Setcompatibility(AIndex : Integer; const AValue : String); virtual;
  1012. Procedure Setheight(AIndex : Integer; const AValue : String); virtual;
  1013. Procedure SetlinkedPlacementId(AIndex : Integer; const AValue : String); virtual;
  1014. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  1015. Procedure SetpaymentSourceType(AIndex : Integer; const AValue : String); virtual;
  1016. Procedure Setprimary(AIndex : Integer; const AValue : boolean); virtual;
  1017. Procedure Setwidth(AIndex : Integer; const AValue : String); virtual;
  1018. Public
  1019. Published
  1020. Property comment : String Index 0 Read Fcomment Write Setcomment;
  1021. Property compatibility : String Index 8 Read Fcompatibility Write Setcompatibility;
  1022. Property height : String Index 16 Read Fheight Write Setheight;
  1023. Property linkedPlacementId : String Index 24 Read FlinkedPlacementId Write SetlinkedPlacementId;
  1024. Property name : String Index 32 Read Fname Write Setname;
  1025. Property paymentSourceType : String Index 40 Read FpaymentSourceType Write SetpaymentSourceType;
  1026. Property primary : boolean Index 48 Read Fprimary Write Setprimary;
  1027. Property width : String Index 56 Read Fwidth Write Setwidth;
  1028. end;
  1029. TAdSlotClass = Class of TAdSlot;
  1030. { --------------------------------------------------------------------
  1031. TAdsListResponse
  1032. --------------------------------------------------------------------}
  1033. TAdsListResponse = Class(TGoogleBaseObject)
  1034. Private
  1035. Fads : TAdsListResponseTypeadsArray;
  1036. Fkind : String;
  1037. FnextPageToken : String;
  1038. Protected
  1039. //Property setters
  1040. Procedure Setads(AIndex : Integer; const AValue : TAdsListResponseTypeadsArray); virtual;
  1041. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1042. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  1043. //2.6.4. bug workaround
  1044. {$IFDEF VER2_6}
  1045. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1046. {$ENDIF VER2_6}
  1047. Public
  1048. Published
  1049. Property ads : TAdsListResponseTypeadsArray Index 0 Read Fads Write Setads;
  1050. Property kind : String Index 8 Read Fkind Write Setkind;
  1051. Property nextPageToken : String Index 16 Read FnextPageToken Write SetnextPageToken;
  1052. end;
  1053. TAdsListResponseClass = Class of TAdsListResponse;
  1054. { --------------------------------------------------------------------
  1055. TAdvertiser
  1056. --------------------------------------------------------------------}
  1057. TAdvertiser = Class(TGoogleBaseObject)
  1058. Private
  1059. FaccountId : String;
  1060. FadvertiserGroupId : String;
  1061. FclickThroughUrlSuffix : String;
  1062. FdefaultClickThroughEventTagId : String;
  1063. FdefaultEmail : String;
  1064. FfloodlightConfigurationId : String;
  1065. FfloodlightConfigurationIdDimensionValue : TDimensionValue;
  1066. Fid : String;
  1067. FidDimensionValue : TDimensionValue;
  1068. Fkind : String;
  1069. Fname : String;
  1070. ForiginalFloodlightConfigurationId : String;
  1071. Fstatus : String;
  1072. FsubaccountId : String;
  1073. Fsuspended : boolean;
  1074. Protected
  1075. //Property setters
  1076. Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
  1077. Procedure SetadvertiserGroupId(AIndex : Integer; const AValue : String); virtual;
  1078. Procedure SetclickThroughUrlSuffix(AIndex : Integer; const AValue : String); virtual;
  1079. Procedure SetdefaultClickThroughEventTagId(AIndex : Integer; const AValue : String); virtual;
  1080. Procedure SetdefaultEmail(AIndex : Integer; const AValue : String); virtual;
  1081. Procedure SetfloodlightConfigurationId(AIndex : Integer; const AValue : String); virtual;
  1082. Procedure SetfloodlightConfigurationIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue); virtual;
  1083. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  1084. Procedure SetidDimensionValue(AIndex : Integer; const AValue : TDimensionValue); virtual;
  1085. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1086. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  1087. Procedure SetoriginalFloodlightConfigurationId(AIndex : Integer; const AValue : String); virtual;
  1088. Procedure Setstatus(AIndex : Integer; const AValue : String); virtual;
  1089. Procedure SetsubaccountId(AIndex : Integer; const AValue : String); virtual;
  1090. Procedure Setsuspended(AIndex : Integer; const AValue : boolean); virtual;
  1091. Public
  1092. Published
  1093. Property accountId : String Index 0 Read FaccountId Write SetaccountId;
  1094. Property advertiserGroupId : String Index 8 Read FadvertiserGroupId Write SetadvertiserGroupId;
  1095. Property clickThroughUrlSuffix : String Index 16 Read FclickThroughUrlSuffix Write SetclickThroughUrlSuffix;
  1096. Property defaultClickThroughEventTagId : String Index 24 Read FdefaultClickThroughEventTagId Write SetdefaultClickThroughEventTagId;
  1097. Property defaultEmail : String Index 32 Read FdefaultEmail Write SetdefaultEmail;
  1098. Property floodlightConfigurationId : String Index 40 Read FfloodlightConfigurationId Write SetfloodlightConfigurationId;
  1099. Property floodlightConfigurationIdDimensionValue : TDimensionValue Index 48 Read FfloodlightConfigurationIdDimensionValue Write SetfloodlightConfigurationIdDimensionValue;
  1100. Property id : String Index 56 Read Fid Write Setid;
  1101. Property idDimensionValue : TDimensionValue Index 64 Read FidDimensionValue Write SetidDimensionValue;
  1102. Property kind : String Index 72 Read Fkind Write Setkind;
  1103. Property name : String Index 80 Read Fname Write Setname;
  1104. Property originalFloodlightConfigurationId : String Index 88 Read ForiginalFloodlightConfigurationId Write SetoriginalFloodlightConfigurationId;
  1105. Property status : String Index 96 Read Fstatus Write Setstatus;
  1106. Property subaccountId : String Index 104 Read FsubaccountId Write SetsubaccountId;
  1107. Property suspended : boolean Index 112 Read Fsuspended Write Setsuspended;
  1108. end;
  1109. TAdvertiserClass = Class of TAdvertiser;
  1110. { --------------------------------------------------------------------
  1111. TAdvertiserGroup
  1112. --------------------------------------------------------------------}
  1113. TAdvertiserGroup = Class(TGoogleBaseObject)
  1114. Private
  1115. FaccountId : String;
  1116. Fid : String;
  1117. Fkind : String;
  1118. Fname : String;
  1119. Protected
  1120. //Property setters
  1121. Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
  1122. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  1123. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1124. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  1125. Public
  1126. Published
  1127. Property accountId : String Index 0 Read FaccountId Write SetaccountId;
  1128. Property id : String Index 8 Read Fid Write Setid;
  1129. Property kind : String Index 16 Read Fkind Write Setkind;
  1130. Property name : String Index 24 Read Fname Write Setname;
  1131. end;
  1132. TAdvertiserGroupClass = Class of TAdvertiserGroup;
  1133. { --------------------------------------------------------------------
  1134. TAdvertiserGroupsListResponse
  1135. --------------------------------------------------------------------}
  1136. TAdvertiserGroupsListResponse = Class(TGoogleBaseObject)
  1137. Private
  1138. FadvertiserGroups : TAdvertiserGroupsListResponseTypeadvertiserGroupsArray;
  1139. Fkind : String;
  1140. FnextPageToken : String;
  1141. Protected
  1142. //Property setters
  1143. Procedure SetadvertiserGroups(AIndex : Integer; const AValue : TAdvertiserGroupsListResponseTypeadvertiserGroupsArray); virtual;
  1144. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1145. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  1146. //2.6.4. bug workaround
  1147. {$IFDEF VER2_6}
  1148. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1149. {$ENDIF VER2_6}
  1150. Public
  1151. Published
  1152. Property advertiserGroups : TAdvertiserGroupsListResponseTypeadvertiserGroupsArray Index 0 Read FadvertiserGroups Write SetadvertiserGroups;
  1153. Property kind : String Index 8 Read Fkind Write Setkind;
  1154. Property nextPageToken : String Index 16 Read FnextPageToken Write SetnextPageToken;
  1155. end;
  1156. TAdvertiserGroupsListResponseClass = Class of TAdvertiserGroupsListResponse;
  1157. { --------------------------------------------------------------------
  1158. TAdvertisersListResponse
  1159. --------------------------------------------------------------------}
  1160. TAdvertisersListResponse = Class(TGoogleBaseObject)
  1161. Private
  1162. Fadvertisers : TAdvertisersListResponseTypeadvertisersArray;
  1163. Fkind : String;
  1164. FnextPageToken : String;
  1165. Protected
  1166. //Property setters
  1167. Procedure Setadvertisers(AIndex : Integer; const AValue : TAdvertisersListResponseTypeadvertisersArray); virtual;
  1168. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1169. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  1170. //2.6.4. bug workaround
  1171. {$IFDEF VER2_6}
  1172. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1173. {$ENDIF VER2_6}
  1174. Public
  1175. Published
  1176. Property advertisers : TAdvertisersListResponseTypeadvertisersArray Index 0 Read Fadvertisers Write Setadvertisers;
  1177. Property kind : String Index 8 Read Fkind Write Setkind;
  1178. Property nextPageToken : String Index 16 Read FnextPageToken Write SetnextPageToken;
  1179. end;
  1180. TAdvertisersListResponseClass = Class of TAdvertisersListResponse;
  1181. { --------------------------------------------------------------------
  1182. TAudienceSegment
  1183. --------------------------------------------------------------------}
  1184. TAudienceSegment = Class(TGoogleBaseObject)
  1185. Private
  1186. Fallocation : integer;
  1187. Fid : String;
  1188. Fname : String;
  1189. Protected
  1190. //Property setters
  1191. Procedure Setallocation(AIndex : Integer; const AValue : integer); virtual;
  1192. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  1193. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  1194. Public
  1195. Published
  1196. Property allocation : integer Index 0 Read Fallocation Write Setallocation;
  1197. Property id : String Index 8 Read Fid Write Setid;
  1198. Property name : String Index 16 Read Fname Write Setname;
  1199. end;
  1200. TAudienceSegmentClass = Class of TAudienceSegment;
  1201. { --------------------------------------------------------------------
  1202. TAudienceSegmentGroup
  1203. --------------------------------------------------------------------}
  1204. TAudienceSegmentGroup = Class(TGoogleBaseObject)
  1205. Private
  1206. FaudienceSegments : TAudienceSegmentGroupTypeaudienceSegmentsArray;
  1207. Fid : String;
  1208. Fname : String;
  1209. Protected
  1210. //Property setters
  1211. Procedure SetaudienceSegments(AIndex : Integer; const AValue : TAudienceSegmentGroupTypeaudienceSegmentsArray); virtual;
  1212. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  1213. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  1214. //2.6.4. bug workaround
  1215. {$IFDEF VER2_6}
  1216. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1217. {$ENDIF VER2_6}
  1218. Public
  1219. Published
  1220. Property audienceSegments : TAudienceSegmentGroupTypeaudienceSegmentsArray Index 0 Read FaudienceSegments Write SetaudienceSegments;
  1221. Property id : String Index 8 Read Fid Write Setid;
  1222. Property name : String Index 16 Read Fname Write Setname;
  1223. end;
  1224. TAudienceSegmentGroupClass = Class of TAudienceSegmentGroup;
  1225. { --------------------------------------------------------------------
  1226. TBrowser
  1227. --------------------------------------------------------------------}
  1228. TBrowser = Class(TGoogleBaseObject)
  1229. Private
  1230. FbrowserVersionId : String;
  1231. FdartId : String;
  1232. Fkind : String;
  1233. FmajorVersion : String;
  1234. FminorVersion : String;
  1235. Fname : String;
  1236. Protected
  1237. //Property setters
  1238. Procedure SetbrowserVersionId(AIndex : Integer; const AValue : String); virtual;
  1239. Procedure SetdartId(AIndex : Integer; const AValue : String); virtual;
  1240. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1241. Procedure SetmajorVersion(AIndex : Integer; const AValue : String); virtual;
  1242. Procedure SetminorVersion(AIndex : Integer; const AValue : String); virtual;
  1243. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  1244. Public
  1245. Published
  1246. Property browserVersionId : String Index 0 Read FbrowserVersionId Write SetbrowserVersionId;
  1247. Property dartId : String Index 8 Read FdartId Write SetdartId;
  1248. Property kind : String Index 16 Read Fkind Write Setkind;
  1249. Property majorVersion : String Index 24 Read FmajorVersion Write SetmajorVersion;
  1250. Property minorVersion : String Index 32 Read FminorVersion Write SetminorVersion;
  1251. Property name : String Index 40 Read Fname Write Setname;
  1252. end;
  1253. TBrowserClass = Class of TBrowser;
  1254. { --------------------------------------------------------------------
  1255. TBrowsersListResponse
  1256. --------------------------------------------------------------------}
  1257. TBrowsersListResponse = Class(TGoogleBaseObject)
  1258. Private
  1259. Fbrowsers : TBrowsersListResponseTypebrowsersArray;
  1260. Fkind : String;
  1261. Protected
  1262. //Property setters
  1263. Procedure Setbrowsers(AIndex : Integer; const AValue : TBrowsersListResponseTypebrowsersArray); virtual;
  1264. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1265. //2.6.4. bug workaround
  1266. {$IFDEF VER2_6}
  1267. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1268. {$ENDIF VER2_6}
  1269. Public
  1270. Published
  1271. Property browsers : TBrowsersListResponseTypebrowsersArray Index 0 Read Fbrowsers Write Setbrowsers;
  1272. Property kind : String Index 8 Read Fkind Write Setkind;
  1273. end;
  1274. TBrowsersListResponseClass = Class of TBrowsersListResponse;
  1275. { --------------------------------------------------------------------
  1276. TCampaign
  1277. --------------------------------------------------------------------}
  1278. TCampaign = Class(TGoogleBaseObject)
  1279. Private
  1280. FaccountId : String;
  1281. FadditionalCreativeOptimizationConfigurations : TCampaignTypeadditionalCreativeOptimizationConfigurationsArray;
  1282. FadvertiserGroupId : String;
  1283. FadvertiserId : String;
  1284. FadvertiserIdDimensionValue : TDimensionValue;
  1285. Farchived : boolean;
  1286. FaudienceSegmentGroups : TCampaignTypeaudienceSegmentGroupsArray;
  1287. FbillingInvoiceCode : String;
  1288. FclickThroughUrlSuffixProperties : TClickThroughUrlSuffixProperties;
  1289. Fcomment : String;
  1290. FcomscoreVceEnabled : boolean;
  1291. FcreateInfo : TLastModifiedInfo;
  1292. FcreativeGroupIds : TStringArray;
  1293. FcreativeOptimizationConfiguration : TCreativeOptimizationConfiguration;
  1294. FdefaultClickThroughEventTagProperties : TDefaultClickThroughEventTagProperties;
  1295. FendDate : TDate;
  1296. FeventTagOverrides : TCampaignTypeeventTagOverridesArray;
  1297. FexternalId : String;
  1298. Fid : String;
  1299. FidDimensionValue : TDimensionValue;
  1300. Fkind : String;
  1301. FlastModifiedInfo : TLastModifiedInfo;
  1302. FlookbackConfiguration : TLookbackConfiguration;
  1303. Fname : String;
  1304. FnielsenOcrEnabled : boolean;
  1305. FstartDate : TDate;
  1306. FsubaccountId : String;
  1307. FtraffickerEmails : TStringArray;
  1308. Protected
  1309. //Property setters
  1310. Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
  1311. Procedure SetadditionalCreativeOptimizationConfigurations(AIndex : Integer; const AValue : TCampaignTypeadditionalCreativeOptimizationConfigurationsArray); virtual;
  1312. Procedure SetadvertiserGroupId(AIndex : Integer; const AValue : String); virtual;
  1313. Procedure SetadvertiserId(AIndex : Integer; const AValue : String); virtual;
  1314. Procedure SetadvertiserIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue); virtual;
  1315. Procedure Setarchived(AIndex : Integer; const AValue : boolean); virtual;
  1316. Procedure SetaudienceSegmentGroups(AIndex : Integer; const AValue : TCampaignTypeaudienceSegmentGroupsArray); virtual;
  1317. Procedure SetbillingInvoiceCode(AIndex : Integer; const AValue : String); virtual;
  1318. Procedure SetclickThroughUrlSuffixProperties(AIndex : Integer; const AValue : TClickThroughUrlSuffixProperties); virtual;
  1319. Procedure Setcomment(AIndex : Integer; const AValue : String); virtual;
  1320. Procedure SetcomscoreVceEnabled(AIndex : Integer; const AValue : boolean); virtual;
  1321. Procedure SetcreateInfo(AIndex : Integer; const AValue : TLastModifiedInfo); virtual;
  1322. Procedure SetcreativeGroupIds(AIndex : Integer; const AValue : TStringArray); virtual;
  1323. Procedure SetcreativeOptimizationConfiguration(AIndex : Integer; const AValue : TCreativeOptimizationConfiguration); virtual;
  1324. Procedure SetdefaultClickThroughEventTagProperties(AIndex : Integer; const AValue : TDefaultClickThroughEventTagProperties); virtual;
  1325. Procedure SetendDate(AIndex : Integer; const AValue : TDate); virtual;
  1326. Procedure SeteventTagOverrides(AIndex : Integer; const AValue : TCampaignTypeeventTagOverridesArray); virtual;
  1327. Procedure SetexternalId(AIndex : Integer; const AValue : String); virtual;
  1328. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  1329. Procedure SetidDimensionValue(AIndex : Integer; const AValue : TDimensionValue); virtual;
  1330. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1331. Procedure SetlastModifiedInfo(AIndex : Integer; const AValue : TLastModifiedInfo); virtual;
  1332. Procedure SetlookbackConfiguration(AIndex : Integer; const AValue : TLookbackConfiguration); virtual;
  1333. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  1334. Procedure SetnielsenOcrEnabled(AIndex : Integer; const AValue : boolean); virtual;
  1335. Procedure SetstartDate(AIndex : Integer; const AValue : TDate); virtual;
  1336. Procedure SetsubaccountId(AIndex : Integer; const AValue : String); virtual;
  1337. Procedure SettraffickerEmails(AIndex : Integer; const AValue : TStringArray); virtual;
  1338. //2.6.4. bug workaround
  1339. {$IFDEF VER2_6}
  1340. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1341. {$ENDIF VER2_6}
  1342. Public
  1343. Published
  1344. Property accountId : String Index 0 Read FaccountId Write SetaccountId;
  1345. Property additionalCreativeOptimizationConfigurations : TCampaignTypeadditionalCreativeOptimizationConfigurationsArray Index 8 Read FadditionalCreativeOptimizationConfigurations Write SetadditionalCreativeOptimizationConfigurations;
  1346. Property advertiserGroupId : String Index 16 Read FadvertiserGroupId Write SetadvertiserGroupId;
  1347. Property advertiserId : String Index 24 Read FadvertiserId Write SetadvertiserId;
  1348. Property advertiserIdDimensionValue : TDimensionValue Index 32 Read FadvertiserIdDimensionValue Write SetadvertiserIdDimensionValue;
  1349. Property archived : boolean Index 40 Read Farchived Write Setarchived;
  1350. Property audienceSegmentGroups : TCampaignTypeaudienceSegmentGroupsArray Index 48 Read FaudienceSegmentGroups Write SetaudienceSegmentGroups;
  1351. Property billingInvoiceCode : String Index 56 Read FbillingInvoiceCode Write SetbillingInvoiceCode;
  1352. Property clickThroughUrlSuffixProperties : TClickThroughUrlSuffixProperties Index 64 Read FclickThroughUrlSuffixProperties Write SetclickThroughUrlSuffixProperties;
  1353. Property comment : String Index 72 Read Fcomment Write Setcomment;
  1354. Property comscoreVceEnabled : boolean Index 80 Read FcomscoreVceEnabled Write SetcomscoreVceEnabled;
  1355. Property createInfo : TLastModifiedInfo Index 88 Read FcreateInfo Write SetcreateInfo;
  1356. Property creativeGroupIds : TStringArray Index 96 Read FcreativeGroupIds Write SetcreativeGroupIds;
  1357. Property creativeOptimizationConfiguration : TCreativeOptimizationConfiguration Index 104 Read FcreativeOptimizationConfiguration Write SetcreativeOptimizationConfiguration;
  1358. Property defaultClickThroughEventTagProperties : TDefaultClickThroughEventTagProperties Index 112 Read FdefaultClickThroughEventTagProperties Write SetdefaultClickThroughEventTagProperties;
  1359. Property endDate : TDate Index 120 Read FendDate Write SetendDate;
  1360. Property eventTagOverrides : TCampaignTypeeventTagOverridesArray Index 128 Read FeventTagOverrides Write SeteventTagOverrides;
  1361. Property externalId : String Index 136 Read FexternalId Write SetexternalId;
  1362. Property id : String Index 144 Read Fid Write Setid;
  1363. Property idDimensionValue : TDimensionValue Index 152 Read FidDimensionValue Write SetidDimensionValue;
  1364. Property kind : String Index 160 Read Fkind Write Setkind;
  1365. Property lastModifiedInfo : TLastModifiedInfo Index 168 Read FlastModifiedInfo Write SetlastModifiedInfo;
  1366. Property lookbackConfiguration : TLookbackConfiguration Index 176 Read FlookbackConfiguration Write SetlookbackConfiguration;
  1367. Property name : String Index 184 Read Fname Write Setname;
  1368. Property nielsenOcrEnabled : boolean Index 192 Read FnielsenOcrEnabled Write SetnielsenOcrEnabled;
  1369. Property startDate : TDate Index 200 Read FstartDate Write SetstartDate;
  1370. Property subaccountId : String Index 208 Read FsubaccountId Write SetsubaccountId;
  1371. Property traffickerEmails : TStringArray Index 216 Read FtraffickerEmails Write SettraffickerEmails;
  1372. end;
  1373. TCampaignClass = Class of TCampaign;
  1374. { --------------------------------------------------------------------
  1375. TCampaignCreativeAssociation
  1376. --------------------------------------------------------------------}
  1377. TCampaignCreativeAssociation = Class(TGoogleBaseObject)
  1378. Private
  1379. FcreativeId : String;
  1380. Fkind : String;
  1381. Protected
  1382. //Property setters
  1383. Procedure SetcreativeId(AIndex : Integer; const AValue : String); virtual;
  1384. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1385. Public
  1386. Published
  1387. Property creativeId : String Index 0 Read FcreativeId Write SetcreativeId;
  1388. Property kind : String Index 8 Read Fkind Write Setkind;
  1389. end;
  1390. TCampaignCreativeAssociationClass = Class of TCampaignCreativeAssociation;
  1391. { --------------------------------------------------------------------
  1392. TCampaignCreativeAssociationsListResponse
  1393. --------------------------------------------------------------------}
  1394. TCampaignCreativeAssociationsListResponse = Class(TGoogleBaseObject)
  1395. Private
  1396. FcampaignCreativeAssociations : TCampaignCreativeAssociationsListResponseTypecampaignCreativeAssociationsArray;
  1397. Fkind : String;
  1398. FnextPageToken : String;
  1399. Protected
  1400. //Property setters
  1401. Procedure SetcampaignCreativeAssociations(AIndex : Integer; const AValue : TCampaignCreativeAssociationsListResponseTypecampaignCreativeAssociationsArray); virtual;
  1402. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1403. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  1404. //2.6.4. bug workaround
  1405. {$IFDEF VER2_6}
  1406. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1407. {$ENDIF VER2_6}
  1408. Public
  1409. Published
  1410. Property campaignCreativeAssociations : TCampaignCreativeAssociationsListResponseTypecampaignCreativeAssociationsArray Index 0 Read FcampaignCreativeAssociations Write SetcampaignCreativeAssociations;
  1411. Property kind : String Index 8 Read Fkind Write Setkind;
  1412. Property nextPageToken : String Index 16 Read FnextPageToken Write SetnextPageToken;
  1413. end;
  1414. TCampaignCreativeAssociationsListResponseClass = Class of TCampaignCreativeAssociationsListResponse;
  1415. { --------------------------------------------------------------------
  1416. TCampaignsListResponse
  1417. --------------------------------------------------------------------}
  1418. TCampaignsListResponse = Class(TGoogleBaseObject)
  1419. Private
  1420. Fcampaigns : TCampaignsListResponseTypecampaignsArray;
  1421. Fkind : String;
  1422. FnextPageToken : String;
  1423. Protected
  1424. //Property setters
  1425. Procedure Setcampaigns(AIndex : Integer; const AValue : TCampaignsListResponseTypecampaignsArray); virtual;
  1426. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1427. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  1428. //2.6.4. bug workaround
  1429. {$IFDEF VER2_6}
  1430. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1431. {$ENDIF VER2_6}
  1432. Public
  1433. Published
  1434. Property campaigns : TCampaignsListResponseTypecampaignsArray Index 0 Read Fcampaigns Write Setcampaigns;
  1435. Property kind : String Index 8 Read Fkind Write Setkind;
  1436. Property nextPageToken : String Index 16 Read FnextPageToken Write SetnextPageToken;
  1437. end;
  1438. TCampaignsListResponseClass = Class of TCampaignsListResponse;
  1439. { --------------------------------------------------------------------
  1440. TChangeLog
  1441. --------------------------------------------------------------------}
  1442. TChangeLog = Class(TGoogleBaseObject)
  1443. Private
  1444. FaccountId : String;
  1445. Faction : String;
  1446. FchangeTime : TDatetime;
  1447. FfieldName : String;
  1448. Fid : String;
  1449. Fkind : String;
  1450. FnewValue : String;
  1451. FobjectId : String;
  1452. FobjectType : String;
  1453. FoldValue : String;
  1454. FsubaccountId : String;
  1455. FtransactionId : String;
  1456. FuserProfileId : String;
  1457. FuserProfileName : String;
  1458. Protected
  1459. //Property setters
  1460. Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
  1461. Procedure Setaction(AIndex : Integer; const AValue : String); virtual;
  1462. Procedure SetchangeTime(AIndex : Integer; const AValue : TDatetime); virtual;
  1463. Procedure SetfieldName(AIndex : Integer; const AValue : String); virtual;
  1464. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  1465. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1466. Procedure SetnewValue(AIndex : Integer; const AValue : String); virtual;
  1467. Procedure SetobjectId(AIndex : Integer; const AValue : String); virtual;
  1468. Procedure SetobjectType(AIndex : Integer; const AValue : String); virtual;
  1469. Procedure SetoldValue(AIndex : Integer; const AValue : String); virtual;
  1470. Procedure SetsubaccountId(AIndex : Integer; const AValue : String); virtual;
  1471. Procedure SettransactionId(AIndex : Integer; const AValue : String); virtual;
  1472. Procedure SetuserProfileId(AIndex : Integer; const AValue : String); virtual;
  1473. Procedure SetuserProfileName(AIndex : Integer; const AValue : String); virtual;
  1474. Public
  1475. Published
  1476. Property accountId : String Index 0 Read FaccountId Write SetaccountId;
  1477. Property action : String Index 8 Read Faction Write Setaction;
  1478. Property changeTime : TDatetime Index 16 Read FchangeTime Write SetchangeTime;
  1479. Property fieldName : String Index 24 Read FfieldName Write SetfieldName;
  1480. Property id : String Index 32 Read Fid Write Setid;
  1481. Property kind : String Index 40 Read Fkind Write Setkind;
  1482. Property newValue : String Index 48 Read FnewValue Write SetnewValue;
  1483. Property objectId : String Index 56 Read FobjectId Write SetobjectId;
  1484. Property objectType : String Index 64 Read FobjectType Write SetobjectType;
  1485. Property oldValue : String Index 72 Read FoldValue Write SetoldValue;
  1486. Property subaccountId : String Index 80 Read FsubaccountId Write SetsubaccountId;
  1487. Property transactionId : String Index 88 Read FtransactionId Write SettransactionId;
  1488. Property userProfileId : String Index 96 Read FuserProfileId Write SetuserProfileId;
  1489. Property userProfileName : String Index 104 Read FuserProfileName Write SetuserProfileName;
  1490. end;
  1491. TChangeLogClass = Class of TChangeLog;
  1492. { --------------------------------------------------------------------
  1493. TChangeLogsListResponse
  1494. --------------------------------------------------------------------}
  1495. TChangeLogsListResponse = Class(TGoogleBaseObject)
  1496. Private
  1497. FchangeLogs : TChangeLogsListResponseTypechangeLogsArray;
  1498. Fkind : String;
  1499. FnextPageToken : String;
  1500. Protected
  1501. //Property setters
  1502. Procedure SetchangeLogs(AIndex : Integer; const AValue : TChangeLogsListResponseTypechangeLogsArray); virtual;
  1503. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1504. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  1505. //2.6.4. bug workaround
  1506. {$IFDEF VER2_6}
  1507. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1508. {$ENDIF VER2_6}
  1509. Public
  1510. Published
  1511. Property changeLogs : TChangeLogsListResponseTypechangeLogsArray Index 0 Read FchangeLogs Write SetchangeLogs;
  1512. Property kind : String Index 8 Read Fkind Write Setkind;
  1513. Property nextPageToken : String Index 16 Read FnextPageToken Write SetnextPageToken;
  1514. end;
  1515. TChangeLogsListResponseClass = Class of TChangeLogsListResponse;
  1516. { --------------------------------------------------------------------
  1517. TCitiesListResponse
  1518. --------------------------------------------------------------------}
  1519. TCitiesListResponse = Class(TGoogleBaseObject)
  1520. Private
  1521. Fcities : TCitiesListResponseTypecitiesArray;
  1522. Fkind : String;
  1523. Protected
  1524. //Property setters
  1525. Procedure Setcities(AIndex : Integer; const AValue : TCitiesListResponseTypecitiesArray); virtual;
  1526. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1527. //2.6.4. bug workaround
  1528. {$IFDEF VER2_6}
  1529. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1530. {$ENDIF VER2_6}
  1531. Public
  1532. Published
  1533. Property cities : TCitiesListResponseTypecitiesArray Index 0 Read Fcities Write Setcities;
  1534. Property kind : String Index 8 Read Fkind Write Setkind;
  1535. end;
  1536. TCitiesListResponseClass = Class of TCitiesListResponse;
  1537. { --------------------------------------------------------------------
  1538. TCity
  1539. --------------------------------------------------------------------}
  1540. TCity = Class(TGoogleBaseObject)
  1541. Private
  1542. FcountryCode : String;
  1543. FcountryDartId : String;
  1544. FdartId : String;
  1545. Fkind : String;
  1546. FmetroCode : String;
  1547. FmetroDmaId : String;
  1548. Fname : String;
  1549. FregionCode : String;
  1550. FregionDartId : String;
  1551. Protected
  1552. //Property setters
  1553. Procedure SetcountryCode(AIndex : Integer; const AValue : String); virtual;
  1554. Procedure SetcountryDartId(AIndex : Integer; const AValue : String); virtual;
  1555. Procedure SetdartId(AIndex : Integer; const AValue : String); virtual;
  1556. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1557. Procedure SetmetroCode(AIndex : Integer; const AValue : String); virtual;
  1558. Procedure SetmetroDmaId(AIndex : Integer; const AValue : String); virtual;
  1559. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  1560. Procedure SetregionCode(AIndex : Integer; const AValue : String); virtual;
  1561. Procedure SetregionDartId(AIndex : Integer; const AValue : String); virtual;
  1562. Public
  1563. Published
  1564. Property countryCode : String Index 0 Read FcountryCode Write SetcountryCode;
  1565. Property countryDartId : String Index 8 Read FcountryDartId Write SetcountryDartId;
  1566. Property dartId : String Index 16 Read FdartId Write SetdartId;
  1567. Property kind : String Index 24 Read Fkind Write Setkind;
  1568. Property metroCode : String Index 32 Read FmetroCode Write SetmetroCode;
  1569. Property metroDmaId : String Index 40 Read FmetroDmaId Write SetmetroDmaId;
  1570. Property name : String Index 48 Read Fname Write Setname;
  1571. Property regionCode : String Index 56 Read FregionCode Write SetregionCode;
  1572. Property regionDartId : String Index 64 Read FregionDartId Write SetregionDartId;
  1573. end;
  1574. TCityClass = Class of TCity;
  1575. { --------------------------------------------------------------------
  1576. TClickTag
  1577. --------------------------------------------------------------------}
  1578. TClickTag = Class(TGoogleBaseObject)
  1579. Private
  1580. FeventName : String;
  1581. Fname : String;
  1582. Fvalue : String;
  1583. Protected
  1584. //Property setters
  1585. Procedure SeteventName(AIndex : Integer; const AValue : String); virtual;
  1586. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  1587. Procedure Setvalue(AIndex : Integer; const AValue : String); virtual;
  1588. Public
  1589. Published
  1590. Property eventName : String Index 0 Read FeventName Write SeteventName;
  1591. Property name : String Index 8 Read Fname Write Setname;
  1592. Property value : String Index 16 Read Fvalue Write Setvalue;
  1593. end;
  1594. TClickTagClass = Class of TClickTag;
  1595. { --------------------------------------------------------------------
  1596. TClickThroughUrl
  1597. --------------------------------------------------------------------}
  1598. TClickThroughUrl = Class(TGoogleBaseObject)
  1599. Private
  1600. FcomputedClickThroughUrl : String;
  1601. FcustomClickThroughUrl : String;
  1602. FdefaultLandingPage : boolean;
  1603. FlandingPageId : String;
  1604. Protected
  1605. //Property setters
  1606. Procedure SetcomputedClickThroughUrl(AIndex : Integer; const AValue : String); virtual;
  1607. Procedure SetcustomClickThroughUrl(AIndex : Integer; const AValue : String); virtual;
  1608. Procedure SetdefaultLandingPage(AIndex : Integer; const AValue : boolean); virtual;
  1609. Procedure SetlandingPageId(AIndex : Integer; const AValue : String); virtual;
  1610. Public
  1611. Published
  1612. Property computedClickThroughUrl : String Index 0 Read FcomputedClickThroughUrl Write SetcomputedClickThroughUrl;
  1613. Property customClickThroughUrl : String Index 8 Read FcustomClickThroughUrl Write SetcustomClickThroughUrl;
  1614. Property defaultLandingPage : boolean Index 16 Read FdefaultLandingPage Write SetdefaultLandingPage;
  1615. Property landingPageId : String Index 24 Read FlandingPageId Write SetlandingPageId;
  1616. end;
  1617. TClickThroughUrlClass = Class of TClickThroughUrl;
  1618. { --------------------------------------------------------------------
  1619. TClickThroughUrlSuffixProperties
  1620. --------------------------------------------------------------------}
  1621. TClickThroughUrlSuffixProperties = Class(TGoogleBaseObject)
  1622. Private
  1623. FclickThroughUrlSuffix : String;
  1624. FoverrideInheritedSuffix : boolean;
  1625. Protected
  1626. //Property setters
  1627. Procedure SetclickThroughUrlSuffix(AIndex : Integer; const AValue : String); virtual;
  1628. Procedure SetoverrideInheritedSuffix(AIndex : Integer; const AValue : boolean); virtual;
  1629. Public
  1630. Published
  1631. Property clickThroughUrlSuffix : String Index 0 Read FclickThroughUrlSuffix Write SetclickThroughUrlSuffix;
  1632. Property overrideInheritedSuffix : boolean Index 8 Read FoverrideInheritedSuffix Write SetoverrideInheritedSuffix;
  1633. end;
  1634. TClickThroughUrlSuffixPropertiesClass = Class of TClickThroughUrlSuffixProperties;
  1635. { --------------------------------------------------------------------
  1636. TCompanionClickThroughOverride
  1637. --------------------------------------------------------------------}
  1638. TCompanionClickThroughOverride = Class(TGoogleBaseObject)
  1639. Private
  1640. FclickThroughUrl : TClickThroughUrl;
  1641. FcreativeId : String;
  1642. Protected
  1643. //Property setters
  1644. Procedure SetclickThroughUrl(AIndex : Integer; const AValue : TClickThroughUrl); virtual;
  1645. Procedure SetcreativeId(AIndex : Integer; const AValue : String); virtual;
  1646. Public
  1647. Published
  1648. Property clickThroughUrl : TClickThroughUrl Index 0 Read FclickThroughUrl Write SetclickThroughUrl;
  1649. Property creativeId : String Index 8 Read FcreativeId Write SetcreativeId;
  1650. end;
  1651. TCompanionClickThroughOverrideClass = Class of TCompanionClickThroughOverride;
  1652. { --------------------------------------------------------------------
  1653. TCompatibleFields
  1654. --------------------------------------------------------------------}
  1655. TCompatibleFields = Class(TGoogleBaseObject)
  1656. Private
  1657. FcrossDimensionReachReportCompatibleFields : TCrossDimensionReachReportCompatibleFields;
  1658. FfloodlightReportCompatibleFields : TFloodlightReportCompatibleFields;
  1659. Fkind : String;
  1660. FpathToConversionReportCompatibleFields : TPathToConversionReportCompatibleFields;
  1661. FreachReportCompatibleFields : TReachReportCompatibleFields;
  1662. FreportCompatibleFields : TReportCompatibleFields;
  1663. Protected
  1664. //Property setters
  1665. Procedure SetcrossDimensionReachReportCompatibleFields(AIndex : Integer; const AValue : TCrossDimensionReachReportCompatibleFields); virtual;
  1666. Procedure SetfloodlightReportCompatibleFields(AIndex : Integer; const AValue : TFloodlightReportCompatibleFields); virtual;
  1667. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1668. Procedure SetpathToConversionReportCompatibleFields(AIndex : Integer; const AValue : TPathToConversionReportCompatibleFields); virtual;
  1669. Procedure SetreachReportCompatibleFields(AIndex : Integer; const AValue : TReachReportCompatibleFields); virtual;
  1670. Procedure SetreportCompatibleFields(AIndex : Integer; const AValue : TReportCompatibleFields); virtual;
  1671. Public
  1672. Published
  1673. Property crossDimensionReachReportCompatibleFields : TCrossDimensionReachReportCompatibleFields Index 0 Read FcrossDimensionReachReportCompatibleFields Write SetcrossDimensionReachReportCompatibleFields;
  1674. Property floodlightReportCompatibleFields : TFloodlightReportCompatibleFields Index 8 Read FfloodlightReportCompatibleFields Write SetfloodlightReportCompatibleFields;
  1675. Property kind : String Index 16 Read Fkind Write Setkind;
  1676. Property pathToConversionReportCompatibleFields : TPathToConversionReportCompatibleFields Index 24 Read FpathToConversionReportCompatibleFields Write SetpathToConversionReportCompatibleFields;
  1677. Property reachReportCompatibleFields : TReachReportCompatibleFields Index 32 Read FreachReportCompatibleFields Write SetreachReportCompatibleFields;
  1678. Property reportCompatibleFields : TReportCompatibleFields Index 40 Read FreportCompatibleFields Write SetreportCompatibleFields;
  1679. end;
  1680. TCompatibleFieldsClass = Class of TCompatibleFields;
  1681. { --------------------------------------------------------------------
  1682. TConnectionType
  1683. --------------------------------------------------------------------}
  1684. TConnectionType = Class(TGoogleBaseObject)
  1685. Private
  1686. Fid : String;
  1687. Fkind : String;
  1688. Fname : String;
  1689. Protected
  1690. //Property setters
  1691. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  1692. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1693. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  1694. Public
  1695. Published
  1696. Property id : String Index 0 Read Fid Write Setid;
  1697. Property kind : String Index 8 Read Fkind Write Setkind;
  1698. Property name : String Index 16 Read Fname Write Setname;
  1699. end;
  1700. TConnectionTypeClass = Class of TConnectionType;
  1701. { --------------------------------------------------------------------
  1702. TConnectionTypesListResponse
  1703. --------------------------------------------------------------------}
  1704. TConnectionTypesListResponse = Class(TGoogleBaseObject)
  1705. Private
  1706. FconnectionTypes : TConnectionTypesListResponseTypeconnectionTypesArray;
  1707. Fkind : String;
  1708. Protected
  1709. //Property setters
  1710. Procedure SetconnectionTypes(AIndex : Integer; const AValue : TConnectionTypesListResponseTypeconnectionTypesArray); virtual;
  1711. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1712. //2.6.4. bug workaround
  1713. {$IFDEF VER2_6}
  1714. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1715. {$ENDIF VER2_6}
  1716. Public
  1717. Published
  1718. Property connectionTypes : TConnectionTypesListResponseTypeconnectionTypesArray Index 0 Read FconnectionTypes Write SetconnectionTypes;
  1719. Property kind : String Index 8 Read Fkind Write Setkind;
  1720. end;
  1721. TConnectionTypesListResponseClass = Class of TConnectionTypesListResponse;
  1722. { --------------------------------------------------------------------
  1723. TContentCategoriesListResponse
  1724. --------------------------------------------------------------------}
  1725. TContentCategoriesListResponse = Class(TGoogleBaseObject)
  1726. Private
  1727. FcontentCategories : TContentCategoriesListResponseTypecontentCategoriesArray;
  1728. Fkind : String;
  1729. FnextPageToken : String;
  1730. Protected
  1731. //Property setters
  1732. Procedure SetcontentCategories(AIndex : Integer; const AValue : TContentCategoriesListResponseTypecontentCategoriesArray); virtual;
  1733. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1734. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  1735. //2.6.4. bug workaround
  1736. {$IFDEF VER2_6}
  1737. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1738. {$ENDIF VER2_6}
  1739. Public
  1740. Published
  1741. Property contentCategories : TContentCategoriesListResponseTypecontentCategoriesArray Index 0 Read FcontentCategories Write SetcontentCategories;
  1742. Property kind : String Index 8 Read Fkind Write Setkind;
  1743. Property nextPageToken : String Index 16 Read FnextPageToken Write SetnextPageToken;
  1744. end;
  1745. TContentCategoriesListResponseClass = Class of TContentCategoriesListResponse;
  1746. { --------------------------------------------------------------------
  1747. TContentCategory
  1748. --------------------------------------------------------------------}
  1749. TContentCategory = Class(TGoogleBaseObject)
  1750. Private
  1751. FaccountId : String;
  1752. Fid : String;
  1753. Fkind : String;
  1754. Fname : String;
  1755. Protected
  1756. //Property setters
  1757. Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
  1758. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  1759. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1760. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  1761. Public
  1762. Published
  1763. Property accountId : String Index 0 Read FaccountId Write SetaccountId;
  1764. Property id : String Index 8 Read Fid Write Setid;
  1765. Property kind : String Index 16 Read Fkind Write Setkind;
  1766. Property name : String Index 24 Read Fname Write Setname;
  1767. end;
  1768. TContentCategoryClass = Class of TContentCategory;
  1769. { --------------------------------------------------------------------
  1770. TConversion
  1771. --------------------------------------------------------------------}
  1772. TConversion = Class(TGoogleBaseObject)
  1773. Private
  1774. FchildDirectedTreatment : boolean;
  1775. FcustomVariables : TConversionTypecustomVariablesArray;
  1776. FencryptedUserId : String;
  1777. FfloodlightActivityId : String;
  1778. FfloodlightConfigurationId : String;
  1779. Fkind : String;
  1780. FlimitAdTracking : boolean;
  1781. FmobileDeviceId : String;
  1782. Fordinal : String;
  1783. Fquantity : String;
  1784. FtimestampMicros : String;
  1785. Fvalue : double;
  1786. Protected
  1787. //Property setters
  1788. Procedure SetchildDirectedTreatment(AIndex : Integer; const AValue : boolean); virtual;
  1789. Procedure SetcustomVariables(AIndex : Integer; const AValue : TConversionTypecustomVariablesArray); virtual;
  1790. Procedure SetencryptedUserId(AIndex : Integer; const AValue : String); virtual;
  1791. Procedure SetfloodlightActivityId(AIndex : Integer; const AValue : String); virtual;
  1792. Procedure SetfloodlightConfigurationId(AIndex : Integer; const AValue : String); virtual;
  1793. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1794. Procedure SetlimitAdTracking(AIndex : Integer; const AValue : boolean); virtual;
  1795. Procedure SetmobileDeviceId(AIndex : Integer; const AValue : String); virtual;
  1796. Procedure Setordinal(AIndex : Integer; const AValue : String); virtual;
  1797. Procedure Setquantity(AIndex : Integer; const AValue : String); virtual;
  1798. Procedure SettimestampMicros(AIndex : Integer; const AValue : String); virtual;
  1799. Procedure Setvalue(AIndex : Integer; const AValue : double); virtual;
  1800. //2.6.4. bug workaround
  1801. {$IFDEF VER2_6}
  1802. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1803. {$ENDIF VER2_6}
  1804. Public
  1805. Published
  1806. Property childDirectedTreatment : boolean Index 0 Read FchildDirectedTreatment Write SetchildDirectedTreatment;
  1807. Property customVariables : TConversionTypecustomVariablesArray Index 8 Read FcustomVariables Write SetcustomVariables;
  1808. Property encryptedUserId : String Index 16 Read FencryptedUserId Write SetencryptedUserId;
  1809. Property floodlightActivityId : String Index 24 Read FfloodlightActivityId Write SetfloodlightActivityId;
  1810. Property floodlightConfigurationId : String Index 32 Read FfloodlightConfigurationId Write SetfloodlightConfigurationId;
  1811. Property kind : String Index 40 Read Fkind Write Setkind;
  1812. Property limitAdTracking : boolean Index 48 Read FlimitAdTracking Write SetlimitAdTracking;
  1813. Property mobileDeviceId : String Index 56 Read FmobileDeviceId Write SetmobileDeviceId;
  1814. Property ordinal : String Index 64 Read Fordinal Write Setordinal;
  1815. Property quantity : String Index 72 Read Fquantity Write Setquantity;
  1816. Property timestampMicros : String Index 80 Read FtimestampMicros Write SettimestampMicros;
  1817. Property value : double Index 88 Read Fvalue Write Setvalue;
  1818. end;
  1819. TConversionClass = Class of TConversion;
  1820. { --------------------------------------------------------------------
  1821. TConversionError
  1822. --------------------------------------------------------------------}
  1823. TConversionError = Class(TGoogleBaseObject)
  1824. Private
  1825. Fcode : String;
  1826. Fkind : String;
  1827. Fmessage : String;
  1828. Protected
  1829. //Property setters
  1830. Procedure Setcode(AIndex : Integer; const AValue : String); virtual;
  1831. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1832. Procedure Setmessage(AIndex : Integer; const AValue : String); virtual;
  1833. Public
  1834. Published
  1835. Property code : String Index 0 Read Fcode Write Setcode;
  1836. Property kind : String Index 8 Read Fkind Write Setkind;
  1837. Property message : String Index 16 Read Fmessage Write Setmessage;
  1838. end;
  1839. TConversionErrorClass = Class of TConversionError;
  1840. { --------------------------------------------------------------------
  1841. TConversionStatus
  1842. --------------------------------------------------------------------}
  1843. TConversionStatus = Class(TGoogleBaseObject)
  1844. Private
  1845. Fconversion : TConversion;
  1846. Ferrors : TConversionStatusTypeerrorsArray;
  1847. Fkind : String;
  1848. Protected
  1849. //Property setters
  1850. Procedure Setconversion(AIndex : Integer; const AValue : TConversion); virtual;
  1851. Procedure Seterrors(AIndex : Integer; const AValue : TConversionStatusTypeerrorsArray); virtual;
  1852. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1853. //2.6.4. bug workaround
  1854. {$IFDEF VER2_6}
  1855. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1856. {$ENDIF VER2_6}
  1857. Public
  1858. Published
  1859. Property conversion : TConversion Index 0 Read Fconversion Write Setconversion;
  1860. Property errors : TConversionStatusTypeerrorsArray Index 8 Read Ferrors Write Seterrors;
  1861. Property kind : String Index 16 Read Fkind Write Setkind;
  1862. end;
  1863. TConversionStatusClass = Class of TConversionStatus;
  1864. { --------------------------------------------------------------------
  1865. TConversionsBatchInsertRequest
  1866. --------------------------------------------------------------------}
  1867. TConversionsBatchInsertRequest = Class(TGoogleBaseObject)
  1868. Private
  1869. Fconversions : TConversionsBatchInsertRequestTypeconversionsArray;
  1870. FencryptionInfo : TEncryptionInfo;
  1871. Fkind : String;
  1872. Protected
  1873. //Property setters
  1874. Procedure Setconversions(AIndex : Integer; const AValue : TConversionsBatchInsertRequestTypeconversionsArray); virtual;
  1875. Procedure SetencryptionInfo(AIndex : Integer; const AValue : TEncryptionInfo); virtual;
  1876. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1877. //2.6.4. bug workaround
  1878. {$IFDEF VER2_6}
  1879. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1880. {$ENDIF VER2_6}
  1881. Public
  1882. Published
  1883. Property conversions : TConversionsBatchInsertRequestTypeconversionsArray Index 0 Read Fconversions Write Setconversions;
  1884. Property encryptionInfo : TEncryptionInfo Index 8 Read FencryptionInfo Write SetencryptionInfo;
  1885. Property kind : String Index 16 Read Fkind Write Setkind;
  1886. end;
  1887. TConversionsBatchInsertRequestClass = Class of TConversionsBatchInsertRequest;
  1888. { --------------------------------------------------------------------
  1889. TConversionsBatchInsertResponse
  1890. --------------------------------------------------------------------}
  1891. TConversionsBatchInsertResponse = Class(TGoogleBaseObject)
  1892. Private
  1893. FhasFailures : boolean;
  1894. Fkind : String;
  1895. Fstatus : TConversionsBatchInsertResponseTypestatusArray;
  1896. Protected
  1897. //Property setters
  1898. Procedure SethasFailures(AIndex : Integer; const AValue : boolean); virtual;
  1899. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1900. Procedure Setstatus(AIndex : Integer; const AValue : TConversionsBatchInsertResponseTypestatusArray); virtual;
  1901. //2.6.4. bug workaround
  1902. {$IFDEF VER2_6}
  1903. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1904. {$ENDIF VER2_6}
  1905. Public
  1906. Published
  1907. Property hasFailures : boolean Index 0 Read FhasFailures Write SethasFailures;
  1908. Property kind : String Index 8 Read Fkind Write Setkind;
  1909. Property status : TConversionsBatchInsertResponseTypestatusArray Index 16 Read Fstatus Write Setstatus;
  1910. end;
  1911. TConversionsBatchInsertResponseClass = Class of TConversionsBatchInsertResponse;
  1912. { --------------------------------------------------------------------
  1913. TCountriesListResponse
  1914. --------------------------------------------------------------------}
  1915. TCountriesListResponse = Class(TGoogleBaseObject)
  1916. Private
  1917. Fcountries : TCountriesListResponseTypecountriesArray;
  1918. Fkind : String;
  1919. Protected
  1920. //Property setters
  1921. Procedure Setcountries(AIndex : Integer; const AValue : TCountriesListResponseTypecountriesArray); virtual;
  1922. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1923. //2.6.4. bug workaround
  1924. {$IFDEF VER2_6}
  1925. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1926. {$ENDIF VER2_6}
  1927. Public
  1928. Published
  1929. Property countries : TCountriesListResponseTypecountriesArray Index 0 Read Fcountries Write Setcountries;
  1930. Property kind : String Index 8 Read Fkind Write Setkind;
  1931. end;
  1932. TCountriesListResponseClass = Class of TCountriesListResponse;
  1933. { --------------------------------------------------------------------
  1934. TCountry
  1935. --------------------------------------------------------------------}
  1936. TCountry = Class(TGoogleBaseObject)
  1937. Private
  1938. FcountryCode : String;
  1939. FdartId : String;
  1940. Fkind : String;
  1941. Fname : String;
  1942. FsslEnabled : boolean;
  1943. Protected
  1944. //Property setters
  1945. Procedure SetcountryCode(AIndex : Integer; const AValue : String); virtual;
  1946. Procedure SetdartId(AIndex : Integer; const AValue : String); virtual;
  1947. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1948. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  1949. Procedure SetsslEnabled(AIndex : Integer; const AValue : boolean); virtual;
  1950. Public
  1951. Published
  1952. Property countryCode : String Index 0 Read FcountryCode Write SetcountryCode;
  1953. Property dartId : String Index 8 Read FdartId Write SetdartId;
  1954. Property kind : String Index 16 Read Fkind Write Setkind;
  1955. Property name : String Index 24 Read Fname Write Setname;
  1956. Property sslEnabled : boolean Index 32 Read FsslEnabled Write SetsslEnabled;
  1957. end;
  1958. TCountryClass = Class of TCountry;
  1959. { --------------------------------------------------------------------
  1960. TCreative
  1961. --------------------------------------------------------------------}
  1962. TCreative = Class(TGoogleBaseObject)
  1963. Private
  1964. FaccountId : String;
  1965. Factive : boolean;
  1966. FadParameters : String;
  1967. FadTagKeys : TStringArray;
  1968. FadvertiserId : String;
  1969. FallowScriptAccess : boolean;
  1970. Farchived : boolean;
  1971. FartworkType : String;
  1972. FauthoringSource : String;
  1973. FauthoringTool : String;
  1974. Fauto_advance_images : boolean;
  1975. FbackgroundColor : String;
  1976. FbackupImageClickThroughUrl : String;
  1977. FbackupImageFeatures : TStringArray;
  1978. FbackupImageReportingLabel : String;
  1979. FbackupImageTargetWindow : TTargetWindow;
  1980. FclickTags : TCreativeTypeclickTagsArray;
  1981. FcommercialId : String;
  1982. FcompanionCreatives : TStringArray;
  1983. Fcompatibility : TStringArray;
  1984. FconvertFlashToHtml5 : boolean;
  1985. FcounterCustomEvents : TCreativeTypecounterCustomEventsArray;
  1986. FcreativeAssets : TCreativeTypecreativeAssetsArray;
  1987. FcreativeFieldAssignments : TCreativeTypecreativeFieldAssignmentsArray;
  1988. FcustomKeyValues : TStringArray;
  1989. FexitCustomEvents : TCreativeTypeexitCustomEventsArray;
  1990. FfsCommand : TFsCommand;
  1991. FhtmlCode : String;
  1992. FhtmlCodeLocked : boolean;
  1993. Fid : String;
  1994. FidDimensionValue : TDimensionValue;
  1995. Fkind : String;
  1996. FlastModifiedInfo : TLastModifiedInfo;
  1997. FlatestTraffickedCreativeId : String;
  1998. Fname : String;
  1999. FoverrideCss : String;
  2000. FredirectUrl : String;
  2001. FrenderingId : String;
  2002. FrenderingIdDimensionValue : TDimensionValue;
  2003. FrequiredFlashPluginVersion : String;
  2004. FrequiredFlashVersion : integer;
  2005. Fsize : TSize;
  2006. Fskippable : boolean;
  2007. FsslCompliant : boolean;
  2008. FsslOverride : boolean;
  2009. FstudioAdvertiserId : String;
  2010. FstudioCreativeId : String;
  2011. FstudioTraffickedCreativeId : String;
  2012. FsubaccountId : String;
  2013. FthirdPartyBackupImageImpressionsUrl : String;
  2014. FthirdPartyRichMediaImpressionsUrl : String;
  2015. FthirdPartyUrls : TCreativeTypethirdPartyUrlsArray;
  2016. FtimerCustomEvents : TCreativeTypetimerCustomEventsArray;
  2017. FtotalFileSize : String;
  2018. F_type : String;
  2019. Fversion : integer;
  2020. FvideoDescription : String;
  2021. FvideoDuration : integer;
  2022. Protected
  2023. Class Function ExportPropertyName(Const AName : String) : string; override;
  2024. //Property setters
  2025. Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
  2026. Procedure Setactive(AIndex : Integer; const AValue : boolean); virtual;
  2027. Procedure SetadParameters(AIndex : Integer; const AValue : String); virtual;
  2028. Procedure SetadTagKeys(AIndex : Integer; const AValue : TStringArray); virtual;
  2029. Procedure SetadvertiserId(AIndex : Integer; const AValue : String); virtual;
  2030. Procedure SetallowScriptAccess(AIndex : Integer; const AValue : boolean); virtual;
  2031. Procedure Setarchived(AIndex : Integer; const AValue : boolean); virtual;
  2032. Procedure SetartworkType(AIndex : Integer; const AValue : String); virtual;
  2033. Procedure SetauthoringSource(AIndex : Integer; const AValue : String); virtual;
  2034. Procedure SetauthoringTool(AIndex : Integer; const AValue : String); virtual;
  2035. Procedure Setauto_advance_images(AIndex : Integer; const AValue : boolean); virtual;
  2036. Procedure SetbackgroundColor(AIndex : Integer; const AValue : String); virtual;
  2037. Procedure SetbackupImageClickThroughUrl(AIndex : Integer; const AValue : String); virtual;
  2038. Procedure SetbackupImageFeatures(AIndex : Integer; const AValue : TStringArray); virtual;
  2039. Procedure SetbackupImageReportingLabel(AIndex : Integer; const AValue : String); virtual;
  2040. Procedure SetbackupImageTargetWindow(AIndex : Integer; const AValue : TTargetWindow); virtual;
  2041. Procedure SetclickTags(AIndex : Integer; const AValue : TCreativeTypeclickTagsArray); virtual;
  2042. Procedure SetcommercialId(AIndex : Integer; const AValue : String); virtual;
  2043. Procedure SetcompanionCreatives(AIndex : Integer; const AValue : TStringArray); virtual;
  2044. Procedure Setcompatibility(AIndex : Integer; const AValue : TStringArray); virtual;
  2045. Procedure SetconvertFlashToHtml5(AIndex : Integer; const AValue : boolean); virtual;
  2046. Procedure SetcounterCustomEvents(AIndex : Integer; const AValue : TCreativeTypecounterCustomEventsArray); virtual;
  2047. Procedure SetcreativeAssets(AIndex : Integer; const AValue : TCreativeTypecreativeAssetsArray); virtual;
  2048. Procedure SetcreativeFieldAssignments(AIndex : Integer; const AValue : TCreativeTypecreativeFieldAssignmentsArray); virtual;
  2049. Procedure SetcustomKeyValues(AIndex : Integer; const AValue : TStringArray); virtual;
  2050. Procedure SetexitCustomEvents(AIndex : Integer; const AValue : TCreativeTypeexitCustomEventsArray); virtual;
  2051. Procedure SetfsCommand(AIndex : Integer; const AValue : TFsCommand); virtual;
  2052. Procedure SethtmlCode(AIndex : Integer; const AValue : String); virtual;
  2053. Procedure SethtmlCodeLocked(AIndex : Integer; const AValue : boolean); virtual;
  2054. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  2055. Procedure SetidDimensionValue(AIndex : Integer; const AValue : TDimensionValue); virtual;
  2056. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  2057. Procedure SetlastModifiedInfo(AIndex : Integer; const AValue : TLastModifiedInfo); virtual;
  2058. Procedure SetlatestTraffickedCreativeId(AIndex : Integer; const AValue : String); virtual;
  2059. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  2060. Procedure SetoverrideCss(AIndex : Integer; const AValue : String); virtual;
  2061. Procedure SetredirectUrl(AIndex : Integer; const AValue : String); virtual;
  2062. Procedure SetrenderingId(AIndex : Integer; const AValue : String); virtual;
  2063. Procedure SetrenderingIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue); virtual;
  2064. Procedure SetrequiredFlashPluginVersion(AIndex : Integer; const AValue : String); virtual;
  2065. Procedure SetrequiredFlashVersion(AIndex : Integer; const AValue : integer); virtual;
  2066. Procedure Setsize(AIndex : Integer; const AValue : TSize); virtual;
  2067. Procedure Setskippable(AIndex : Integer; const AValue : boolean); virtual;
  2068. Procedure SetsslCompliant(AIndex : Integer; const AValue : boolean); virtual;
  2069. Procedure SetsslOverride(AIndex : Integer; const AValue : boolean); virtual;
  2070. Procedure SetstudioAdvertiserId(AIndex : Integer; const AValue : String); virtual;
  2071. Procedure SetstudioCreativeId(AIndex : Integer; const AValue : String); virtual;
  2072. Procedure SetstudioTraffickedCreativeId(AIndex : Integer; const AValue : String); virtual;
  2073. Procedure SetsubaccountId(AIndex : Integer; const AValue : String); virtual;
  2074. Procedure SetthirdPartyBackupImageImpressionsUrl(AIndex : Integer; const AValue : String); virtual;
  2075. Procedure SetthirdPartyRichMediaImpressionsUrl(AIndex : Integer; const AValue : String); virtual;
  2076. Procedure SetthirdPartyUrls(AIndex : Integer; const AValue : TCreativeTypethirdPartyUrlsArray); virtual;
  2077. Procedure SettimerCustomEvents(AIndex : Integer; const AValue : TCreativeTypetimerCustomEventsArray); virtual;
  2078. Procedure SettotalFileSize(AIndex : Integer; const AValue : String); virtual;
  2079. Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
  2080. Procedure Setversion(AIndex : Integer; const AValue : integer); virtual;
  2081. Procedure SetvideoDescription(AIndex : Integer; const AValue : String); virtual;
  2082. Procedure SetvideoDuration(AIndex : Integer; const AValue : integer); virtual;
  2083. //2.6.4. bug workaround
  2084. {$IFDEF VER2_6}
  2085. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2086. {$ENDIF VER2_6}
  2087. Public
  2088. Published
  2089. Property accountId : String Index 0 Read FaccountId Write SetaccountId;
  2090. Property active : boolean Index 8 Read Factive Write Setactive;
  2091. Property adParameters : String Index 16 Read FadParameters Write SetadParameters;
  2092. Property adTagKeys : TStringArray Index 24 Read FadTagKeys Write SetadTagKeys;
  2093. Property advertiserId : String Index 32 Read FadvertiserId Write SetadvertiserId;
  2094. Property allowScriptAccess : boolean Index 40 Read FallowScriptAccess Write SetallowScriptAccess;
  2095. Property archived : boolean Index 48 Read Farchived Write Setarchived;
  2096. Property artworkType : String Index 56 Read FartworkType Write SetartworkType;
  2097. Property authoringSource : String Index 64 Read FauthoringSource Write SetauthoringSource;
  2098. Property authoringTool : String Index 72 Read FauthoringTool Write SetauthoringTool;
  2099. Property auto_advance_images : boolean Index 80 Read Fauto_advance_images Write Setauto_advance_images;
  2100. Property backgroundColor : String Index 88 Read FbackgroundColor Write SetbackgroundColor;
  2101. Property backupImageClickThroughUrl : String Index 96 Read FbackupImageClickThroughUrl Write SetbackupImageClickThroughUrl;
  2102. Property backupImageFeatures : TStringArray Index 104 Read FbackupImageFeatures Write SetbackupImageFeatures;
  2103. Property backupImageReportingLabel : String Index 112 Read FbackupImageReportingLabel Write SetbackupImageReportingLabel;
  2104. Property backupImageTargetWindow : TTargetWindow Index 120 Read FbackupImageTargetWindow Write SetbackupImageTargetWindow;
  2105. Property clickTags : TCreativeTypeclickTagsArray Index 128 Read FclickTags Write SetclickTags;
  2106. Property commercialId : String Index 136 Read FcommercialId Write SetcommercialId;
  2107. Property companionCreatives : TStringArray Index 144 Read FcompanionCreatives Write SetcompanionCreatives;
  2108. Property compatibility : TStringArray Index 152 Read Fcompatibility Write Setcompatibility;
  2109. Property convertFlashToHtml5 : boolean Index 160 Read FconvertFlashToHtml5 Write SetconvertFlashToHtml5;
  2110. Property counterCustomEvents : TCreativeTypecounterCustomEventsArray Index 168 Read FcounterCustomEvents Write SetcounterCustomEvents;
  2111. Property creativeAssets : TCreativeTypecreativeAssetsArray Index 176 Read FcreativeAssets Write SetcreativeAssets;
  2112. Property creativeFieldAssignments : TCreativeTypecreativeFieldAssignmentsArray Index 184 Read FcreativeFieldAssignments Write SetcreativeFieldAssignments;
  2113. Property customKeyValues : TStringArray Index 192 Read FcustomKeyValues Write SetcustomKeyValues;
  2114. Property exitCustomEvents : TCreativeTypeexitCustomEventsArray Index 200 Read FexitCustomEvents Write SetexitCustomEvents;
  2115. Property fsCommand : TFsCommand Index 208 Read FfsCommand Write SetfsCommand;
  2116. Property htmlCode : String Index 216 Read FhtmlCode Write SethtmlCode;
  2117. Property htmlCodeLocked : boolean Index 224 Read FhtmlCodeLocked Write SethtmlCodeLocked;
  2118. Property id : String Index 232 Read Fid Write Setid;
  2119. Property idDimensionValue : TDimensionValue Index 240 Read FidDimensionValue Write SetidDimensionValue;
  2120. Property kind : String Index 248 Read Fkind Write Setkind;
  2121. Property lastModifiedInfo : TLastModifiedInfo Index 256 Read FlastModifiedInfo Write SetlastModifiedInfo;
  2122. Property latestTraffickedCreativeId : String Index 264 Read FlatestTraffickedCreativeId Write SetlatestTraffickedCreativeId;
  2123. Property name : String Index 272 Read Fname Write Setname;
  2124. Property overrideCss : String Index 280 Read FoverrideCss Write SetoverrideCss;
  2125. Property redirectUrl : String Index 288 Read FredirectUrl Write SetredirectUrl;
  2126. Property renderingId : String Index 296 Read FrenderingId Write SetrenderingId;
  2127. Property renderingIdDimensionValue : TDimensionValue Index 304 Read FrenderingIdDimensionValue Write SetrenderingIdDimensionValue;
  2128. Property requiredFlashPluginVersion : String Index 312 Read FrequiredFlashPluginVersion Write SetrequiredFlashPluginVersion;
  2129. Property requiredFlashVersion : integer Index 320 Read FrequiredFlashVersion Write SetrequiredFlashVersion;
  2130. Property size : TSize Index 328 Read Fsize Write Setsize;
  2131. Property skippable : boolean Index 336 Read Fskippable Write Setskippable;
  2132. Property sslCompliant : boolean Index 344 Read FsslCompliant Write SetsslCompliant;
  2133. Property sslOverride : boolean Index 352 Read FsslOverride Write SetsslOverride;
  2134. Property studioAdvertiserId : String Index 360 Read FstudioAdvertiserId Write SetstudioAdvertiserId;
  2135. Property studioCreativeId : String Index 368 Read FstudioCreativeId Write SetstudioCreativeId;
  2136. Property studioTraffickedCreativeId : String Index 376 Read FstudioTraffickedCreativeId Write SetstudioTraffickedCreativeId;
  2137. Property subaccountId : String Index 384 Read FsubaccountId Write SetsubaccountId;
  2138. Property thirdPartyBackupImageImpressionsUrl : String Index 392 Read FthirdPartyBackupImageImpressionsUrl Write SetthirdPartyBackupImageImpressionsUrl;
  2139. Property thirdPartyRichMediaImpressionsUrl : String Index 400 Read FthirdPartyRichMediaImpressionsUrl Write SetthirdPartyRichMediaImpressionsUrl;
  2140. Property thirdPartyUrls : TCreativeTypethirdPartyUrlsArray Index 408 Read FthirdPartyUrls Write SetthirdPartyUrls;
  2141. Property timerCustomEvents : TCreativeTypetimerCustomEventsArray Index 416 Read FtimerCustomEvents Write SettimerCustomEvents;
  2142. Property totalFileSize : String Index 424 Read FtotalFileSize Write SettotalFileSize;
  2143. Property _type : String Index 432 Read F_type Write Set_type;
  2144. Property version : integer Index 440 Read Fversion Write Setversion;
  2145. Property videoDescription : String Index 448 Read FvideoDescription Write SetvideoDescription;
  2146. Property videoDuration : integer Index 456 Read FvideoDuration Write SetvideoDuration;
  2147. end;
  2148. TCreativeClass = Class of TCreative;
  2149. { --------------------------------------------------------------------
  2150. TCreativeAsset
  2151. --------------------------------------------------------------------}
  2152. TCreativeAsset = Class(TGoogleBaseObject)
  2153. Private
  2154. FactionScript3 : boolean;
  2155. Factive : boolean;
  2156. Falignment : String;
  2157. FartworkType : String;
  2158. FassetIdentifier : TCreativeAssetId;
  2159. FbackupImageExit : TCreativeCustomEvent;
  2160. FbitRate : integer;
  2161. FchildAssetType : String;
  2162. FcollapsedSize : TSize;
  2163. FcustomStartTimeValue : integer;
  2164. FdetectedFeatures : TStringArray;
  2165. FdisplayType : String;
  2166. Fduration : integer;
  2167. FdurationType : String;
  2168. FexpandedDimension : TSize;
  2169. FfileSize : String;
  2170. FflashVersion : integer;
  2171. FhideFlashObjects : boolean;
  2172. FhideSelectionBoxes : boolean;
  2173. FhorizontallyLocked : boolean;
  2174. Fid : String;
  2175. FmimeType : String;
  2176. Foffset : TOffsetPosition;
  2177. ForiginalBackup : boolean;
  2178. Fposition : TOffsetPosition;
  2179. FpositionLeftUnit : String;
  2180. FpositionTopUnit : String;
  2181. FprogressiveServingUrl : String;
  2182. Fpushdown : boolean;
  2183. FpushdownDuration : integer;
  2184. Frole : String;
  2185. Fsize : TSize;
  2186. FsslCompliant : boolean;
  2187. FstartTimeType : String;
  2188. FstreamingServingUrl : String;
  2189. Ftransparency : boolean;
  2190. FverticallyLocked : boolean;
  2191. FvideoDuration : integer;
  2192. FwindowMode : String;
  2193. FzIndex : integer;
  2194. FzipFilename : String;
  2195. FzipFilesize : String;
  2196. Protected
  2197. //Property setters
  2198. Procedure SetactionScript3(AIndex : Integer; const AValue : boolean); virtual;
  2199. Procedure Setactive(AIndex : Integer; const AValue : boolean); virtual;
  2200. Procedure Setalignment(AIndex : Integer; const AValue : String); virtual;
  2201. Procedure SetartworkType(AIndex : Integer; const AValue : String); virtual;
  2202. Procedure SetassetIdentifier(AIndex : Integer; const AValue : TCreativeAssetId); virtual;
  2203. Procedure SetbackupImageExit(AIndex : Integer; const AValue : TCreativeCustomEvent); virtual;
  2204. Procedure SetbitRate(AIndex : Integer; const AValue : integer); virtual;
  2205. Procedure SetchildAssetType(AIndex : Integer; const AValue : String); virtual;
  2206. Procedure SetcollapsedSize(AIndex : Integer; const AValue : TSize); virtual;
  2207. Procedure SetcustomStartTimeValue(AIndex : Integer; const AValue : integer); virtual;
  2208. Procedure SetdetectedFeatures(AIndex : Integer; const AValue : TStringArray); virtual;
  2209. Procedure SetdisplayType(AIndex : Integer; const AValue : String); virtual;
  2210. Procedure Setduration(AIndex : Integer; const AValue : integer); virtual;
  2211. Procedure SetdurationType(AIndex : Integer; const AValue : String); virtual;
  2212. Procedure SetexpandedDimension(AIndex : Integer; const AValue : TSize); virtual;
  2213. Procedure SetfileSize(AIndex : Integer; const AValue : String); virtual;
  2214. Procedure SetflashVersion(AIndex : Integer; const AValue : integer); virtual;
  2215. Procedure SethideFlashObjects(AIndex : Integer; const AValue : boolean); virtual;
  2216. Procedure SethideSelectionBoxes(AIndex : Integer; const AValue : boolean); virtual;
  2217. Procedure SethorizontallyLocked(AIndex : Integer; const AValue : boolean); virtual;
  2218. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  2219. Procedure SetmimeType(AIndex : Integer; const AValue : String); virtual;
  2220. Procedure Setoffset(AIndex : Integer; const AValue : TOffsetPosition); virtual;
  2221. Procedure SetoriginalBackup(AIndex : Integer; const AValue : boolean); virtual;
  2222. Procedure Setposition(AIndex : Integer; const AValue : TOffsetPosition); virtual;
  2223. Procedure SetpositionLeftUnit(AIndex : Integer; const AValue : String); virtual;
  2224. Procedure SetpositionTopUnit(AIndex : Integer; const AValue : String); virtual;
  2225. Procedure SetprogressiveServingUrl(AIndex : Integer; const AValue : String); virtual;
  2226. Procedure Setpushdown(AIndex : Integer; const AValue : boolean); virtual;
  2227. Procedure SetpushdownDuration(AIndex : Integer; const AValue : integer); virtual;
  2228. Procedure Setrole(AIndex : Integer; const AValue : String); virtual;
  2229. Procedure Setsize(AIndex : Integer; const AValue : TSize); virtual;
  2230. Procedure SetsslCompliant(AIndex : Integer; const AValue : boolean); virtual;
  2231. Procedure SetstartTimeType(AIndex : Integer; const AValue : String); virtual;
  2232. Procedure SetstreamingServingUrl(AIndex : Integer; const AValue : String); virtual;
  2233. Procedure Settransparency(AIndex : Integer; const AValue : boolean); virtual;
  2234. Procedure SetverticallyLocked(AIndex : Integer; const AValue : boolean); virtual;
  2235. Procedure SetvideoDuration(AIndex : Integer; const AValue : integer); virtual;
  2236. Procedure SetwindowMode(AIndex : Integer; const AValue : String); virtual;
  2237. Procedure SetzIndex(AIndex : Integer; const AValue : integer); virtual;
  2238. Procedure SetzipFilename(AIndex : Integer; const AValue : String); virtual;
  2239. Procedure SetzipFilesize(AIndex : Integer; const AValue : String); virtual;
  2240. //2.6.4. bug workaround
  2241. {$IFDEF VER2_6}
  2242. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2243. {$ENDIF VER2_6}
  2244. Public
  2245. Published
  2246. Property actionScript3 : boolean Index 0 Read FactionScript3 Write SetactionScript3;
  2247. Property active : boolean Index 8 Read Factive Write Setactive;
  2248. Property alignment : String Index 16 Read Falignment Write Setalignment;
  2249. Property artworkType : String Index 24 Read FartworkType Write SetartworkType;
  2250. Property assetIdentifier : TCreativeAssetId Index 32 Read FassetIdentifier Write SetassetIdentifier;
  2251. Property backupImageExit : TCreativeCustomEvent Index 40 Read FbackupImageExit Write SetbackupImageExit;
  2252. Property bitRate : integer Index 48 Read FbitRate Write SetbitRate;
  2253. Property childAssetType : String Index 56 Read FchildAssetType Write SetchildAssetType;
  2254. Property collapsedSize : TSize Index 64 Read FcollapsedSize Write SetcollapsedSize;
  2255. Property customStartTimeValue : integer Index 72 Read FcustomStartTimeValue Write SetcustomStartTimeValue;
  2256. Property detectedFeatures : TStringArray Index 80 Read FdetectedFeatures Write SetdetectedFeatures;
  2257. Property displayType : String Index 88 Read FdisplayType Write SetdisplayType;
  2258. Property duration : integer Index 96 Read Fduration Write Setduration;
  2259. Property durationType : String Index 104 Read FdurationType Write SetdurationType;
  2260. Property expandedDimension : TSize Index 112 Read FexpandedDimension Write SetexpandedDimension;
  2261. Property fileSize : String Index 120 Read FfileSize Write SetfileSize;
  2262. Property flashVersion : integer Index 128 Read FflashVersion Write SetflashVersion;
  2263. Property hideFlashObjects : boolean Index 136 Read FhideFlashObjects Write SethideFlashObjects;
  2264. Property hideSelectionBoxes : boolean Index 144 Read FhideSelectionBoxes Write SethideSelectionBoxes;
  2265. Property horizontallyLocked : boolean Index 152 Read FhorizontallyLocked Write SethorizontallyLocked;
  2266. Property id : String Index 160 Read Fid Write Setid;
  2267. Property mimeType : String Index 168 Read FmimeType Write SetmimeType;
  2268. Property offset : TOffsetPosition Index 176 Read Foffset Write Setoffset;
  2269. Property originalBackup : boolean Index 184 Read ForiginalBackup Write SetoriginalBackup;
  2270. Property position : TOffsetPosition Index 192 Read Fposition Write Setposition;
  2271. Property positionLeftUnit : String Index 200 Read FpositionLeftUnit Write SetpositionLeftUnit;
  2272. Property positionTopUnit : String Index 208 Read FpositionTopUnit Write SetpositionTopUnit;
  2273. Property progressiveServingUrl : String Index 216 Read FprogressiveServingUrl Write SetprogressiveServingUrl;
  2274. Property pushdown : boolean Index 224 Read Fpushdown Write Setpushdown;
  2275. Property pushdownDuration : integer Index 232 Read FpushdownDuration Write SetpushdownDuration;
  2276. Property role : String Index 240 Read Frole Write Setrole;
  2277. Property size : TSize Index 248 Read Fsize Write Setsize;
  2278. Property sslCompliant : boolean Index 256 Read FsslCompliant Write SetsslCompliant;
  2279. Property startTimeType : String Index 264 Read FstartTimeType Write SetstartTimeType;
  2280. Property streamingServingUrl : String Index 272 Read FstreamingServingUrl Write SetstreamingServingUrl;
  2281. Property transparency : boolean Index 280 Read Ftransparency Write Settransparency;
  2282. Property verticallyLocked : boolean Index 288 Read FverticallyLocked Write SetverticallyLocked;
  2283. Property videoDuration : integer Index 296 Read FvideoDuration Write SetvideoDuration;
  2284. Property windowMode : String Index 304 Read FwindowMode Write SetwindowMode;
  2285. Property zIndex : integer Index 312 Read FzIndex Write SetzIndex;
  2286. Property zipFilename : String Index 320 Read FzipFilename Write SetzipFilename;
  2287. Property zipFilesize : String Index 328 Read FzipFilesize Write SetzipFilesize;
  2288. end;
  2289. TCreativeAssetClass = Class of TCreativeAsset;
  2290. { --------------------------------------------------------------------
  2291. TCreativeAssetId
  2292. --------------------------------------------------------------------}
  2293. TCreativeAssetId = Class(TGoogleBaseObject)
  2294. Private
  2295. Fname : String;
  2296. F_type : String;
  2297. Protected
  2298. Class Function ExportPropertyName(Const AName : String) : string; override;
  2299. //Property setters
  2300. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  2301. Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
  2302. Public
  2303. Published
  2304. Property name : String Index 0 Read Fname Write Setname;
  2305. Property _type : String Index 8 Read F_type Write Set_type;
  2306. end;
  2307. TCreativeAssetIdClass = Class of TCreativeAssetId;
  2308. { --------------------------------------------------------------------
  2309. TCreativeAssetMetadata
  2310. --------------------------------------------------------------------}
  2311. TCreativeAssetMetadata = Class(TGoogleBaseObject)
  2312. Private
  2313. FassetIdentifier : TCreativeAssetId;
  2314. FclickTags : TCreativeAssetMetadataTypeclickTagsArray;
  2315. FdetectedFeatures : TStringArray;
  2316. Fkind : String;
  2317. FwarnedValidationRules : TStringArray;
  2318. Protected
  2319. //Property setters
  2320. Procedure SetassetIdentifier(AIndex : Integer; const AValue : TCreativeAssetId); virtual;
  2321. Procedure SetclickTags(AIndex : Integer; const AValue : TCreativeAssetMetadataTypeclickTagsArray); virtual;
  2322. Procedure SetdetectedFeatures(AIndex : Integer; const AValue : TStringArray); virtual;
  2323. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  2324. Procedure SetwarnedValidationRules(AIndex : Integer; const AValue : TStringArray); virtual;
  2325. //2.6.4. bug workaround
  2326. {$IFDEF VER2_6}
  2327. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2328. {$ENDIF VER2_6}
  2329. Public
  2330. Published
  2331. Property assetIdentifier : TCreativeAssetId Index 0 Read FassetIdentifier Write SetassetIdentifier;
  2332. Property clickTags : TCreativeAssetMetadataTypeclickTagsArray Index 8 Read FclickTags Write SetclickTags;
  2333. Property detectedFeatures : TStringArray Index 16 Read FdetectedFeatures Write SetdetectedFeatures;
  2334. Property kind : String Index 24 Read Fkind Write Setkind;
  2335. Property warnedValidationRules : TStringArray Index 32 Read FwarnedValidationRules Write SetwarnedValidationRules;
  2336. end;
  2337. TCreativeAssetMetadataClass = Class of TCreativeAssetMetadata;
  2338. { --------------------------------------------------------------------
  2339. TCreativeAssignment
  2340. --------------------------------------------------------------------}
  2341. TCreativeAssignment = Class(TGoogleBaseObject)
  2342. Private
  2343. Factive : boolean;
  2344. FapplyEventTags : boolean;
  2345. FclickThroughUrl : TClickThroughUrl;
  2346. FcompanionCreativeOverrides : TCreativeAssignmentTypecompanionCreativeOverridesArray;
  2347. FcreativeGroupAssignments : TCreativeAssignmentTypecreativeGroupAssignmentsArray;
  2348. FcreativeId : String;
  2349. FcreativeIdDimensionValue : TDimensionValue;
  2350. FendTime : TDatetime;
  2351. FrichMediaExitOverrides : TCreativeAssignmentTyperichMediaExitOverridesArray;
  2352. Fsequence : integer;
  2353. FsslCompliant : boolean;
  2354. FstartTime : TDatetime;
  2355. Fweight : integer;
  2356. Protected
  2357. //Property setters
  2358. Procedure Setactive(AIndex : Integer; const AValue : boolean); virtual;
  2359. Procedure SetapplyEventTags(AIndex : Integer; const AValue : boolean); virtual;
  2360. Procedure SetclickThroughUrl(AIndex : Integer; const AValue : TClickThroughUrl); virtual;
  2361. Procedure SetcompanionCreativeOverrides(AIndex : Integer; const AValue : TCreativeAssignmentTypecompanionCreativeOverridesArray); virtual;
  2362. Procedure SetcreativeGroupAssignments(AIndex : Integer; const AValue : TCreativeAssignmentTypecreativeGroupAssignmentsArray); virtual;
  2363. Procedure SetcreativeId(AIndex : Integer; const AValue : String); virtual;
  2364. Procedure SetcreativeIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue); virtual;
  2365. Procedure SetendTime(AIndex : Integer; const AValue : TDatetime); virtual;
  2366. Procedure SetrichMediaExitOverrides(AIndex : Integer; const AValue : TCreativeAssignmentTyperichMediaExitOverridesArray); virtual;
  2367. Procedure Setsequence(AIndex : Integer; const AValue : integer); virtual;
  2368. Procedure SetsslCompliant(AIndex : Integer; const AValue : boolean); virtual;
  2369. Procedure SetstartTime(AIndex : Integer; const AValue : TDatetime); virtual;
  2370. Procedure Setweight(AIndex : Integer; const AValue : integer); virtual;
  2371. //2.6.4. bug workaround
  2372. {$IFDEF VER2_6}
  2373. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2374. {$ENDIF VER2_6}
  2375. Public
  2376. Published
  2377. Property active : boolean Index 0 Read Factive Write Setactive;
  2378. Property applyEventTags : boolean Index 8 Read FapplyEventTags Write SetapplyEventTags;
  2379. Property clickThroughUrl : TClickThroughUrl Index 16 Read FclickThroughUrl Write SetclickThroughUrl;
  2380. Property companionCreativeOverrides : TCreativeAssignmentTypecompanionCreativeOverridesArray Index 24 Read FcompanionCreativeOverrides Write SetcompanionCreativeOverrides;
  2381. Property creativeGroupAssignments : TCreativeAssignmentTypecreativeGroupAssignmentsArray Index 32 Read FcreativeGroupAssignments Write SetcreativeGroupAssignments;
  2382. Property creativeId : String Index 40 Read FcreativeId Write SetcreativeId;
  2383. Property creativeIdDimensionValue : TDimensionValue Index 48 Read FcreativeIdDimensionValue Write SetcreativeIdDimensionValue;
  2384. Property endTime : TDatetime Index 56 Read FendTime Write SetendTime;
  2385. Property richMediaExitOverrides : TCreativeAssignmentTyperichMediaExitOverridesArray Index 64 Read FrichMediaExitOverrides Write SetrichMediaExitOverrides;
  2386. Property sequence : integer Index 72 Read Fsequence Write Setsequence;
  2387. Property sslCompliant : boolean Index 80 Read FsslCompliant Write SetsslCompliant;
  2388. Property startTime : TDatetime Index 88 Read FstartTime Write SetstartTime;
  2389. Property weight : integer Index 96 Read Fweight Write Setweight;
  2390. end;
  2391. TCreativeAssignmentClass = Class of TCreativeAssignment;
  2392. { --------------------------------------------------------------------
  2393. TCreativeCustomEvent
  2394. --------------------------------------------------------------------}
  2395. TCreativeCustomEvent = Class(TGoogleBaseObject)
  2396. Private
  2397. FadvertiserCustomEventId : String;
  2398. FadvertiserCustomEventName : String;
  2399. FadvertiserCustomEventType : String;
  2400. FartworkLabel : String;
  2401. FartworkType : String;
  2402. FexitUrl : String;
  2403. Fid : String;
  2404. FpopupWindowProperties : TPopupWindowProperties;
  2405. FtargetType : String;
  2406. FvideoReportingId : String;
  2407. Protected
  2408. //Property setters
  2409. Procedure SetadvertiserCustomEventId(AIndex : Integer; const AValue : String); virtual;
  2410. Procedure SetadvertiserCustomEventName(AIndex : Integer; const AValue : String); virtual;
  2411. Procedure SetadvertiserCustomEventType(AIndex : Integer; const AValue : String); virtual;
  2412. Procedure SetartworkLabel(AIndex : Integer; const AValue : String); virtual;
  2413. Procedure SetartworkType(AIndex : Integer; const AValue : String); virtual;
  2414. Procedure SetexitUrl(AIndex : Integer; const AValue : String); virtual;
  2415. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  2416. Procedure SetpopupWindowProperties(AIndex : Integer; const AValue : TPopupWindowProperties); virtual;
  2417. Procedure SettargetType(AIndex : Integer; const AValue : String); virtual;
  2418. Procedure SetvideoReportingId(AIndex : Integer; const AValue : String); virtual;
  2419. Public
  2420. Published
  2421. Property advertiserCustomEventId : String Index 0 Read FadvertiserCustomEventId Write SetadvertiserCustomEventId;
  2422. Property advertiserCustomEventName : String Index 8 Read FadvertiserCustomEventName Write SetadvertiserCustomEventName;
  2423. Property advertiserCustomEventType : String Index 16 Read FadvertiserCustomEventType Write SetadvertiserCustomEventType;
  2424. Property artworkLabel : String Index 24 Read FartworkLabel Write SetartworkLabel;
  2425. Property artworkType : String Index 32 Read FartworkType Write SetartworkType;
  2426. Property exitUrl : String Index 40 Read FexitUrl Write SetexitUrl;
  2427. Property id : String Index 48 Read Fid Write Setid;
  2428. Property popupWindowProperties : TPopupWindowProperties Index 56 Read FpopupWindowProperties Write SetpopupWindowProperties;
  2429. Property targetType : String Index 64 Read FtargetType Write SettargetType;
  2430. Property videoReportingId : String Index 72 Read FvideoReportingId Write SetvideoReportingId;
  2431. end;
  2432. TCreativeCustomEventClass = Class of TCreativeCustomEvent;
  2433. { --------------------------------------------------------------------
  2434. TCreativeField
  2435. --------------------------------------------------------------------}
  2436. TCreativeField = Class(TGoogleBaseObject)
  2437. Private
  2438. FaccountId : String;
  2439. FadvertiserId : String;
  2440. FadvertiserIdDimensionValue : TDimensionValue;
  2441. Fid : String;
  2442. Fkind : String;
  2443. Fname : String;
  2444. FsubaccountId : String;
  2445. Protected
  2446. //Property setters
  2447. Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
  2448. Procedure SetadvertiserId(AIndex : Integer; const AValue : String); virtual;
  2449. Procedure SetadvertiserIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue); virtual;
  2450. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  2451. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  2452. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  2453. Procedure SetsubaccountId(AIndex : Integer; const AValue : String); virtual;
  2454. Public
  2455. Published
  2456. Property accountId : String Index 0 Read FaccountId Write SetaccountId;
  2457. Property advertiserId : String Index 8 Read FadvertiserId Write SetadvertiserId;
  2458. Property advertiserIdDimensionValue : TDimensionValue Index 16 Read FadvertiserIdDimensionValue Write SetadvertiserIdDimensionValue;
  2459. Property id : String Index 24 Read Fid Write Setid;
  2460. Property kind : String Index 32 Read Fkind Write Setkind;
  2461. Property name : String Index 40 Read Fname Write Setname;
  2462. Property subaccountId : String Index 48 Read FsubaccountId Write SetsubaccountId;
  2463. end;
  2464. TCreativeFieldClass = Class of TCreativeField;
  2465. { --------------------------------------------------------------------
  2466. TCreativeFieldAssignment
  2467. --------------------------------------------------------------------}
  2468. TCreativeFieldAssignment = Class(TGoogleBaseObject)
  2469. Private
  2470. FcreativeFieldId : String;
  2471. FcreativeFieldValueId : String;
  2472. Protected
  2473. //Property setters
  2474. Procedure SetcreativeFieldId(AIndex : Integer; const AValue : String); virtual;
  2475. Procedure SetcreativeFieldValueId(AIndex : Integer; const AValue : String); virtual;
  2476. Public
  2477. Published
  2478. Property creativeFieldId : String Index 0 Read FcreativeFieldId Write SetcreativeFieldId;
  2479. Property creativeFieldValueId : String Index 8 Read FcreativeFieldValueId Write SetcreativeFieldValueId;
  2480. end;
  2481. TCreativeFieldAssignmentClass = Class of TCreativeFieldAssignment;
  2482. { --------------------------------------------------------------------
  2483. TCreativeFieldValue
  2484. --------------------------------------------------------------------}
  2485. TCreativeFieldValue = Class(TGoogleBaseObject)
  2486. Private
  2487. Fid : String;
  2488. Fkind : String;
  2489. Fvalue : String;
  2490. Protected
  2491. //Property setters
  2492. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  2493. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  2494. Procedure Setvalue(AIndex : Integer; const AValue : String); virtual;
  2495. Public
  2496. Published
  2497. Property id : String Index 0 Read Fid Write Setid;
  2498. Property kind : String Index 8 Read Fkind Write Setkind;
  2499. Property value : String Index 16 Read Fvalue Write Setvalue;
  2500. end;
  2501. TCreativeFieldValueClass = Class of TCreativeFieldValue;
  2502. { --------------------------------------------------------------------
  2503. TCreativeFieldValuesListResponse
  2504. --------------------------------------------------------------------}
  2505. TCreativeFieldValuesListResponse = Class(TGoogleBaseObject)
  2506. Private
  2507. FcreativeFieldValues : TCreativeFieldValuesListResponseTypecreativeFieldValuesArray;
  2508. Fkind : String;
  2509. FnextPageToken : String;
  2510. Protected
  2511. //Property setters
  2512. Procedure SetcreativeFieldValues(AIndex : Integer; const AValue : TCreativeFieldValuesListResponseTypecreativeFieldValuesArray); virtual;
  2513. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  2514. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  2515. //2.6.4. bug workaround
  2516. {$IFDEF VER2_6}
  2517. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2518. {$ENDIF VER2_6}
  2519. Public
  2520. Published
  2521. Property creativeFieldValues : TCreativeFieldValuesListResponseTypecreativeFieldValuesArray Index 0 Read FcreativeFieldValues Write SetcreativeFieldValues;
  2522. Property kind : String Index 8 Read Fkind Write Setkind;
  2523. Property nextPageToken : String Index 16 Read FnextPageToken Write SetnextPageToken;
  2524. end;
  2525. TCreativeFieldValuesListResponseClass = Class of TCreativeFieldValuesListResponse;
  2526. { --------------------------------------------------------------------
  2527. TCreativeFieldsListResponse
  2528. --------------------------------------------------------------------}
  2529. TCreativeFieldsListResponse = Class(TGoogleBaseObject)
  2530. Private
  2531. FcreativeFields : TCreativeFieldsListResponseTypecreativeFieldsArray;
  2532. Fkind : String;
  2533. FnextPageToken : String;
  2534. Protected
  2535. //Property setters
  2536. Procedure SetcreativeFields(AIndex : Integer; const AValue : TCreativeFieldsListResponseTypecreativeFieldsArray); virtual;
  2537. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  2538. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  2539. //2.6.4. bug workaround
  2540. {$IFDEF VER2_6}
  2541. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2542. {$ENDIF VER2_6}
  2543. Public
  2544. Published
  2545. Property creativeFields : TCreativeFieldsListResponseTypecreativeFieldsArray Index 0 Read FcreativeFields Write SetcreativeFields;
  2546. Property kind : String Index 8 Read Fkind Write Setkind;
  2547. Property nextPageToken : String Index 16 Read FnextPageToken Write SetnextPageToken;
  2548. end;
  2549. TCreativeFieldsListResponseClass = Class of TCreativeFieldsListResponse;
  2550. { --------------------------------------------------------------------
  2551. TCreativeGroup
  2552. --------------------------------------------------------------------}
  2553. TCreativeGroup = Class(TGoogleBaseObject)
  2554. Private
  2555. FaccountId : String;
  2556. FadvertiserId : String;
  2557. FadvertiserIdDimensionValue : TDimensionValue;
  2558. FgroupNumber : integer;
  2559. Fid : String;
  2560. Fkind : String;
  2561. Fname : String;
  2562. FsubaccountId : String;
  2563. Protected
  2564. //Property setters
  2565. Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
  2566. Procedure SetadvertiserId(AIndex : Integer; const AValue : String); virtual;
  2567. Procedure SetadvertiserIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue); virtual;
  2568. Procedure SetgroupNumber(AIndex : Integer; const AValue : integer); virtual;
  2569. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  2570. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  2571. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  2572. Procedure SetsubaccountId(AIndex : Integer; const AValue : String); virtual;
  2573. Public
  2574. Published
  2575. Property accountId : String Index 0 Read FaccountId Write SetaccountId;
  2576. Property advertiserId : String Index 8 Read FadvertiserId Write SetadvertiserId;
  2577. Property advertiserIdDimensionValue : TDimensionValue Index 16 Read FadvertiserIdDimensionValue Write SetadvertiserIdDimensionValue;
  2578. Property groupNumber : integer Index 24 Read FgroupNumber Write SetgroupNumber;
  2579. Property id : String Index 32 Read Fid Write Setid;
  2580. Property kind : String Index 40 Read Fkind Write Setkind;
  2581. Property name : String Index 48 Read Fname Write Setname;
  2582. Property subaccountId : String Index 56 Read FsubaccountId Write SetsubaccountId;
  2583. end;
  2584. TCreativeGroupClass = Class of TCreativeGroup;
  2585. { --------------------------------------------------------------------
  2586. TCreativeGroupAssignment
  2587. --------------------------------------------------------------------}
  2588. TCreativeGroupAssignment = Class(TGoogleBaseObject)
  2589. Private
  2590. FcreativeGroupId : String;
  2591. FcreativeGroupNumber : String;
  2592. Protected
  2593. //Property setters
  2594. Procedure SetcreativeGroupId(AIndex : Integer; const AValue : String); virtual;
  2595. Procedure SetcreativeGroupNumber(AIndex : Integer; const AValue : String); virtual;
  2596. Public
  2597. Published
  2598. Property creativeGroupId : String Index 0 Read FcreativeGroupId Write SetcreativeGroupId;
  2599. Property creativeGroupNumber : String Index 8 Read FcreativeGroupNumber Write SetcreativeGroupNumber;
  2600. end;
  2601. TCreativeGroupAssignmentClass = Class of TCreativeGroupAssignment;
  2602. { --------------------------------------------------------------------
  2603. TCreativeGroupsListResponse
  2604. --------------------------------------------------------------------}
  2605. TCreativeGroupsListResponse = Class(TGoogleBaseObject)
  2606. Private
  2607. FcreativeGroups : TCreativeGroupsListResponseTypecreativeGroupsArray;
  2608. Fkind : String;
  2609. FnextPageToken : String;
  2610. Protected
  2611. //Property setters
  2612. Procedure SetcreativeGroups(AIndex : Integer; const AValue : TCreativeGroupsListResponseTypecreativeGroupsArray); virtual;
  2613. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  2614. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  2615. //2.6.4. bug workaround
  2616. {$IFDEF VER2_6}
  2617. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2618. {$ENDIF VER2_6}
  2619. Public
  2620. Published
  2621. Property creativeGroups : TCreativeGroupsListResponseTypecreativeGroupsArray Index 0 Read FcreativeGroups Write SetcreativeGroups;
  2622. Property kind : String Index 8 Read Fkind Write Setkind;
  2623. Property nextPageToken : String Index 16 Read FnextPageToken Write SetnextPageToken;
  2624. end;
  2625. TCreativeGroupsListResponseClass = Class of TCreativeGroupsListResponse;
  2626. { --------------------------------------------------------------------
  2627. TCreativeOptimizationConfiguration
  2628. --------------------------------------------------------------------}
  2629. TCreativeOptimizationConfiguration = Class(TGoogleBaseObject)
  2630. Private
  2631. Fid : String;
  2632. Fname : String;
  2633. FoptimizationActivitys : TCreativeOptimizationConfigurationTypeoptimizationActivitysArray;
  2634. FoptimizationModel : String;
  2635. Protected
  2636. //Property setters
  2637. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  2638. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  2639. Procedure SetoptimizationActivitys(AIndex : Integer; const AValue : TCreativeOptimizationConfigurationTypeoptimizationActivitysArray); virtual;
  2640. Procedure SetoptimizationModel(AIndex : Integer; const AValue : String); virtual;
  2641. //2.6.4. bug workaround
  2642. {$IFDEF VER2_6}
  2643. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2644. {$ENDIF VER2_6}
  2645. Public
  2646. Published
  2647. Property id : String Index 0 Read Fid Write Setid;
  2648. Property name : String Index 8 Read Fname Write Setname;
  2649. Property optimizationActivitys : TCreativeOptimizationConfigurationTypeoptimizationActivitysArray Index 16 Read FoptimizationActivitys Write SetoptimizationActivitys;
  2650. Property optimizationModel : String Index 24 Read FoptimizationModel Write SetoptimizationModel;
  2651. end;
  2652. TCreativeOptimizationConfigurationClass = Class of TCreativeOptimizationConfiguration;
  2653. { --------------------------------------------------------------------
  2654. TCreativeRotation
  2655. --------------------------------------------------------------------}
  2656. TCreativeRotation = Class(TGoogleBaseObject)
  2657. Private
  2658. FcreativeAssignments : TCreativeRotationTypecreativeAssignmentsArray;
  2659. FcreativeOptimizationConfigurationId : String;
  2660. F_type : String;
  2661. FweightCalculationStrategy : String;
  2662. Protected
  2663. Class Function ExportPropertyName(Const AName : String) : string; override;
  2664. //Property setters
  2665. Procedure SetcreativeAssignments(AIndex : Integer; const AValue : TCreativeRotationTypecreativeAssignmentsArray); virtual;
  2666. Procedure SetcreativeOptimizationConfigurationId(AIndex : Integer; const AValue : String); virtual;
  2667. Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
  2668. Procedure SetweightCalculationStrategy(AIndex : Integer; const AValue : String); virtual;
  2669. //2.6.4. bug workaround
  2670. {$IFDEF VER2_6}
  2671. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2672. {$ENDIF VER2_6}
  2673. Public
  2674. Published
  2675. Property creativeAssignments : TCreativeRotationTypecreativeAssignmentsArray Index 0 Read FcreativeAssignments Write SetcreativeAssignments;
  2676. Property creativeOptimizationConfigurationId : String Index 8 Read FcreativeOptimizationConfigurationId Write SetcreativeOptimizationConfigurationId;
  2677. Property _type : String Index 16 Read F_type Write Set_type;
  2678. Property weightCalculationStrategy : String Index 24 Read FweightCalculationStrategy Write SetweightCalculationStrategy;
  2679. end;
  2680. TCreativeRotationClass = Class of TCreativeRotation;
  2681. { --------------------------------------------------------------------
  2682. TCreativeSettings
  2683. --------------------------------------------------------------------}
  2684. TCreativeSettings = Class(TGoogleBaseObject)
  2685. Private
  2686. FiFrameFooter : String;
  2687. FiFrameHeader : String;
  2688. Protected
  2689. //Property setters
  2690. Procedure SetiFrameFooter(AIndex : Integer; const AValue : String); virtual;
  2691. Procedure SetiFrameHeader(AIndex : Integer; const AValue : String); virtual;
  2692. Public
  2693. Published
  2694. Property iFrameFooter : String Index 0 Read FiFrameFooter Write SetiFrameFooter;
  2695. Property iFrameHeader : String Index 8 Read FiFrameHeader Write SetiFrameHeader;
  2696. end;
  2697. TCreativeSettingsClass = Class of TCreativeSettings;
  2698. { --------------------------------------------------------------------
  2699. TCreativesListResponse
  2700. --------------------------------------------------------------------}
  2701. TCreativesListResponse = Class(TGoogleBaseObject)
  2702. Private
  2703. Fcreatives : TCreativesListResponseTypecreativesArray;
  2704. Fkind : String;
  2705. FnextPageToken : String;
  2706. Protected
  2707. //Property setters
  2708. Procedure Setcreatives(AIndex : Integer; const AValue : TCreativesListResponseTypecreativesArray); virtual;
  2709. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  2710. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  2711. //2.6.4. bug workaround
  2712. {$IFDEF VER2_6}
  2713. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2714. {$ENDIF VER2_6}
  2715. Public
  2716. Published
  2717. Property creatives : TCreativesListResponseTypecreativesArray Index 0 Read Fcreatives Write Setcreatives;
  2718. Property kind : String Index 8 Read Fkind Write Setkind;
  2719. Property nextPageToken : String Index 16 Read FnextPageToken Write SetnextPageToken;
  2720. end;
  2721. TCreativesListResponseClass = Class of TCreativesListResponse;
  2722. { --------------------------------------------------------------------
  2723. TCrossDimensionReachReportCompatibleFields
  2724. --------------------------------------------------------------------}
  2725. TCrossDimensionReachReportCompatibleFields = Class(TGoogleBaseObject)
  2726. Private
  2727. Fbreakdown : TCrossDimensionReachReportCompatibleFieldsTypebreakdownArray;
  2728. FdimensionFilters : TCrossDimensionReachReportCompatibleFieldsTypedimensionFiltersArray;
  2729. Fkind : String;
  2730. Fmetrics : TCrossDimensionReachReportCompatibleFieldsTypemetricsArray;
  2731. FoverlapMetrics : TCrossDimensionReachReportCompatibleFieldsTypeoverlapMetricsArray;
  2732. Protected
  2733. //Property setters
  2734. Procedure Setbreakdown(AIndex : Integer; const AValue : TCrossDimensionReachReportCompatibleFieldsTypebreakdownArray); virtual;
  2735. Procedure SetdimensionFilters(AIndex : Integer; const AValue : TCrossDimensionReachReportCompatibleFieldsTypedimensionFiltersArray); virtual;
  2736. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  2737. Procedure Setmetrics(AIndex : Integer; const AValue : TCrossDimensionReachReportCompatibleFieldsTypemetricsArray); virtual;
  2738. Procedure SetoverlapMetrics(AIndex : Integer; const AValue : TCrossDimensionReachReportCompatibleFieldsTypeoverlapMetricsArray); virtual;
  2739. //2.6.4. bug workaround
  2740. {$IFDEF VER2_6}
  2741. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2742. {$ENDIF VER2_6}
  2743. Public
  2744. Published
  2745. Property breakdown : TCrossDimensionReachReportCompatibleFieldsTypebreakdownArray Index 0 Read Fbreakdown Write Setbreakdown;
  2746. Property dimensionFilters : TCrossDimensionReachReportCompatibleFieldsTypedimensionFiltersArray Index 8 Read FdimensionFilters Write SetdimensionFilters;
  2747. Property kind : String Index 16 Read Fkind Write Setkind;
  2748. Property metrics : TCrossDimensionReachReportCompatibleFieldsTypemetricsArray Index 24 Read Fmetrics Write Setmetrics;
  2749. Property overlapMetrics : TCrossDimensionReachReportCompatibleFieldsTypeoverlapMetricsArray Index 32 Read FoverlapMetrics Write SetoverlapMetrics;
  2750. end;
  2751. TCrossDimensionReachReportCompatibleFieldsClass = Class of TCrossDimensionReachReportCompatibleFields;
  2752. { --------------------------------------------------------------------
  2753. TCustomFloodlightVariable
  2754. --------------------------------------------------------------------}
  2755. TCustomFloodlightVariable = Class(TGoogleBaseObject)
  2756. Private
  2757. Fkind : String;
  2758. F_type : String;
  2759. Fvalue : String;
  2760. Protected
  2761. Class Function ExportPropertyName(Const AName : String) : string; override;
  2762. //Property setters
  2763. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  2764. Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
  2765. Procedure Setvalue(AIndex : Integer; const AValue : String); virtual;
  2766. Public
  2767. Published
  2768. Property kind : String Index 0 Read Fkind Write Setkind;
  2769. Property _type : String Index 8 Read F_type Write Set_type;
  2770. Property value : String Index 16 Read Fvalue Write Setvalue;
  2771. end;
  2772. TCustomFloodlightVariableClass = Class of TCustomFloodlightVariable;
  2773. { --------------------------------------------------------------------
  2774. TCustomRichMediaEvents
  2775. --------------------------------------------------------------------}
  2776. TCustomRichMediaEvents = Class(TGoogleBaseObject)
  2777. Private
  2778. FfilteredEventIds : TCustomRichMediaEventsTypefilteredEventIdsArray;
  2779. Fkind : String;
  2780. Protected
  2781. //Property setters
  2782. Procedure SetfilteredEventIds(AIndex : Integer; const AValue : TCustomRichMediaEventsTypefilteredEventIdsArray); virtual;
  2783. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  2784. //2.6.4. bug workaround
  2785. {$IFDEF VER2_6}
  2786. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2787. {$ENDIF VER2_6}
  2788. Public
  2789. Published
  2790. Property filteredEventIds : TCustomRichMediaEventsTypefilteredEventIdsArray Index 0 Read FfilteredEventIds Write SetfilteredEventIds;
  2791. Property kind : String Index 8 Read Fkind Write Setkind;
  2792. end;
  2793. TCustomRichMediaEventsClass = Class of TCustomRichMediaEvents;
  2794. { --------------------------------------------------------------------
  2795. TDateRange
  2796. --------------------------------------------------------------------}
  2797. TDateRange = Class(TGoogleBaseObject)
  2798. Private
  2799. FendDate : TDate;
  2800. Fkind : String;
  2801. FrelativeDateRange : String;
  2802. FstartDate : TDate;
  2803. Protected
  2804. //Property setters
  2805. Procedure SetendDate(AIndex : Integer; const AValue : TDate); virtual;
  2806. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  2807. Procedure SetrelativeDateRange(AIndex : Integer; const AValue : String); virtual;
  2808. Procedure SetstartDate(AIndex : Integer; const AValue : TDate); virtual;
  2809. Public
  2810. Published
  2811. Property endDate : TDate Index 0 Read FendDate Write SetendDate;
  2812. Property kind : String Index 8 Read Fkind Write Setkind;
  2813. Property relativeDateRange : String Index 16 Read FrelativeDateRange Write SetrelativeDateRange;
  2814. Property startDate : TDate Index 24 Read FstartDate Write SetstartDate;
  2815. end;
  2816. TDateRangeClass = Class of TDateRange;
  2817. { --------------------------------------------------------------------
  2818. TDayPartTargeting
  2819. --------------------------------------------------------------------}
  2820. TDayPartTargeting = Class(TGoogleBaseObject)
  2821. Private
  2822. FdaysOfWeek : TStringArray;
  2823. FhoursOfDay : TintegerArray;
  2824. FuserLocalTime : boolean;
  2825. Protected
  2826. //Property setters
  2827. Procedure SetdaysOfWeek(AIndex : Integer; const AValue : TStringArray); virtual;
  2828. Procedure SethoursOfDay(AIndex : Integer; const AValue : TintegerArray); virtual;
  2829. Procedure SetuserLocalTime(AIndex : Integer; const AValue : boolean); virtual;
  2830. //2.6.4. bug workaround
  2831. {$IFDEF VER2_6}
  2832. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2833. {$ENDIF VER2_6}
  2834. Public
  2835. Published
  2836. Property daysOfWeek : TStringArray Index 0 Read FdaysOfWeek Write SetdaysOfWeek;
  2837. Property hoursOfDay : TintegerArray Index 8 Read FhoursOfDay Write SethoursOfDay;
  2838. Property userLocalTime : boolean Index 16 Read FuserLocalTime Write SetuserLocalTime;
  2839. end;
  2840. TDayPartTargetingClass = Class of TDayPartTargeting;
  2841. { --------------------------------------------------------------------
  2842. TDefaultClickThroughEventTagProperties
  2843. --------------------------------------------------------------------}
  2844. TDefaultClickThroughEventTagProperties = Class(TGoogleBaseObject)
  2845. Private
  2846. FdefaultClickThroughEventTagId : String;
  2847. FoverrideInheritedEventTag : boolean;
  2848. Protected
  2849. //Property setters
  2850. Procedure SetdefaultClickThroughEventTagId(AIndex : Integer; const AValue : String); virtual;
  2851. Procedure SetoverrideInheritedEventTag(AIndex : Integer; const AValue : boolean); virtual;
  2852. Public
  2853. Published
  2854. Property defaultClickThroughEventTagId : String Index 0 Read FdefaultClickThroughEventTagId Write SetdefaultClickThroughEventTagId;
  2855. Property overrideInheritedEventTag : boolean Index 8 Read FoverrideInheritedEventTag Write SetoverrideInheritedEventTag;
  2856. end;
  2857. TDefaultClickThroughEventTagPropertiesClass = Class of TDefaultClickThroughEventTagProperties;
  2858. { --------------------------------------------------------------------
  2859. TDeliverySchedule
  2860. --------------------------------------------------------------------}
  2861. TDeliverySchedule = Class(TGoogleBaseObject)
  2862. Private
  2863. FfrequencyCap : TFrequencyCap;
  2864. FhardCutoff : boolean;
  2865. FimpressionRatio : String;
  2866. Fpriority : String;
  2867. Protected
  2868. //Property setters
  2869. Procedure SetfrequencyCap(AIndex : Integer; const AValue : TFrequencyCap); virtual;
  2870. Procedure SethardCutoff(AIndex : Integer; const AValue : boolean); virtual;
  2871. Procedure SetimpressionRatio(AIndex : Integer; const AValue : String); virtual;
  2872. Procedure Setpriority(AIndex : Integer; const AValue : String); virtual;
  2873. Public
  2874. Published
  2875. Property frequencyCap : TFrequencyCap Index 0 Read FfrequencyCap Write SetfrequencyCap;
  2876. Property hardCutoff : boolean Index 8 Read FhardCutoff Write SethardCutoff;
  2877. Property impressionRatio : String Index 16 Read FimpressionRatio Write SetimpressionRatio;
  2878. Property priority : String Index 24 Read Fpriority Write Setpriority;
  2879. end;
  2880. TDeliveryScheduleClass = Class of TDeliverySchedule;
  2881. { --------------------------------------------------------------------
  2882. TDfpSettings
  2883. --------------------------------------------------------------------}
  2884. TDfpSettings = Class(TGoogleBaseObject)
  2885. Private
  2886. Fdfp_network_code : String;
  2887. Fdfp_network_name : String;
  2888. FprogrammaticPlacementAccepted : boolean;
  2889. FpubPaidPlacementAccepted : boolean;
  2890. FpublisherPortalOnly : boolean;
  2891. Protected
  2892. //Property setters
  2893. Procedure Setdfp_network_code(AIndex : Integer; const AValue : String); virtual;
  2894. Procedure Setdfp_network_name(AIndex : Integer; const AValue : String); virtual;
  2895. Procedure SetprogrammaticPlacementAccepted(AIndex : Integer; const AValue : boolean); virtual;
  2896. Procedure SetpubPaidPlacementAccepted(AIndex : Integer; const AValue : boolean); virtual;
  2897. Procedure SetpublisherPortalOnly(AIndex : Integer; const AValue : boolean); virtual;
  2898. Public
  2899. Published
  2900. Property dfp_network_code : String Index 0 Read Fdfp_network_code Write Setdfp_network_code;
  2901. Property dfp_network_name : String Index 8 Read Fdfp_network_name Write Setdfp_network_name;
  2902. Property programmaticPlacementAccepted : boolean Index 16 Read FprogrammaticPlacementAccepted Write SetprogrammaticPlacementAccepted;
  2903. Property pubPaidPlacementAccepted : boolean Index 24 Read FpubPaidPlacementAccepted Write SetpubPaidPlacementAccepted;
  2904. Property publisherPortalOnly : boolean Index 32 Read FpublisherPortalOnly Write SetpublisherPortalOnly;
  2905. end;
  2906. TDfpSettingsClass = Class of TDfpSettings;
  2907. { --------------------------------------------------------------------
  2908. TDimension
  2909. --------------------------------------------------------------------}
  2910. TDimension = Class(TGoogleBaseObject)
  2911. Private
  2912. Fkind : String;
  2913. Fname : String;
  2914. Protected
  2915. //Property setters
  2916. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  2917. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  2918. Public
  2919. Published
  2920. Property kind : String Index 0 Read Fkind Write Setkind;
  2921. Property name : String Index 8 Read Fname Write Setname;
  2922. end;
  2923. TDimensionClass = Class of TDimension;
  2924. { --------------------------------------------------------------------
  2925. TDimensionFilter
  2926. --------------------------------------------------------------------}
  2927. TDimensionFilter = Class(TGoogleBaseObject)
  2928. Private
  2929. FdimensionName : String;
  2930. Fkind : String;
  2931. Fvalue : String;
  2932. Protected
  2933. //Property setters
  2934. Procedure SetdimensionName(AIndex : Integer; const AValue : String); virtual;
  2935. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  2936. Procedure Setvalue(AIndex : Integer; const AValue : String); virtual;
  2937. Public
  2938. Published
  2939. Property dimensionName : String Index 0 Read FdimensionName Write SetdimensionName;
  2940. Property kind : String Index 8 Read Fkind Write Setkind;
  2941. Property value : String Index 16 Read Fvalue Write Setvalue;
  2942. end;
  2943. TDimensionFilterClass = Class of TDimensionFilter;
  2944. { --------------------------------------------------------------------
  2945. TDimensionValue
  2946. --------------------------------------------------------------------}
  2947. TDimensionValue = Class(TGoogleBaseObject)
  2948. Private
  2949. FdimensionName : String;
  2950. Fetag : String;
  2951. Fid : String;
  2952. Fkind : String;
  2953. FmatchType : String;
  2954. Fvalue : String;
  2955. Protected
  2956. //Property setters
  2957. Procedure SetdimensionName(AIndex : Integer; const AValue : String); virtual;
  2958. Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
  2959. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  2960. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  2961. Procedure SetmatchType(AIndex : Integer; const AValue : String); virtual;
  2962. Procedure Setvalue(AIndex : Integer; const AValue : String); virtual;
  2963. Public
  2964. Published
  2965. Property dimensionName : String Index 0 Read FdimensionName Write SetdimensionName;
  2966. Property etag : String Index 8 Read Fetag Write Setetag;
  2967. Property id : String Index 16 Read Fid Write Setid;
  2968. Property kind : String Index 24 Read Fkind Write Setkind;
  2969. Property matchType : String Index 32 Read FmatchType Write SetmatchType;
  2970. Property value : String Index 40 Read Fvalue Write Setvalue;
  2971. end;
  2972. TDimensionValueClass = Class of TDimensionValue;
  2973. { --------------------------------------------------------------------
  2974. TDimensionValueList
  2975. --------------------------------------------------------------------}
  2976. TDimensionValueList = Class(TGoogleBaseObject)
  2977. Private
  2978. Fetag : String;
  2979. Fitems : TDimensionValueListTypeitemsArray;
  2980. Fkind : String;
  2981. FnextPageToken : String;
  2982. Protected
  2983. //Property setters
  2984. Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
  2985. Procedure Setitems(AIndex : Integer; const AValue : TDimensionValueListTypeitemsArray); virtual;
  2986. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  2987. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  2988. //2.6.4. bug workaround
  2989. {$IFDEF VER2_6}
  2990. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2991. {$ENDIF VER2_6}
  2992. Public
  2993. Published
  2994. Property etag : String Index 0 Read Fetag Write Setetag;
  2995. Property items : TDimensionValueListTypeitemsArray Index 8 Read Fitems Write Setitems;
  2996. Property kind : String Index 16 Read Fkind Write Setkind;
  2997. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  2998. end;
  2999. TDimensionValueListClass = Class of TDimensionValueList;
  3000. { --------------------------------------------------------------------
  3001. TDimensionValueRequest
  3002. --------------------------------------------------------------------}
  3003. TDimensionValueRequest = Class(TGoogleBaseObject)
  3004. Private
  3005. FdimensionName : String;
  3006. FendDate : TDate;
  3007. Ffilters : TDimensionValueRequestTypefiltersArray;
  3008. Fkind : String;
  3009. FstartDate : TDate;
  3010. Protected
  3011. //Property setters
  3012. Procedure SetdimensionName(AIndex : Integer; const AValue : String); virtual;
  3013. Procedure SetendDate(AIndex : Integer; const AValue : TDate); virtual;
  3014. Procedure Setfilters(AIndex : Integer; const AValue : TDimensionValueRequestTypefiltersArray); virtual;
  3015. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  3016. Procedure SetstartDate(AIndex : Integer; const AValue : TDate); virtual;
  3017. //2.6.4. bug workaround
  3018. {$IFDEF VER2_6}
  3019. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  3020. {$ENDIF VER2_6}
  3021. Public
  3022. Published
  3023. Property dimensionName : String Index 0 Read FdimensionName Write SetdimensionName;
  3024. Property endDate : TDate Index 8 Read FendDate Write SetendDate;
  3025. Property filters : TDimensionValueRequestTypefiltersArray Index 16 Read Ffilters Write Setfilters;
  3026. Property kind : String Index 24 Read Fkind Write Setkind;
  3027. Property startDate : TDate Index 32 Read FstartDate Write SetstartDate;
  3028. end;
  3029. TDimensionValueRequestClass = Class of TDimensionValueRequest;
  3030. { --------------------------------------------------------------------
  3031. TDirectorySite
  3032. --------------------------------------------------------------------}
  3033. TDirectorySite = Class(TGoogleBaseObject)
  3034. Private
  3035. Factive : boolean;
  3036. FcontactAssignments : TDirectorySiteTypecontactAssignmentsArray;
  3037. FcountryId : String;
  3038. FcurrencyId : String;
  3039. Fdescription : String;
  3040. Fid : String;
  3041. FidDimensionValue : TDimensionValue;
  3042. FinpageTagFormats : TStringArray;
  3043. FinterstitialTagFormats : TStringArray;
  3044. Fkind : String;
  3045. Fname : String;
  3046. FparentId : String;
  3047. Fsettings : TDirectorySiteSettings;
  3048. Furl : String;
  3049. Protected
  3050. //Property setters
  3051. Procedure Setactive(AIndex : Integer; const AValue : boolean); virtual;
  3052. Procedure SetcontactAssignments(AIndex : Integer; const AValue : TDirectorySiteTypecontactAssignmentsArray); virtual;
  3053. Procedure SetcountryId(AIndex : Integer; const AValue : String); virtual;
  3054. Procedure SetcurrencyId(AIndex : Integer; const AValue : String); virtual;
  3055. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  3056. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  3057. Procedure SetidDimensionValue(AIndex : Integer; const AValue : TDimensionValue); virtual;
  3058. Procedure SetinpageTagFormats(AIndex : Integer; const AValue : TStringArray); virtual;
  3059. Procedure SetinterstitialTagFormats(AIndex : Integer; const AValue : TStringArray); virtual;
  3060. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  3061. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  3062. Procedure SetparentId(AIndex : Integer; const AValue : String); virtual;
  3063. Procedure Setsettings(AIndex : Integer; const AValue : TDirectorySiteSettings); virtual;
  3064. Procedure Seturl(AIndex : Integer; const AValue : String); virtual;
  3065. //2.6.4. bug workaround
  3066. {$IFDEF VER2_6}
  3067. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  3068. {$ENDIF VER2_6}
  3069. Public
  3070. Published
  3071. Property active : boolean Index 0 Read Factive Write Setactive;
  3072. Property contactAssignments : TDirectorySiteTypecontactAssignmentsArray Index 8 Read FcontactAssignments Write SetcontactAssignments;
  3073. Property countryId : String Index 16 Read FcountryId Write SetcountryId;
  3074. Property currencyId : String Index 24 Read FcurrencyId Write SetcurrencyId;
  3075. Property description : String Index 32 Read Fdescription Write Setdescription;
  3076. Property id : String Index 40 Read Fid Write Setid;
  3077. Property idDimensionValue : TDimensionValue Index 48 Read FidDimensionValue Write SetidDimensionValue;
  3078. Property inpageTagFormats : TStringArray Index 56 Read FinpageTagFormats Write SetinpageTagFormats;
  3079. Property interstitialTagFormats : TStringArray Index 64 Read FinterstitialTagFormats Write SetinterstitialTagFormats;
  3080. Property kind : String Index 72 Read Fkind Write Setkind;
  3081. Property name : String Index 80 Read Fname Write Setname;
  3082. Property parentId : String Index 88 Read FparentId Write SetparentId;
  3083. Property settings : TDirectorySiteSettings Index 96 Read Fsettings Write Setsettings;
  3084. Property url : String Index 104 Read Furl Write Seturl;
  3085. end;
  3086. TDirectorySiteClass = Class of TDirectorySite;
  3087. { --------------------------------------------------------------------
  3088. TDirectorySiteContact
  3089. --------------------------------------------------------------------}
  3090. TDirectorySiteContact = Class(TGoogleBaseObject)
  3091. Private
  3092. Faddress : String;
  3093. Femail : String;
  3094. FfirstName : String;
  3095. Fid : String;
  3096. Fkind : String;
  3097. FlastName : String;
  3098. Fphone : String;
  3099. Frole : String;
  3100. Ftitle : String;
  3101. F_type : String;
  3102. Protected
  3103. Class Function ExportPropertyName(Const AName : String) : string; override;
  3104. //Property setters
  3105. Procedure Setaddress(AIndex : Integer; const AValue : String); virtual;
  3106. Procedure Setemail(AIndex : Integer; const AValue : String); virtual;
  3107. Procedure SetfirstName(AIndex : Integer; const AValue : String); virtual;
  3108. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  3109. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  3110. Procedure SetlastName(AIndex : Integer; const AValue : String); virtual;
  3111. Procedure Setphone(AIndex : Integer; const AValue : String); virtual;
  3112. Procedure Setrole(AIndex : Integer; const AValue : String); virtual;
  3113. Procedure Settitle(AIndex : Integer; const AValue : String); virtual;
  3114. Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
  3115. Public
  3116. Published
  3117. Property address : String Index 0 Read Faddress Write Setaddress;
  3118. Property email : String Index 8 Read Femail Write Setemail;
  3119. Property firstName : String Index 16 Read FfirstName Write SetfirstName;
  3120. Property id : String Index 24 Read Fid Write Setid;
  3121. Property kind : String Index 32 Read Fkind Write Setkind;
  3122. Property lastName : String Index 40 Read FlastName Write SetlastName;
  3123. Property phone : String Index 48 Read Fphone Write Setphone;
  3124. Property role : String Index 56 Read Frole Write Setrole;
  3125. Property title : String Index 64 Read Ftitle Write Settitle;
  3126. Property _type : String Index 72 Read F_type Write Set_type;
  3127. end;
  3128. TDirectorySiteContactClass = Class of TDirectorySiteContact;
  3129. { --------------------------------------------------------------------
  3130. TDirectorySiteContactAssignment
  3131. --------------------------------------------------------------------}
  3132. TDirectorySiteContactAssignment = Class(TGoogleBaseObject)
  3133. Private
  3134. FcontactId : String;
  3135. Fvisibility : String;
  3136. Protected
  3137. //Property setters
  3138. Procedure SetcontactId(AIndex : Integer; const AValue : String); virtual;
  3139. Procedure Setvisibility(AIndex : Integer; const AValue : String); virtual;
  3140. Public
  3141. Published
  3142. Property contactId : String Index 0 Read FcontactId Write SetcontactId;
  3143. Property visibility : String Index 8 Read Fvisibility Write Setvisibility;
  3144. end;
  3145. TDirectorySiteContactAssignmentClass = Class of TDirectorySiteContactAssignment;
  3146. { --------------------------------------------------------------------
  3147. TDirectorySiteContactsListResponse
  3148. --------------------------------------------------------------------}
  3149. TDirectorySiteContactsListResponse = Class(TGoogleBaseObject)
  3150. Private
  3151. FdirectorySiteContacts : TDirectorySiteContactsListResponseTypedirectorySiteContactsArray;
  3152. Fkind : String;
  3153. FnextPageToken : String;
  3154. Protected
  3155. //Property setters
  3156. Procedure SetdirectorySiteContacts(AIndex : Integer; const AValue : TDirectorySiteContactsListResponseTypedirectorySiteContactsArray); virtual;
  3157. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  3158. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  3159. //2.6.4. bug workaround
  3160. {$IFDEF VER2_6}
  3161. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  3162. {$ENDIF VER2_6}
  3163. Public
  3164. Published
  3165. Property directorySiteContacts : TDirectorySiteContactsListResponseTypedirectorySiteContactsArray Index 0 Read FdirectorySiteContacts Write SetdirectorySiteContacts;
  3166. Property kind : String Index 8 Read Fkind Write Setkind;
  3167. Property nextPageToken : String Index 16 Read FnextPageToken Write SetnextPageToken;
  3168. end;
  3169. TDirectorySiteContactsListResponseClass = Class of TDirectorySiteContactsListResponse;
  3170. { --------------------------------------------------------------------
  3171. TDirectorySiteSettings
  3172. --------------------------------------------------------------------}
  3173. TDirectorySiteSettings = Class(TGoogleBaseObject)
  3174. Private
  3175. FactiveViewOptOut : boolean;
  3176. Fdfp_settings : TDfpSettings;
  3177. Finstream_video_placement_accepted : boolean;
  3178. FinterstitialPlacementAccepted : boolean;
  3179. FnielsenOcrOptOut : boolean;
  3180. FverificationTagOptOut : boolean;
  3181. FvideoActiveViewOptOut : boolean;
  3182. Protected
  3183. //Property setters
  3184. Procedure SetactiveViewOptOut(AIndex : Integer; const AValue : boolean); virtual;
  3185. Procedure Setdfp_settings(AIndex : Integer; const AValue : TDfpSettings); virtual;
  3186. Procedure Setinstream_video_placement_accepted(AIndex : Integer; const AValue : boolean); virtual;
  3187. Procedure SetinterstitialPlacementAccepted(AIndex : Integer; const AValue : boolean); virtual;
  3188. Procedure SetnielsenOcrOptOut(AIndex : Integer; const AValue : boolean); virtual;
  3189. Procedure SetverificationTagOptOut(AIndex : Integer; const AValue : boolean); virtual;
  3190. Procedure SetvideoActiveViewOptOut(AIndex : Integer; const AValue : boolean); virtual;
  3191. Public
  3192. Published
  3193. Property activeViewOptOut : boolean Index 0 Read FactiveViewOptOut Write SetactiveViewOptOut;
  3194. Property dfp_settings : TDfpSettings Index 8 Read Fdfp_settings Write Setdfp_settings;
  3195. Property instream_video_placement_accepted : boolean Index 16 Read Finstream_video_placement_accepted Write Setinstream_video_placement_accepted;
  3196. Property interstitialPlacementAccepted : boolean Index 24 Read FinterstitialPlacementAccepted Write SetinterstitialPlacementAccepted;
  3197. Property nielsenOcrOptOut : boolean Index 32 Read FnielsenOcrOptOut Write SetnielsenOcrOptOut;
  3198. Property verificationTagOptOut : boolean Index 40 Read FverificationTagOptOut Write SetverificationTagOptOut;
  3199. Property videoActiveViewOptOut : boolean Index 48 Read FvideoActiveViewOptOut Write SetvideoActiveViewOptOut;
  3200. end;
  3201. TDirectorySiteSettingsClass = Class of TDirectorySiteSettings;
  3202. { --------------------------------------------------------------------
  3203. TDirectorySitesListResponse
  3204. --------------------------------------------------------------------}
  3205. TDirectorySitesListResponse = Class(TGoogleBaseObject)
  3206. Private
  3207. FdirectorySites : TDirectorySitesListResponseTypedirectorySitesArray;
  3208. Fkind : String;
  3209. FnextPageToken : String;
  3210. Protected
  3211. //Property setters
  3212. Procedure SetdirectorySites(AIndex : Integer; const AValue : TDirectorySitesListResponseTypedirectorySitesArray); virtual;
  3213. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  3214. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  3215. //2.6.4. bug workaround
  3216. {$IFDEF VER2_6}
  3217. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  3218. {$ENDIF VER2_6}
  3219. Public
  3220. Published
  3221. Property directorySites : TDirectorySitesListResponseTypedirectorySitesArray Index 0 Read FdirectorySites Write SetdirectorySites;
  3222. Property kind : String Index 8 Read Fkind Write Setkind;
  3223. Property nextPageToken : String Index 16 Read FnextPageToken Write SetnextPageToken;
  3224. end;
  3225. TDirectorySitesListResponseClass = Class of TDirectorySitesListResponse;
  3226. { --------------------------------------------------------------------
  3227. TDynamicTargetingKey
  3228. --------------------------------------------------------------------}
  3229. TDynamicTargetingKey = Class(TGoogleBaseObject)
  3230. Private
  3231. Fkind : String;
  3232. Fname : String;
  3233. FobjectId : String;
  3234. FobjectType : String;
  3235. Protected
  3236. //Property setters
  3237. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  3238. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  3239. Procedure SetobjectId(AIndex : Integer; const AValue : String); virtual;
  3240. Procedure SetobjectType(AIndex : Integer; const AValue : String); virtual;
  3241. Public
  3242. Published
  3243. Property kind : String Index 0 Read Fkind Write Setkind;
  3244. Property name : String Index 8 Read Fname Write Setname;
  3245. Property objectId : String Index 16 Read FobjectId Write SetobjectId;
  3246. Property objectType : String Index 24 Read FobjectType Write SetobjectType;
  3247. end;
  3248. TDynamicTargetingKeyClass = Class of TDynamicTargetingKey;
  3249. { --------------------------------------------------------------------
  3250. TDynamicTargetingKeysListResponse
  3251. --------------------------------------------------------------------}
  3252. TDynamicTargetingKeysListResponse = Class(TGoogleBaseObject)
  3253. Private
  3254. FdynamicTargetingKeys : TDynamicTargetingKeysListResponseTypedynamicTargetingKeysArray;
  3255. Fkind : String;
  3256. Protected
  3257. //Property setters
  3258. Procedure SetdynamicTargetingKeys(AIndex : Integer; const AValue : TDynamicTargetingKeysListResponseTypedynamicTargetingKeysArray); virtual;
  3259. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  3260. //2.6.4. bug workaround
  3261. {$IFDEF VER2_6}
  3262. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  3263. {$ENDIF VER2_6}
  3264. Public
  3265. Published
  3266. Property dynamicTargetingKeys : TDynamicTargetingKeysListResponseTypedynamicTargetingKeysArray Index 0 Read FdynamicTargetingKeys Write SetdynamicTargetingKeys;
  3267. Property kind : String Index 8 Read Fkind Write Setkind;
  3268. end;
  3269. TDynamicTargetingKeysListResponseClass = Class of TDynamicTargetingKeysListResponse;
  3270. { --------------------------------------------------------------------
  3271. TEncryptionInfo
  3272. --------------------------------------------------------------------}
  3273. TEncryptionInfo = Class(TGoogleBaseObject)
  3274. Private
  3275. FencryptionEntityId : String;
  3276. FencryptionEntityType : String;
  3277. FencryptionSource : String;
  3278. Fkind : String;
  3279. Protected
  3280. //Property setters
  3281. Procedure SetencryptionEntityId(AIndex : Integer; const AValue : String); virtual;
  3282. Procedure SetencryptionEntityType(AIndex : Integer; const AValue : String); virtual;
  3283. Procedure SetencryptionSource(AIndex : Integer; const AValue : String); virtual;
  3284. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  3285. Public
  3286. Published
  3287. Property encryptionEntityId : String Index 0 Read FencryptionEntityId Write SetencryptionEntityId;
  3288. Property encryptionEntityType : String Index 8 Read FencryptionEntityType Write SetencryptionEntityType;
  3289. Property encryptionSource : String Index 16 Read FencryptionSource Write SetencryptionSource;
  3290. Property kind : String Index 24 Read Fkind Write Setkind;
  3291. end;
  3292. TEncryptionInfoClass = Class of TEncryptionInfo;
  3293. { --------------------------------------------------------------------
  3294. TEventTag
  3295. --------------------------------------------------------------------}
  3296. TEventTag = Class(TGoogleBaseObject)
  3297. Private
  3298. FaccountId : String;
  3299. FadvertiserId : String;
  3300. FadvertiserIdDimensionValue : TDimensionValue;
  3301. FcampaignId : String;
  3302. FcampaignIdDimensionValue : TDimensionValue;
  3303. FenabledByDefault : boolean;
  3304. FexcludeFromAdxRequests : boolean;
  3305. Fid : String;
  3306. Fkind : String;
  3307. Fname : String;
  3308. FsiteFilterType : String;
  3309. FsiteIds : TStringArray;
  3310. FsslCompliant : boolean;
  3311. Fstatus : String;
  3312. FsubaccountId : String;
  3313. F_type : String;
  3314. Furl : String;
  3315. FurlEscapeLevels : integer;
  3316. Protected
  3317. Class Function ExportPropertyName(Const AName : String) : string; override;
  3318. //Property setters
  3319. Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
  3320. Procedure SetadvertiserId(AIndex : Integer; const AValue : String); virtual;
  3321. Procedure SetadvertiserIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue); virtual;
  3322. Procedure SetcampaignId(AIndex : Integer; const AValue : String); virtual;
  3323. Procedure SetcampaignIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue); virtual;
  3324. Procedure SetenabledByDefault(AIndex : Integer; const AValue : boolean); virtual;
  3325. Procedure SetexcludeFromAdxRequests(AIndex : Integer; const AValue : boolean); virtual;
  3326. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  3327. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  3328. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  3329. Procedure SetsiteFilterType(AIndex : Integer; const AValue : String); virtual;
  3330. Procedure SetsiteIds(AIndex : Integer; const AValue : TStringArray); virtual;
  3331. Procedure SetsslCompliant(AIndex : Integer; const AValue : boolean); virtual;
  3332. Procedure Setstatus(AIndex : Integer; const AValue : String); virtual;
  3333. Procedure SetsubaccountId(AIndex : Integer; const AValue : String); virtual;
  3334. Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
  3335. Procedure Seturl(AIndex : Integer; const AValue : String); virtual;
  3336. Procedure SeturlEscapeLevels(AIndex : Integer; const AValue : integer); virtual;
  3337. //2.6.4. bug workaround
  3338. {$IFDEF VER2_6}
  3339. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  3340. {$ENDIF VER2_6}
  3341. Public
  3342. Published
  3343. Property accountId : String Index 0 Read FaccountId Write SetaccountId;
  3344. Property advertiserId : String Index 8 Read FadvertiserId Write SetadvertiserId;
  3345. Property advertiserIdDimensionValue : TDimensionValue Index 16 Read FadvertiserIdDimensionValue Write SetadvertiserIdDimensionValue;
  3346. Property campaignId : String Index 24 Read FcampaignId Write SetcampaignId;
  3347. Property campaignIdDimensionValue : TDimensionValue Index 32 Read FcampaignIdDimensionValue Write SetcampaignIdDimensionValue;
  3348. Property enabledByDefault : boolean Index 40 Read FenabledByDefault Write SetenabledByDefault;
  3349. Property excludeFromAdxRequests : boolean Index 48 Read FexcludeFromAdxRequests Write SetexcludeFromAdxRequests;
  3350. Property id : String Index 56 Read Fid Write Setid;
  3351. Property kind : String Index 64 Read Fkind Write Setkind;
  3352. Property name : String Index 72 Read Fname Write Setname;
  3353. Property siteFilterType : String Index 80 Read FsiteFilterType Write SetsiteFilterType;
  3354. Property siteIds : TStringArray Index 88 Read FsiteIds Write SetsiteIds;
  3355. Property sslCompliant : boolean Index 96 Read FsslCompliant Write SetsslCompliant;
  3356. Property status : String Index 104 Read Fstatus Write Setstatus;
  3357. Property subaccountId : String Index 112 Read FsubaccountId Write SetsubaccountId;
  3358. Property _type : String Index 120 Read F_type Write Set_type;
  3359. Property url : String Index 128 Read Furl Write Seturl;
  3360. Property urlEscapeLevels : integer Index 136 Read FurlEscapeLevels Write SeturlEscapeLevels;
  3361. end;
  3362. TEventTagClass = Class of TEventTag;
  3363. { --------------------------------------------------------------------
  3364. TEventTagOverride
  3365. --------------------------------------------------------------------}
  3366. TEventTagOverride = Class(TGoogleBaseObject)
  3367. Private
  3368. Fenabled : boolean;
  3369. Fid : String;
  3370. Protected
  3371. //Property setters
  3372. Procedure Setenabled(AIndex : Integer; const AValue : boolean); virtual;
  3373. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  3374. Public
  3375. Published
  3376. Property enabled : boolean Index 0 Read Fenabled Write Setenabled;
  3377. Property id : String Index 8 Read Fid Write Setid;
  3378. end;
  3379. TEventTagOverrideClass = Class of TEventTagOverride;
  3380. { --------------------------------------------------------------------
  3381. TEventTagsListResponse
  3382. --------------------------------------------------------------------}
  3383. TEventTagsListResponse = Class(TGoogleBaseObject)
  3384. Private
  3385. FeventTags : TEventTagsListResponseTypeeventTagsArray;
  3386. Fkind : String;
  3387. Protected
  3388. //Property setters
  3389. Procedure SeteventTags(AIndex : Integer; const AValue : TEventTagsListResponseTypeeventTagsArray); virtual;
  3390. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  3391. //2.6.4. bug workaround
  3392. {$IFDEF VER2_6}
  3393. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  3394. {$ENDIF VER2_6}
  3395. Public
  3396. Published
  3397. Property eventTags : TEventTagsListResponseTypeeventTagsArray Index 0 Read FeventTags Write SeteventTags;
  3398. Property kind : String Index 8 Read Fkind Write Setkind;
  3399. end;
  3400. TEventTagsListResponseClass = Class of TEventTagsListResponse;
  3401. { --------------------------------------------------------------------
  3402. TFileTypeurls
  3403. --------------------------------------------------------------------}
  3404. TFileTypeurls = Class(TGoogleBaseObject)
  3405. Private
  3406. FapiUrl : String;
  3407. FbrowserUrl : String;
  3408. Protected
  3409. //Property setters
  3410. Procedure SetapiUrl(AIndex : Integer; const AValue : String); virtual;
  3411. Procedure SetbrowserUrl(AIndex : Integer; const AValue : String); virtual;
  3412. Public
  3413. Published
  3414. Property apiUrl : String Index 0 Read FapiUrl Write SetapiUrl;
  3415. Property browserUrl : String Index 8 Read FbrowserUrl Write SetbrowserUrl;
  3416. end;
  3417. TFileTypeurlsClass = Class of TFileTypeurls;
  3418. { --------------------------------------------------------------------
  3419. TFile
  3420. --------------------------------------------------------------------}
  3421. TFile = Class(TGoogleBaseObject)
  3422. Private
  3423. FdateRange : TDateRange;
  3424. Fetag : String;
  3425. FfileName : String;
  3426. Fformat : String;
  3427. Fid : String;
  3428. Fkind : String;
  3429. FlastModifiedTime : String;
  3430. FreportId : String;
  3431. Fstatus : String;
  3432. Furls : TFileTypeurls;
  3433. Protected
  3434. //Property setters
  3435. Procedure SetdateRange(AIndex : Integer; const AValue : TDateRange); virtual;
  3436. Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
  3437. Procedure SetfileName(AIndex : Integer; const AValue : String); virtual;
  3438. Procedure Setformat(AIndex : Integer; const AValue : String); virtual;
  3439. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  3440. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  3441. Procedure SetlastModifiedTime(AIndex : Integer; const AValue : String); virtual;
  3442. Procedure SetreportId(AIndex : Integer; const AValue : String); virtual;
  3443. Procedure Setstatus(AIndex : Integer; const AValue : String); virtual;
  3444. Procedure Seturls(AIndex : Integer; const AValue : TFileTypeurls); virtual;
  3445. Public
  3446. Published
  3447. Property dateRange : TDateRange Index 0 Read FdateRange Write SetdateRange;
  3448. Property etag : String Index 8 Read Fetag Write Setetag;
  3449. Property fileName : String Index 16 Read FfileName Write SetfileName;
  3450. Property format : String Index 24 Read Fformat Write Setformat;
  3451. Property id : String Index 32 Read Fid Write Setid;
  3452. Property kind : String Index 40 Read Fkind Write Setkind;
  3453. Property lastModifiedTime : String Index 48 Read FlastModifiedTime Write SetlastModifiedTime;
  3454. Property reportId : String Index 56 Read FreportId Write SetreportId;
  3455. Property status : String Index 64 Read Fstatus Write Setstatus;
  3456. Property urls : TFileTypeurls Index 72 Read Furls Write Seturls;
  3457. end;
  3458. TFileClass = Class of TFile;
  3459. { --------------------------------------------------------------------
  3460. TFileList
  3461. --------------------------------------------------------------------}
  3462. TFileList = Class(TGoogleBaseObject)
  3463. Private
  3464. Fetag : String;
  3465. Fitems : TFileListTypeitemsArray;
  3466. Fkind : String;
  3467. FnextPageToken : String;
  3468. Protected
  3469. //Property setters
  3470. Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
  3471. Procedure Setitems(AIndex : Integer; const AValue : TFileListTypeitemsArray); virtual;
  3472. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  3473. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  3474. //2.6.4. bug workaround
  3475. {$IFDEF VER2_6}
  3476. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  3477. {$ENDIF VER2_6}
  3478. Public
  3479. Published
  3480. Property etag : String Index 0 Read Fetag Write Setetag;
  3481. Property items : TFileListTypeitemsArray Index 8 Read Fitems Write Setitems;
  3482. Property kind : String Index 16 Read Fkind Write Setkind;
  3483. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  3484. end;
  3485. TFileListClass = Class of TFileList;
  3486. { --------------------------------------------------------------------
  3487. TFlight
  3488. --------------------------------------------------------------------}
  3489. TFlight = Class(TGoogleBaseObject)
  3490. Private
  3491. FendDate : TDate;
  3492. FrateOrCost : String;
  3493. FstartDate : TDate;
  3494. Funits : String;
  3495. Protected
  3496. //Property setters
  3497. Procedure SetendDate(AIndex : Integer; const AValue : TDate); virtual;
  3498. Procedure SetrateOrCost(AIndex : Integer; const AValue : String); virtual;
  3499. Procedure SetstartDate(AIndex : Integer; const AValue : TDate); virtual;
  3500. Procedure Setunits(AIndex : Integer; const AValue : String); virtual;
  3501. Public
  3502. Published
  3503. Property endDate : TDate Index 0 Read FendDate Write SetendDate;
  3504. Property rateOrCost : String Index 8 Read FrateOrCost Write SetrateOrCost;
  3505. Property startDate : TDate Index 16 Read FstartDate Write SetstartDate;
  3506. Property units : String Index 24 Read Funits Write Setunits;
  3507. end;
  3508. TFlightClass = Class of TFlight;
  3509. { --------------------------------------------------------------------
  3510. TFloodlightActivitiesGenerateTagResponse
  3511. --------------------------------------------------------------------}
  3512. TFloodlightActivitiesGenerateTagResponse = Class(TGoogleBaseObject)
  3513. Private
  3514. FfloodlightActivityTag : String;
  3515. Fkind : String;
  3516. Protected
  3517. //Property setters
  3518. Procedure SetfloodlightActivityTag(AIndex : Integer; const AValue : String); virtual;
  3519. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  3520. Public
  3521. Published
  3522. Property floodlightActivityTag : String Index 0 Read FfloodlightActivityTag Write SetfloodlightActivityTag;
  3523. Property kind : String Index 8 Read Fkind Write Setkind;
  3524. end;
  3525. TFloodlightActivitiesGenerateTagResponseClass = Class of TFloodlightActivitiesGenerateTagResponse;
  3526. { --------------------------------------------------------------------
  3527. TFloodlightActivitiesListResponse
  3528. --------------------------------------------------------------------}
  3529. TFloodlightActivitiesListResponse = Class(TGoogleBaseObject)
  3530. Private
  3531. FfloodlightActivities : TFloodlightActivitiesListResponseTypefloodlightActivitiesArray;
  3532. Fkind : String;
  3533. FnextPageToken : String;
  3534. Protected
  3535. //Property setters
  3536. Procedure SetfloodlightActivities(AIndex : Integer; const AValue : TFloodlightActivitiesListResponseTypefloodlightActivitiesArray); virtual;
  3537. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  3538. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  3539. //2.6.4. bug workaround
  3540. {$IFDEF VER2_6}
  3541. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  3542. {$ENDIF VER2_6}
  3543. Public
  3544. Published
  3545. Property floodlightActivities : TFloodlightActivitiesListResponseTypefloodlightActivitiesArray Index 0 Read FfloodlightActivities Write SetfloodlightActivities;
  3546. Property kind : String Index 8 Read Fkind Write Setkind;
  3547. Property nextPageToken : String Index 16 Read FnextPageToken Write SetnextPageToken;
  3548. end;
  3549. TFloodlightActivitiesListResponseClass = Class of TFloodlightActivitiesListResponse;
  3550. { --------------------------------------------------------------------
  3551. TFloodlightActivity
  3552. --------------------------------------------------------------------}
  3553. TFloodlightActivity = Class(TGoogleBaseObject)
  3554. Private
  3555. FaccountId : String;
  3556. FadvertiserId : String;
  3557. FadvertiserIdDimensionValue : TDimensionValue;
  3558. FcacheBustingType : String;
  3559. FcountingMethod : String;
  3560. FdefaultTags : TFloodlightActivityTypedefaultTagsArray;
  3561. FexpectedUrl : String;
  3562. FfloodlightActivityGroupId : String;
  3563. FfloodlightActivityGroupName : String;
  3564. FfloodlightActivityGroupTagString : String;
  3565. FfloodlightActivityGroupType : String;
  3566. FfloodlightConfigurationId : String;
  3567. FfloodlightConfigurationIdDimensionValue : TDimensionValue;
  3568. Fhidden : boolean;
  3569. Fid : String;
  3570. FidDimensionValue : TDimensionValue;
  3571. FimageTagEnabled : boolean;
  3572. Fkind : String;
  3573. Fname : String;
  3574. Fnotes : String;
  3575. FpublisherTags : TFloodlightActivityTypepublisherTagsArray;
  3576. Fsecure : boolean;
  3577. FsslCompliant : boolean;
  3578. FsslRequired : boolean;
  3579. FsubaccountId : String;
  3580. FtagFormat : String;
  3581. FtagString : String;
  3582. FuserDefinedVariableTypes : TStringArray;
  3583. Protected
  3584. //Property setters
  3585. Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
  3586. Procedure SetadvertiserId(AIndex : Integer; const AValue : String); virtual;
  3587. Procedure SetadvertiserIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue); virtual;
  3588. Procedure SetcacheBustingType(AIndex : Integer; const AValue : String); virtual;
  3589. Procedure SetcountingMethod(AIndex : Integer; const AValue : String); virtual;
  3590. Procedure SetdefaultTags(AIndex : Integer; const AValue : TFloodlightActivityTypedefaultTagsArray); virtual;
  3591. Procedure SetexpectedUrl(AIndex : Integer; const AValue : String); virtual;
  3592. Procedure SetfloodlightActivityGroupId(AIndex : Integer; const AValue : String); virtual;
  3593. Procedure SetfloodlightActivityGroupName(AIndex : Integer; const AValue : String); virtual;
  3594. Procedure SetfloodlightActivityGroupTagString(AIndex : Integer; const AValue : String); virtual;
  3595. Procedure SetfloodlightActivityGroupType(AIndex : Integer; const AValue : String); virtual;
  3596. Procedure SetfloodlightConfigurationId(AIndex : Integer; const AValue : String); virtual;
  3597. Procedure SetfloodlightConfigurationIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue); virtual;
  3598. Procedure Sethidden(AIndex : Integer; const AValue : boolean); virtual;
  3599. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  3600. Procedure SetidDimensionValue(AIndex : Integer; const AValue : TDimensionValue); virtual;
  3601. Procedure SetimageTagEnabled(AIndex : Integer; const AValue : boolean); virtual;
  3602. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  3603. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  3604. Procedure Setnotes(AIndex : Integer; const AValue : String); virtual;
  3605. Procedure SetpublisherTags(AIndex : Integer; const AValue : TFloodlightActivityTypepublisherTagsArray); virtual;
  3606. Procedure Setsecure(AIndex : Integer; const AValue : boolean); virtual;
  3607. Procedure SetsslCompliant(AIndex : Integer; const AValue : boolean); virtual;
  3608. Procedure SetsslRequired(AIndex : Integer; const AValue : boolean); virtual;
  3609. Procedure SetsubaccountId(AIndex : Integer; const AValue : String); virtual;
  3610. Procedure SettagFormat(AIndex : Integer; const AValue : String); virtual;
  3611. Procedure SettagString(AIndex : Integer; const AValue : String); virtual;
  3612. Procedure SetuserDefinedVariableTypes(AIndex : Integer; const AValue : TStringArray); virtual;
  3613. //2.6.4. bug workaround
  3614. {$IFDEF VER2_6}
  3615. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  3616. {$ENDIF VER2_6}
  3617. Public
  3618. Published
  3619. Property accountId : String Index 0 Read FaccountId Write SetaccountId;
  3620. Property advertiserId : String Index 8 Read FadvertiserId Write SetadvertiserId;
  3621. Property advertiserIdDimensionValue : TDimensionValue Index 16 Read FadvertiserIdDimensionValue Write SetadvertiserIdDimensionValue;
  3622. Property cacheBustingType : String Index 24 Read FcacheBustingType Write SetcacheBustingType;
  3623. Property countingMethod : String Index 32 Read FcountingMethod Write SetcountingMethod;
  3624. Property defaultTags : TFloodlightActivityTypedefaultTagsArray Index 40 Read FdefaultTags Write SetdefaultTags;
  3625. Property expectedUrl : String Index 48 Read FexpectedUrl Write SetexpectedUrl;
  3626. Property floodlightActivityGroupId : String Index 56 Read FfloodlightActivityGroupId Write SetfloodlightActivityGroupId;
  3627. Property floodlightActivityGroupName : String Index 64 Read FfloodlightActivityGroupName Write SetfloodlightActivityGroupName;
  3628. Property floodlightActivityGroupTagString : String Index 72 Read FfloodlightActivityGroupTagString Write SetfloodlightActivityGroupTagString;
  3629. Property floodlightActivityGroupType : String Index 80 Read FfloodlightActivityGroupType Write SetfloodlightActivityGroupType;
  3630. Property floodlightConfigurationId : String Index 88 Read FfloodlightConfigurationId Write SetfloodlightConfigurationId;
  3631. Property floodlightConfigurationIdDimensionValue : TDimensionValue Index 96 Read FfloodlightConfigurationIdDimensionValue Write SetfloodlightConfigurationIdDimensionValue;
  3632. Property hidden : boolean Index 104 Read Fhidden Write Sethidden;
  3633. Property id : String Index 112 Read Fid Write Setid;
  3634. Property idDimensionValue : TDimensionValue Index 120 Read FidDimensionValue Write SetidDimensionValue;
  3635. Property imageTagEnabled : boolean Index 128 Read FimageTagEnabled Write SetimageTagEnabled;
  3636. Property kind : String Index 136 Read Fkind Write Setkind;
  3637. Property name : String Index 144 Read Fname Write Setname;
  3638. Property notes : String Index 152 Read Fnotes Write Setnotes;
  3639. Property publisherTags : TFloodlightActivityTypepublisherTagsArray Index 160 Read FpublisherTags Write SetpublisherTags;
  3640. Property secure : boolean Index 168 Read Fsecure Write Setsecure;
  3641. Property sslCompliant : boolean Index 176 Read FsslCompliant Write SetsslCompliant;
  3642. Property sslRequired : boolean Index 184 Read FsslRequired Write SetsslRequired;
  3643. Property subaccountId : String Index 192 Read FsubaccountId Write SetsubaccountId;
  3644. Property tagFormat : String Index 200 Read FtagFormat Write SettagFormat;
  3645. Property tagString : String Index 208 Read FtagString Write SettagString;
  3646. Property userDefinedVariableTypes : TStringArray Index 216 Read FuserDefinedVariableTypes Write SetuserDefinedVariableTypes;
  3647. end;
  3648. TFloodlightActivityClass = Class of TFloodlightActivity;
  3649. { --------------------------------------------------------------------
  3650. TFloodlightActivityDynamicTag
  3651. --------------------------------------------------------------------}
  3652. TFloodlightActivityDynamicTag = Class(TGoogleBaseObject)
  3653. Private
  3654. Fid : String;
  3655. Fname : String;
  3656. Ftag : String;
  3657. Protected
  3658. //Property setters
  3659. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  3660. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  3661. Procedure Settag(AIndex : Integer; const AValue : String); virtual;
  3662. Public
  3663. Published
  3664. Property id : String Index 0 Read Fid Write Setid;
  3665. Property name : String Index 8 Read Fname Write Setname;
  3666. Property tag : String Index 16 Read Ftag Write Settag;
  3667. end;
  3668. TFloodlightActivityDynamicTagClass = Class of TFloodlightActivityDynamicTag;
  3669. { --------------------------------------------------------------------
  3670. TFloodlightActivityGroup
  3671. --------------------------------------------------------------------}
  3672. TFloodlightActivityGroup = Class(TGoogleBaseObject)
  3673. Private
  3674. FaccountId : String;
  3675. FadvertiserId : String;
  3676. FadvertiserIdDimensionValue : TDimensionValue;
  3677. FfloodlightConfigurationId : String;
  3678. FfloodlightConfigurationIdDimensionValue : TDimensionValue;
  3679. Fid : String;
  3680. FidDimensionValue : TDimensionValue;
  3681. Fkind : String;
  3682. Fname : String;
  3683. FsubaccountId : String;
  3684. FtagString : String;
  3685. F_type : String;
  3686. Protected
  3687. Class Function ExportPropertyName(Const AName : String) : string; override;
  3688. //Property setters
  3689. Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
  3690. Procedure SetadvertiserId(AIndex : Integer; const AValue : String); virtual;
  3691. Procedure SetadvertiserIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue); virtual;
  3692. Procedure SetfloodlightConfigurationId(AIndex : Integer; const AValue : String); virtual;
  3693. Procedure SetfloodlightConfigurationIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue); virtual;
  3694. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  3695. Procedure SetidDimensionValue(AIndex : Integer; const AValue : TDimensionValue); virtual;
  3696. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  3697. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  3698. Procedure SetsubaccountId(AIndex : Integer; const AValue : String); virtual;
  3699. Procedure SettagString(AIndex : Integer; const AValue : String); virtual;
  3700. Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
  3701. Public
  3702. Published
  3703. Property accountId : String Index 0 Read FaccountId Write SetaccountId;
  3704. Property advertiserId : String Index 8 Read FadvertiserId Write SetadvertiserId;
  3705. Property advertiserIdDimensionValue : TDimensionValue Index 16 Read FadvertiserIdDimensionValue Write SetadvertiserIdDimensionValue;
  3706. Property floodlightConfigurationId : String Index 24 Read FfloodlightConfigurationId Write SetfloodlightConfigurationId;
  3707. Property floodlightConfigurationIdDimensionValue : TDimensionValue Index 32 Read FfloodlightConfigurationIdDimensionValue Write SetfloodlightConfigurationIdDimensionValue;
  3708. Property id : String Index 40 Read Fid Write Setid;
  3709. Property idDimensionValue : TDimensionValue Index 48 Read FidDimensionValue Write SetidDimensionValue;
  3710. Property kind : String Index 56 Read Fkind Write Setkind;
  3711. Property name : String Index 64 Read Fname Write Setname;
  3712. Property subaccountId : String Index 72 Read FsubaccountId Write SetsubaccountId;
  3713. Property tagString : String Index 80 Read FtagString Write SettagString;
  3714. Property _type : String Index 88 Read F_type Write Set_type;
  3715. end;
  3716. TFloodlightActivityGroupClass = Class of TFloodlightActivityGroup;
  3717. { --------------------------------------------------------------------
  3718. TFloodlightActivityGroupsListResponse
  3719. --------------------------------------------------------------------}
  3720. TFloodlightActivityGroupsListResponse = Class(TGoogleBaseObject)
  3721. Private
  3722. FfloodlightActivityGroups : TFloodlightActivityGroupsListResponseTypefloodlightActivityGroupsArray;
  3723. Fkind : String;
  3724. FnextPageToken : String;
  3725. Protected
  3726. //Property setters
  3727. Procedure SetfloodlightActivityGroups(AIndex : Integer; const AValue : TFloodlightActivityGroupsListResponseTypefloodlightActivityGroupsArray); virtual;
  3728. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  3729. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  3730. //2.6.4. bug workaround
  3731. {$IFDEF VER2_6}
  3732. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  3733. {$ENDIF VER2_6}
  3734. Public
  3735. Published
  3736. Property floodlightActivityGroups : TFloodlightActivityGroupsListResponseTypefloodlightActivityGroupsArray Index 0 Read FfloodlightActivityGroups Write SetfloodlightActivityGroups;
  3737. Property kind : String Index 8 Read Fkind Write Setkind;
  3738. Property nextPageToken : String Index 16 Read FnextPageToken Write SetnextPageToken;
  3739. end;
  3740. TFloodlightActivityGroupsListResponseClass = Class of TFloodlightActivityGroupsListResponse;
  3741. { --------------------------------------------------------------------
  3742. TFloodlightActivityPublisherDynamicTag
  3743. --------------------------------------------------------------------}
  3744. TFloodlightActivityPublisherDynamicTag = Class(TGoogleBaseObject)
  3745. Private
  3746. FclickThrough : boolean;
  3747. FdirectorySiteId : String;
  3748. FdynamicTag : TFloodlightActivityDynamicTag;
  3749. FsiteId : String;
  3750. FsiteIdDimensionValue : TDimensionValue;
  3751. FviewThrough : boolean;
  3752. Protected
  3753. //Property setters
  3754. Procedure SetclickThrough(AIndex : Integer; const AValue : boolean); virtual;
  3755. Procedure SetdirectorySiteId(AIndex : Integer; const AValue : String); virtual;
  3756. Procedure SetdynamicTag(AIndex : Integer; const AValue : TFloodlightActivityDynamicTag); virtual;
  3757. Procedure SetsiteId(AIndex : Integer; const AValue : String); virtual;
  3758. Procedure SetsiteIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue); virtual;
  3759. Procedure SetviewThrough(AIndex : Integer; const AValue : boolean); virtual;
  3760. Public
  3761. Published
  3762. Property clickThrough : boolean Index 0 Read FclickThrough Write SetclickThrough;
  3763. Property directorySiteId : String Index 8 Read FdirectorySiteId Write SetdirectorySiteId;
  3764. Property dynamicTag : TFloodlightActivityDynamicTag Index 16 Read FdynamicTag Write SetdynamicTag;
  3765. Property siteId : String Index 24 Read FsiteId Write SetsiteId;
  3766. Property siteIdDimensionValue : TDimensionValue Index 32 Read FsiteIdDimensionValue Write SetsiteIdDimensionValue;
  3767. Property viewThrough : boolean Index 40 Read FviewThrough Write SetviewThrough;
  3768. end;
  3769. TFloodlightActivityPublisherDynamicTagClass = Class of TFloodlightActivityPublisherDynamicTag;
  3770. { --------------------------------------------------------------------
  3771. TFloodlightConfiguration
  3772. --------------------------------------------------------------------}
  3773. TFloodlightConfiguration = Class(TGoogleBaseObject)
  3774. Private
  3775. FaccountId : String;
  3776. FadvertiserId : String;
  3777. FadvertiserIdDimensionValue : TDimensionValue;
  3778. FanalyticsDataSharingEnabled : boolean;
  3779. FexposureToConversionEnabled : boolean;
  3780. FfirstDayOfWeek : String;
  3781. Fid : String;
  3782. FidDimensionValue : TDimensionValue;
  3783. FinAppAttributionTrackingEnabled : boolean;
  3784. Fkind : String;
  3785. FlookbackConfiguration : TLookbackConfiguration;
  3786. FnaturalSearchConversionAttributionOption : String;
  3787. FomnitureSettings : TOmnitureSettings;
  3788. FstandardVariableTypes : TStringArray;
  3789. FsubaccountId : String;
  3790. FtagSettings : TTagSettings;
  3791. FthirdPartyAuthenticationTokens : TFloodlightConfigurationTypethirdPartyAuthenticationTokensArray;
  3792. FuserDefinedVariableConfigurations : TFloodlightConfigurationTypeuserDefinedVariableConfigurationsArray;
  3793. Protected
  3794. //Property setters
  3795. Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
  3796. Procedure SetadvertiserId(AIndex : Integer; const AValue : String); virtual;
  3797. Procedure SetadvertiserIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue); virtual;
  3798. Procedure SetanalyticsDataSharingEnabled(AIndex : Integer; const AValue : boolean); virtual;
  3799. Procedure SetexposureToConversionEnabled(AIndex : Integer; const AValue : boolean); virtual;
  3800. Procedure SetfirstDayOfWeek(AIndex : Integer; const AValue : String); virtual;
  3801. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  3802. Procedure SetidDimensionValue(AIndex : Integer; const AValue : TDimensionValue); virtual;
  3803. Procedure SetinAppAttributionTrackingEnabled(AIndex : Integer; const AValue : boolean); virtual;
  3804. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  3805. Procedure SetlookbackConfiguration(AIndex : Integer; const AValue : TLookbackConfiguration); virtual;
  3806. Procedure SetnaturalSearchConversionAttributionOption(AIndex : Integer; const AValue : String); virtual;
  3807. Procedure SetomnitureSettings(AIndex : Integer; const AValue : TOmnitureSettings); virtual;
  3808. Procedure SetstandardVariableTypes(AIndex : Integer; const AValue : TStringArray); virtual;
  3809. Procedure SetsubaccountId(AIndex : Integer; const AValue : String); virtual;
  3810. Procedure SettagSettings(AIndex : Integer; const AValue : TTagSettings); virtual;
  3811. Procedure SetthirdPartyAuthenticationTokens(AIndex : Integer; const AValue : TFloodlightConfigurationTypethirdPartyAuthenticationTokensArray); virtual;
  3812. Procedure SetuserDefinedVariableConfigurations(AIndex : Integer; const AValue : TFloodlightConfigurationTypeuserDefinedVariableConfigurationsArray); virtual;
  3813. //2.6.4. bug workaround
  3814. {$IFDEF VER2_6}
  3815. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  3816. {$ENDIF VER2_6}
  3817. Public
  3818. Published
  3819. Property accountId : String Index 0 Read FaccountId Write SetaccountId;
  3820. Property advertiserId : String Index 8 Read FadvertiserId Write SetadvertiserId;
  3821. Property advertiserIdDimensionValue : TDimensionValue Index 16 Read FadvertiserIdDimensionValue Write SetadvertiserIdDimensionValue;
  3822. Property analyticsDataSharingEnabled : boolean Index 24 Read FanalyticsDataSharingEnabled Write SetanalyticsDataSharingEnabled;
  3823. Property exposureToConversionEnabled : boolean Index 32 Read FexposureToConversionEnabled Write SetexposureToConversionEnabled;
  3824. Property firstDayOfWeek : String Index 40 Read FfirstDayOfWeek Write SetfirstDayOfWeek;
  3825. Property id : String Index 48 Read Fid Write Setid;
  3826. Property idDimensionValue : TDimensionValue Index 56 Read FidDimensionValue Write SetidDimensionValue;
  3827. Property inAppAttributionTrackingEnabled : boolean Index 64 Read FinAppAttributionTrackingEnabled Write SetinAppAttributionTrackingEnabled;
  3828. Property kind : String Index 72 Read Fkind Write Setkind;
  3829. Property lookbackConfiguration : TLookbackConfiguration Index 80 Read FlookbackConfiguration Write SetlookbackConfiguration;
  3830. Property naturalSearchConversionAttributionOption : String Index 88 Read FnaturalSearchConversionAttributionOption Write SetnaturalSearchConversionAttributionOption;
  3831. Property omnitureSettings : TOmnitureSettings Index 96 Read FomnitureSettings Write SetomnitureSettings;
  3832. Property standardVariableTypes : TStringArray Index 104 Read FstandardVariableTypes Write SetstandardVariableTypes;
  3833. Property subaccountId : String Index 112 Read FsubaccountId Write SetsubaccountId;
  3834. Property tagSettings : TTagSettings Index 120 Read FtagSettings Write SettagSettings;
  3835. Property thirdPartyAuthenticationTokens : TFloodlightConfigurationTypethirdPartyAuthenticationTokensArray Index 128 Read FthirdPartyAuthenticationTokens Write SetthirdPartyAuthenticationTokens;
  3836. Property userDefinedVariableConfigurations : TFloodlightConfigurationTypeuserDefinedVariableConfigurationsArray Index 136 Read FuserDefinedVariableConfigurations Write SetuserDefinedVariableConfigurations;
  3837. end;
  3838. TFloodlightConfigurationClass = Class of TFloodlightConfiguration;
  3839. { --------------------------------------------------------------------
  3840. TFloodlightConfigurationsListResponse
  3841. --------------------------------------------------------------------}
  3842. TFloodlightConfigurationsListResponse = Class(TGoogleBaseObject)
  3843. Private
  3844. FfloodlightConfigurations : TFloodlightConfigurationsListResponseTypefloodlightConfigurationsArray;
  3845. Fkind : String;
  3846. Protected
  3847. //Property setters
  3848. Procedure SetfloodlightConfigurations(AIndex : Integer; const AValue : TFloodlightConfigurationsListResponseTypefloodlightConfigurationsArray); virtual;
  3849. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  3850. //2.6.4. bug workaround
  3851. {$IFDEF VER2_6}
  3852. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  3853. {$ENDIF VER2_6}
  3854. Public
  3855. Published
  3856. Property floodlightConfigurations : TFloodlightConfigurationsListResponseTypefloodlightConfigurationsArray Index 0 Read FfloodlightConfigurations Write SetfloodlightConfigurations;
  3857. Property kind : String Index 8 Read Fkind Write Setkind;
  3858. end;
  3859. TFloodlightConfigurationsListResponseClass = Class of TFloodlightConfigurationsListResponse;
  3860. { --------------------------------------------------------------------
  3861. TFloodlightReportCompatibleFields
  3862. --------------------------------------------------------------------}
  3863. TFloodlightReportCompatibleFields = Class(TGoogleBaseObject)
  3864. Private
  3865. FdimensionFilters : TFloodlightReportCompatibleFieldsTypedimensionFiltersArray;
  3866. Fdimensions : TFloodlightReportCompatibleFieldsTypedimensionsArray;
  3867. Fkind : String;
  3868. Fmetrics : TFloodlightReportCompatibleFieldsTypemetricsArray;
  3869. Protected
  3870. //Property setters
  3871. Procedure SetdimensionFilters(AIndex : Integer; const AValue : TFloodlightReportCompatibleFieldsTypedimensionFiltersArray); virtual;
  3872. Procedure Setdimensions(AIndex : Integer; const AValue : TFloodlightReportCompatibleFieldsTypedimensionsArray); virtual;
  3873. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  3874. Procedure Setmetrics(AIndex : Integer; const AValue : TFloodlightReportCompatibleFieldsTypemetricsArray); virtual;
  3875. //2.6.4. bug workaround
  3876. {$IFDEF VER2_6}
  3877. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  3878. {$ENDIF VER2_6}
  3879. Public
  3880. Published
  3881. Property dimensionFilters : TFloodlightReportCompatibleFieldsTypedimensionFiltersArray Index 0 Read FdimensionFilters Write SetdimensionFilters;
  3882. Property dimensions : TFloodlightReportCompatibleFieldsTypedimensionsArray Index 8 Read Fdimensions Write Setdimensions;
  3883. Property kind : String Index 16 Read Fkind Write Setkind;
  3884. Property metrics : TFloodlightReportCompatibleFieldsTypemetricsArray Index 24 Read Fmetrics Write Setmetrics;
  3885. end;
  3886. TFloodlightReportCompatibleFieldsClass = Class of TFloodlightReportCompatibleFields;
  3887. { --------------------------------------------------------------------
  3888. TFrequencyCap
  3889. --------------------------------------------------------------------}
  3890. TFrequencyCap = Class(TGoogleBaseObject)
  3891. Private
  3892. Fduration : String;
  3893. Fimpressions : String;
  3894. Protected
  3895. //Property setters
  3896. Procedure Setduration(AIndex : Integer; const AValue : String); virtual;
  3897. Procedure Setimpressions(AIndex : Integer; const AValue : String); virtual;
  3898. Public
  3899. Published
  3900. Property duration : String Index 0 Read Fduration Write Setduration;
  3901. Property impressions : String Index 8 Read Fimpressions Write Setimpressions;
  3902. end;
  3903. TFrequencyCapClass = Class of TFrequencyCap;
  3904. { --------------------------------------------------------------------
  3905. TFsCommand
  3906. --------------------------------------------------------------------}
  3907. TFsCommand = Class(TGoogleBaseObject)
  3908. Private
  3909. Fleft : integer;
  3910. FpositionOption : String;
  3911. Ftop : integer;
  3912. FwindowHeight : integer;
  3913. FwindowWidth : integer;
  3914. Protected
  3915. //Property setters
  3916. Procedure Setleft(AIndex : Integer; const AValue : integer); virtual;
  3917. Procedure SetpositionOption(AIndex : Integer; const AValue : String); virtual;
  3918. Procedure Settop(AIndex : Integer; const AValue : integer); virtual;
  3919. Procedure SetwindowHeight(AIndex : Integer; const AValue : integer); virtual;
  3920. Procedure SetwindowWidth(AIndex : Integer; const AValue : integer); virtual;
  3921. Public
  3922. Published
  3923. Property left : integer Index 0 Read Fleft Write Setleft;
  3924. Property positionOption : String Index 8 Read FpositionOption Write SetpositionOption;
  3925. Property top : integer Index 16 Read Ftop Write Settop;
  3926. Property windowHeight : integer Index 24 Read FwindowHeight Write SetwindowHeight;
  3927. Property windowWidth : integer Index 32 Read FwindowWidth Write SetwindowWidth;
  3928. end;
  3929. TFsCommandClass = Class of TFsCommand;
  3930. { --------------------------------------------------------------------
  3931. TGeoTargeting
  3932. --------------------------------------------------------------------}
  3933. TGeoTargeting = Class(TGoogleBaseObject)
  3934. Private
  3935. Fcities : TGeoTargetingTypecitiesArray;
  3936. Fcountries : TGeoTargetingTypecountriesArray;
  3937. FexcludeCountries : boolean;
  3938. Fmetros : TGeoTargetingTypemetrosArray;
  3939. FpostalCodes : TGeoTargetingTypepostalCodesArray;
  3940. Fregions : TGeoTargetingTyperegionsArray;
  3941. Protected
  3942. //Property setters
  3943. Procedure Setcities(AIndex : Integer; const AValue : TGeoTargetingTypecitiesArray); virtual;
  3944. Procedure Setcountries(AIndex : Integer; const AValue : TGeoTargetingTypecountriesArray); virtual;
  3945. Procedure SetexcludeCountries(AIndex : Integer; const AValue : boolean); virtual;
  3946. Procedure Setmetros(AIndex : Integer; const AValue : TGeoTargetingTypemetrosArray); virtual;
  3947. Procedure SetpostalCodes(AIndex : Integer; const AValue : TGeoTargetingTypepostalCodesArray); virtual;
  3948. Procedure Setregions(AIndex : Integer; const AValue : TGeoTargetingTyperegionsArray); virtual;
  3949. //2.6.4. bug workaround
  3950. {$IFDEF VER2_6}
  3951. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  3952. {$ENDIF VER2_6}
  3953. Public
  3954. Published
  3955. Property cities : TGeoTargetingTypecitiesArray Index 0 Read Fcities Write Setcities;
  3956. Property countries : TGeoTargetingTypecountriesArray Index 8 Read Fcountries Write Setcountries;
  3957. Property excludeCountries : boolean Index 16 Read FexcludeCountries Write SetexcludeCountries;
  3958. Property metros : TGeoTargetingTypemetrosArray Index 24 Read Fmetros Write Setmetros;
  3959. Property postalCodes : TGeoTargetingTypepostalCodesArray Index 32 Read FpostalCodes Write SetpostalCodes;
  3960. Property regions : TGeoTargetingTyperegionsArray Index 40 Read Fregions Write Setregions;
  3961. end;
  3962. TGeoTargetingClass = Class of TGeoTargeting;
  3963. { --------------------------------------------------------------------
  3964. TInventoryItem
  3965. --------------------------------------------------------------------}
  3966. TInventoryItem = Class(TGoogleBaseObject)
  3967. Private
  3968. FaccountId : String;
  3969. FadSlots : TInventoryItemTypeadSlotsArray;
  3970. FadvertiserId : String;
  3971. FcontentCategoryId : String;
  3972. FestimatedClickThroughRate : String;
  3973. FestimatedConversionRate : String;
  3974. Fid : String;
  3975. FinPlan : boolean;
  3976. Fkind : String;
  3977. FlastModifiedInfo : TLastModifiedInfo;
  3978. Fname : String;
  3979. FnegotiationChannelId : String;
  3980. ForderId : String;
  3981. FplacementStrategyId : String;
  3982. Fpricing : TPricing;
  3983. FprojectId : String;
  3984. FrfpId : String;
  3985. FsiteId : String;
  3986. FsubaccountId : String;
  3987. F_type : String;
  3988. Protected
  3989. Class Function ExportPropertyName(Const AName : String) : string; override;
  3990. //Property setters
  3991. Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
  3992. Procedure SetadSlots(AIndex : Integer; const AValue : TInventoryItemTypeadSlotsArray); virtual;
  3993. Procedure SetadvertiserId(AIndex : Integer; const AValue : String); virtual;
  3994. Procedure SetcontentCategoryId(AIndex : Integer; const AValue : String); virtual;
  3995. Procedure SetestimatedClickThroughRate(AIndex : Integer; const AValue : String); virtual;
  3996. Procedure SetestimatedConversionRate(AIndex : Integer; const AValue : String); virtual;
  3997. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  3998. Procedure SetinPlan(AIndex : Integer; const AValue : boolean); virtual;
  3999. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  4000. Procedure SetlastModifiedInfo(AIndex : Integer; const AValue : TLastModifiedInfo); virtual;
  4001. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  4002. Procedure SetnegotiationChannelId(AIndex : Integer; const AValue : String); virtual;
  4003. Procedure SetorderId(AIndex : Integer; const AValue : String); virtual;
  4004. Procedure SetplacementStrategyId(AIndex : Integer; const AValue : String); virtual;
  4005. Procedure Setpricing(AIndex : Integer; const AValue : TPricing); virtual;
  4006. Procedure SetprojectId(AIndex : Integer; const AValue : String); virtual;
  4007. Procedure SetrfpId(AIndex : Integer; const AValue : String); virtual;
  4008. Procedure SetsiteId(AIndex : Integer; const AValue : String); virtual;
  4009. Procedure SetsubaccountId(AIndex : Integer; const AValue : String); virtual;
  4010. Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
  4011. //2.6.4. bug workaround
  4012. {$IFDEF VER2_6}
  4013. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  4014. {$ENDIF VER2_6}
  4015. Public
  4016. Published
  4017. Property accountId : String Index 0 Read FaccountId Write SetaccountId;
  4018. Property adSlots : TInventoryItemTypeadSlotsArray Index 8 Read FadSlots Write SetadSlots;
  4019. Property advertiserId : String Index 16 Read FadvertiserId Write SetadvertiserId;
  4020. Property contentCategoryId : String Index 24 Read FcontentCategoryId Write SetcontentCategoryId;
  4021. Property estimatedClickThroughRate : String Index 32 Read FestimatedClickThroughRate Write SetestimatedClickThroughRate;
  4022. Property estimatedConversionRate : String Index 40 Read FestimatedConversionRate Write SetestimatedConversionRate;
  4023. Property id : String Index 48 Read Fid Write Setid;
  4024. Property inPlan : boolean Index 56 Read FinPlan Write SetinPlan;
  4025. Property kind : String Index 64 Read Fkind Write Setkind;
  4026. Property lastModifiedInfo : TLastModifiedInfo Index 72 Read FlastModifiedInfo Write SetlastModifiedInfo;
  4027. Property name : String Index 80 Read Fname Write Setname;
  4028. Property negotiationChannelId : String Index 88 Read FnegotiationChannelId Write SetnegotiationChannelId;
  4029. Property orderId : String Index 96 Read ForderId Write SetorderId;
  4030. Property placementStrategyId : String Index 104 Read FplacementStrategyId Write SetplacementStrategyId;
  4031. Property pricing : TPricing Index 112 Read Fpricing Write Setpricing;
  4032. Property projectId : String Index 120 Read FprojectId Write SetprojectId;
  4033. Property rfpId : String Index 128 Read FrfpId Write SetrfpId;
  4034. Property siteId : String Index 136 Read FsiteId Write SetsiteId;
  4035. Property subaccountId : String Index 144 Read FsubaccountId Write SetsubaccountId;
  4036. Property _type : String Index 152 Read F_type Write Set_type;
  4037. end;
  4038. TInventoryItemClass = Class of TInventoryItem;
  4039. { --------------------------------------------------------------------
  4040. TInventoryItemsListResponse
  4041. --------------------------------------------------------------------}
  4042. TInventoryItemsListResponse = Class(TGoogleBaseObject)
  4043. Private
  4044. FinventoryItems : TInventoryItemsListResponseTypeinventoryItemsArray;
  4045. Fkind : String;
  4046. FnextPageToken : String;
  4047. Protected
  4048. //Property setters
  4049. Procedure SetinventoryItems(AIndex : Integer; const AValue : TInventoryItemsListResponseTypeinventoryItemsArray); virtual;
  4050. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  4051. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  4052. //2.6.4. bug workaround
  4053. {$IFDEF VER2_6}
  4054. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  4055. {$ENDIF VER2_6}
  4056. Public
  4057. Published
  4058. Property inventoryItems : TInventoryItemsListResponseTypeinventoryItemsArray Index 0 Read FinventoryItems Write SetinventoryItems;
  4059. Property kind : String Index 8 Read Fkind Write Setkind;
  4060. Property nextPageToken : String Index 16 Read FnextPageToken Write SetnextPageToken;
  4061. end;
  4062. TInventoryItemsListResponseClass = Class of TInventoryItemsListResponse;
  4063. { --------------------------------------------------------------------
  4064. TKeyValueTargetingExpression
  4065. --------------------------------------------------------------------}
  4066. TKeyValueTargetingExpression = Class(TGoogleBaseObject)
  4067. Private
  4068. Fexpression : String;
  4069. Protected
  4070. //Property setters
  4071. Procedure Setexpression(AIndex : Integer; const AValue : String); virtual;
  4072. Public
  4073. Published
  4074. Property expression : String Index 0 Read Fexpression Write Setexpression;
  4075. end;
  4076. TKeyValueTargetingExpressionClass = Class of TKeyValueTargetingExpression;
  4077. { --------------------------------------------------------------------
  4078. TLandingPage
  4079. --------------------------------------------------------------------}
  4080. TLandingPage = Class(TGoogleBaseObject)
  4081. Private
  4082. Fdefault : boolean;
  4083. Fid : String;
  4084. Fkind : String;
  4085. Fname : String;
  4086. Furl : String;
  4087. Protected
  4088. //Property setters
  4089. Procedure Setdefault(AIndex : Integer; const AValue : boolean); virtual;
  4090. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  4091. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  4092. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  4093. Procedure Seturl(AIndex : Integer; const AValue : String); virtual;
  4094. Public
  4095. Published
  4096. Property default : boolean Index 0 Read Fdefault Write Setdefault;
  4097. Property id : String Index 8 Read Fid Write Setid;
  4098. Property kind : String Index 16 Read Fkind Write Setkind;
  4099. Property name : String Index 24 Read Fname Write Setname;
  4100. Property url : String Index 32 Read Furl Write Seturl;
  4101. end;
  4102. TLandingPageClass = Class of TLandingPage;
  4103. { --------------------------------------------------------------------
  4104. TLandingPagesListResponse
  4105. --------------------------------------------------------------------}
  4106. TLandingPagesListResponse = Class(TGoogleBaseObject)
  4107. Private
  4108. Fkind : String;
  4109. FlandingPages : TLandingPagesListResponseTypelandingPagesArray;
  4110. Protected
  4111. //Property setters
  4112. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  4113. Procedure SetlandingPages(AIndex : Integer; const AValue : TLandingPagesListResponseTypelandingPagesArray); virtual;
  4114. //2.6.4. bug workaround
  4115. {$IFDEF VER2_6}
  4116. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  4117. {$ENDIF VER2_6}
  4118. Public
  4119. Published
  4120. Property kind : String Index 0 Read Fkind Write Setkind;
  4121. Property landingPages : TLandingPagesListResponseTypelandingPagesArray Index 8 Read FlandingPages Write SetlandingPages;
  4122. end;
  4123. TLandingPagesListResponseClass = Class of TLandingPagesListResponse;
  4124. { --------------------------------------------------------------------
  4125. TLastModifiedInfo
  4126. --------------------------------------------------------------------}
  4127. TLastModifiedInfo = Class(TGoogleBaseObject)
  4128. Private
  4129. Ftime : String;
  4130. Protected
  4131. //Property setters
  4132. Procedure Settime(AIndex : Integer; const AValue : String); virtual;
  4133. Public
  4134. Published
  4135. Property time : String Index 0 Read Ftime Write Settime;
  4136. end;
  4137. TLastModifiedInfoClass = Class of TLastModifiedInfo;
  4138. { --------------------------------------------------------------------
  4139. TListPopulationClause
  4140. --------------------------------------------------------------------}
  4141. TListPopulationClause = Class(TGoogleBaseObject)
  4142. Private
  4143. Fterms : TListPopulationClauseTypetermsArray;
  4144. Protected
  4145. //Property setters
  4146. Procedure Setterms(AIndex : Integer; const AValue : TListPopulationClauseTypetermsArray); virtual;
  4147. //2.6.4. bug workaround
  4148. {$IFDEF VER2_6}
  4149. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  4150. {$ENDIF VER2_6}
  4151. Public
  4152. Published
  4153. Property terms : TListPopulationClauseTypetermsArray Index 0 Read Fterms Write Setterms;
  4154. end;
  4155. TListPopulationClauseClass = Class of TListPopulationClause;
  4156. { --------------------------------------------------------------------
  4157. TListPopulationRule
  4158. --------------------------------------------------------------------}
  4159. TListPopulationRule = Class(TGoogleBaseObject)
  4160. Private
  4161. FfloodlightActivityId : String;
  4162. FfloodlightActivityName : String;
  4163. FlistPopulationClauses : TListPopulationRuleTypelistPopulationClausesArray;
  4164. Protected
  4165. //Property setters
  4166. Procedure SetfloodlightActivityId(AIndex : Integer; const AValue : String); virtual;
  4167. Procedure SetfloodlightActivityName(AIndex : Integer; const AValue : String); virtual;
  4168. Procedure SetlistPopulationClauses(AIndex : Integer; const AValue : TListPopulationRuleTypelistPopulationClausesArray); virtual;
  4169. //2.6.4. bug workaround
  4170. {$IFDEF VER2_6}
  4171. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  4172. {$ENDIF VER2_6}
  4173. Public
  4174. Published
  4175. Property floodlightActivityId : String Index 0 Read FfloodlightActivityId Write SetfloodlightActivityId;
  4176. Property floodlightActivityName : String Index 8 Read FfloodlightActivityName Write SetfloodlightActivityName;
  4177. Property listPopulationClauses : TListPopulationRuleTypelistPopulationClausesArray Index 16 Read FlistPopulationClauses Write SetlistPopulationClauses;
  4178. end;
  4179. TListPopulationRuleClass = Class of TListPopulationRule;
  4180. { --------------------------------------------------------------------
  4181. TListPopulationTerm
  4182. --------------------------------------------------------------------}
  4183. TListPopulationTerm = Class(TGoogleBaseObject)
  4184. Private
  4185. Fcontains : boolean;
  4186. Fnegation : boolean;
  4187. F_operator : String;
  4188. FremarketingListId : String;
  4189. F_type : String;
  4190. Fvalue : String;
  4191. FvariableFriendlyName : String;
  4192. FvariableName : String;
  4193. Protected
  4194. Class Function ExportPropertyName(Const AName : String) : string; override;
  4195. //Property setters
  4196. Procedure Setcontains(AIndex : Integer; const AValue : boolean); virtual;
  4197. Procedure Setnegation(AIndex : Integer; const AValue : boolean); virtual;
  4198. Procedure Set_operator(AIndex : Integer; const AValue : String); virtual;
  4199. Procedure SetremarketingListId(AIndex : Integer; const AValue : String); virtual;
  4200. Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
  4201. Procedure Setvalue(AIndex : Integer; const AValue : String); virtual;
  4202. Procedure SetvariableFriendlyName(AIndex : Integer; const AValue : String); virtual;
  4203. Procedure SetvariableName(AIndex : Integer; const AValue : String); virtual;
  4204. Public
  4205. Published
  4206. Property contains : boolean Index 0 Read Fcontains Write Setcontains;
  4207. Property negation : boolean Index 8 Read Fnegation Write Setnegation;
  4208. Property _operator : String Index 16 Read F_operator Write Set_operator;
  4209. Property remarketingListId : String Index 24 Read FremarketingListId Write SetremarketingListId;
  4210. Property _type : String Index 32 Read F_type Write Set_type;
  4211. Property value : String Index 40 Read Fvalue Write Setvalue;
  4212. Property variableFriendlyName : String Index 48 Read FvariableFriendlyName Write SetvariableFriendlyName;
  4213. Property variableName : String Index 56 Read FvariableName Write SetvariableName;
  4214. end;
  4215. TListPopulationTermClass = Class of TListPopulationTerm;
  4216. { --------------------------------------------------------------------
  4217. TListTargetingExpression
  4218. --------------------------------------------------------------------}
  4219. TListTargetingExpression = Class(TGoogleBaseObject)
  4220. Private
  4221. Fexpression : String;
  4222. Protected
  4223. //Property setters
  4224. Procedure Setexpression(AIndex : Integer; const AValue : String); virtual;
  4225. Public
  4226. Published
  4227. Property expression : String Index 0 Read Fexpression Write Setexpression;
  4228. end;
  4229. TListTargetingExpressionClass = Class of TListTargetingExpression;
  4230. { --------------------------------------------------------------------
  4231. TLookbackConfiguration
  4232. --------------------------------------------------------------------}
  4233. TLookbackConfiguration = Class(TGoogleBaseObject)
  4234. Private
  4235. FclickDuration : integer;
  4236. FpostImpressionActivitiesDuration : integer;
  4237. Protected
  4238. //Property setters
  4239. Procedure SetclickDuration(AIndex : Integer; const AValue : integer); virtual;
  4240. Procedure SetpostImpressionActivitiesDuration(AIndex : Integer; const AValue : integer); virtual;
  4241. Public
  4242. Published
  4243. Property clickDuration : integer Index 0 Read FclickDuration Write SetclickDuration;
  4244. Property postImpressionActivitiesDuration : integer Index 8 Read FpostImpressionActivitiesDuration Write SetpostImpressionActivitiesDuration;
  4245. end;
  4246. TLookbackConfigurationClass = Class of TLookbackConfiguration;
  4247. { --------------------------------------------------------------------
  4248. TMetric
  4249. --------------------------------------------------------------------}
  4250. TMetric = Class(TGoogleBaseObject)
  4251. Private
  4252. Fkind : String;
  4253. Fname : String;
  4254. Protected
  4255. //Property setters
  4256. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  4257. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  4258. Public
  4259. Published
  4260. Property kind : String Index 0 Read Fkind Write Setkind;
  4261. Property name : String Index 8 Read Fname Write Setname;
  4262. end;
  4263. TMetricClass = Class of TMetric;
  4264. { --------------------------------------------------------------------
  4265. TMetro
  4266. --------------------------------------------------------------------}
  4267. TMetro = Class(TGoogleBaseObject)
  4268. Private
  4269. FcountryCode : String;
  4270. FcountryDartId : String;
  4271. FdartId : String;
  4272. FdmaId : String;
  4273. Fkind : String;
  4274. FmetroCode : String;
  4275. Fname : String;
  4276. Protected
  4277. //Property setters
  4278. Procedure SetcountryCode(AIndex : Integer; const AValue : String); virtual;
  4279. Procedure SetcountryDartId(AIndex : Integer; const AValue : String); virtual;
  4280. Procedure SetdartId(AIndex : Integer; const AValue : String); virtual;
  4281. Procedure SetdmaId(AIndex : Integer; const AValue : String); virtual;
  4282. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  4283. Procedure SetmetroCode(AIndex : Integer; const AValue : String); virtual;
  4284. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  4285. Public
  4286. Published
  4287. Property countryCode : String Index 0 Read FcountryCode Write SetcountryCode;
  4288. Property countryDartId : String Index 8 Read FcountryDartId Write SetcountryDartId;
  4289. Property dartId : String Index 16 Read FdartId Write SetdartId;
  4290. Property dmaId : String Index 24 Read FdmaId Write SetdmaId;
  4291. Property kind : String Index 32 Read Fkind Write Setkind;
  4292. Property metroCode : String Index 40 Read FmetroCode Write SetmetroCode;
  4293. Property name : String Index 48 Read Fname Write Setname;
  4294. end;
  4295. TMetroClass = Class of TMetro;
  4296. { --------------------------------------------------------------------
  4297. TMetrosListResponse
  4298. --------------------------------------------------------------------}
  4299. TMetrosListResponse = Class(TGoogleBaseObject)
  4300. Private
  4301. Fkind : String;
  4302. Fmetros : TMetrosListResponseTypemetrosArray;
  4303. Protected
  4304. //Property setters
  4305. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  4306. Procedure Setmetros(AIndex : Integer; const AValue : TMetrosListResponseTypemetrosArray); virtual;
  4307. //2.6.4. bug workaround
  4308. {$IFDEF VER2_6}
  4309. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  4310. {$ENDIF VER2_6}
  4311. Public
  4312. Published
  4313. Property kind : String Index 0 Read Fkind Write Setkind;
  4314. Property metros : TMetrosListResponseTypemetrosArray Index 8 Read Fmetros Write Setmetros;
  4315. end;
  4316. TMetrosListResponseClass = Class of TMetrosListResponse;
  4317. { --------------------------------------------------------------------
  4318. TMobileCarrier
  4319. --------------------------------------------------------------------}
  4320. TMobileCarrier = Class(TGoogleBaseObject)
  4321. Private
  4322. FcountryCode : String;
  4323. FcountryDartId : String;
  4324. Fid : String;
  4325. Fkind : String;
  4326. Fname : String;
  4327. Protected
  4328. //Property setters
  4329. Procedure SetcountryCode(AIndex : Integer; const AValue : String); virtual;
  4330. Procedure SetcountryDartId(AIndex : Integer; const AValue : String); virtual;
  4331. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  4332. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  4333. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  4334. Public
  4335. Published
  4336. Property countryCode : String Index 0 Read FcountryCode Write SetcountryCode;
  4337. Property countryDartId : String Index 8 Read FcountryDartId Write SetcountryDartId;
  4338. Property id : String Index 16 Read Fid Write Setid;
  4339. Property kind : String Index 24 Read Fkind Write Setkind;
  4340. Property name : String Index 32 Read Fname Write Setname;
  4341. end;
  4342. TMobileCarrierClass = Class of TMobileCarrier;
  4343. { --------------------------------------------------------------------
  4344. TMobileCarriersListResponse
  4345. --------------------------------------------------------------------}
  4346. TMobileCarriersListResponse = Class(TGoogleBaseObject)
  4347. Private
  4348. Fkind : String;
  4349. FmobileCarriers : TMobileCarriersListResponseTypemobileCarriersArray;
  4350. Protected
  4351. //Property setters
  4352. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  4353. Procedure SetmobileCarriers(AIndex : Integer; const AValue : TMobileCarriersListResponseTypemobileCarriersArray); virtual;
  4354. //2.6.4. bug workaround
  4355. {$IFDEF VER2_6}
  4356. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  4357. {$ENDIF VER2_6}
  4358. Public
  4359. Published
  4360. Property kind : String Index 0 Read Fkind Write Setkind;
  4361. Property mobileCarriers : TMobileCarriersListResponseTypemobileCarriersArray Index 8 Read FmobileCarriers Write SetmobileCarriers;
  4362. end;
  4363. TMobileCarriersListResponseClass = Class of TMobileCarriersListResponse;
  4364. { --------------------------------------------------------------------
  4365. TObjectFilter
  4366. --------------------------------------------------------------------}
  4367. TObjectFilter = Class(TGoogleBaseObject)
  4368. Private
  4369. Fkind : String;
  4370. FobjectIds : TStringArray;
  4371. Fstatus : String;
  4372. Protected
  4373. //Property setters
  4374. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  4375. Procedure SetobjectIds(AIndex : Integer; const AValue : TStringArray); virtual;
  4376. Procedure Setstatus(AIndex : Integer; const AValue : String); virtual;
  4377. //2.6.4. bug workaround
  4378. {$IFDEF VER2_6}
  4379. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  4380. {$ENDIF VER2_6}
  4381. Public
  4382. Published
  4383. Property kind : String Index 0 Read Fkind Write Setkind;
  4384. Property objectIds : TStringArray Index 8 Read FobjectIds Write SetobjectIds;
  4385. Property status : String Index 16 Read Fstatus Write Setstatus;
  4386. end;
  4387. TObjectFilterClass = Class of TObjectFilter;
  4388. { --------------------------------------------------------------------
  4389. TOffsetPosition
  4390. --------------------------------------------------------------------}
  4391. TOffsetPosition = Class(TGoogleBaseObject)
  4392. Private
  4393. Fleft : integer;
  4394. Ftop : integer;
  4395. Protected
  4396. //Property setters
  4397. Procedure Setleft(AIndex : Integer; const AValue : integer); virtual;
  4398. Procedure Settop(AIndex : Integer; const AValue : integer); virtual;
  4399. Public
  4400. Published
  4401. Property left : integer Index 0 Read Fleft Write Setleft;
  4402. Property top : integer Index 8 Read Ftop Write Settop;
  4403. end;
  4404. TOffsetPositionClass = Class of TOffsetPosition;
  4405. { --------------------------------------------------------------------
  4406. TOmnitureSettings
  4407. --------------------------------------------------------------------}
  4408. TOmnitureSettings = Class(TGoogleBaseObject)
  4409. Private
  4410. FomnitureCostDataEnabled : boolean;
  4411. FomnitureIntegrationEnabled : boolean;
  4412. Protected
  4413. //Property setters
  4414. Procedure SetomnitureCostDataEnabled(AIndex : Integer; const AValue : boolean); virtual;
  4415. Procedure SetomnitureIntegrationEnabled(AIndex : Integer; const AValue : boolean); virtual;
  4416. Public
  4417. Published
  4418. Property omnitureCostDataEnabled : boolean Index 0 Read FomnitureCostDataEnabled Write SetomnitureCostDataEnabled;
  4419. Property omnitureIntegrationEnabled : boolean Index 8 Read FomnitureIntegrationEnabled Write SetomnitureIntegrationEnabled;
  4420. end;
  4421. TOmnitureSettingsClass = Class of TOmnitureSettings;
  4422. { --------------------------------------------------------------------
  4423. TOperatingSystem
  4424. --------------------------------------------------------------------}
  4425. TOperatingSystem = Class(TGoogleBaseObject)
  4426. Private
  4427. FdartId : String;
  4428. Fdesktop : boolean;
  4429. Fkind : String;
  4430. Fmobile : boolean;
  4431. Fname : String;
  4432. Protected
  4433. //Property setters
  4434. Procedure SetdartId(AIndex : Integer; const AValue : String); virtual;
  4435. Procedure Setdesktop(AIndex : Integer; const AValue : boolean); virtual;
  4436. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  4437. Procedure Setmobile(AIndex : Integer; const AValue : boolean); virtual;
  4438. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  4439. Public
  4440. Published
  4441. Property dartId : String Index 0 Read FdartId Write SetdartId;
  4442. Property desktop : boolean Index 8 Read Fdesktop Write Setdesktop;
  4443. Property kind : String Index 16 Read Fkind Write Setkind;
  4444. Property mobile : boolean Index 24 Read Fmobile Write Setmobile;
  4445. Property name : String Index 32 Read Fname Write Setname;
  4446. end;
  4447. TOperatingSystemClass = Class of TOperatingSystem;
  4448. { --------------------------------------------------------------------
  4449. TOperatingSystemVersion
  4450. --------------------------------------------------------------------}
  4451. TOperatingSystemVersion = Class(TGoogleBaseObject)
  4452. Private
  4453. Fid : String;
  4454. Fkind : String;
  4455. FmajorVersion : String;
  4456. FminorVersion : String;
  4457. Fname : String;
  4458. FoperatingSystem : TOperatingSystem;
  4459. Protected
  4460. //Property setters
  4461. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  4462. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  4463. Procedure SetmajorVersion(AIndex : Integer; const AValue : String); virtual;
  4464. Procedure SetminorVersion(AIndex : Integer; const AValue : String); virtual;
  4465. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  4466. Procedure SetoperatingSystem(AIndex : Integer; const AValue : TOperatingSystem); virtual;
  4467. Public
  4468. Published
  4469. Property id : String Index 0 Read Fid Write Setid;
  4470. Property kind : String Index 8 Read Fkind Write Setkind;
  4471. Property majorVersion : String Index 16 Read FmajorVersion Write SetmajorVersion;
  4472. Property minorVersion : String Index 24 Read FminorVersion Write SetminorVersion;
  4473. Property name : String Index 32 Read Fname Write Setname;
  4474. Property operatingSystem : TOperatingSystem Index 40 Read FoperatingSystem Write SetoperatingSystem;
  4475. end;
  4476. TOperatingSystemVersionClass = Class of TOperatingSystemVersion;
  4477. { --------------------------------------------------------------------
  4478. TOperatingSystemVersionsListResponse
  4479. --------------------------------------------------------------------}
  4480. TOperatingSystemVersionsListResponse = Class(TGoogleBaseObject)
  4481. Private
  4482. Fkind : String;
  4483. FoperatingSystemVersions : TOperatingSystemVersionsListResponseTypeoperatingSystemVersionsArray;
  4484. Protected
  4485. //Property setters
  4486. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  4487. Procedure SetoperatingSystemVersions(AIndex : Integer; const AValue : TOperatingSystemVersionsListResponseTypeoperatingSystemVersionsArray); virtual;
  4488. //2.6.4. bug workaround
  4489. {$IFDEF VER2_6}
  4490. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  4491. {$ENDIF VER2_6}
  4492. Public
  4493. Published
  4494. Property kind : String Index 0 Read Fkind Write Setkind;
  4495. Property operatingSystemVersions : TOperatingSystemVersionsListResponseTypeoperatingSystemVersionsArray Index 8 Read FoperatingSystemVersions Write SetoperatingSystemVersions;
  4496. end;
  4497. TOperatingSystemVersionsListResponseClass = Class of TOperatingSystemVersionsListResponse;
  4498. { --------------------------------------------------------------------
  4499. TOperatingSystemsListResponse
  4500. --------------------------------------------------------------------}
  4501. TOperatingSystemsListResponse = Class(TGoogleBaseObject)
  4502. Private
  4503. Fkind : String;
  4504. FoperatingSystems : TOperatingSystemsListResponseTypeoperatingSystemsArray;
  4505. Protected
  4506. //Property setters
  4507. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  4508. Procedure SetoperatingSystems(AIndex : Integer; const AValue : TOperatingSystemsListResponseTypeoperatingSystemsArray); virtual;
  4509. //2.6.4. bug workaround
  4510. {$IFDEF VER2_6}
  4511. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  4512. {$ENDIF VER2_6}
  4513. Public
  4514. Published
  4515. Property kind : String Index 0 Read Fkind Write Setkind;
  4516. Property operatingSystems : TOperatingSystemsListResponseTypeoperatingSystemsArray Index 8 Read FoperatingSystems Write SetoperatingSystems;
  4517. end;
  4518. TOperatingSystemsListResponseClass = Class of TOperatingSystemsListResponse;
  4519. { --------------------------------------------------------------------
  4520. TOptimizationActivity
  4521. --------------------------------------------------------------------}
  4522. TOptimizationActivity = Class(TGoogleBaseObject)
  4523. Private
  4524. FfloodlightActivityId : String;
  4525. FfloodlightActivityIdDimensionValue : TDimensionValue;
  4526. Fweight : integer;
  4527. Protected
  4528. //Property setters
  4529. Procedure SetfloodlightActivityId(AIndex : Integer; const AValue : String); virtual;
  4530. Procedure SetfloodlightActivityIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue); virtual;
  4531. Procedure Setweight(AIndex : Integer; const AValue : integer); virtual;
  4532. Public
  4533. Published
  4534. Property floodlightActivityId : String Index 0 Read FfloodlightActivityId Write SetfloodlightActivityId;
  4535. Property floodlightActivityIdDimensionValue : TDimensionValue Index 8 Read FfloodlightActivityIdDimensionValue Write SetfloodlightActivityIdDimensionValue;
  4536. Property weight : integer Index 16 Read Fweight Write Setweight;
  4537. end;
  4538. TOptimizationActivityClass = Class of TOptimizationActivity;
  4539. { --------------------------------------------------------------------
  4540. TOrder
  4541. --------------------------------------------------------------------}
  4542. TOrder = Class(TGoogleBaseObject)
  4543. Private
  4544. FaccountId : String;
  4545. FadvertiserId : String;
  4546. FapproverUserProfileIds : TStringArray;
  4547. FbuyerInvoiceId : String;
  4548. FbuyerOrganizationName : String;
  4549. Fcomments : String;
  4550. Fcontacts : TOrderTypecontactsArray;
  4551. Fid : String;
  4552. Fkind : String;
  4553. FlastModifiedInfo : TLastModifiedInfo;
  4554. Fname : String;
  4555. Fnotes : String;
  4556. FplanningTermId : String;
  4557. FprojectId : String;
  4558. FsellerOrderId : String;
  4559. FsellerOrganizationName : String;
  4560. FsiteId : TStringArray;
  4561. FsiteNames : TStringArray;
  4562. FsubaccountId : String;
  4563. FtermsAndConditions : String;
  4564. Protected
  4565. //Property setters
  4566. Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
  4567. Procedure SetadvertiserId(AIndex : Integer; const AValue : String); virtual;
  4568. Procedure SetapproverUserProfileIds(AIndex : Integer; const AValue : TStringArray); virtual;
  4569. Procedure SetbuyerInvoiceId(AIndex : Integer; const AValue : String); virtual;
  4570. Procedure SetbuyerOrganizationName(AIndex : Integer; const AValue : String); virtual;
  4571. Procedure Setcomments(AIndex : Integer; const AValue : String); virtual;
  4572. Procedure Setcontacts(AIndex : Integer; const AValue : TOrderTypecontactsArray); virtual;
  4573. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  4574. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  4575. Procedure SetlastModifiedInfo(AIndex : Integer; const AValue : TLastModifiedInfo); virtual;
  4576. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  4577. Procedure Setnotes(AIndex : Integer; const AValue : String); virtual;
  4578. Procedure SetplanningTermId(AIndex : Integer; const AValue : String); virtual;
  4579. Procedure SetprojectId(AIndex : Integer; const AValue : String); virtual;
  4580. Procedure SetsellerOrderId(AIndex : Integer; const AValue : String); virtual;
  4581. Procedure SetsellerOrganizationName(AIndex : Integer; const AValue : String); virtual;
  4582. Procedure SetsiteId(AIndex : Integer; const AValue : TStringArray); virtual;
  4583. Procedure SetsiteNames(AIndex : Integer; const AValue : TStringArray); virtual;
  4584. Procedure SetsubaccountId(AIndex : Integer; const AValue : String); virtual;
  4585. Procedure SettermsAndConditions(AIndex : Integer; const AValue : String); virtual;
  4586. //2.6.4. bug workaround
  4587. {$IFDEF VER2_6}
  4588. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  4589. {$ENDIF VER2_6}
  4590. Public
  4591. Published
  4592. Property accountId : String Index 0 Read FaccountId Write SetaccountId;
  4593. Property advertiserId : String Index 8 Read FadvertiserId Write SetadvertiserId;
  4594. Property approverUserProfileIds : TStringArray Index 16 Read FapproverUserProfileIds Write SetapproverUserProfileIds;
  4595. Property buyerInvoiceId : String Index 24 Read FbuyerInvoiceId Write SetbuyerInvoiceId;
  4596. Property buyerOrganizationName : String Index 32 Read FbuyerOrganizationName Write SetbuyerOrganizationName;
  4597. Property comments : String Index 40 Read Fcomments Write Setcomments;
  4598. Property contacts : TOrderTypecontactsArray Index 48 Read Fcontacts Write Setcontacts;
  4599. Property id : String Index 56 Read Fid Write Setid;
  4600. Property kind : String Index 64 Read Fkind Write Setkind;
  4601. Property lastModifiedInfo : TLastModifiedInfo Index 72 Read FlastModifiedInfo Write SetlastModifiedInfo;
  4602. Property name : String Index 80 Read Fname Write Setname;
  4603. Property notes : String Index 88 Read Fnotes Write Setnotes;
  4604. Property planningTermId : String Index 96 Read FplanningTermId Write SetplanningTermId;
  4605. Property projectId : String Index 104 Read FprojectId Write SetprojectId;
  4606. Property sellerOrderId : String Index 112 Read FsellerOrderId Write SetsellerOrderId;
  4607. Property sellerOrganizationName : String Index 120 Read FsellerOrganizationName Write SetsellerOrganizationName;
  4608. Property siteId : TStringArray Index 128 Read FsiteId Write SetsiteId;
  4609. Property siteNames : TStringArray Index 136 Read FsiteNames Write SetsiteNames;
  4610. Property subaccountId : String Index 144 Read FsubaccountId Write SetsubaccountId;
  4611. Property termsAndConditions : String Index 152 Read FtermsAndConditions Write SettermsAndConditions;
  4612. end;
  4613. TOrderClass = Class of TOrder;
  4614. { --------------------------------------------------------------------
  4615. TOrderContact
  4616. --------------------------------------------------------------------}
  4617. TOrderContact = Class(TGoogleBaseObject)
  4618. Private
  4619. FcontactInfo : String;
  4620. FcontactName : String;
  4621. FcontactTitle : String;
  4622. FcontactType : String;
  4623. FsignatureUserProfileId : String;
  4624. Protected
  4625. //Property setters
  4626. Procedure SetcontactInfo(AIndex : Integer; const AValue : String); virtual;
  4627. Procedure SetcontactName(AIndex : Integer; const AValue : String); virtual;
  4628. Procedure SetcontactTitle(AIndex : Integer; const AValue : String); virtual;
  4629. Procedure SetcontactType(AIndex : Integer; const AValue : String); virtual;
  4630. Procedure SetsignatureUserProfileId(AIndex : Integer; const AValue : String); virtual;
  4631. Public
  4632. Published
  4633. Property contactInfo : String Index 0 Read FcontactInfo Write SetcontactInfo;
  4634. Property contactName : String Index 8 Read FcontactName Write SetcontactName;
  4635. Property contactTitle : String Index 16 Read FcontactTitle Write SetcontactTitle;
  4636. Property contactType : String Index 24 Read FcontactType Write SetcontactType;
  4637. Property signatureUserProfileId : String Index 32 Read FsignatureUserProfileId Write SetsignatureUserProfileId;
  4638. end;
  4639. TOrderContactClass = Class of TOrderContact;
  4640. { --------------------------------------------------------------------
  4641. TOrderDocument
  4642. --------------------------------------------------------------------}
  4643. TOrderDocument = Class(TGoogleBaseObject)
  4644. Private
  4645. FaccountId : String;
  4646. FadvertiserId : String;
  4647. FamendedOrderDocumentId : String;
  4648. FapprovedByUserProfileIds : TStringArray;
  4649. Fcancelled : boolean;
  4650. FcreatedInfo : TLastModifiedInfo;
  4651. FeffectiveDate : TDate;
  4652. Fid : String;
  4653. Fkind : String;
  4654. FlastSentRecipients : TStringArray;
  4655. FlastSentTime : TDatetime;
  4656. ForderId : String;
  4657. FprojectId : String;
  4658. Fsigned : boolean;
  4659. FsubaccountId : String;
  4660. Ftitle : String;
  4661. F_type : String;
  4662. Protected
  4663. Class Function ExportPropertyName(Const AName : String) : string; override;
  4664. //Property setters
  4665. Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
  4666. Procedure SetadvertiserId(AIndex : Integer; const AValue : String); virtual;
  4667. Procedure SetamendedOrderDocumentId(AIndex : Integer; const AValue : String); virtual;
  4668. Procedure SetapprovedByUserProfileIds(AIndex : Integer; const AValue : TStringArray); virtual;
  4669. Procedure Setcancelled(AIndex : Integer; const AValue : boolean); virtual;
  4670. Procedure SetcreatedInfo(AIndex : Integer; const AValue : TLastModifiedInfo); virtual;
  4671. Procedure SeteffectiveDate(AIndex : Integer; const AValue : TDate); virtual;
  4672. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  4673. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  4674. Procedure SetlastSentRecipients(AIndex : Integer; const AValue : TStringArray); virtual;
  4675. Procedure SetlastSentTime(AIndex : Integer; const AValue : TDatetime); virtual;
  4676. Procedure SetorderId(AIndex : Integer; const AValue : String); virtual;
  4677. Procedure SetprojectId(AIndex : Integer; const AValue : String); virtual;
  4678. Procedure Setsigned(AIndex : Integer; const AValue : boolean); virtual;
  4679. Procedure SetsubaccountId(AIndex : Integer; const AValue : String); virtual;
  4680. Procedure Settitle(AIndex : Integer; const AValue : String); virtual;
  4681. Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
  4682. //2.6.4. bug workaround
  4683. {$IFDEF VER2_6}
  4684. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  4685. {$ENDIF VER2_6}
  4686. Public
  4687. Published
  4688. Property accountId : String Index 0 Read FaccountId Write SetaccountId;
  4689. Property advertiserId : String Index 8 Read FadvertiserId Write SetadvertiserId;
  4690. Property amendedOrderDocumentId : String Index 16 Read FamendedOrderDocumentId Write SetamendedOrderDocumentId;
  4691. Property approvedByUserProfileIds : TStringArray Index 24 Read FapprovedByUserProfileIds Write SetapprovedByUserProfileIds;
  4692. Property cancelled : boolean Index 32 Read Fcancelled Write Setcancelled;
  4693. Property createdInfo : TLastModifiedInfo Index 40 Read FcreatedInfo Write SetcreatedInfo;
  4694. Property effectiveDate : TDate Index 48 Read FeffectiveDate Write SeteffectiveDate;
  4695. Property id : String Index 56 Read Fid Write Setid;
  4696. Property kind : String Index 64 Read Fkind Write Setkind;
  4697. Property lastSentRecipients : TStringArray Index 72 Read FlastSentRecipients Write SetlastSentRecipients;
  4698. Property lastSentTime : TDatetime Index 80 Read FlastSentTime Write SetlastSentTime;
  4699. Property orderId : String Index 88 Read ForderId Write SetorderId;
  4700. Property projectId : String Index 96 Read FprojectId Write SetprojectId;
  4701. Property signed : boolean Index 104 Read Fsigned Write Setsigned;
  4702. Property subaccountId : String Index 112 Read FsubaccountId Write SetsubaccountId;
  4703. Property title : String Index 120 Read Ftitle Write Settitle;
  4704. Property _type : String Index 128 Read F_type Write Set_type;
  4705. end;
  4706. TOrderDocumentClass = Class of TOrderDocument;
  4707. { --------------------------------------------------------------------
  4708. TOrderDocumentsListResponse
  4709. --------------------------------------------------------------------}
  4710. TOrderDocumentsListResponse = Class(TGoogleBaseObject)
  4711. Private
  4712. Fkind : String;
  4713. FnextPageToken : String;
  4714. ForderDocuments : TOrderDocumentsListResponseTypeorderDocumentsArray;
  4715. Protected
  4716. //Property setters
  4717. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  4718. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  4719. Procedure SetorderDocuments(AIndex : Integer; const AValue : TOrderDocumentsListResponseTypeorderDocumentsArray); virtual;
  4720. //2.6.4. bug workaround
  4721. {$IFDEF VER2_6}
  4722. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  4723. {$ENDIF VER2_6}
  4724. Public
  4725. Published
  4726. Property kind : String Index 0 Read Fkind Write Setkind;
  4727. Property nextPageToken : String Index 8 Read FnextPageToken Write SetnextPageToken;
  4728. Property orderDocuments : TOrderDocumentsListResponseTypeorderDocumentsArray Index 16 Read ForderDocuments Write SetorderDocuments;
  4729. end;
  4730. TOrderDocumentsListResponseClass = Class of TOrderDocumentsListResponse;
  4731. { --------------------------------------------------------------------
  4732. TOrdersListResponse
  4733. --------------------------------------------------------------------}
  4734. TOrdersListResponse = Class(TGoogleBaseObject)
  4735. Private
  4736. Fkind : String;
  4737. FnextPageToken : String;
  4738. Forders : TOrdersListResponseTypeordersArray;
  4739. Protected
  4740. //Property setters
  4741. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  4742. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  4743. Procedure Setorders(AIndex : Integer; const AValue : TOrdersListResponseTypeordersArray); virtual;
  4744. //2.6.4. bug workaround
  4745. {$IFDEF VER2_6}
  4746. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  4747. {$ENDIF VER2_6}
  4748. Public
  4749. Published
  4750. Property kind : String Index 0 Read Fkind Write Setkind;
  4751. Property nextPageToken : String Index 8 Read FnextPageToken Write SetnextPageToken;
  4752. Property orders : TOrdersListResponseTypeordersArray Index 16 Read Forders Write Setorders;
  4753. end;
  4754. TOrdersListResponseClass = Class of TOrdersListResponse;
  4755. { --------------------------------------------------------------------
  4756. TPathToConversionReportCompatibleFields
  4757. --------------------------------------------------------------------}
  4758. TPathToConversionReportCompatibleFields = Class(TGoogleBaseObject)
  4759. Private
  4760. FconversionDimensions : TPathToConversionReportCompatibleFieldsTypeconversionDimensionsArray;
  4761. FcustomFloodlightVariables : TPathToConversionReportCompatibleFieldsTypecustomFloodlightVariablesArray;
  4762. Fkind : String;
  4763. Fmetrics : TPathToConversionReportCompatibleFieldsTypemetricsArray;
  4764. FperInteractionDimensions : TPathToConversionReportCompatibleFieldsTypeperInteractionDimensionsArray;
  4765. Protected
  4766. //Property setters
  4767. Procedure SetconversionDimensions(AIndex : Integer; const AValue : TPathToConversionReportCompatibleFieldsTypeconversionDimensionsArray); virtual;
  4768. Procedure SetcustomFloodlightVariables(AIndex : Integer; const AValue : TPathToConversionReportCompatibleFieldsTypecustomFloodlightVariablesArray); virtual;
  4769. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  4770. Procedure Setmetrics(AIndex : Integer; const AValue : TPathToConversionReportCompatibleFieldsTypemetricsArray); virtual;
  4771. Procedure SetperInteractionDimensions(AIndex : Integer; const AValue : TPathToConversionReportCompatibleFieldsTypeperInteractionDimensionsArray); virtual;
  4772. //2.6.4. bug workaround
  4773. {$IFDEF VER2_6}
  4774. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  4775. {$ENDIF VER2_6}
  4776. Public
  4777. Published
  4778. Property conversionDimensions : TPathToConversionReportCompatibleFieldsTypeconversionDimensionsArray Index 0 Read FconversionDimensions Write SetconversionDimensions;
  4779. Property customFloodlightVariables : TPathToConversionReportCompatibleFieldsTypecustomFloodlightVariablesArray Index 8 Read FcustomFloodlightVariables Write SetcustomFloodlightVariables;
  4780. Property kind : String Index 16 Read Fkind Write Setkind;
  4781. Property metrics : TPathToConversionReportCompatibleFieldsTypemetricsArray Index 24 Read Fmetrics Write Setmetrics;
  4782. Property perInteractionDimensions : TPathToConversionReportCompatibleFieldsTypeperInteractionDimensionsArray Index 32 Read FperInteractionDimensions Write SetperInteractionDimensions;
  4783. end;
  4784. TPathToConversionReportCompatibleFieldsClass = Class of TPathToConversionReportCompatibleFields;
  4785. { --------------------------------------------------------------------
  4786. TPlacement
  4787. --------------------------------------------------------------------}
  4788. TPlacement = Class(TGoogleBaseObject)
  4789. Private
  4790. FaccountId : String;
  4791. FadvertiserId : String;
  4792. FadvertiserIdDimensionValue : TDimensionValue;
  4793. Farchived : boolean;
  4794. FcampaignId : String;
  4795. FcampaignIdDimensionValue : TDimensionValue;
  4796. Fcomment : String;
  4797. Fcompatibility : String;
  4798. FcontentCategoryId : String;
  4799. FcreateInfo : TLastModifiedInfo;
  4800. FdirectorySiteId : String;
  4801. FdirectorySiteIdDimensionValue : TDimensionValue;
  4802. FexternalId : String;
  4803. Fid : String;
  4804. FidDimensionValue : TDimensionValue;
  4805. FkeyName : String;
  4806. Fkind : String;
  4807. FlastModifiedInfo : TLastModifiedInfo;
  4808. FlookbackConfiguration : TLookbackConfiguration;
  4809. Fname : String;
  4810. FpaymentApproved : boolean;
  4811. FpaymentSource : String;
  4812. FplacementGroupId : String;
  4813. FplacementGroupIdDimensionValue : TDimensionValue;
  4814. FplacementStrategyId : String;
  4815. FpricingSchedule : TPricingSchedule;
  4816. Fprimary : boolean;
  4817. FpublisherUpdateInfo : TLastModifiedInfo;
  4818. FsiteId : String;
  4819. FsiteIdDimensionValue : TDimensionValue;
  4820. Fsize : TSize;
  4821. FsslRequired : boolean;
  4822. Fstatus : String;
  4823. FsubaccountId : String;
  4824. FtagFormats : TStringArray;
  4825. FtagSetting : TTagSetting;
  4826. Protected
  4827. //Property setters
  4828. Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
  4829. Procedure SetadvertiserId(AIndex : Integer; const AValue : String); virtual;
  4830. Procedure SetadvertiserIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue); virtual;
  4831. Procedure Setarchived(AIndex : Integer; const AValue : boolean); virtual;
  4832. Procedure SetcampaignId(AIndex : Integer; const AValue : String); virtual;
  4833. Procedure SetcampaignIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue); virtual;
  4834. Procedure Setcomment(AIndex : Integer; const AValue : String); virtual;
  4835. Procedure Setcompatibility(AIndex : Integer; const AValue : String); virtual;
  4836. Procedure SetcontentCategoryId(AIndex : Integer; const AValue : String); virtual;
  4837. Procedure SetcreateInfo(AIndex : Integer; const AValue : TLastModifiedInfo); virtual;
  4838. Procedure SetdirectorySiteId(AIndex : Integer; const AValue : String); virtual;
  4839. Procedure SetdirectorySiteIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue); virtual;
  4840. Procedure SetexternalId(AIndex : Integer; const AValue : String); virtual;
  4841. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  4842. Procedure SetidDimensionValue(AIndex : Integer; const AValue : TDimensionValue); virtual;
  4843. Procedure SetkeyName(AIndex : Integer; const AValue : String); virtual;
  4844. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  4845. Procedure SetlastModifiedInfo(AIndex : Integer; const AValue : TLastModifiedInfo); virtual;
  4846. Procedure SetlookbackConfiguration(AIndex : Integer; const AValue : TLookbackConfiguration); virtual;
  4847. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  4848. Procedure SetpaymentApproved(AIndex : Integer; const AValue : boolean); virtual;
  4849. Procedure SetpaymentSource(AIndex : Integer; const AValue : String); virtual;
  4850. Procedure SetplacementGroupId(AIndex : Integer; const AValue : String); virtual;
  4851. Procedure SetplacementGroupIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue); virtual;
  4852. Procedure SetplacementStrategyId(AIndex : Integer; const AValue : String); virtual;
  4853. Procedure SetpricingSchedule(AIndex : Integer; const AValue : TPricingSchedule); virtual;
  4854. Procedure Setprimary(AIndex : Integer; const AValue : boolean); virtual;
  4855. Procedure SetpublisherUpdateInfo(AIndex : Integer; const AValue : TLastModifiedInfo); virtual;
  4856. Procedure SetsiteId(AIndex : Integer; const AValue : String); virtual;
  4857. Procedure SetsiteIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue); virtual;
  4858. Procedure Setsize(AIndex : Integer; const AValue : TSize); virtual;
  4859. Procedure SetsslRequired(AIndex : Integer; const AValue : boolean); virtual;
  4860. Procedure Setstatus(AIndex : Integer; const AValue : String); virtual;
  4861. Procedure SetsubaccountId(AIndex : Integer; const AValue : String); virtual;
  4862. Procedure SettagFormats(AIndex : Integer; const AValue : TStringArray); virtual;
  4863. Procedure SettagSetting(AIndex : Integer; const AValue : TTagSetting); virtual;
  4864. //2.6.4. bug workaround
  4865. {$IFDEF VER2_6}
  4866. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  4867. {$ENDIF VER2_6}
  4868. Public
  4869. Published
  4870. Property accountId : String Index 0 Read FaccountId Write SetaccountId;
  4871. Property advertiserId : String Index 8 Read FadvertiserId Write SetadvertiserId;
  4872. Property advertiserIdDimensionValue : TDimensionValue Index 16 Read FadvertiserIdDimensionValue Write SetadvertiserIdDimensionValue;
  4873. Property archived : boolean Index 24 Read Farchived Write Setarchived;
  4874. Property campaignId : String Index 32 Read FcampaignId Write SetcampaignId;
  4875. Property campaignIdDimensionValue : TDimensionValue Index 40 Read FcampaignIdDimensionValue Write SetcampaignIdDimensionValue;
  4876. Property comment : String Index 48 Read Fcomment Write Setcomment;
  4877. Property compatibility : String Index 56 Read Fcompatibility Write Setcompatibility;
  4878. Property contentCategoryId : String Index 64 Read FcontentCategoryId Write SetcontentCategoryId;
  4879. Property createInfo : TLastModifiedInfo Index 72 Read FcreateInfo Write SetcreateInfo;
  4880. Property directorySiteId : String Index 80 Read FdirectorySiteId Write SetdirectorySiteId;
  4881. Property directorySiteIdDimensionValue : TDimensionValue Index 88 Read FdirectorySiteIdDimensionValue Write SetdirectorySiteIdDimensionValue;
  4882. Property externalId : String Index 96 Read FexternalId Write SetexternalId;
  4883. Property id : String Index 104 Read Fid Write Setid;
  4884. Property idDimensionValue : TDimensionValue Index 112 Read FidDimensionValue Write SetidDimensionValue;
  4885. Property keyName : String Index 120 Read FkeyName Write SetkeyName;
  4886. Property kind : String Index 128 Read Fkind Write Setkind;
  4887. Property lastModifiedInfo : TLastModifiedInfo Index 136 Read FlastModifiedInfo Write SetlastModifiedInfo;
  4888. Property lookbackConfiguration : TLookbackConfiguration Index 144 Read FlookbackConfiguration Write SetlookbackConfiguration;
  4889. Property name : String Index 152 Read Fname Write Setname;
  4890. Property paymentApproved : boolean Index 160 Read FpaymentApproved Write SetpaymentApproved;
  4891. Property paymentSource : String Index 168 Read FpaymentSource Write SetpaymentSource;
  4892. Property placementGroupId : String Index 176 Read FplacementGroupId Write SetplacementGroupId;
  4893. Property placementGroupIdDimensionValue : TDimensionValue Index 184 Read FplacementGroupIdDimensionValue Write SetplacementGroupIdDimensionValue;
  4894. Property placementStrategyId : String Index 192 Read FplacementStrategyId Write SetplacementStrategyId;
  4895. Property pricingSchedule : TPricingSchedule Index 200 Read FpricingSchedule Write SetpricingSchedule;
  4896. Property primary : boolean Index 208 Read Fprimary Write Setprimary;
  4897. Property publisherUpdateInfo : TLastModifiedInfo Index 216 Read FpublisherUpdateInfo Write SetpublisherUpdateInfo;
  4898. Property siteId : String Index 224 Read FsiteId Write SetsiteId;
  4899. Property siteIdDimensionValue : TDimensionValue Index 232 Read FsiteIdDimensionValue Write SetsiteIdDimensionValue;
  4900. Property size : TSize Index 240 Read Fsize Write Setsize;
  4901. Property sslRequired : boolean Index 248 Read FsslRequired Write SetsslRequired;
  4902. Property status : String Index 256 Read Fstatus Write Setstatus;
  4903. Property subaccountId : String Index 264 Read FsubaccountId Write SetsubaccountId;
  4904. Property tagFormats : TStringArray Index 272 Read FtagFormats Write SettagFormats;
  4905. Property tagSetting : TTagSetting Index 280 Read FtagSetting Write SettagSetting;
  4906. end;
  4907. TPlacementClass = Class of TPlacement;
  4908. { --------------------------------------------------------------------
  4909. TPlacementAssignment
  4910. --------------------------------------------------------------------}
  4911. TPlacementAssignment = Class(TGoogleBaseObject)
  4912. Private
  4913. Factive : boolean;
  4914. FplacementId : String;
  4915. FplacementIdDimensionValue : TDimensionValue;
  4916. FsslRequired : boolean;
  4917. Protected
  4918. //Property setters
  4919. Procedure Setactive(AIndex : Integer; const AValue : boolean); virtual;
  4920. Procedure SetplacementId(AIndex : Integer; const AValue : String); virtual;
  4921. Procedure SetplacementIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue); virtual;
  4922. Procedure SetsslRequired(AIndex : Integer; const AValue : boolean); virtual;
  4923. Public
  4924. Published
  4925. Property active : boolean Index 0 Read Factive Write Setactive;
  4926. Property placementId : String Index 8 Read FplacementId Write SetplacementId;
  4927. Property placementIdDimensionValue : TDimensionValue Index 16 Read FplacementIdDimensionValue Write SetplacementIdDimensionValue;
  4928. Property sslRequired : boolean Index 24 Read FsslRequired Write SetsslRequired;
  4929. end;
  4930. TPlacementAssignmentClass = Class of TPlacementAssignment;
  4931. { --------------------------------------------------------------------
  4932. TPlacementGroup
  4933. --------------------------------------------------------------------}
  4934. TPlacementGroup = Class(TGoogleBaseObject)
  4935. Private
  4936. FaccountId : String;
  4937. FadvertiserId : String;
  4938. FadvertiserIdDimensionValue : TDimensionValue;
  4939. Farchived : boolean;
  4940. FcampaignId : String;
  4941. FcampaignIdDimensionValue : TDimensionValue;
  4942. FchildPlacementIds : TStringArray;
  4943. Fcomment : String;
  4944. FcontentCategoryId : String;
  4945. FcreateInfo : TLastModifiedInfo;
  4946. FdirectorySiteId : String;
  4947. FdirectorySiteIdDimensionValue : TDimensionValue;
  4948. FexternalId : String;
  4949. Fid : String;
  4950. FidDimensionValue : TDimensionValue;
  4951. Fkind : String;
  4952. FlastModifiedInfo : TLastModifiedInfo;
  4953. Fname : String;
  4954. FplacementGroupType : String;
  4955. FplacementStrategyId : String;
  4956. FpricingSchedule : TPricingSchedule;
  4957. FprimaryPlacementId : String;
  4958. FprimaryPlacementIdDimensionValue : TDimensionValue;
  4959. FsiteId : String;
  4960. FsiteIdDimensionValue : TDimensionValue;
  4961. FsubaccountId : String;
  4962. Protected
  4963. //Property setters
  4964. Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
  4965. Procedure SetadvertiserId(AIndex : Integer; const AValue : String); virtual;
  4966. Procedure SetadvertiserIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue); virtual;
  4967. Procedure Setarchived(AIndex : Integer; const AValue : boolean); virtual;
  4968. Procedure SetcampaignId(AIndex : Integer; const AValue : String); virtual;
  4969. Procedure SetcampaignIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue); virtual;
  4970. Procedure SetchildPlacementIds(AIndex : Integer; const AValue : TStringArray); virtual;
  4971. Procedure Setcomment(AIndex : Integer; const AValue : String); virtual;
  4972. Procedure SetcontentCategoryId(AIndex : Integer; const AValue : String); virtual;
  4973. Procedure SetcreateInfo(AIndex : Integer; const AValue : TLastModifiedInfo); virtual;
  4974. Procedure SetdirectorySiteId(AIndex : Integer; const AValue : String); virtual;
  4975. Procedure SetdirectorySiteIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue); virtual;
  4976. Procedure SetexternalId(AIndex : Integer; const AValue : String); virtual;
  4977. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  4978. Procedure SetidDimensionValue(AIndex : Integer; const AValue : TDimensionValue); virtual;
  4979. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  4980. Procedure SetlastModifiedInfo(AIndex : Integer; const AValue : TLastModifiedInfo); virtual;
  4981. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  4982. Procedure SetplacementGroupType(AIndex : Integer; const AValue : String); virtual;
  4983. Procedure SetplacementStrategyId(AIndex : Integer; const AValue : String); virtual;
  4984. Procedure SetpricingSchedule(AIndex : Integer; const AValue : TPricingSchedule); virtual;
  4985. Procedure SetprimaryPlacementId(AIndex : Integer; const AValue : String); virtual;
  4986. Procedure SetprimaryPlacementIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue); virtual;
  4987. Procedure SetsiteId(AIndex : Integer; const AValue : String); virtual;
  4988. Procedure SetsiteIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue); virtual;
  4989. Procedure SetsubaccountId(AIndex : Integer; const AValue : String); virtual;
  4990. //2.6.4. bug workaround
  4991. {$IFDEF VER2_6}
  4992. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  4993. {$ENDIF VER2_6}
  4994. Public
  4995. Published
  4996. Property accountId : String Index 0 Read FaccountId Write SetaccountId;
  4997. Property advertiserId : String Index 8 Read FadvertiserId Write SetadvertiserId;
  4998. Property advertiserIdDimensionValue : TDimensionValue Index 16 Read FadvertiserIdDimensionValue Write SetadvertiserIdDimensionValue;
  4999. Property archived : boolean Index 24 Read Farchived Write Setarchived;
  5000. Property campaignId : String Index 32 Read FcampaignId Write SetcampaignId;
  5001. Property campaignIdDimensionValue : TDimensionValue Index 40 Read FcampaignIdDimensionValue Write SetcampaignIdDimensionValue;
  5002. Property childPlacementIds : TStringArray Index 48 Read FchildPlacementIds Write SetchildPlacementIds;
  5003. Property comment : String Index 56 Read Fcomment Write Setcomment;
  5004. Property contentCategoryId : String Index 64 Read FcontentCategoryId Write SetcontentCategoryId;
  5005. Property createInfo : TLastModifiedInfo Index 72 Read FcreateInfo Write SetcreateInfo;
  5006. Property directorySiteId : String Index 80 Read FdirectorySiteId Write SetdirectorySiteId;
  5007. Property directorySiteIdDimensionValue : TDimensionValue Index 88 Read FdirectorySiteIdDimensionValue Write SetdirectorySiteIdDimensionValue;
  5008. Property externalId : String Index 96 Read FexternalId Write SetexternalId;
  5009. Property id : String Index 104 Read Fid Write Setid;
  5010. Property idDimensionValue : TDimensionValue Index 112 Read FidDimensionValue Write SetidDimensionValue;
  5011. Property kind : String Index 120 Read Fkind Write Setkind;
  5012. Property lastModifiedInfo : TLastModifiedInfo Index 128 Read FlastModifiedInfo Write SetlastModifiedInfo;
  5013. Property name : String Index 136 Read Fname Write Setname;
  5014. Property placementGroupType : String Index 144 Read FplacementGroupType Write SetplacementGroupType;
  5015. Property placementStrategyId : String Index 152 Read FplacementStrategyId Write SetplacementStrategyId;
  5016. Property pricingSchedule : TPricingSchedule Index 160 Read FpricingSchedule Write SetpricingSchedule;
  5017. Property primaryPlacementId : String Index 168 Read FprimaryPlacementId Write SetprimaryPlacementId;
  5018. Property primaryPlacementIdDimensionValue : TDimensionValue Index 176 Read FprimaryPlacementIdDimensionValue Write SetprimaryPlacementIdDimensionValue;
  5019. Property siteId : String Index 184 Read FsiteId Write SetsiteId;
  5020. Property siteIdDimensionValue : TDimensionValue Index 192 Read FsiteIdDimensionValue Write SetsiteIdDimensionValue;
  5021. Property subaccountId : String Index 200 Read FsubaccountId Write SetsubaccountId;
  5022. end;
  5023. TPlacementGroupClass = Class of TPlacementGroup;
  5024. { --------------------------------------------------------------------
  5025. TPlacementGroupsListResponse
  5026. --------------------------------------------------------------------}
  5027. TPlacementGroupsListResponse = Class(TGoogleBaseObject)
  5028. Private
  5029. Fkind : String;
  5030. FnextPageToken : String;
  5031. FplacementGroups : TPlacementGroupsListResponseTypeplacementGroupsArray;
  5032. Protected
  5033. //Property setters
  5034. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  5035. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  5036. Procedure SetplacementGroups(AIndex : Integer; const AValue : TPlacementGroupsListResponseTypeplacementGroupsArray); virtual;
  5037. //2.6.4. bug workaround
  5038. {$IFDEF VER2_6}
  5039. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  5040. {$ENDIF VER2_6}
  5041. Public
  5042. Published
  5043. Property kind : String Index 0 Read Fkind Write Setkind;
  5044. Property nextPageToken : String Index 8 Read FnextPageToken Write SetnextPageToken;
  5045. Property placementGroups : TPlacementGroupsListResponseTypeplacementGroupsArray Index 16 Read FplacementGroups Write SetplacementGroups;
  5046. end;
  5047. TPlacementGroupsListResponseClass = Class of TPlacementGroupsListResponse;
  5048. { --------------------------------------------------------------------
  5049. TPlacementStrategiesListResponse
  5050. --------------------------------------------------------------------}
  5051. TPlacementStrategiesListResponse = Class(TGoogleBaseObject)
  5052. Private
  5053. Fkind : String;
  5054. FnextPageToken : String;
  5055. FplacementStrategies : TPlacementStrategiesListResponseTypeplacementStrategiesArray;
  5056. Protected
  5057. //Property setters
  5058. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  5059. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  5060. Procedure SetplacementStrategies(AIndex : Integer; const AValue : TPlacementStrategiesListResponseTypeplacementStrategiesArray); virtual;
  5061. //2.6.4. bug workaround
  5062. {$IFDEF VER2_6}
  5063. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  5064. {$ENDIF VER2_6}
  5065. Public
  5066. Published
  5067. Property kind : String Index 0 Read Fkind Write Setkind;
  5068. Property nextPageToken : String Index 8 Read FnextPageToken Write SetnextPageToken;
  5069. Property placementStrategies : TPlacementStrategiesListResponseTypeplacementStrategiesArray Index 16 Read FplacementStrategies Write SetplacementStrategies;
  5070. end;
  5071. TPlacementStrategiesListResponseClass = Class of TPlacementStrategiesListResponse;
  5072. { --------------------------------------------------------------------
  5073. TPlacementStrategy
  5074. --------------------------------------------------------------------}
  5075. TPlacementStrategy = Class(TGoogleBaseObject)
  5076. Private
  5077. FaccountId : String;
  5078. Fid : String;
  5079. Fkind : String;
  5080. Fname : String;
  5081. Protected
  5082. //Property setters
  5083. Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
  5084. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  5085. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  5086. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  5087. Public
  5088. Published
  5089. Property accountId : String Index 0 Read FaccountId Write SetaccountId;
  5090. Property id : String Index 8 Read Fid Write Setid;
  5091. Property kind : String Index 16 Read Fkind Write Setkind;
  5092. Property name : String Index 24 Read Fname Write Setname;
  5093. end;
  5094. TPlacementStrategyClass = Class of TPlacementStrategy;
  5095. { --------------------------------------------------------------------
  5096. TPlacementTag
  5097. --------------------------------------------------------------------}
  5098. TPlacementTag = Class(TGoogleBaseObject)
  5099. Private
  5100. FplacementId : String;
  5101. FtagDatas : TPlacementTagTypetagDatasArray;
  5102. Protected
  5103. //Property setters
  5104. Procedure SetplacementId(AIndex : Integer; const AValue : String); virtual;
  5105. Procedure SettagDatas(AIndex : Integer; const AValue : TPlacementTagTypetagDatasArray); virtual;
  5106. //2.6.4. bug workaround
  5107. {$IFDEF VER2_6}
  5108. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  5109. {$ENDIF VER2_6}
  5110. Public
  5111. Published
  5112. Property placementId : String Index 0 Read FplacementId Write SetplacementId;
  5113. Property tagDatas : TPlacementTagTypetagDatasArray Index 8 Read FtagDatas Write SettagDatas;
  5114. end;
  5115. TPlacementTagClass = Class of TPlacementTag;
  5116. { --------------------------------------------------------------------
  5117. TPlacementsGenerateTagsResponse
  5118. --------------------------------------------------------------------}
  5119. TPlacementsGenerateTagsResponse = Class(TGoogleBaseObject)
  5120. Private
  5121. Fkind : String;
  5122. FplacementTags : TPlacementsGenerateTagsResponseTypeplacementTagsArray;
  5123. Protected
  5124. //Property setters
  5125. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  5126. Procedure SetplacementTags(AIndex : Integer; const AValue : TPlacementsGenerateTagsResponseTypeplacementTagsArray); virtual;
  5127. //2.6.4. bug workaround
  5128. {$IFDEF VER2_6}
  5129. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  5130. {$ENDIF VER2_6}
  5131. Public
  5132. Published
  5133. Property kind : String Index 0 Read Fkind Write Setkind;
  5134. Property placementTags : TPlacementsGenerateTagsResponseTypeplacementTagsArray Index 8 Read FplacementTags Write SetplacementTags;
  5135. end;
  5136. TPlacementsGenerateTagsResponseClass = Class of TPlacementsGenerateTagsResponse;
  5137. { --------------------------------------------------------------------
  5138. TPlacementsListResponse
  5139. --------------------------------------------------------------------}
  5140. TPlacementsListResponse = Class(TGoogleBaseObject)
  5141. Private
  5142. Fkind : String;
  5143. FnextPageToken : String;
  5144. Fplacements : TPlacementsListResponseTypeplacementsArray;
  5145. Protected
  5146. //Property setters
  5147. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  5148. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  5149. Procedure Setplacements(AIndex : Integer; const AValue : TPlacementsListResponseTypeplacementsArray); virtual;
  5150. //2.6.4. bug workaround
  5151. {$IFDEF VER2_6}
  5152. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  5153. {$ENDIF VER2_6}
  5154. Public
  5155. Published
  5156. Property kind : String Index 0 Read Fkind Write Setkind;
  5157. Property nextPageToken : String Index 8 Read FnextPageToken Write SetnextPageToken;
  5158. Property placements : TPlacementsListResponseTypeplacementsArray Index 16 Read Fplacements Write Setplacements;
  5159. end;
  5160. TPlacementsListResponseClass = Class of TPlacementsListResponse;
  5161. { --------------------------------------------------------------------
  5162. TPlatformType
  5163. --------------------------------------------------------------------}
  5164. TPlatformType = Class(TGoogleBaseObject)
  5165. Private
  5166. Fid : String;
  5167. Fkind : String;
  5168. Fname : String;
  5169. Protected
  5170. //Property setters
  5171. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  5172. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  5173. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  5174. Public
  5175. Published
  5176. Property id : String Index 0 Read Fid Write Setid;
  5177. Property kind : String Index 8 Read Fkind Write Setkind;
  5178. Property name : String Index 16 Read Fname Write Setname;
  5179. end;
  5180. TPlatformTypeClass = Class of TPlatformType;
  5181. { --------------------------------------------------------------------
  5182. TPlatformTypesListResponse
  5183. --------------------------------------------------------------------}
  5184. TPlatformTypesListResponse = Class(TGoogleBaseObject)
  5185. Private
  5186. Fkind : String;
  5187. FplatformTypes : TPlatformTypesListResponseTypeplatformTypesArray;
  5188. Protected
  5189. //Property setters
  5190. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  5191. Procedure SetplatformTypes(AIndex : Integer; const AValue : TPlatformTypesListResponseTypeplatformTypesArray); virtual;
  5192. //2.6.4. bug workaround
  5193. {$IFDEF VER2_6}
  5194. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  5195. {$ENDIF VER2_6}
  5196. Public
  5197. Published
  5198. Property kind : String Index 0 Read Fkind Write Setkind;
  5199. Property platformTypes : TPlatformTypesListResponseTypeplatformTypesArray Index 8 Read FplatformTypes Write SetplatformTypes;
  5200. end;
  5201. TPlatformTypesListResponseClass = Class of TPlatformTypesListResponse;
  5202. { --------------------------------------------------------------------
  5203. TPopupWindowProperties
  5204. --------------------------------------------------------------------}
  5205. TPopupWindowProperties = Class(TGoogleBaseObject)
  5206. Private
  5207. Fdimension : TSize;
  5208. Foffset : TOffsetPosition;
  5209. FpositionType : String;
  5210. FshowAddressBar : boolean;
  5211. FshowMenuBar : boolean;
  5212. FshowScrollBar : boolean;
  5213. FshowStatusBar : boolean;
  5214. FshowToolBar : boolean;
  5215. Ftitle : String;
  5216. Protected
  5217. //Property setters
  5218. Procedure Setdimension(AIndex : Integer; const AValue : TSize); virtual;
  5219. Procedure Setoffset(AIndex : Integer; const AValue : TOffsetPosition); virtual;
  5220. Procedure SetpositionType(AIndex : Integer; const AValue : String); virtual;
  5221. Procedure SetshowAddressBar(AIndex : Integer; const AValue : boolean); virtual;
  5222. Procedure SetshowMenuBar(AIndex : Integer; const AValue : boolean); virtual;
  5223. Procedure SetshowScrollBar(AIndex : Integer; const AValue : boolean); virtual;
  5224. Procedure SetshowStatusBar(AIndex : Integer; const AValue : boolean); virtual;
  5225. Procedure SetshowToolBar(AIndex : Integer; const AValue : boolean); virtual;
  5226. Procedure Settitle(AIndex : Integer; const AValue : String); virtual;
  5227. Public
  5228. Published
  5229. Property dimension : TSize Index 0 Read Fdimension Write Setdimension;
  5230. Property offset : TOffsetPosition Index 8 Read Foffset Write Setoffset;
  5231. Property positionType : String Index 16 Read FpositionType Write SetpositionType;
  5232. Property showAddressBar : boolean Index 24 Read FshowAddressBar Write SetshowAddressBar;
  5233. Property showMenuBar : boolean Index 32 Read FshowMenuBar Write SetshowMenuBar;
  5234. Property showScrollBar : boolean Index 40 Read FshowScrollBar Write SetshowScrollBar;
  5235. Property showStatusBar : boolean Index 48 Read FshowStatusBar Write SetshowStatusBar;
  5236. Property showToolBar : boolean Index 56 Read FshowToolBar Write SetshowToolBar;
  5237. Property title : String Index 64 Read Ftitle Write Settitle;
  5238. end;
  5239. TPopupWindowPropertiesClass = Class of TPopupWindowProperties;
  5240. { --------------------------------------------------------------------
  5241. TPostalCode
  5242. --------------------------------------------------------------------}
  5243. TPostalCode = Class(TGoogleBaseObject)
  5244. Private
  5245. Fcode : String;
  5246. FcountryCode : String;
  5247. FcountryDartId : String;
  5248. Fid : String;
  5249. Fkind : String;
  5250. Protected
  5251. //Property setters
  5252. Procedure Setcode(AIndex : Integer; const AValue : String); virtual;
  5253. Procedure SetcountryCode(AIndex : Integer; const AValue : String); virtual;
  5254. Procedure SetcountryDartId(AIndex : Integer; const AValue : String); virtual;
  5255. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  5256. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  5257. Public
  5258. Published
  5259. Property code : String Index 0 Read Fcode Write Setcode;
  5260. Property countryCode : String Index 8 Read FcountryCode Write SetcountryCode;
  5261. Property countryDartId : String Index 16 Read FcountryDartId Write SetcountryDartId;
  5262. Property id : String Index 24 Read Fid Write Setid;
  5263. Property kind : String Index 32 Read Fkind Write Setkind;
  5264. end;
  5265. TPostalCodeClass = Class of TPostalCode;
  5266. { --------------------------------------------------------------------
  5267. TPostalCodesListResponse
  5268. --------------------------------------------------------------------}
  5269. TPostalCodesListResponse = Class(TGoogleBaseObject)
  5270. Private
  5271. Fkind : String;
  5272. FpostalCodes : TPostalCodesListResponseTypepostalCodesArray;
  5273. Protected
  5274. //Property setters
  5275. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  5276. Procedure SetpostalCodes(AIndex : Integer; const AValue : TPostalCodesListResponseTypepostalCodesArray); virtual;
  5277. //2.6.4. bug workaround
  5278. {$IFDEF VER2_6}
  5279. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  5280. {$ENDIF VER2_6}
  5281. Public
  5282. Published
  5283. Property kind : String Index 0 Read Fkind Write Setkind;
  5284. Property postalCodes : TPostalCodesListResponseTypepostalCodesArray Index 8 Read FpostalCodes Write SetpostalCodes;
  5285. end;
  5286. TPostalCodesListResponseClass = Class of TPostalCodesListResponse;
  5287. { --------------------------------------------------------------------
  5288. TPricing
  5289. --------------------------------------------------------------------}
  5290. TPricing = Class(TGoogleBaseObject)
  5291. Private
  5292. FcapCostType : String;
  5293. FendDate : TDate;
  5294. Fflights : TPricingTypeflightsArray;
  5295. FgroupType : String;
  5296. FpricingType : String;
  5297. FstartDate : TDate;
  5298. Protected
  5299. //Property setters
  5300. Procedure SetcapCostType(AIndex : Integer; const AValue : String); virtual;
  5301. Procedure SetendDate(AIndex : Integer; const AValue : TDate); virtual;
  5302. Procedure Setflights(AIndex : Integer; const AValue : TPricingTypeflightsArray); virtual;
  5303. Procedure SetgroupType(AIndex : Integer; const AValue : String); virtual;
  5304. Procedure SetpricingType(AIndex : Integer; const AValue : String); virtual;
  5305. Procedure SetstartDate(AIndex : Integer; const AValue : TDate); virtual;
  5306. //2.6.4. bug workaround
  5307. {$IFDEF VER2_6}
  5308. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  5309. {$ENDIF VER2_6}
  5310. Public
  5311. Published
  5312. Property capCostType : String Index 0 Read FcapCostType Write SetcapCostType;
  5313. Property endDate : TDate Index 8 Read FendDate Write SetendDate;
  5314. Property flights : TPricingTypeflightsArray Index 16 Read Fflights Write Setflights;
  5315. Property groupType : String Index 24 Read FgroupType Write SetgroupType;
  5316. Property pricingType : String Index 32 Read FpricingType Write SetpricingType;
  5317. Property startDate : TDate Index 40 Read FstartDate Write SetstartDate;
  5318. end;
  5319. TPricingClass = Class of TPricing;
  5320. { --------------------------------------------------------------------
  5321. TPricingSchedule
  5322. --------------------------------------------------------------------}
  5323. TPricingSchedule = Class(TGoogleBaseObject)
  5324. Private
  5325. FcapCostOption : String;
  5326. FdisregardOverdelivery : boolean;
  5327. FendDate : TDate;
  5328. Fflighted : boolean;
  5329. FfloodlightActivityId : String;
  5330. FpricingPeriods : TPricingScheduleTypepricingPeriodsArray;
  5331. FpricingType : String;
  5332. FstartDate : TDate;
  5333. FtestingStartDate : TDate;
  5334. Protected
  5335. //Property setters
  5336. Procedure SetcapCostOption(AIndex : Integer; const AValue : String); virtual;
  5337. Procedure SetdisregardOverdelivery(AIndex : Integer; const AValue : boolean); virtual;
  5338. Procedure SetendDate(AIndex : Integer; const AValue : TDate); virtual;
  5339. Procedure Setflighted(AIndex : Integer; const AValue : boolean); virtual;
  5340. Procedure SetfloodlightActivityId(AIndex : Integer; const AValue : String); virtual;
  5341. Procedure SetpricingPeriods(AIndex : Integer; const AValue : TPricingScheduleTypepricingPeriodsArray); virtual;
  5342. Procedure SetpricingType(AIndex : Integer; const AValue : String); virtual;
  5343. Procedure SetstartDate(AIndex : Integer; const AValue : TDate); virtual;
  5344. Procedure SettestingStartDate(AIndex : Integer; const AValue : TDate); virtual;
  5345. //2.6.4. bug workaround
  5346. {$IFDEF VER2_6}
  5347. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  5348. {$ENDIF VER2_6}
  5349. Public
  5350. Published
  5351. Property capCostOption : String Index 0 Read FcapCostOption Write SetcapCostOption;
  5352. Property disregardOverdelivery : boolean Index 8 Read FdisregardOverdelivery Write SetdisregardOverdelivery;
  5353. Property endDate : TDate Index 16 Read FendDate Write SetendDate;
  5354. Property flighted : boolean Index 24 Read Fflighted Write Setflighted;
  5355. Property floodlightActivityId : String Index 32 Read FfloodlightActivityId Write SetfloodlightActivityId;
  5356. Property pricingPeriods : TPricingScheduleTypepricingPeriodsArray Index 40 Read FpricingPeriods Write SetpricingPeriods;
  5357. Property pricingType : String Index 48 Read FpricingType Write SetpricingType;
  5358. Property startDate : TDate Index 56 Read FstartDate Write SetstartDate;
  5359. Property testingStartDate : TDate Index 64 Read FtestingStartDate Write SettestingStartDate;
  5360. end;
  5361. TPricingScheduleClass = Class of TPricingSchedule;
  5362. { --------------------------------------------------------------------
  5363. TPricingSchedulePricingPeriod
  5364. --------------------------------------------------------------------}
  5365. TPricingSchedulePricingPeriod = Class(TGoogleBaseObject)
  5366. Private
  5367. FendDate : TDate;
  5368. FpricingComment : String;
  5369. FrateOrCostNanos : String;
  5370. FstartDate : TDate;
  5371. Funits : String;
  5372. Protected
  5373. //Property setters
  5374. Procedure SetendDate(AIndex : Integer; const AValue : TDate); virtual;
  5375. Procedure SetpricingComment(AIndex : Integer; const AValue : String); virtual;
  5376. Procedure SetrateOrCostNanos(AIndex : Integer; const AValue : String); virtual;
  5377. Procedure SetstartDate(AIndex : Integer; const AValue : TDate); virtual;
  5378. Procedure Setunits(AIndex : Integer; const AValue : String); virtual;
  5379. Public
  5380. Published
  5381. Property endDate : TDate Index 0 Read FendDate Write SetendDate;
  5382. Property pricingComment : String Index 8 Read FpricingComment Write SetpricingComment;
  5383. Property rateOrCostNanos : String Index 16 Read FrateOrCostNanos Write SetrateOrCostNanos;
  5384. Property startDate : TDate Index 24 Read FstartDate Write SetstartDate;
  5385. Property units : String Index 32 Read Funits Write Setunits;
  5386. end;
  5387. TPricingSchedulePricingPeriodClass = Class of TPricingSchedulePricingPeriod;
  5388. { --------------------------------------------------------------------
  5389. TProject
  5390. --------------------------------------------------------------------}
  5391. TProject = Class(TGoogleBaseObject)
  5392. Private
  5393. FaccountId : String;
  5394. FadvertiserId : String;
  5395. FaudienceAgeGroup : String;
  5396. FaudienceGender : String;
  5397. Fbudget : String;
  5398. FclientBillingCode : String;
  5399. FclientName : String;
  5400. FendDate : TDate;
  5401. Fid : String;
  5402. Fkind : String;
  5403. FlastModifiedInfo : TLastModifiedInfo;
  5404. Fname : String;
  5405. Foverview : String;
  5406. FstartDate : TDate;
  5407. FsubaccountId : String;
  5408. FtargetClicks : String;
  5409. FtargetConversions : String;
  5410. FtargetCpaNanos : String;
  5411. FtargetCpcNanos : String;
  5412. FtargetCpmNanos : String;
  5413. FtargetImpressions : String;
  5414. Protected
  5415. //Property setters
  5416. Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
  5417. Procedure SetadvertiserId(AIndex : Integer; const AValue : String); virtual;
  5418. Procedure SetaudienceAgeGroup(AIndex : Integer; const AValue : String); virtual;
  5419. Procedure SetaudienceGender(AIndex : Integer; const AValue : String); virtual;
  5420. Procedure Setbudget(AIndex : Integer; const AValue : String); virtual;
  5421. Procedure SetclientBillingCode(AIndex : Integer; const AValue : String); virtual;
  5422. Procedure SetclientName(AIndex : Integer; const AValue : String); virtual;
  5423. Procedure SetendDate(AIndex : Integer; const AValue : TDate); virtual;
  5424. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  5425. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  5426. Procedure SetlastModifiedInfo(AIndex : Integer; const AValue : TLastModifiedInfo); virtual;
  5427. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  5428. Procedure Setoverview(AIndex : Integer; const AValue : String); virtual;
  5429. Procedure SetstartDate(AIndex : Integer; const AValue : TDate); virtual;
  5430. Procedure SetsubaccountId(AIndex : Integer; const AValue : String); virtual;
  5431. Procedure SettargetClicks(AIndex : Integer; const AValue : String); virtual;
  5432. Procedure SettargetConversions(AIndex : Integer; const AValue : String); virtual;
  5433. Procedure SettargetCpaNanos(AIndex : Integer; const AValue : String); virtual;
  5434. Procedure SettargetCpcNanos(AIndex : Integer; const AValue : String); virtual;
  5435. Procedure SettargetCpmNanos(AIndex : Integer; const AValue : String); virtual;
  5436. Procedure SettargetImpressions(AIndex : Integer; const AValue : String); virtual;
  5437. Public
  5438. Published
  5439. Property accountId : String Index 0 Read FaccountId Write SetaccountId;
  5440. Property advertiserId : String Index 8 Read FadvertiserId Write SetadvertiserId;
  5441. Property audienceAgeGroup : String Index 16 Read FaudienceAgeGroup Write SetaudienceAgeGroup;
  5442. Property audienceGender : String Index 24 Read FaudienceGender Write SetaudienceGender;
  5443. Property budget : String Index 32 Read Fbudget Write Setbudget;
  5444. Property clientBillingCode : String Index 40 Read FclientBillingCode Write SetclientBillingCode;
  5445. Property clientName : String Index 48 Read FclientName Write SetclientName;
  5446. Property endDate : TDate Index 56 Read FendDate Write SetendDate;
  5447. Property id : String Index 64 Read Fid Write Setid;
  5448. Property kind : String Index 72 Read Fkind Write Setkind;
  5449. Property lastModifiedInfo : TLastModifiedInfo Index 80 Read FlastModifiedInfo Write SetlastModifiedInfo;
  5450. Property name : String Index 88 Read Fname Write Setname;
  5451. Property overview : String Index 96 Read Foverview Write Setoverview;
  5452. Property startDate : TDate Index 104 Read FstartDate Write SetstartDate;
  5453. Property subaccountId : String Index 112 Read FsubaccountId Write SetsubaccountId;
  5454. Property targetClicks : String Index 120 Read FtargetClicks Write SettargetClicks;
  5455. Property targetConversions : String Index 128 Read FtargetConversions Write SettargetConversions;
  5456. Property targetCpaNanos : String Index 136 Read FtargetCpaNanos Write SettargetCpaNanos;
  5457. Property targetCpcNanos : String Index 144 Read FtargetCpcNanos Write SettargetCpcNanos;
  5458. Property targetCpmNanos : String Index 152 Read FtargetCpmNanos Write SettargetCpmNanos;
  5459. Property targetImpressions : String Index 160 Read FtargetImpressions Write SettargetImpressions;
  5460. end;
  5461. TProjectClass = Class of TProject;
  5462. { --------------------------------------------------------------------
  5463. TProjectsListResponse
  5464. --------------------------------------------------------------------}
  5465. TProjectsListResponse = Class(TGoogleBaseObject)
  5466. Private
  5467. Fkind : String;
  5468. FnextPageToken : String;
  5469. Fprojects : TProjectsListResponseTypeprojectsArray;
  5470. Protected
  5471. //Property setters
  5472. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  5473. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  5474. Procedure Setprojects(AIndex : Integer; const AValue : TProjectsListResponseTypeprojectsArray); virtual;
  5475. //2.6.4. bug workaround
  5476. {$IFDEF VER2_6}
  5477. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  5478. {$ENDIF VER2_6}
  5479. Public
  5480. Published
  5481. Property kind : String Index 0 Read Fkind Write Setkind;
  5482. Property nextPageToken : String Index 8 Read FnextPageToken Write SetnextPageToken;
  5483. Property projects : TProjectsListResponseTypeprojectsArray Index 16 Read Fprojects Write Setprojects;
  5484. end;
  5485. TProjectsListResponseClass = Class of TProjectsListResponse;
  5486. { --------------------------------------------------------------------
  5487. TReachReportCompatibleFields
  5488. --------------------------------------------------------------------}
  5489. TReachReportCompatibleFields = Class(TGoogleBaseObject)
  5490. Private
  5491. FdimensionFilters : TReachReportCompatibleFieldsTypedimensionFiltersArray;
  5492. Fdimensions : TReachReportCompatibleFieldsTypedimensionsArray;
  5493. Fkind : String;
  5494. Fmetrics : TReachReportCompatibleFieldsTypemetricsArray;
  5495. FpivotedActivityMetrics : TReachReportCompatibleFieldsTypepivotedActivityMetricsArray;
  5496. FreachByFrequencyMetrics : TReachReportCompatibleFieldsTypereachByFrequencyMetricsArray;
  5497. Protected
  5498. //Property setters
  5499. Procedure SetdimensionFilters(AIndex : Integer; const AValue : TReachReportCompatibleFieldsTypedimensionFiltersArray); virtual;
  5500. Procedure Setdimensions(AIndex : Integer; const AValue : TReachReportCompatibleFieldsTypedimensionsArray); virtual;
  5501. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  5502. Procedure Setmetrics(AIndex : Integer; const AValue : TReachReportCompatibleFieldsTypemetricsArray); virtual;
  5503. Procedure SetpivotedActivityMetrics(AIndex : Integer; const AValue : TReachReportCompatibleFieldsTypepivotedActivityMetricsArray); virtual;
  5504. Procedure SetreachByFrequencyMetrics(AIndex : Integer; const AValue : TReachReportCompatibleFieldsTypereachByFrequencyMetricsArray); virtual;
  5505. //2.6.4. bug workaround
  5506. {$IFDEF VER2_6}
  5507. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  5508. {$ENDIF VER2_6}
  5509. Public
  5510. Published
  5511. Property dimensionFilters : TReachReportCompatibleFieldsTypedimensionFiltersArray Index 0 Read FdimensionFilters Write SetdimensionFilters;
  5512. Property dimensions : TReachReportCompatibleFieldsTypedimensionsArray Index 8 Read Fdimensions Write Setdimensions;
  5513. Property kind : String Index 16 Read Fkind Write Setkind;
  5514. Property metrics : TReachReportCompatibleFieldsTypemetricsArray Index 24 Read Fmetrics Write Setmetrics;
  5515. Property pivotedActivityMetrics : TReachReportCompatibleFieldsTypepivotedActivityMetricsArray Index 32 Read FpivotedActivityMetrics Write SetpivotedActivityMetrics;
  5516. Property reachByFrequencyMetrics : TReachReportCompatibleFieldsTypereachByFrequencyMetricsArray Index 40 Read FreachByFrequencyMetrics Write SetreachByFrequencyMetrics;
  5517. end;
  5518. TReachReportCompatibleFieldsClass = Class of TReachReportCompatibleFields;
  5519. { --------------------------------------------------------------------
  5520. TRecipient
  5521. --------------------------------------------------------------------}
  5522. TRecipient = Class(TGoogleBaseObject)
  5523. Private
  5524. FdeliveryType : String;
  5525. Femail : String;
  5526. Fkind : String;
  5527. Protected
  5528. //Property setters
  5529. Procedure SetdeliveryType(AIndex : Integer; const AValue : String); virtual;
  5530. Procedure Setemail(AIndex : Integer; const AValue : String); virtual;
  5531. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  5532. Public
  5533. Published
  5534. Property deliveryType : String Index 0 Read FdeliveryType Write SetdeliveryType;
  5535. Property email : String Index 8 Read Femail Write Setemail;
  5536. Property kind : String Index 16 Read Fkind Write Setkind;
  5537. end;
  5538. TRecipientClass = Class of TRecipient;
  5539. { --------------------------------------------------------------------
  5540. TRegion
  5541. --------------------------------------------------------------------}
  5542. TRegion = Class(TGoogleBaseObject)
  5543. Private
  5544. FcountryCode : String;
  5545. FcountryDartId : String;
  5546. FdartId : String;
  5547. Fkind : String;
  5548. Fname : String;
  5549. FregionCode : String;
  5550. Protected
  5551. //Property setters
  5552. Procedure SetcountryCode(AIndex : Integer; const AValue : String); virtual;
  5553. Procedure SetcountryDartId(AIndex : Integer; const AValue : String); virtual;
  5554. Procedure SetdartId(AIndex : Integer; const AValue : String); virtual;
  5555. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  5556. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  5557. Procedure SetregionCode(AIndex : Integer; const AValue : String); virtual;
  5558. Public
  5559. Published
  5560. Property countryCode : String Index 0 Read FcountryCode Write SetcountryCode;
  5561. Property countryDartId : String Index 8 Read FcountryDartId Write SetcountryDartId;
  5562. Property dartId : String Index 16 Read FdartId Write SetdartId;
  5563. Property kind : String Index 24 Read Fkind Write Setkind;
  5564. Property name : String Index 32 Read Fname Write Setname;
  5565. Property regionCode : String Index 40 Read FregionCode Write SetregionCode;
  5566. end;
  5567. TRegionClass = Class of TRegion;
  5568. { --------------------------------------------------------------------
  5569. TRegionsListResponse
  5570. --------------------------------------------------------------------}
  5571. TRegionsListResponse = Class(TGoogleBaseObject)
  5572. Private
  5573. Fkind : String;
  5574. Fregions : TRegionsListResponseTyperegionsArray;
  5575. Protected
  5576. //Property setters
  5577. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  5578. Procedure Setregions(AIndex : Integer; const AValue : TRegionsListResponseTyperegionsArray); virtual;
  5579. //2.6.4. bug workaround
  5580. {$IFDEF VER2_6}
  5581. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  5582. {$ENDIF VER2_6}
  5583. Public
  5584. Published
  5585. Property kind : String Index 0 Read Fkind Write Setkind;
  5586. Property regions : TRegionsListResponseTyperegionsArray Index 8 Read Fregions Write Setregions;
  5587. end;
  5588. TRegionsListResponseClass = Class of TRegionsListResponse;
  5589. { --------------------------------------------------------------------
  5590. TRemarketingList
  5591. --------------------------------------------------------------------}
  5592. TRemarketingList = Class(TGoogleBaseObject)
  5593. Private
  5594. FaccountId : String;
  5595. Factive : boolean;
  5596. FadvertiserId : String;
  5597. FadvertiserIdDimensionValue : TDimensionValue;
  5598. Fdescription : String;
  5599. Fid : String;
  5600. Fkind : String;
  5601. FlifeSpan : String;
  5602. FlistPopulationRule : TListPopulationRule;
  5603. FlistSize : String;
  5604. FlistSource : String;
  5605. Fname : String;
  5606. FsubaccountId : String;
  5607. Protected
  5608. //Property setters
  5609. Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
  5610. Procedure Setactive(AIndex : Integer; const AValue : boolean); virtual;
  5611. Procedure SetadvertiserId(AIndex : Integer; const AValue : String); virtual;
  5612. Procedure SetadvertiserIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue); virtual;
  5613. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  5614. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  5615. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  5616. Procedure SetlifeSpan(AIndex : Integer; const AValue : String); virtual;
  5617. Procedure SetlistPopulationRule(AIndex : Integer; const AValue : TListPopulationRule); virtual;
  5618. Procedure SetlistSize(AIndex : Integer; const AValue : String); virtual;
  5619. Procedure SetlistSource(AIndex : Integer; const AValue : String); virtual;
  5620. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  5621. Procedure SetsubaccountId(AIndex : Integer; const AValue : String); virtual;
  5622. Public
  5623. Published
  5624. Property accountId : String Index 0 Read FaccountId Write SetaccountId;
  5625. Property active : boolean Index 8 Read Factive Write Setactive;
  5626. Property advertiserId : String Index 16 Read FadvertiserId Write SetadvertiserId;
  5627. Property advertiserIdDimensionValue : TDimensionValue Index 24 Read FadvertiserIdDimensionValue Write SetadvertiserIdDimensionValue;
  5628. Property description : String Index 32 Read Fdescription Write Setdescription;
  5629. Property id : String Index 40 Read Fid Write Setid;
  5630. Property kind : String Index 48 Read Fkind Write Setkind;
  5631. Property lifeSpan : String Index 56 Read FlifeSpan Write SetlifeSpan;
  5632. Property listPopulationRule : TListPopulationRule Index 64 Read FlistPopulationRule Write SetlistPopulationRule;
  5633. Property listSize : String Index 72 Read FlistSize Write SetlistSize;
  5634. Property listSource : String Index 80 Read FlistSource Write SetlistSource;
  5635. Property name : String Index 88 Read Fname Write Setname;
  5636. Property subaccountId : String Index 96 Read FsubaccountId Write SetsubaccountId;
  5637. end;
  5638. TRemarketingListClass = Class of TRemarketingList;
  5639. { --------------------------------------------------------------------
  5640. TRemarketingListShare
  5641. --------------------------------------------------------------------}
  5642. TRemarketingListShare = Class(TGoogleBaseObject)
  5643. Private
  5644. Fkind : String;
  5645. FremarketingListId : String;
  5646. FsharedAccountIds : TStringArray;
  5647. FsharedAdvertiserIds : TStringArray;
  5648. Protected
  5649. //Property setters
  5650. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  5651. Procedure SetremarketingListId(AIndex : Integer; const AValue : String); virtual;
  5652. Procedure SetsharedAccountIds(AIndex : Integer; const AValue : TStringArray); virtual;
  5653. Procedure SetsharedAdvertiserIds(AIndex : Integer; const AValue : TStringArray); virtual;
  5654. //2.6.4. bug workaround
  5655. {$IFDEF VER2_6}
  5656. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  5657. {$ENDIF VER2_6}
  5658. Public
  5659. Published
  5660. Property kind : String Index 0 Read Fkind Write Setkind;
  5661. Property remarketingListId : String Index 8 Read FremarketingListId Write SetremarketingListId;
  5662. Property sharedAccountIds : TStringArray Index 16 Read FsharedAccountIds Write SetsharedAccountIds;
  5663. Property sharedAdvertiserIds : TStringArray Index 24 Read FsharedAdvertiserIds Write SetsharedAdvertiserIds;
  5664. end;
  5665. TRemarketingListShareClass = Class of TRemarketingListShare;
  5666. { --------------------------------------------------------------------
  5667. TRemarketingListsListResponse
  5668. --------------------------------------------------------------------}
  5669. TRemarketingListsListResponse = Class(TGoogleBaseObject)
  5670. Private
  5671. Fkind : String;
  5672. FnextPageToken : String;
  5673. FremarketingLists : TRemarketingListsListResponseTyperemarketingListsArray;
  5674. Protected
  5675. //Property setters
  5676. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  5677. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  5678. Procedure SetremarketingLists(AIndex : Integer; const AValue : TRemarketingListsListResponseTyperemarketingListsArray); virtual;
  5679. //2.6.4. bug workaround
  5680. {$IFDEF VER2_6}
  5681. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  5682. {$ENDIF VER2_6}
  5683. Public
  5684. Published
  5685. Property kind : String Index 0 Read Fkind Write Setkind;
  5686. Property nextPageToken : String Index 8 Read FnextPageToken Write SetnextPageToken;
  5687. Property remarketingLists : TRemarketingListsListResponseTyperemarketingListsArray Index 16 Read FremarketingLists Write SetremarketingLists;
  5688. end;
  5689. TRemarketingListsListResponseClass = Class of TRemarketingListsListResponse;
  5690. { --------------------------------------------------------------------
  5691. TReportTypecriteria
  5692. --------------------------------------------------------------------}
  5693. TReportTypecriteria = Class(TGoogleBaseObject)
  5694. Private
  5695. Factivities : TActivities;
  5696. FcustomRichMediaEvents : TCustomRichMediaEvents;
  5697. FdateRange : TDateRange;
  5698. FdimensionFilters : TReportTypecriteriaTypedimensionFiltersArray;
  5699. Fdimensions : TReportTypecriteriaTypedimensionsArray;
  5700. FmetricNames : TStringArray;
  5701. Protected
  5702. //Property setters
  5703. Procedure Setactivities(AIndex : Integer; const AValue : TActivities); virtual;
  5704. Procedure SetcustomRichMediaEvents(AIndex : Integer; const AValue : TCustomRichMediaEvents); virtual;
  5705. Procedure SetdateRange(AIndex : Integer; const AValue : TDateRange); virtual;
  5706. Procedure SetdimensionFilters(AIndex : Integer; const AValue : TReportTypecriteriaTypedimensionFiltersArray); virtual;
  5707. Procedure Setdimensions(AIndex : Integer; const AValue : TReportTypecriteriaTypedimensionsArray); virtual;
  5708. Procedure SetmetricNames(AIndex : Integer; const AValue : TStringArray); virtual;
  5709. //2.6.4. bug workaround
  5710. {$IFDEF VER2_6}
  5711. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  5712. {$ENDIF VER2_6}
  5713. Public
  5714. Published
  5715. Property activities : TActivities Index 0 Read Factivities Write Setactivities;
  5716. Property customRichMediaEvents : TCustomRichMediaEvents Index 8 Read FcustomRichMediaEvents Write SetcustomRichMediaEvents;
  5717. Property dateRange : TDateRange Index 16 Read FdateRange Write SetdateRange;
  5718. Property dimensionFilters : TReportTypecriteriaTypedimensionFiltersArray Index 24 Read FdimensionFilters Write SetdimensionFilters;
  5719. Property dimensions : TReportTypecriteriaTypedimensionsArray Index 32 Read Fdimensions Write Setdimensions;
  5720. Property metricNames : TStringArray Index 40 Read FmetricNames Write SetmetricNames;
  5721. end;
  5722. TReportTypecriteriaClass = Class of TReportTypecriteria;
  5723. { --------------------------------------------------------------------
  5724. TReportTypecrossDimensionReachCriteria
  5725. --------------------------------------------------------------------}
  5726. TReportTypecrossDimensionReachCriteria = Class(TGoogleBaseObject)
  5727. Private
  5728. Fbreakdown : TReportTypecrossDimensionReachCriteriaTypebreakdownArray;
  5729. FdateRange : TDateRange;
  5730. Fdimension : String;
  5731. FdimensionFilters : TReportTypecrossDimensionReachCriteriaTypedimensionFiltersArray;
  5732. FmetricNames : TStringArray;
  5733. FoverlapMetricNames : TStringArray;
  5734. Fpivoted : boolean;
  5735. Protected
  5736. //Property setters
  5737. Procedure Setbreakdown(AIndex : Integer; const AValue : TReportTypecrossDimensionReachCriteriaTypebreakdownArray); virtual;
  5738. Procedure SetdateRange(AIndex : Integer; const AValue : TDateRange); virtual;
  5739. Procedure Setdimension(AIndex : Integer; const AValue : String); virtual;
  5740. Procedure SetdimensionFilters(AIndex : Integer; const AValue : TReportTypecrossDimensionReachCriteriaTypedimensionFiltersArray); virtual;
  5741. Procedure SetmetricNames(AIndex : Integer; const AValue : TStringArray); virtual;
  5742. Procedure SetoverlapMetricNames(AIndex : Integer; const AValue : TStringArray); virtual;
  5743. Procedure Setpivoted(AIndex : Integer; const AValue : boolean); virtual;
  5744. //2.6.4. bug workaround
  5745. {$IFDEF VER2_6}
  5746. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  5747. {$ENDIF VER2_6}
  5748. Public
  5749. Published
  5750. Property breakdown : TReportTypecrossDimensionReachCriteriaTypebreakdownArray Index 0 Read Fbreakdown Write Setbreakdown;
  5751. Property dateRange : TDateRange Index 8 Read FdateRange Write SetdateRange;
  5752. Property dimension : String Index 16 Read Fdimension Write Setdimension;
  5753. Property dimensionFilters : TReportTypecrossDimensionReachCriteriaTypedimensionFiltersArray Index 24 Read FdimensionFilters Write SetdimensionFilters;
  5754. Property metricNames : TStringArray Index 32 Read FmetricNames Write SetmetricNames;
  5755. Property overlapMetricNames : TStringArray Index 40 Read FoverlapMetricNames Write SetoverlapMetricNames;
  5756. Property pivoted : boolean Index 48 Read Fpivoted Write Setpivoted;
  5757. end;
  5758. TReportTypecrossDimensionReachCriteriaClass = Class of TReportTypecrossDimensionReachCriteria;
  5759. { --------------------------------------------------------------------
  5760. TReportTypedelivery
  5761. --------------------------------------------------------------------}
  5762. TReportTypedelivery = Class(TGoogleBaseObject)
  5763. Private
  5764. FemailOwner : boolean;
  5765. FemailOwnerDeliveryType : String;
  5766. Fmessage : String;
  5767. Frecipients : TReportTypedeliveryTyperecipientsArray;
  5768. Protected
  5769. //Property setters
  5770. Procedure SetemailOwner(AIndex : Integer; const AValue : boolean); virtual;
  5771. Procedure SetemailOwnerDeliveryType(AIndex : Integer; const AValue : String); virtual;
  5772. Procedure Setmessage(AIndex : Integer; const AValue : String); virtual;
  5773. Procedure Setrecipients(AIndex : Integer; const AValue : TReportTypedeliveryTyperecipientsArray); virtual;
  5774. //2.6.4. bug workaround
  5775. {$IFDEF VER2_6}
  5776. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  5777. {$ENDIF VER2_6}
  5778. Public
  5779. Published
  5780. Property emailOwner : boolean Index 0 Read FemailOwner Write SetemailOwner;
  5781. Property emailOwnerDeliveryType : String Index 8 Read FemailOwnerDeliveryType Write SetemailOwnerDeliveryType;
  5782. Property message : String Index 16 Read Fmessage Write Setmessage;
  5783. Property recipients : TReportTypedeliveryTyperecipientsArray Index 24 Read Frecipients Write Setrecipients;
  5784. end;
  5785. TReportTypedeliveryClass = Class of TReportTypedelivery;
  5786. { --------------------------------------------------------------------
  5787. TReportTypefloodlightCriteriaTypereportProperties
  5788. --------------------------------------------------------------------}
  5789. TReportTypefloodlightCriteriaTypereportProperties = Class(TGoogleBaseObject)
  5790. Private
  5791. FincludeAttributedIPConversions : boolean;
  5792. FincludeUnattributedCookieConversions : boolean;
  5793. FincludeUnattributedIPConversions : boolean;
  5794. Protected
  5795. //Property setters
  5796. Procedure SetincludeAttributedIPConversions(AIndex : Integer; const AValue : boolean); virtual;
  5797. Procedure SetincludeUnattributedCookieConversions(AIndex : Integer; const AValue : boolean); virtual;
  5798. Procedure SetincludeUnattributedIPConversions(AIndex : Integer; const AValue : boolean); virtual;
  5799. Public
  5800. Published
  5801. Property includeAttributedIPConversions : boolean Index 0 Read FincludeAttributedIPConversions Write SetincludeAttributedIPConversions;
  5802. Property includeUnattributedCookieConversions : boolean Index 8 Read FincludeUnattributedCookieConversions Write SetincludeUnattributedCookieConversions;
  5803. Property includeUnattributedIPConversions : boolean Index 16 Read FincludeUnattributedIPConversions Write SetincludeUnattributedIPConversions;
  5804. end;
  5805. TReportTypefloodlightCriteriaTypereportPropertiesClass = Class of TReportTypefloodlightCriteriaTypereportProperties;
  5806. { --------------------------------------------------------------------
  5807. TReportTypefloodlightCriteria
  5808. --------------------------------------------------------------------}
  5809. TReportTypefloodlightCriteria = Class(TGoogleBaseObject)
  5810. Private
  5811. FcustomRichMediaEvents : TReportTypefloodlightCriteriaTypecustomRichMediaEventsArray;
  5812. FdateRange : TDateRange;
  5813. FdimensionFilters : TReportTypefloodlightCriteriaTypedimensionFiltersArray;
  5814. Fdimensions : TReportTypefloodlightCriteriaTypedimensionsArray;
  5815. FfloodlightConfigId : TDimensionValue;
  5816. FmetricNames : TStringArray;
  5817. FreportProperties : TReportTypefloodlightCriteriaTypereportProperties;
  5818. Protected
  5819. //Property setters
  5820. Procedure SetcustomRichMediaEvents(AIndex : Integer; const AValue : TReportTypefloodlightCriteriaTypecustomRichMediaEventsArray); virtual;
  5821. Procedure SetdateRange(AIndex : Integer; const AValue : TDateRange); virtual;
  5822. Procedure SetdimensionFilters(AIndex : Integer; const AValue : TReportTypefloodlightCriteriaTypedimensionFiltersArray); virtual;
  5823. Procedure Setdimensions(AIndex : Integer; const AValue : TReportTypefloodlightCriteriaTypedimensionsArray); virtual;
  5824. Procedure SetfloodlightConfigId(AIndex : Integer; const AValue : TDimensionValue); virtual;
  5825. Procedure SetmetricNames(AIndex : Integer; const AValue : TStringArray); virtual;
  5826. Procedure SetreportProperties(AIndex : Integer; const AValue : TReportTypefloodlightCriteriaTypereportProperties); virtual;
  5827. //2.6.4. bug workaround
  5828. {$IFDEF VER2_6}
  5829. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  5830. {$ENDIF VER2_6}
  5831. Public
  5832. Published
  5833. Property customRichMediaEvents : TReportTypefloodlightCriteriaTypecustomRichMediaEventsArray Index 0 Read FcustomRichMediaEvents Write SetcustomRichMediaEvents;
  5834. Property dateRange : TDateRange Index 8 Read FdateRange Write SetdateRange;
  5835. Property dimensionFilters : TReportTypefloodlightCriteriaTypedimensionFiltersArray Index 16 Read FdimensionFilters Write SetdimensionFilters;
  5836. Property dimensions : TReportTypefloodlightCriteriaTypedimensionsArray Index 24 Read Fdimensions Write Setdimensions;
  5837. Property floodlightConfigId : TDimensionValue Index 32 Read FfloodlightConfigId Write SetfloodlightConfigId;
  5838. Property metricNames : TStringArray Index 40 Read FmetricNames Write SetmetricNames;
  5839. Property reportProperties : TReportTypefloodlightCriteriaTypereportProperties Index 48 Read FreportProperties Write SetreportProperties;
  5840. end;
  5841. TReportTypefloodlightCriteriaClass = Class of TReportTypefloodlightCriteria;
  5842. { --------------------------------------------------------------------
  5843. TReportTypepathToConversionCriteriaTypereportProperties
  5844. --------------------------------------------------------------------}
  5845. TReportTypepathToConversionCriteriaTypereportProperties = Class(TGoogleBaseObject)
  5846. Private
  5847. FclicksLookbackWindow : integer;
  5848. FimpressionsLookbackWindow : integer;
  5849. FincludeAttributedIPConversions : boolean;
  5850. FincludeUnattributedCookieConversions : boolean;
  5851. FincludeUnattributedIPConversions : boolean;
  5852. FmaximumClickInteractions : integer;
  5853. FmaximumImpressionInteractions : integer;
  5854. FmaximumInteractionGap : integer;
  5855. FpivotOnInteractionPath : boolean;
  5856. Protected
  5857. //Property setters
  5858. Procedure SetclicksLookbackWindow(AIndex : Integer; const AValue : integer); virtual;
  5859. Procedure SetimpressionsLookbackWindow(AIndex : Integer; const AValue : integer); virtual;
  5860. Procedure SetincludeAttributedIPConversions(AIndex : Integer; const AValue : boolean); virtual;
  5861. Procedure SetincludeUnattributedCookieConversions(AIndex : Integer; const AValue : boolean); virtual;
  5862. Procedure SetincludeUnattributedIPConversions(AIndex : Integer; const AValue : boolean); virtual;
  5863. Procedure SetmaximumClickInteractions(AIndex : Integer; const AValue : integer); virtual;
  5864. Procedure SetmaximumImpressionInteractions(AIndex : Integer; const AValue : integer); virtual;
  5865. Procedure SetmaximumInteractionGap(AIndex : Integer; const AValue : integer); virtual;
  5866. Procedure SetpivotOnInteractionPath(AIndex : Integer; const AValue : boolean); virtual;
  5867. Public
  5868. Published
  5869. Property clicksLookbackWindow : integer Index 0 Read FclicksLookbackWindow Write SetclicksLookbackWindow;
  5870. Property impressionsLookbackWindow : integer Index 8 Read FimpressionsLookbackWindow Write SetimpressionsLookbackWindow;
  5871. Property includeAttributedIPConversions : boolean Index 16 Read FincludeAttributedIPConversions Write SetincludeAttributedIPConversions;
  5872. Property includeUnattributedCookieConversions : boolean Index 24 Read FincludeUnattributedCookieConversions Write SetincludeUnattributedCookieConversions;
  5873. Property includeUnattributedIPConversions : boolean Index 32 Read FincludeUnattributedIPConversions Write SetincludeUnattributedIPConversions;
  5874. Property maximumClickInteractions : integer Index 40 Read FmaximumClickInteractions Write SetmaximumClickInteractions;
  5875. Property maximumImpressionInteractions : integer Index 48 Read FmaximumImpressionInteractions Write SetmaximumImpressionInteractions;
  5876. Property maximumInteractionGap : integer Index 56 Read FmaximumInteractionGap Write SetmaximumInteractionGap;
  5877. Property pivotOnInteractionPath : boolean Index 64 Read FpivotOnInteractionPath Write SetpivotOnInteractionPath;
  5878. end;
  5879. TReportTypepathToConversionCriteriaTypereportPropertiesClass = Class of TReportTypepathToConversionCriteriaTypereportProperties;
  5880. { --------------------------------------------------------------------
  5881. TReportTypepathToConversionCriteria
  5882. --------------------------------------------------------------------}
  5883. TReportTypepathToConversionCriteria = Class(TGoogleBaseObject)
  5884. Private
  5885. FactivityFilters : TReportTypepathToConversionCriteriaTypeactivityFiltersArray;
  5886. FconversionDimensions : TReportTypepathToConversionCriteriaTypeconversionDimensionsArray;
  5887. FcustomFloodlightVariables : TReportTypepathToConversionCriteriaTypecustomFloodlightVariablesArray;
  5888. FcustomRichMediaEvents : TReportTypepathToConversionCriteriaTypecustomRichMediaEventsArray;
  5889. FdateRange : TDateRange;
  5890. FfloodlightConfigId : TDimensionValue;
  5891. FmetricNames : TStringArray;
  5892. FperInteractionDimensions : TReportTypepathToConversionCriteriaTypeperInteractionDimensionsArray;
  5893. FreportProperties : TReportTypepathToConversionCriteriaTypereportProperties;
  5894. Protected
  5895. //Property setters
  5896. Procedure SetactivityFilters(AIndex : Integer; const AValue : TReportTypepathToConversionCriteriaTypeactivityFiltersArray); virtual;
  5897. Procedure SetconversionDimensions(AIndex : Integer; const AValue : TReportTypepathToConversionCriteriaTypeconversionDimensionsArray); virtual;
  5898. Procedure SetcustomFloodlightVariables(AIndex : Integer; const AValue : TReportTypepathToConversionCriteriaTypecustomFloodlightVariablesArray); virtual;
  5899. Procedure SetcustomRichMediaEvents(AIndex : Integer; const AValue : TReportTypepathToConversionCriteriaTypecustomRichMediaEventsArray); virtual;
  5900. Procedure SetdateRange(AIndex : Integer; const AValue : TDateRange); virtual;
  5901. Procedure SetfloodlightConfigId(AIndex : Integer; const AValue : TDimensionValue); virtual;
  5902. Procedure SetmetricNames(AIndex : Integer; const AValue : TStringArray); virtual;
  5903. Procedure SetperInteractionDimensions(AIndex : Integer; const AValue : TReportTypepathToConversionCriteriaTypeperInteractionDimensionsArray); virtual;
  5904. Procedure SetreportProperties(AIndex : Integer; const AValue : TReportTypepathToConversionCriteriaTypereportProperties); virtual;
  5905. //2.6.4. bug workaround
  5906. {$IFDEF VER2_6}
  5907. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  5908. {$ENDIF VER2_6}
  5909. Public
  5910. Published
  5911. Property activityFilters : TReportTypepathToConversionCriteriaTypeactivityFiltersArray Index 0 Read FactivityFilters Write SetactivityFilters;
  5912. Property conversionDimensions : TReportTypepathToConversionCriteriaTypeconversionDimensionsArray Index 8 Read FconversionDimensions Write SetconversionDimensions;
  5913. Property customFloodlightVariables : TReportTypepathToConversionCriteriaTypecustomFloodlightVariablesArray Index 16 Read FcustomFloodlightVariables Write SetcustomFloodlightVariables;
  5914. Property customRichMediaEvents : TReportTypepathToConversionCriteriaTypecustomRichMediaEventsArray Index 24 Read FcustomRichMediaEvents Write SetcustomRichMediaEvents;
  5915. Property dateRange : TDateRange Index 32 Read FdateRange Write SetdateRange;
  5916. Property floodlightConfigId : TDimensionValue Index 40 Read FfloodlightConfigId Write SetfloodlightConfigId;
  5917. Property metricNames : TStringArray Index 48 Read FmetricNames Write SetmetricNames;
  5918. Property perInteractionDimensions : TReportTypepathToConversionCriteriaTypeperInteractionDimensionsArray Index 56 Read FperInteractionDimensions Write SetperInteractionDimensions;
  5919. Property reportProperties : TReportTypepathToConversionCriteriaTypereportProperties Index 64 Read FreportProperties Write SetreportProperties;
  5920. end;
  5921. TReportTypepathToConversionCriteriaClass = Class of TReportTypepathToConversionCriteria;
  5922. { --------------------------------------------------------------------
  5923. TReportTypereachCriteria
  5924. --------------------------------------------------------------------}
  5925. TReportTypereachCriteria = Class(TGoogleBaseObject)
  5926. Private
  5927. Factivities : TActivities;
  5928. FcustomRichMediaEvents : TCustomRichMediaEvents;
  5929. FdateRange : TDateRange;
  5930. FdimensionFilters : TReportTypereachCriteriaTypedimensionFiltersArray;
  5931. Fdimensions : TReportTypereachCriteriaTypedimensionsArray;
  5932. FenableAllDimensionCombinations : boolean;
  5933. FmetricNames : TStringArray;
  5934. FreachByFrequencyMetricNames : TStringArray;
  5935. Protected
  5936. //Property setters
  5937. Procedure Setactivities(AIndex : Integer; const AValue : TActivities); virtual;
  5938. Procedure SetcustomRichMediaEvents(AIndex : Integer; const AValue : TCustomRichMediaEvents); virtual;
  5939. Procedure SetdateRange(AIndex : Integer; const AValue : TDateRange); virtual;
  5940. Procedure SetdimensionFilters(AIndex : Integer; const AValue : TReportTypereachCriteriaTypedimensionFiltersArray); virtual;
  5941. Procedure Setdimensions(AIndex : Integer; const AValue : TReportTypereachCriteriaTypedimensionsArray); virtual;
  5942. Procedure SetenableAllDimensionCombinations(AIndex : Integer; const AValue : boolean); virtual;
  5943. Procedure SetmetricNames(AIndex : Integer; const AValue : TStringArray); virtual;
  5944. Procedure SetreachByFrequencyMetricNames(AIndex : Integer; const AValue : TStringArray); virtual;
  5945. //2.6.4. bug workaround
  5946. {$IFDEF VER2_6}
  5947. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  5948. {$ENDIF VER2_6}
  5949. Public
  5950. Published
  5951. Property activities : TActivities Index 0 Read Factivities Write Setactivities;
  5952. Property customRichMediaEvents : TCustomRichMediaEvents Index 8 Read FcustomRichMediaEvents Write SetcustomRichMediaEvents;
  5953. Property dateRange : TDateRange Index 16 Read FdateRange Write SetdateRange;
  5954. Property dimensionFilters : TReportTypereachCriteriaTypedimensionFiltersArray Index 24 Read FdimensionFilters Write SetdimensionFilters;
  5955. Property dimensions : TReportTypereachCriteriaTypedimensionsArray Index 32 Read Fdimensions Write Setdimensions;
  5956. Property enableAllDimensionCombinations : boolean Index 40 Read FenableAllDimensionCombinations Write SetenableAllDimensionCombinations;
  5957. Property metricNames : TStringArray Index 48 Read FmetricNames Write SetmetricNames;
  5958. Property reachByFrequencyMetricNames : TStringArray Index 56 Read FreachByFrequencyMetricNames Write SetreachByFrequencyMetricNames;
  5959. end;
  5960. TReportTypereachCriteriaClass = Class of TReportTypereachCriteria;
  5961. { --------------------------------------------------------------------
  5962. TReportTypeschedule
  5963. --------------------------------------------------------------------}
  5964. TReportTypeschedule = Class(TGoogleBaseObject)
  5965. Private
  5966. Factive : boolean;
  5967. Fevery : integer;
  5968. FexpirationDate : TDate;
  5969. Frepeats : String;
  5970. FrepeatsOnWeekDays : TStringArray;
  5971. FrunsOnDayOfMonth : String;
  5972. FstartDate : TDate;
  5973. Protected
  5974. //Property setters
  5975. Procedure Setactive(AIndex : Integer; const AValue : boolean); virtual;
  5976. Procedure Setevery(AIndex : Integer; const AValue : integer); virtual;
  5977. Procedure SetexpirationDate(AIndex : Integer; const AValue : TDate); virtual;
  5978. Procedure Setrepeats(AIndex : Integer; const AValue : String); virtual;
  5979. Procedure SetrepeatsOnWeekDays(AIndex : Integer; const AValue : TStringArray); virtual;
  5980. Procedure SetrunsOnDayOfMonth(AIndex : Integer; const AValue : String); virtual;
  5981. Procedure SetstartDate(AIndex : Integer; const AValue : TDate); virtual;
  5982. //2.6.4. bug workaround
  5983. {$IFDEF VER2_6}
  5984. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  5985. {$ENDIF VER2_6}
  5986. Public
  5987. Published
  5988. Property active : boolean Index 0 Read Factive Write Setactive;
  5989. Property every : integer Index 8 Read Fevery Write Setevery;
  5990. Property expirationDate : TDate Index 16 Read FexpirationDate Write SetexpirationDate;
  5991. Property repeats : String Index 24 Read Frepeats Write Setrepeats;
  5992. Property repeatsOnWeekDays : TStringArray Index 32 Read FrepeatsOnWeekDays Write SetrepeatsOnWeekDays;
  5993. Property runsOnDayOfMonth : String Index 40 Read FrunsOnDayOfMonth Write SetrunsOnDayOfMonth;
  5994. Property startDate : TDate Index 48 Read FstartDate Write SetstartDate;
  5995. end;
  5996. TReportTypescheduleClass = Class of TReportTypeschedule;
  5997. { --------------------------------------------------------------------
  5998. TReport
  5999. --------------------------------------------------------------------}
  6000. TReport = Class(TGoogleBaseObject)
  6001. Private
  6002. FaccountId : String;
  6003. Fcriteria : TReportTypecriteria;
  6004. FcrossDimensionReachCriteria : TReportTypecrossDimensionReachCriteria;
  6005. Fdelivery : TReportTypedelivery;
  6006. Fetag : String;
  6007. FfileName : String;
  6008. FfloodlightCriteria : TReportTypefloodlightCriteria;
  6009. Fformat : String;
  6010. Fid : String;
  6011. Fkind : String;
  6012. FlastModifiedTime : String;
  6013. Fname : String;
  6014. FownerProfileId : String;
  6015. FpathToConversionCriteria : TReportTypepathToConversionCriteria;
  6016. FreachCriteria : TReportTypereachCriteria;
  6017. Fschedule : TReportTypeschedule;
  6018. FsubAccountId : String;
  6019. F_type : String;
  6020. Protected
  6021. Class Function ExportPropertyName(Const AName : String) : string; override;
  6022. //Property setters
  6023. Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
  6024. Procedure Setcriteria(AIndex : Integer; const AValue : TReportTypecriteria); virtual;
  6025. Procedure SetcrossDimensionReachCriteria(AIndex : Integer; const AValue : TReportTypecrossDimensionReachCriteria); virtual;
  6026. Procedure Setdelivery(AIndex : Integer; const AValue : TReportTypedelivery); virtual;
  6027. Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
  6028. Procedure SetfileName(AIndex : Integer; const AValue : String); virtual;
  6029. Procedure SetfloodlightCriteria(AIndex : Integer; const AValue : TReportTypefloodlightCriteria); virtual;
  6030. Procedure Setformat(AIndex : Integer; const AValue : String); virtual;
  6031. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  6032. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  6033. Procedure SetlastModifiedTime(AIndex : Integer; const AValue : String); virtual;
  6034. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  6035. Procedure SetownerProfileId(AIndex : Integer; const AValue : String); virtual;
  6036. Procedure SetpathToConversionCriteria(AIndex : Integer; const AValue : TReportTypepathToConversionCriteria); virtual;
  6037. Procedure SetreachCriteria(AIndex : Integer; const AValue : TReportTypereachCriteria); virtual;
  6038. Procedure Setschedule(AIndex : Integer; const AValue : TReportTypeschedule); virtual;
  6039. Procedure SetsubAccountId(AIndex : Integer; const AValue : String); virtual;
  6040. Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
  6041. Public
  6042. Published
  6043. Property accountId : String Index 0 Read FaccountId Write SetaccountId;
  6044. Property criteria : TReportTypecriteria Index 8 Read Fcriteria Write Setcriteria;
  6045. Property crossDimensionReachCriteria : TReportTypecrossDimensionReachCriteria Index 16 Read FcrossDimensionReachCriteria Write SetcrossDimensionReachCriteria;
  6046. Property delivery : TReportTypedelivery Index 24 Read Fdelivery Write Setdelivery;
  6047. Property etag : String Index 32 Read Fetag Write Setetag;
  6048. Property fileName : String Index 40 Read FfileName Write SetfileName;
  6049. Property floodlightCriteria : TReportTypefloodlightCriteria Index 48 Read FfloodlightCriteria Write SetfloodlightCriteria;
  6050. Property format : String Index 56 Read Fformat Write Setformat;
  6051. Property id : String Index 64 Read Fid Write Setid;
  6052. Property kind : String Index 72 Read Fkind Write Setkind;
  6053. Property lastModifiedTime : String Index 80 Read FlastModifiedTime Write SetlastModifiedTime;
  6054. Property name : String Index 88 Read Fname Write Setname;
  6055. Property ownerProfileId : String Index 96 Read FownerProfileId Write SetownerProfileId;
  6056. Property pathToConversionCriteria : TReportTypepathToConversionCriteria Index 104 Read FpathToConversionCriteria Write SetpathToConversionCriteria;
  6057. Property reachCriteria : TReportTypereachCriteria Index 112 Read FreachCriteria Write SetreachCriteria;
  6058. Property schedule : TReportTypeschedule Index 120 Read Fschedule Write Setschedule;
  6059. Property subAccountId : String Index 128 Read FsubAccountId Write SetsubAccountId;
  6060. Property _type : String Index 136 Read F_type Write Set_type;
  6061. end;
  6062. TReportClass = Class of TReport;
  6063. { --------------------------------------------------------------------
  6064. TReportCompatibleFields
  6065. --------------------------------------------------------------------}
  6066. TReportCompatibleFields = Class(TGoogleBaseObject)
  6067. Private
  6068. FdimensionFilters : TReportCompatibleFieldsTypedimensionFiltersArray;
  6069. Fdimensions : TReportCompatibleFieldsTypedimensionsArray;
  6070. Fkind : String;
  6071. Fmetrics : TReportCompatibleFieldsTypemetricsArray;
  6072. FpivotedActivityMetrics : TReportCompatibleFieldsTypepivotedActivityMetricsArray;
  6073. Protected
  6074. //Property setters
  6075. Procedure SetdimensionFilters(AIndex : Integer; const AValue : TReportCompatibleFieldsTypedimensionFiltersArray); virtual;
  6076. Procedure Setdimensions(AIndex : Integer; const AValue : TReportCompatibleFieldsTypedimensionsArray); virtual;
  6077. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  6078. Procedure Setmetrics(AIndex : Integer; const AValue : TReportCompatibleFieldsTypemetricsArray); virtual;
  6079. Procedure SetpivotedActivityMetrics(AIndex : Integer; const AValue : TReportCompatibleFieldsTypepivotedActivityMetricsArray); virtual;
  6080. //2.6.4. bug workaround
  6081. {$IFDEF VER2_6}
  6082. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  6083. {$ENDIF VER2_6}
  6084. Public
  6085. Published
  6086. Property dimensionFilters : TReportCompatibleFieldsTypedimensionFiltersArray Index 0 Read FdimensionFilters Write SetdimensionFilters;
  6087. Property dimensions : TReportCompatibleFieldsTypedimensionsArray Index 8 Read Fdimensions Write Setdimensions;
  6088. Property kind : String Index 16 Read Fkind Write Setkind;
  6089. Property metrics : TReportCompatibleFieldsTypemetricsArray Index 24 Read Fmetrics Write Setmetrics;
  6090. Property pivotedActivityMetrics : TReportCompatibleFieldsTypepivotedActivityMetricsArray Index 32 Read FpivotedActivityMetrics Write SetpivotedActivityMetrics;
  6091. end;
  6092. TReportCompatibleFieldsClass = Class of TReportCompatibleFields;
  6093. { --------------------------------------------------------------------
  6094. TReportList
  6095. --------------------------------------------------------------------}
  6096. TReportList = Class(TGoogleBaseObject)
  6097. Private
  6098. Fetag : String;
  6099. Fitems : TReportListTypeitemsArray;
  6100. Fkind : String;
  6101. FnextPageToken : String;
  6102. Protected
  6103. //Property setters
  6104. Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
  6105. Procedure Setitems(AIndex : Integer; const AValue : TReportListTypeitemsArray); virtual;
  6106. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  6107. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  6108. //2.6.4. bug workaround
  6109. {$IFDEF VER2_6}
  6110. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  6111. {$ENDIF VER2_6}
  6112. Public
  6113. Published
  6114. Property etag : String Index 0 Read Fetag Write Setetag;
  6115. Property items : TReportListTypeitemsArray Index 8 Read Fitems Write Setitems;
  6116. Property kind : String Index 16 Read Fkind Write Setkind;
  6117. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  6118. end;
  6119. TReportListClass = Class of TReportList;
  6120. { --------------------------------------------------------------------
  6121. TReportsConfiguration
  6122. --------------------------------------------------------------------}
  6123. TReportsConfiguration = Class(TGoogleBaseObject)
  6124. Private
  6125. FexposureToConversionEnabled : boolean;
  6126. FlookbackConfiguration : TLookbackConfiguration;
  6127. FreportGenerationTimeZoneId : String;
  6128. Protected
  6129. //Property setters
  6130. Procedure SetexposureToConversionEnabled(AIndex : Integer; const AValue : boolean); virtual;
  6131. Procedure SetlookbackConfiguration(AIndex : Integer; const AValue : TLookbackConfiguration); virtual;
  6132. Procedure SetreportGenerationTimeZoneId(AIndex : Integer; const AValue : String); virtual;
  6133. Public
  6134. Published
  6135. Property exposureToConversionEnabled : boolean Index 0 Read FexposureToConversionEnabled Write SetexposureToConversionEnabled;
  6136. Property lookbackConfiguration : TLookbackConfiguration Index 8 Read FlookbackConfiguration Write SetlookbackConfiguration;
  6137. Property reportGenerationTimeZoneId : String Index 16 Read FreportGenerationTimeZoneId Write SetreportGenerationTimeZoneId;
  6138. end;
  6139. TReportsConfigurationClass = Class of TReportsConfiguration;
  6140. { --------------------------------------------------------------------
  6141. TRichMediaExitOverride
  6142. --------------------------------------------------------------------}
  6143. TRichMediaExitOverride = Class(TGoogleBaseObject)
  6144. Private
  6145. FcustomExitUrl : String;
  6146. FexitId : String;
  6147. FuseCustomExitUrl : boolean;
  6148. Protected
  6149. //Property setters
  6150. Procedure SetcustomExitUrl(AIndex : Integer; const AValue : String); virtual;
  6151. Procedure SetexitId(AIndex : Integer; const AValue : String); virtual;
  6152. Procedure SetuseCustomExitUrl(AIndex : Integer; const AValue : boolean); virtual;
  6153. Public
  6154. Published
  6155. Property customExitUrl : String Index 0 Read FcustomExitUrl Write SetcustomExitUrl;
  6156. Property exitId : String Index 8 Read FexitId Write SetexitId;
  6157. Property useCustomExitUrl : boolean Index 16 Read FuseCustomExitUrl Write SetuseCustomExitUrl;
  6158. end;
  6159. TRichMediaExitOverrideClass = Class of TRichMediaExitOverride;
  6160. { --------------------------------------------------------------------
  6161. TSite
  6162. --------------------------------------------------------------------}
  6163. TSite = Class(TGoogleBaseObject)
  6164. Private
  6165. FaccountId : String;
  6166. Fapproved : boolean;
  6167. FdirectorySiteId : String;
  6168. FdirectorySiteIdDimensionValue : TDimensionValue;
  6169. Fid : String;
  6170. FidDimensionValue : TDimensionValue;
  6171. FkeyName : String;
  6172. Fkind : String;
  6173. Fname : String;
  6174. FsiteContacts : TSiteTypesiteContactsArray;
  6175. FsiteSettings : TSiteSettings;
  6176. FsubaccountId : String;
  6177. Protected
  6178. //Property setters
  6179. Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
  6180. Procedure Setapproved(AIndex : Integer; const AValue : boolean); virtual;
  6181. Procedure SetdirectorySiteId(AIndex : Integer; const AValue : String); virtual;
  6182. Procedure SetdirectorySiteIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue); virtual;
  6183. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  6184. Procedure SetidDimensionValue(AIndex : Integer; const AValue : TDimensionValue); virtual;
  6185. Procedure SetkeyName(AIndex : Integer; const AValue : String); virtual;
  6186. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  6187. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  6188. Procedure SetsiteContacts(AIndex : Integer; const AValue : TSiteTypesiteContactsArray); virtual;
  6189. Procedure SetsiteSettings(AIndex : Integer; const AValue : TSiteSettings); virtual;
  6190. Procedure SetsubaccountId(AIndex : Integer; const AValue : String); virtual;
  6191. //2.6.4. bug workaround
  6192. {$IFDEF VER2_6}
  6193. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  6194. {$ENDIF VER2_6}
  6195. Public
  6196. Published
  6197. Property accountId : String Index 0 Read FaccountId Write SetaccountId;
  6198. Property approved : boolean Index 8 Read Fapproved Write Setapproved;
  6199. Property directorySiteId : String Index 16 Read FdirectorySiteId Write SetdirectorySiteId;
  6200. Property directorySiteIdDimensionValue : TDimensionValue Index 24 Read FdirectorySiteIdDimensionValue Write SetdirectorySiteIdDimensionValue;
  6201. Property id : String Index 32 Read Fid Write Setid;
  6202. Property idDimensionValue : TDimensionValue Index 40 Read FidDimensionValue Write SetidDimensionValue;
  6203. Property keyName : String Index 48 Read FkeyName Write SetkeyName;
  6204. Property kind : String Index 56 Read Fkind Write Setkind;
  6205. Property name : String Index 64 Read Fname Write Setname;
  6206. Property siteContacts : TSiteTypesiteContactsArray Index 72 Read FsiteContacts Write SetsiteContacts;
  6207. Property siteSettings : TSiteSettings Index 80 Read FsiteSettings Write SetsiteSettings;
  6208. Property subaccountId : String Index 88 Read FsubaccountId Write SetsubaccountId;
  6209. end;
  6210. TSiteClass = Class of TSite;
  6211. { --------------------------------------------------------------------
  6212. TSiteContact
  6213. --------------------------------------------------------------------}
  6214. TSiteContact = Class(TGoogleBaseObject)
  6215. Private
  6216. Faddress : String;
  6217. FcontactType : String;
  6218. Femail : String;
  6219. FfirstName : String;
  6220. Fid : String;
  6221. FlastName : String;
  6222. Fphone : String;
  6223. Ftitle : String;
  6224. Protected
  6225. //Property setters
  6226. Procedure Setaddress(AIndex : Integer; const AValue : String); virtual;
  6227. Procedure SetcontactType(AIndex : Integer; const AValue : String); virtual;
  6228. Procedure Setemail(AIndex : Integer; const AValue : String); virtual;
  6229. Procedure SetfirstName(AIndex : Integer; const AValue : String); virtual;
  6230. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  6231. Procedure SetlastName(AIndex : Integer; const AValue : String); virtual;
  6232. Procedure Setphone(AIndex : Integer; const AValue : String); virtual;
  6233. Procedure Settitle(AIndex : Integer; const AValue : String); virtual;
  6234. Public
  6235. Published
  6236. Property address : String Index 0 Read Faddress Write Setaddress;
  6237. Property contactType : String Index 8 Read FcontactType Write SetcontactType;
  6238. Property email : String Index 16 Read Femail Write Setemail;
  6239. Property firstName : String Index 24 Read FfirstName Write SetfirstName;
  6240. Property id : String Index 32 Read Fid Write Setid;
  6241. Property lastName : String Index 40 Read FlastName Write SetlastName;
  6242. Property phone : String Index 48 Read Fphone Write Setphone;
  6243. Property title : String Index 56 Read Ftitle Write Settitle;
  6244. end;
  6245. TSiteContactClass = Class of TSiteContact;
  6246. { --------------------------------------------------------------------
  6247. TSiteSettings
  6248. --------------------------------------------------------------------}
  6249. TSiteSettings = Class(TGoogleBaseObject)
  6250. Private
  6251. FactiveViewOptOut : boolean;
  6252. FcreativeSettings : TCreativeSettings;
  6253. FdisableBrandSafeAds : boolean;
  6254. FdisableNewCookie : boolean;
  6255. FlookbackConfiguration : TLookbackConfiguration;
  6256. FtagSetting : TTagSetting;
  6257. FvideoActiveViewOptOut : boolean;
  6258. Protected
  6259. //Property setters
  6260. Procedure SetactiveViewOptOut(AIndex : Integer; const AValue : boolean); virtual;
  6261. Procedure SetcreativeSettings(AIndex : Integer; const AValue : TCreativeSettings); virtual;
  6262. Procedure SetdisableBrandSafeAds(AIndex : Integer; const AValue : boolean); virtual;
  6263. Procedure SetdisableNewCookie(AIndex : Integer; const AValue : boolean); virtual;
  6264. Procedure SetlookbackConfiguration(AIndex : Integer; const AValue : TLookbackConfiguration); virtual;
  6265. Procedure SettagSetting(AIndex : Integer; const AValue : TTagSetting); virtual;
  6266. Procedure SetvideoActiveViewOptOut(AIndex : Integer; const AValue : boolean); virtual;
  6267. Public
  6268. Published
  6269. Property activeViewOptOut : boolean Index 0 Read FactiveViewOptOut Write SetactiveViewOptOut;
  6270. Property creativeSettings : TCreativeSettings Index 8 Read FcreativeSettings Write SetcreativeSettings;
  6271. Property disableBrandSafeAds : boolean Index 16 Read FdisableBrandSafeAds Write SetdisableBrandSafeAds;
  6272. Property disableNewCookie : boolean Index 24 Read FdisableNewCookie Write SetdisableNewCookie;
  6273. Property lookbackConfiguration : TLookbackConfiguration Index 32 Read FlookbackConfiguration Write SetlookbackConfiguration;
  6274. Property tagSetting : TTagSetting Index 40 Read FtagSetting Write SettagSetting;
  6275. Property videoActiveViewOptOut : boolean Index 48 Read FvideoActiveViewOptOut Write SetvideoActiveViewOptOut;
  6276. end;
  6277. TSiteSettingsClass = Class of TSiteSettings;
  6278. { --------------------------------------------------------------------
  6279. TSitesListResponse
  6280. --------------------------------------------------------------------}
  6281. TSitesListResponse = Class(TGoogleBaseObject)
  6282. Private
  6283. Fkind : String;
  6284. FnextPageToken : String;
  6285. Fsites : TSitesListResponseTypesitesArray;
  6286. Protected
  6287. //Property setters
  6288. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  6289. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  6290. Procedure Setsites(AIndex : Integer; const AValue : TSitesListResponseTypesitesArray); virtual;
  6291. //2.6.4. bug workaround
  6292. {$IFDEF VER2_6}
  6293. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  6294. {$ENDIF VER2_6}
  6295. Public
  6296. Published
  6297. Property kind : String Index 0 Read Fkind Write Setkind;
  6298. Property nextPageToken : String Index 8 Read FnextPageToken Write SetnextPageToken;
  6299. Property sites : TSitesListResponseTypesitesArray Index 16 Read Fsites Write Setsites;
  6300. end;
  6301. TSitesListResponseClass = Class of TSitesListResponse;
  6302. { --------------------------------------------------------------------
  6303. TSize
  6304. --------------------------------------------------------------------}
  6305. TSize = Class(TGoogleBaseObject)
  6306. Private
  6307. Fheight : integer;
  6308. Fiab : boolean;
  6309. Fid : String;
  6310. Fkind : String;
  6311. Fwidth : integer;
  6312. Protected
  6313. //Property setters
  6314. Procedure Setheight(AIndex : Integer; const AValue : integer); virtual;
  6315. Procedure Setiab(AIndex : Integer; const AValue : boolean); virtual;
  6316. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  6317. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  6318. Procedure Setwidth(AIndex : Integer; const AValue : integer); virtual;
  6319. Public
  6320. Published
  6321. Property height : integer Index 0 Read Fheight Write Setheight;
  6322. Property iab : boolean Index 8 Read Fiab Write Setiab;
  6323. Property id : String Index 16 Read Fid Write Setid;
  6324. Property kind : String Index 24 Read Fkind Write Setkind;
  6325. Property width : integer Index 32 Read Fwidth Write Setwidth;
  6326. end;
  6327. TSizeClass = Class of TSize;
  6328. { --------------------------------------------------------------------
  6329. TSizesListResponse
  6330. --------------------------------------------------------------------}
  6331. TSizesListResponse = Class(TGoogleBaseObject)
  6332. Private
  6333. Fkind : String;
  6334. Fsizes : TSizesListResponseTypesizesArray;
  6335. Protected
  6336. //Property setters
  6337. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  6338. Procedure Setsizes(AIndex : Integer; const AValue : TSizesListResponseTypesizesArray); virtual;
  6339. //2.6.4. bug workaround
  6340. {$IFDEF VER2_6}
  6341. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  6342. {$ENDIF VER2_6}
  6343. Public
  6344. Published
  6345. Property kind : String Index 0 Read Fkind Write Setkind;
  6346. Property sizes : TSizesListResponseTypesizesArray Index 8 Read Fsizes Write Setsizes;
  6347. end;
  6348. TSizesListResponseClass = Class of TSizesListResponse;
  6349. { --------------------------------------------------------------------
  6350. TSortedDimension
  6351. --------------------------------------------------------------------}
  6352. TSortedDimension = Class(TGoogleBaseObject)
  6353. Private
  6354. Fkind : String;
  6355. Fname : String;
  6356. FsortOrder : String;
  6357. Protected
  6358. //Property setters
  6359. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  6360. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  6361. Procedure SetsortOrder(AIndex : Integer; const AValue : String); virtual;
  6362. Public
  6363. Published
  6364. Property kind : String Index 0 Read Fkind Write Setkind;
  6365. Property name : String Index 8 Read Fname Write Setname;
  6366. Property sortOrder : String Index 16 Read FsortOrder Write SetsortOrder;
  6367. end;
  6368. TSortedDimensionClass = Class of TSortedDimension;
  6369. { --------------------------------------------------------------------
  6370. TSubaccount
  6371. --------------------------------------------------------------------}
  6372. TSubaccount = Class(TGoogleBaseObject)
  6373. Private
  6374. FaccountId : String;
  6375. FavailablePermissionIds : TStringArray;
  6376. Fid : String;
  6377. Fkind : String;
  6378. Fname : String;
  6379. Protected
  6380. //Property setters
  6381. Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
  6382. Procedure SetavailablePermissionIds(AIndex : Integer; const AValue : TStringArray); virtual;
  6383. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  6384. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  6385. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  6386. //2.6.4. bug workaround
  6387. {$IFDEF VER2_6}
  6388. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  6389. {$ENDIF VER2_6}
  6390. Public
  6391. Published
  6392. Property accountId : String Index 0 Read FaccountId Write SetaccountId;
  6393. Property availablePermissionIds : TStringArray Index 8 Read FavailablePermissionIds Write SetavailablePermissionIds;
  6394. Property id : String Index 16 Read Fid Write Setid;
  6395. Property kind : String Index 24 Read Fkind Write Setkind;
  6396. Property name : String Index 32 Read Fname Write Setname;
  6397. end;
  6398. TSubaccountClass = Class of TSubaccount;
  6399. { --------------------------------------------------------------------
  6400. TSubaccountsListResponse
  6401. --------------------------------------------------------------------}
  6402. TSubaccountsListResponse = Class(TGoogleBaseObject)
  6403. Private
  6404. Fkind : String;
  6405. FnextPageToken : String;
  6406. Fsubaccounts : TSubaccountsListResponseTypesubaccountsArray;
  6407. Protected
  6408. //Property setters
  6409. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  6410. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  6411. Procedure Setsubaccounts(AIndex : Integer; const AValue : TSubaccountsListResponseTypesubaccountsArray); virtual;
  6412. //2.6.4. bug workaround
  6413. {$IFDEF VER2_6}
  6414. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  6415. {$ENDIF VER2_6}
  6416. Public
  6417. Published
  6418. Property kind : String Index 0 Read Fkind Write Setkind;
  6419. Property nextPageToken : String Index 8 Read FnextPageToken Write SetnextPageToken;
  6420. Property subaccounts : TSubaccountsListResponseTypesubaccountsArray Index 16 Read Fsubaccounts Write Setsubaccounts;
  6421. end;
  6422. TSubaccountsListResponseClass = Class of TSubaccountsListResponse;
  6423. { --------------------------------------------------------------------
  6424. TTagData
  6425. --------------------------------------------------------------------}
  6426. TTagData = Class(TGoogleBaseObject)
  6427. Private
  6428. FadId : String;
  6429. FclickTag : String;
  6430. FcreativeId : String;
  6431. Fformat : String;
  6432. FimpressionTag : String;
  6433. Protected
  6434. //Property setters
  6435. Procedure SetadId(AIndex : Integer; const AValue : String); virtual;
  6436. Procedure SetclickTag(AIndex : Integer; const AValue : String); virtual;
  6437. Procedure SetcreativeId(AIndex : Integer; const AValue : String); virtual;
  6438. Procedure Setformat(AIndex : Integer; const AValue : String); virtual;
  6439. Procedure SetimpressionTag(AIndex : Integer; const AValue : String); virtual;
  6440. Public
  6441. Published
  6442. Property adId : String Index 0 Read FadId Write SetadId;
  6443. Property clickTag : String Index 8 Read FclickTag Write SetclickTag;
  6444. Property creativeId : String Index 16 Read FcreativeId Write SetcreativeId;
  6445. Property format : String Index 24 Read Fformat Write Setformat;
  6446. Property impressionTag : String Index 32 Read FimpressionTag Write SetimpressionTag;
  6447. end;
  6448. TTagDataClass = Class of TTagData;
  6449. { --------------------------------------------------------------------
  6450. TTagSetting
  6451. --------------------------------------------------------------------}
  6452. TTagSetting = Class(TGoogleBaseObject)
  6453. Private
  6454. FadditionalKeyValues : String;
  6455. FincludeClickThroughUrls : boolean;
  6456. FincludeClickTracking : boolean;
  6457. FkeywordOption : String;
  6458. Protected
  6459. //Property setters
  6460. Procedure SetadditionalKeyValues(AIndex : Integer; const AValue : String); virtual;
  6461. Procedure SetincludeClickThroughUrls(AIndex : Integer; const AValue : boolean); virtual;
  6462. Procedure SetincludeClickTracking(AIndex : Integer; const AValue : boolean); virtual;
  6463. Procedure SetkeywordOption(AIndex : Integer; const AValue : String); virtual;
  6464. Public
  6465. Published
  6466. Property additionalKeyValues : String Index 0 Read FadditionalKeyValues Write SetadditionalKeyValues;
  6467. Property includeClickThroughUrls : boolean Index 8 Read FincludeClickThroughUrls Write SetincludeClickThroughUrls;
  6468. Property includeClickTracking : boolean Index 16 Read FincludeClickTracking Write SetincludeClickTracking;
  6469. Property keywordOption : String Index 24 Read FkeywordOption Write SetkeywordOption;
  6470. end;
  6471. TTagSettingClass = Class of TTagSetting;
  6472. { --------------------------------------------------------------------
  6473. TTagSettings
  6474. --------------------------------------------------------------------}
  6475. TTagSettings = Class(TGoogleBaseObject)
  6476. Private
  6477. FdynamicTagEnabled : boolean;
  6478. FimageTagEnabled : boolean;
  6479. Protected
  6480. //Property setters
  6481. Procedure SetdynamicTagEnabled(AIndex : Integer; const AValue : boolean); virtual;
  6482. Procedure SetimageTagEnabled(AIndex : Integer; const AValue : boolean); virtual;
  6483. Public
  6484. Published
  6485. Property dynamicTagEnabled : boolean Index 0 Read FdynamicTagEnabled Write SetdynamicTagEnabled;
  6486. Property imageTagEnabled : boolean Index 8 Read FimageTagEnabled Write SetimageTagEnabled;
  6487. end;
  6488. TTagSettingsClass = Class of TTagSettings;
  6489. { --------------------------------------------------------------------
  6490. TTargetWindow
  6491. --------------------------------------------------------------------}
  6492. TTargetWindow = Class(TGoogleBaseObject)
  6493. Private
  6494. FcustomHtml : String;
  6495. FtargetWindowOption : String;
  6496. Protected
  6497. //Property setters
  6498. Procedure SetcustomHtml(AIndex : Integer; const AValue : String); virtual;
  6499. Procedure SettargetWindowOption(AIndex : Integer; const AValue : String); virtual;
  6500. Public
  6501. Published
  6502. Property customHtml : String Index 0 Read FcustomHtml Write SetcustomHtml;
  6503. Property targetWindowOption : String Index 8 Read FtargetWindowOption Write SettargetWindowOption;
  6504. end;
  6505. TTargetWindowClass = Class of TTargetWindow;
  6506. { --------------------------------------------------------------------
  6507. TTargetableRemarketingList
  6508. --------------------------------------------------------------------}
  6509. TTargetableRemarketingList = Class(TGoogleBaseObject)
  6510. Private
  6511. FaccountId : String;
  6512. Factive : boolean;
  6513. FadvertiserId : String;
  6514. FadvertiserIdDimensionValue : TDimensionValue;
  6515. Fdescription : String;
  6516. Fid : String;
  6517. Fkind : String;
  6518. FlifeSpan : String;
  6519. FlistSize : String;
  6520. FlistSource : String;
  6521. Fname : String;
  6522. FsubaccountId : String;
  6523. Protected
  6524. //Property setters
  6525. Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
  6526. Procedure Setactive(AIndex : Integer; const AValue : boolean); virtual;
  6527. Procedure SetadvertiserId(AIndex : Integer; const AValue : String); virtual;
  6528. Procedure SetadvertiserIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue); virtual;
  6529. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  6530. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  6531. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  6532. Procedure SetlifeSpan(AIndex : Integer; const AValue : String); virtual;
  6533. Procedure SetlistSize(AIndex : Integer; const AValue : String); virtual;
  6534. Procedure SetlistSource(AIndex : Integer; const AValue : String); virtual;
  6535. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  6536. Procedure SetsubaccountId(AIndex : Integer; const AValue : String); virtual;
  6537. Public
  6538. Published
  6539. Property accountId : String Index 0 Read FaccountId Write SetaccountId;
  6540. Property active : boolean Index 8 Read Factive Write Setactive;
  6541. Property advertiserId : String Index 16 Read FadvertiserId Write SetadvertiserId;
  6542. Property advertiserIdDimensionValue : TDimensionValue Index 24 Read FadvertiserIdDimensionValue Write SetadvertiserIdDimensionValue;
  6543. Property description : String Index 32 Read Fdescription Write Setdescription;
  6544. Property id : String Index 40 Read Fid Write Setid;
  6545. Property kind : String Index 48 Read Fkind Write Setkind;
  6546. Property lifeSpan : String Index 56 Read FlifeSpan Write SetlifeSpan;
  6547. Property listSize : String Index 64 Read FlistSize Write SetlistSize;
  6548. Property listSource : String Index 72 Read FlistSource Write SetlistSource;
  6549. Property name : String Index 80 Read Fname Write Setname;
  6550. Property subaccountId : String Index 88 Read FsubaccountId Write SetsubaccountId;
  6551. end;
  6552. TTargetableRemarketingListClass = Class of TTargetableRemarketingList;
  6553. { --------------------------------------------------------------------
  6554. TTargetableRemarketingListsListResponse
  6555. --------------------------------------------------------------------}
  6556. TTargetableRemarketingListsListResponse = Class(TGoogleBaseObject)
  6557. Private
  6558. Fkind : String;
  6559. FnextPageToken : String;
  6560. FtargetableRemarketingLists : TTargetableRemarketingListsListResponseTypetargetableRemarketingListsArray;
  6561. Protected
  6562. //Property setters
  6563. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  6564. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  6565. Procedure SettargetableRemarketingLists(AIndex : Integer; const AValue : TTargetableRemarketingListsListResponseTypetargetableRemarketingListsArray); virtual;
  6566. //2.6.4. bug workaround
  6567. {$IFDEF VER2_6}
  6568. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  6569. {$ENDIF VER2_6}
  6570. Public
  6571. Published
  6572. Property kind : String Index 0 Read Fkind Write Setkind;
  6573. Property nextPageToken : String Index 8 Read FnextPageToken Write SetnextPageToken;
  6574. Property targetableRemarketingLists : TTargetableRemarketingListsListResponseTypetargetableRemarketingListsArray Index 16 Read FtargetableRemarketingLists Write SettargetableRemarketingLists;
  6575. end;
  6576. TTargetableRemarketingListsListResponseClass = Class of TTargetableRemarketingListsListResponse;
  6577. { --------------------------------------------------------------------
  6578. TTechnologyTargeting
  6579. --------------------------------------------------------------------}
  6580. TTechnologyTargeting = Class(TGoogleBaseObject)
  6581. Private
  6582. Fbrowsers : TTechnologyTargetingTypebrowsersArray;
  6583. FconnectionTypes : TTechnologyTargetingTypeconnectionTypesArray;
  6584. FmobileCarriers : TTechnologyTargetingTypemobileCarriersArray;
  6585. FoperatingSystemVersions : TTechnologyTargetingTypeoperatingSystemVersionsArray;
  6586. FoperatingSystems : TTechnologyTargetingTypeoperatingSystemsArray;
  6587. FplatformTypes : TTechnologyTargetingTypeplatformTypesArray;
  6588. Protected
  6589. //Property setters
  6590. Procedure Setbrowsers(AIndex : Integer; const AValue : TTechnologyTargetingTypebrowsersArray); virtual;
  6591. Procedure SetconnectionTypes(AIndex : Integer; const AValue : TTechnologyTargetingTypeconnectionTypesArray); virtual;
  6592. Procedure SetmobileCarriers(AIndex : Integer; const AValue : TTechnologyTargetingTypemobileCarriersArray); virtual;
  6593. Procedure SetoperatingSystemVersions(AIndex : Integer; const AValue : TTechnologyTargetingTypeoperatingSystemVersionsArray); virtual;
  6594. Procedure SetoperatingSystems(AIndex : Integer; const AValue : TTechnologyTargetingTypeoperatingSystemsArray); virtual;
  6595. Procedure SetplatformTypes(AIndex : Integer; const AValue : TTechnologyTargetingTypeplatformTypesArray); virtual;
  6596. //2.6.4. bug workaround
  6597. {$IFDEF VER2_6}
  6598. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  6599. {$ENDIF VER2_6}
  6600. Public
  6601. Published
  6602. Property browsers : TTechnologyTargetingTypebrowsersArray Index 0 Read Fbrowsers Write Setbrowsers;
  6603. Property connectionTypes : TTechnologyTargetingTypeconnectionTypesArray Index 8 Read FconnectionTypes Write SetconnectionTypes;
  6604. Property mobileCarriers : TTechnologyTargetingTypemobileCarriersArray Index 16 Read FmobileCarriers Write SetmobileCarriers;
  6605. Property operatingSystemVersions : TTechnologyTargetingTypeoperatingSystemVersionsArray Index 24 Read FoperatingSystemVersions Write SetoperatingSystemVersions;
  6606. Property operatingSystems : TTechnologyTargetingTypeoperatingSystemsArray Index 32 Read FoperatingSystems Write SetoperatingSystems;
  6607. Property platformTypes : TTechnologyTargetingTypeplatformTypesArray Index 40 Read FplatformTypes Write SetplatformTypes;
  6608. end;
  6609. TTechnologyTargetingClass = Class of TTechnologyTargeting;
  6610. { --------------------------------------------------------------------
  6611. TThirdPartyAuthenticationToken
  6612. --------------------------------------------------------------------}
  6613. TThirdPartyAuthenticationToken = Class(TGoogleBaseObject)
  6614. Private
  6615. Fname : String;
  6616. Fvalue : String;
  6617. Protected
  6618. //Property setters
  6619. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  6620. Procedure Setvalue(AIndex : Integer; const AValue : String); virtual;
  6621. Public
  6622. Published
  6623. Property name : String Index 0 Read Fname Write Setname;
  6624. Property value : String Index 8 Read Fvalue Write Setvalue;
  6625. end;
  6626. TThirdPartyAuthenticationTokenClass = Class of TThirdPartyAuthenticationToken;
  6627. { --------------------------------------------------------------------
  6628. TThirdPartyTrackingUrl
  6629. --------------------------------------------------------------------}
  6630. TThirdPartyTrackingUrl = Class(TGoogleBaseObject)
  6631. Private
  6632. FthirdPartyUrlType : String;
  6633. Furl : String;
  6634. Protected
  6635. //Property setters
  6636. Procedure SetthirdPartyUrlType(AIndex : Integer; const AValue : String); virtual;
  6637. Procedure Seturl(AIndex : Integer; const AValue : String); virtual;
  6638. Public
  6639. Published
  6640. Property thirdPartyUrlType : String Index 0 Read FthirdPartyUrlType Write SetthirdPartyUrlType;
  6641. Property url : String Index 8 Read Furl Write Seturl;
  6642. end;
  6643. TThirdPartyTrackingUrlClass = Class of TThirdPartyTrackingUrl;
  6644. { --------------------------------------------------------------------
  6645. TUserDefinedVariableConfiguration
  6646. --------------------------------------------------------------------}
  6647. TUserDefinedVariableConfiguration = Class(TGoogleBaseObject)
  6648. Private
  6649. FdataType : String;
  6650. FreportName : String;
  6651. FvariableType : String;
  6652. Protected
  6653. //Property setters
  6654. Procedure SetdataType(AIndex : Integer; const AValue : String); virtual;
  6655. Procedure SetreportName(AIndex : Integer; const AValue : String); virtual;
  6656. Procedure SetvariableType(AIndex : Integer; const AValue : String); virtual;
  6657. Public
  6658. Published
  6659. Property dataType : String Index 0 Read FdataType Write SetdataType;
  6660. Property reportName : String Index 8 Read FreportName Write SetreportName;
  6661. Property variableType : String Index 16 Read FvariableType Write SetvariableType;
  6662. end;
  6663. TUserDefinedVariableConfigurationClass = Class of TUserDefinedVariableConfiguration;
  6664. { --------------------------------------------------------------------
  6665. TUserProfile
  6666. --------------------------------------------------------------------}
  6667. TUserProfile = Class(TGoogleBaseObject)
  6668. Private
  6669. FaccountId : String;
  6670. FaccountName : String;
  6671. Fetag : String;
  6672. Fkind : String;
  6673. FprofileId : String;
  6674. FsubAccountId : String;
  6675. FsubAccountName : String;
  6676. FuserName : String;
  6677. Protected
  6678. //Property setters
  6679. Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
  6680. Procedure SetaccountName(AIndex : Integer; const AValue : String); virtual;
  6681. Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
  6682. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  6683. Procedure SetprofileId(AIndex : Integer; const AValue : String); virtual;
  6684. Procedure SetsubAccountId(AIndex : Integer; const AValue : String); virtual;
  6685. Procedure SetsubAccountName(AIndex : Integer; const AValue : String); virtual;
  6686. Procedure SetuserName(AIndex : Integer; const AValue : String); virtual;
  6687. Public
  6688. Published
  6689. Property accountId : String Index 0 Read FaccountId Write SetaccountId;
  6690. Property accountName : String Index 8 Read FaccountName Write SetaccountName;
  6691. Property etag : String Index 16 Read Fetag Write Setetag;
  6692. Property kind : String Index 24 Read Fkind Write Setkind;
  6693. Property profileId : String Index 32 Read FprofileId Write SetprofileId;
  6694. Property subAccountId : String Index 40 Read FsubAccountId Write SetsubAccountId;
  6695. Property subAccountName : String Index 48 Read FsubAccountName Write SetsubAccountName;
  6696. Property userName : String Index 56 Read FuserName Write SetuserName;
  6697. end;
  6698. TUserProfileClass = Class of TUserProfile;
  6699. { --------------------------------------------------------------------
  6700. TUserProfileList
  6701. --------------------------------------------------------------------}
  6702. TUserProfileList = Class(TGoogleBaseObject)
  6703. Private
  6704. Fetag : String;
  6705. Fitems : TUserProfileListTypeitemsArray;
  6706. Fkind : String;
  6707. Protected
  6708. //Property setters
  6709. Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
  6710. Procedure Setitems(AIndex : Integer; const AValue : TUserProfileListTypeitemsArray); virtual;
  6711. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  6712. //2.6.4. bug workaround
  6713. {$IFDEF VER2_6}
  6714. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  6715. {$ENDIF VER2_6}
  6716. Public
  6717. Published
  6718. Property etag : String Index 0 Read Fetag Write Setetag;
  6719. Property items : TUserProfileListTypeitemsArray Index 8 Read Fitems Write Setitems;
  6720. Property kind : String Index 16 Read Fkind Write Setkind;
  6721. end;
  6722. TUserProfileListClass = Class of TUserProfileList;
  6723. { --------------------------------------------------------------------
  6724. TUserRole
  6725. --------------------------------------------------------------------}
  6726. TUserRole = Class(TGoogleBaseObject)
  6727. Private
  6728. FaccountId : String;
  6729. FdefaultUserRole : boolean;
  6730. Fid : String;
  6731. Fkind : String;
  6732. Fname : String;
  6733. FparentUserRoleId : String;
  6734. Fpermissions : TUserRoleTypepermissionsArray;
  6735. FsubaccountId : String;
  6736. Protected
  6737. //Property setters
  6738. Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
  6739. Procedure SetdefaultUserRole(AIndex : Integer; const AValue : boolean); virtual;
  6740. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  6741. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  6742. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  6743. Procedure SetparentUserRoleId(AIndex : Integer; const AValue : String); virtual;
  6744. Procedure Setpermissions(AIndex : Integer; const AValue : TUserRoleTypepermissionsArray); virtual;
  6745. Procedure SetsubaccountId(AIndex : Integer; const AValue : String); virtual;
  6746. //2.6.4. bug workaround
  6747. {$IFDEF VER2_6}
  6748. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  6749. {$ENDIF VER2_6}
  6750. Public
  6751. Published
  6752. Property accountId : String Index 0 Read FaccountId Write SetaccountId;
  6753. Property defaultUserRole : boolean Index 8 Read FdefaultUserRole Write SetdefaultUserRole;
  6754. Property id : String Index 16 Read Fid Write Setid;
  6755. Property kind : String Index 24 Read Fkind Write Setkind;
  6756. Property name : String Index 32 Read Fname Write Setname;
  6757. Property parentUserRoleId : String Index 40 Read FparentUserRoleId Write SetparentUserRoleId;
  6758. Property permissions : TUserRoleTypepermissionsArray Index 48 Read Fpermissions Write Setpermissions;
  6759. Property subaccountId : String Index 56 Read FsubaccountId Write SetsubaccountId;
  6760. end;
  6761. TUserRoleClass = Class of TUserRole;
  6762. { --------------------------------------------------------------------
  6763. TUserRolePermission
  6764. --------------------------------------------------------------------}
  6765. TUserRolePermission = Class(TGoogleBaseObject)
  6766. Private
  6767. Favailability : String;
  6768. Fid : String;
  6769. Fkind : String;
  6770. Fname : String;
  6771. FpermissionGroupId : String;
  6772. Protected
  6773. //Property setters
  6774. Procedure Setavailability(AIndex : Integer; const AValue : String); virtual;
  6775. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  6776. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  6777. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  6778. Procedure SetpermissionGroupId(AIndex : Integer; const AValue : String); virtual;
  6779. Public
  6780. Published
  6781. Property availability : String Index 0 Read Favailability Write Setavailability;
  6782. Property id : String Index 8 Read Fid Write Setid;
  6783. Property kind : String Index 16 Read Fkind Write Setkind;
  6784. Property name : String Index 24 Read Fname Write Setname;
  6785. Property permissionGroupId : String Index 32 Read FpermissionGroupId Write SetpermissionGroupId;
  6786. end;
  6787. TUserRolePermissionClass = Class of TUserRolePermission;
  6788. { --------------------------------------------------------------------
  6789. TUserRolePermissionGroup
  6790. --------------------------------------------------------------------}
  6791. TUserRolePermissionGroup = Class(TGoogleBaseObject)
  6792. Private
  6793. Fid : String;
  6794. Fkind : String;
  6795. Fname : String;
  6796. Protected
  6797. //Property setters
  6798. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  6799. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  6800. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  6801. Public
  6802. Published
  6803. Property id : String Index 0 Read Fid Write Setid;
  6804. Property kind : String Index 8 Read Fkind Write Setkind;
  6805. Property name : String Index 16 Read Fname Write Setname;
  6806. end;
  6807. TUserRolePermissionGroupClass = Class of TUserRolePermissionGroup;
  6808. { --------------------------------------------------------------------
  6809. TUserRolePermissionGroupsListResponse
  6810. --------------------------------------------------------------------}
  6811. TUserRolePermissionGroupsListResponse = Class(TGoogleBaseObject)
  6812. Private
  6813. Fkind : String;
  6814. FuserRolePermissionGroups : TUserRolePermissionGroupsListResponseTypeuserRolePermissionGroupsArray;
  6815. Protected
  6816. //Property setters
  6817. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  6818. Procedure SetuserRolePermissionGroups(AIndex : Integer; const AValue : TUserRolePermissionGroupsListResponseTypeuserRolePermissionGroupsArray); virtual;
  6819. //2.6.4. bug workaround
  6820. {$IFDEF VER2_6}
  6821. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  6822. {$ENDIF VER2_6}
  6823. Public
  6824. Published
  6825. Property kind : String Index 0 Read Fkind Write Setkind;
  6826. Property userRolePermissionGroups : TUserRolePermissionGroupsListResponseTypeuserRolePermissionGroupsArray Index 8 Read FuserRolePermissionGroups Write SetuserRolePermissionGroups;
  6827. end;
  6828. TUserRolePermissionGroupsListResponseClass = Class of TUserRolePermissionGroupsListResponse;
  6829. { --------------------------------------------------------------------
  6830. TUserRolePermissionsListResponse
  6831. --------------------------------------------------------------------}
  6832. TUserRolePermissionsListResponse = Class(TGoogleBaseObject)
  6833. Private
  6834. Fkind : String;
  6835. FuserRolePermissions : TUserRolePermissionsListResponseTypeuserRolePermissionsArray;
  6836. Protected
  6837. //Property setters
  6838. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  6839. Procedure SetuserRolePermissions(AIndex : Integer; const AValue : TUserRolePermissionsListResponseTypeuserRolePermissionsArray); virtual;
  6840. //2.6.4. bug workaround
  6841. {$IFDEF VER2_6}
  6842. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  6843. {$ENDIF VER2_6}
  6844. Public
  6845. Published
  6846. Property kind : String Index 0 Read Fkind Write Setkind;
  6847. Property userRolePermissions : TUserRolePermissionsListResponseTypeuserRolePermissionsArray Index 8 Read FuserRolePermissions Write SetuserRolePermissions;
  6848. end;
  6849. TUserRolePermissionsListResponseClass = Class of TUserRolePermissionsListResponse;
  6850. { --------------------------------------------------------------------
  6851. TUserRolesListResponse
  6852. --------------------------------------------------------------------}
  6853. TUserRolesListResponse = Class(TGoogleBaseObject)
  6854. Private
  6855. Fkind : String;
  6856. FnextPageToken : String;
  6857. FuserRoles : TUserRolesListResponseTypeuserRolesArray;
  6858. Protected
  6859. //Property setters
  6860. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  6861. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  6862. Procedure SetuserRoles(AIndex : Integer; const AValue : TUserRolesListResponseTypeuserRolesArray); virtual;
  6863. //2.6.4. bug workaround
  6864. {$IFDEF VER2_6}
  6865. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  6866. {$ENDIF VER2_6}
  6867. Public
  6868. Published
  6869. Property kind : String Index 0 Read Fkind Write Setkind;
  6870. Property nextPageToken : String Index 8 Read FnextPageToken Write SetnextPageToken;
  6871. Property userRoles : TUserRolesListResponseTypeuserRolesArray Index 16 Read FuserRoles Write SetuserRoles;
  6872. end;
  6873. TUserRolesListResponseClass = Class of TUserRolesListResponse;
  6874. { --------------------------------------------------------------------
  6875. TAccountActiveAdSummariesResource
  6876. --------------------------------------------------------------------}
  6877. TAccountActiveAdSummariesResource = Class(TGoogleResource)
  6878. Public
  6879. Class Function ResourceName : String; override;
  6880. Class Function DefaultAPI : TGoogleAPIClass; override;
  6881. Function Get(profileId: string; summaryAccountId: string) : TAccountActiveAdSummary;
  6882. end;
  6883. { --------------------------------------------------------------------
  6884. TAccountPermissionGroupsResource
  6885. --------------------------------------------------------------------}
  6886. TAccountPermissionGroupsResource = Class(TGoogleResource)
  6887. Public
  6888. Class Function ResourceName : String; override;
  6889. Class Function DefaultAPI : TGoogleAPIClass; override;
  6890. Function Get(id: string; profileId: string) : TAccountPermissionGroup;
  6891. Function List(profileId: string) : TAccountPermissionGroupsListResponse;
  6892. end;
  6893. { --------------------------------------------------------------------
  6894. TAccountPermissionsResource
  6895. --------------------------------------------------------------------}
  6896. TAccountPermissionsResource = Class(TGoogleResource)
  6897. Public
  6898. Class Function ResourceName : String; override;
  6899. Class Function DefaultAPI : TGoogleAPIClass; override;
  6900. Function Get(id: string; profileId: string) : TAccountPermission;
  6901. Function List(profileId: string) : TAccountPermissionsListResponse;
  6902. end;
  6903. { --------------------------------------------------------------------
  6904. TAccountUserProfilesResource
  6905. --------------------------------------------------------------------}
  6906. //Optional query Options for TAccountUserProfilesResource, method List
  6907. TAccountUserProfilesListOptions = Record
  6908. active : boolean;
  6909. ids : int64;
  6910. maxResults : integer;
  6911. pageToken : String;
  6912. searchString : String;
  6913. sortField : String;
  6914. sortOrder : String;
  6915. subaccountId : int64;
  6916. userRoleId : int64;
  6917. end;
  6918. //Optional query Options for TAccountUserProfilesResource, method Patch
  6919. TAccountUserProfilesPatchOptions = Record
  6920. id : int64;
  6921. end;
  6922. TAccountUserProfilesResource = Class(TGoogleResource)
  6923. Public
  6924. Class Function ResourceName : String; override;
  6925. Class Function DefaultAPI : TGoogleAPIClass; override;
  6926. Function Get(id: string; profileId: string) : TAccountUserProfile;
  6927. Function Insert(profileId: string; aAccountUserProfile : TAccountUserProfile) : TAccountUserProfile;
  6928. Function List(profileId: string; AQuery : string = '') : TAccountUserProfilesListResponse;
  6929. Function List(profileId: string; AQuery : TAccountUserProfileslistOptions) : TAccountUserProfilesListResponse;
  6930. Function Patch(profileId: string; aAccountUserProfile : TAccountUserProfile; AQuery : string = '') : TAccountUserProfile;
  6931. Function Patch(profileId: string; aAccountUserProfile : TAccountUserProfile; AQuery : TAccountUserProfilespatchOptions) : TAccountUserProfile;
  6932. Function Update(profileId: string; aAccountUserProfile : TAccountUserProfile) : TAccountUserProfile;
  6933. end;
  6934. { --------------------------------------------------------------------
  6935. TAccountsResource
  6936. --------------------------------------------------------------------}
  6937. //Optional query Options for TAccountsResource, method List
  6938. TAccountsListOptions = Record
  6939. active : boolean;
  6940. ids : int64;
  6941. maxResults : integer;
  6942. pageToken : String;
  6943. searchString : String;
  6944. sortField : String;
  6945. sortOrder : String;
  6946. end;
  6947. //Optional query Options for TAccountsResource, method Patch
  6948. TAccountsPatchOptions = Record
  6949. id : int64;
  6950. end;
  6951. TAccountsResource = Class(TGoogleResource)
  6952. Public
  6953. Class Function ResourceName : String; override;
  6954. Class Function DefaultAPI : TGoogleAPIClass; override;
  6955. Function Get(id: string; profileId: string) : TAccount;
  6956. Function List(profileId: string; AQuery : string = '') : TAccountsListResponse;
  6957. Function List(profileId: string; AQuery : TAccountslistOptions) : TAccountsListResponse;
  6958. Function Patch(profileId: string; aAccount : TAccount; AQuery : string = '') : TAccount;
  6959. Function Patch(profileId: string; aAccount : TAccount; AQuery : TAccountspatchOptions) : TAccount;
  6960. Function Update(profileId: string; aAccount : TAccount) : TAccount;
  6961. end;
  6962. { --------------------------------------------------------------------
  6963. TAdsResource
  6964. --------------------------------------------------------------------}
  6965. //Optional query Options for TAdsResource, method List
  6966. TAdsListOptions = Record
  6967. active : boolean;
  6968. advertiserId : int64;
  6969. archived : boolean;
  6970. audienceSegmentIds : int64;
  6971. campaignIds : int64;
  6972. compatibility : String;
  6973. creativeIds : int64;
  6974. creativeOptimizationConfigurationIds : int64;
  6975. creativeType : String;
  6976. dynamicClickTracker : boolean;
  6977. ids : int64;
  6978. landingPageIds : int64;
  6979. maxResults : integer;
  6980. overriddenEventTagId : int64;
  6981. pageToken : String;
  6982. placementIds : int64;
  6983. remarketingListIds : int64;
  6984. searchString : String;
  6985. sizeIds : int64;
  6986. sortField : String;
  6987. sortOrder : String;
  6988. sslCompliant : boolean;
  6989. sslRequired : boolean;
  6990. _type : String;
  6991. end;
  6992. //Optional query Options for TAdsResource, method Patch
  6993. TAdsPatchOptions = Record
  6994. id : int64;
  6995. end;
  6996. TAdsResource = Class(TGoogleResource)
  6997. Public
  6998. Class Function ResourceName : String; override;
  6999. Class Function DefaultAPI : TGoogleAPIClass; override;
  7000. Function Get(id: string; profileId: string) : TAd;
  7001. Function Insert(profileId: string; aAd : TAd) : TAd;
  7002. Function List(profileId: string; AQuery : string = '') : TAdsListResponse;
  7003. Function List(profileId: string; AQuery : TAdslistOptions) : TAdsListResponse;
  7004. Function Patch(profileId: string; aAd : TAd; AQuery : string = '') : TAd;
  7005. Function Patch(profileId: string; aAd : TAd; AQuery : TAdspatchOptions) : TAd;
  7006. Function Update(profileId: string; aAd : TAd) : TAd;
  7007. end;
  7008. { --------------------------------------------------------------------
  7009. TAdvertiserGroupsResource
  7010. --------------------------------------------------------------------}
  7011. //Optional query Options for TAdvertiserGroupsResource, method List
  7012. TAdvertiserGroupsListOptions = Record
  7013. ids : int64;
  7014. maxResults : integer;
  7015. pageToken : String;
  7016. searchString : String;
  7017. sortField : String;
  7018. sortOrder : String;
  7019. end;
  7020. //Optional query Options for TAdvertiserGroupsResource, method Patch
  7021. TAdvertiserGroupsPatchOptions = Record
  7022. id : int64;
  7023. end;
  7024. TAdvertiserGroupsResource = Class(TGoogleResource)
  7025. Public
  7026. Class Function ResourceName : String; override;
  7027. Class Function DefaultAPI : TGoogleAPIClass; override;
  7028. Procedure Delete(id: string; profileId: string);
  7029. Function Get(id: string; profileId: string) : TAdvertiserGroup;
  7030. Function Insert(profileId: string; aAdvertiserGroup : TAdvertiserGroup) : TAdvertiserGroup;
  7031. Function List(profileId: string; AQuery : string = '') : TAdvertiserGroupsListResponse;
  7032. Function List(profileId: string; AQuery : TAdvertiserGroupslistOptions) : TAdvertiserGroupsListResponse;
  7033. Function Patch(profileId: string; aAdvertiserGroup : TAdvertiserGroup; AQuery : string = '') : TAdvertiserGroup;
  7034. Function Patch(profileId: string; aAdvertiserGroup : TAdvertiserGroup; AQuery : TAdvertiserGroupspatchOptions) : TAdvertiserGroup;
  7035. Function Update(profileId: string; aAdvertiserGroup : TAdvertiserGroup) : TAdvertiserGroup;
  7036. end;
  7037. { --------------------------------------------------------------------
  7038. TAdvertisersResource
  7039. --------------------------------------------------------------------}
  7040. //Optional query Options for TAdvertisersResource, method List
  7041. TAdvertisersListOptions = Record
  7042. advertiserGroupIds : int64;
  7043. floodlightConfigurationIds : int64;
  7044. ids : int64;
  7045. includeAdvertisersWithoutGroupsOnly : boolean;
  7046. maxResults : integer;
  7047. onlyParent : boolean;
  7048. pageToken : String;
  7049. searchString : String;
  7050. sortField : String;
  7051. sortOrder : String;
  7052. status : String;
  7053. subaccountId : int64;
  7054. end;
  7055. //Optional query Options for TAdvertisersResource, method Patch
  7056. TAdvertisersPatchOptions = Record
  7057. id : int64;
  7058. end;
  7059. TAdvertisersResource = Class(TGoogleResource)
  7060. Public
  7061. Class Function ResourceName : String; override;
  7062. Class Function DefaultAPI : TGoogleAPIClass; override;
  7063. Function Get(id: string; profileId: string) : TAdvertiser;
  7064. Function Insert(profileId: string; aAdvertiser : TAdvertiser) : TAdvertiser;
  7065. Function List(profileId: string; AQuery : string = '') : TAdvertisersListResponse;
  7066. Function List(profileId: string; AQuery : TAdvertiserslistOptions) : TAdvertisersListResponse;
  7067. Function Patch(profileId: string; aAdvertiser : TAdvertiser; AQuery : string = '') : TAdvertiser;
  7068. Function Patch(profileId: string; aAdvertiser : TAdvertiser; AQuery : TAdvertiserspatchOptions) : TAdvertiser;
  7069. Function Update(profileId: string; aAdvertiser : TAdvertiser) : TAdvertiser;
  7070. end;
  7071. { --------------------------------------------------------------------
  7072. TBrowsersResource
  7073. --------------------------------------------------------------------}
  7074. TBrowsersResource = Class(TGoogleResource)
  7075. Public
  7076. Class Function ResourceName : String; override;
  7077. Class Function DefaultAPI : TGoogleAPIClass; override;
  7078. Function List(profileId: string) : TBrowsersListResponse;
  7079. end;
  7080. { --------------------------------------------------------------------
  7081. TCampaignCreativeAssociationsResource
  7082. --------------------------------------------------------------------}
  7083. //Optional query Options for TCampaignCreativeAssociationsResource, method List
  7084. TCampaignCreativeAssociationsListOptions = Record
  7085. maxResults : integer;
  7086. pageToken : String;
  7087. sortOrder : String;
  7088. end;
  7089. TCampaignCreativeAssociationsResource = Class(TGoogleResource)
  7090. Public
  7091. Class Function ResourceName : String; override;
  7092. Class Function DefaultAPI : TGoogleAPIClass; override;
  7093. Function Insert(campaignId: string; profileId: string; aCampaignCreativeAssociation : TCampaignCreativeAssociation) : TCampaignCreativeAssociation;
  7094. Function List(campaignId: string; profileId: string; AQuery : string = '') : TCampaignCreativeAssociationsListResponse;
  7095. Function List(campaignId: string; profileId: string; AQuery : TCampaignCreativeAssociationslistOptions) : TCampaignCreativeAssociationsListResponse;
  7096. end;
  7097. { --------------------------------------------------------------------
  7098. TCampaignsResource
  7099. --------------------------------------------------------------------}
  7100. //Optional query Options for TCampaignsResource, method Insert
  7101. TCampaignsInsertOptions = Record
  7102. defaultLandingPageName : String;
  7103. defaultLandingPageUrl : String;
  7104. end;
  7105. //Optional query Options for TCampaignsResource, method List
  7106. TCampaignsListOptions = Record
  7107. advertiserGroupIds : int64;
  7108. advertiserIds : int64;
  7109. archived : boolean;
  7110. atLeastOneOptimizationActivity : boolean;
  7111. excludedIds : int64;
  7112. ids : int64;
  7113. maxResults : integer;
  7114. overriddenEventTagId : int64;
  7115. pageToken : String;
  7116. searchString : String;
  7117. sortField : String;
  7118. sortOrder : String;
  7119. subaccountId : int64;
  7120. end;
  7121. //Optional query Options for TCampaignsResource, method Patch
  7122. TCampaignsPatchOptions = Record
  7123. id : int64;
  7124. end;
  7125. TCampaignsResource = Class(TGoogleResource)
  7126. Public
  7127. Class Function ResourceName : String; override;
  7128. Class Function DefaultAPI : TGoogleAPIClass; override;
  7129. Function Get(id: string; profileId: string) : TCampaign;
  7130. Function Insert(profileId: string; aCampaign : TCampaign; AQuery : string = '') : TCampaign;
  7131. Function Insert(profileId: string; aCampaign : TCampaign; AQuery : TCampaignsinsertOptions) : TCampaign;
  7132. Function List(profileId: string; AQuery : string = '') : TCampaignsListResponse;
  7133. Function List(profileId: string; AQuery : TCampaignslistOptions) : TCampaignsListResponse;
  7134. Function Patch(profileId: string; aCampaign : TCampaign; AQuery : string = '') : TCampaign;
  7135. Function Patch(profileId: string; aCampaign : TCampaign; AQuery : TCampaignspatchOptions) : TCampaign;
  7136. Function Update(profileId: string; aCampaign : TCampaign) : TCampaign;
  7137. end;
  7138. { --------------------------------------------------------------------
  7139. TChangeLogsResource
  7140. --------------------------------------------------------------------}
  7141. //Optional query Options for TChangeLogsResource, method List
  7142. TChangeLogsListOptions = Record
  7143. action : String;
  7144. ids : int64;
  7145. maxChangeTime : String;
  7146. maxResults : integer;
  7147. minChangeTime : String;
  7148. objectIds : int64;
  7149. objectType : String;
  7150. pageToken : String;
  7151. searchString : String;
  7152. userProfileIds : int64;
  7153. end;
  7154. TChangeLogsResource = Class(TGoogleResource)
  7155. Public
  7156. Class Function ResourceName : String; override;
  7157. Class Function DefaultAPI : TGoogleAPIClass; override;
  7158. Function Get(id: string; profileId: string) : TChangeLog;
  7159. Function List(profileId: string; AQuery : string = '') : TChangeLogsListResponse;
  7160. Function List(profileId: string; AQuery : TChangeLogslistOptions) : TChangeLogsListResponse;
  7161. end;
  7162. { --------------------------------------------------------------------
  7163. TCitiesResource
  7164. --------------------------------------------------------------------}
  7165. //Optional query Options for TCitiesResource, method List
  7166. TCitiesListOptions = Record
  7167. countryDartIds : int64;
  7168. dartIds : int64;
  7169. namePrefix : String;
  7170. regionDartIds : int64;
  7171. end;
  7172. TCitiesResource = Class(TGoogleResource)
  7173. Public
  7174. Class Function ResourceName : String; override;
  7175. Class Function DefaultAPI : TGoogleAPIClass; override;
  7176. Function List(profileId: string; AQuery : string = '') : TCitiesListResponse;
  7177. Function List(profileId: string; AQuery : TCitieslistOptions) : TCitiesListResponse;
  7178. end;
  7179. { --------------------------------------------------------------------
  7180. TConnectionTypesResource
  7181. --------------------------------------------------------------------}
  7182. TConnectionTypesResource = Class(TGoogleResource)
  7183. Public
  7184. Class Function ResourceName : String; override;
  7185. Class Function DefaultAPI : TGoogleAPIClass; override;
  7186. Function Get(id: string; profileId: string) : TConnectionType;
  7187. Function List(profileId: string) : TConnectionTypesListResponse;
  7188. end;
  7189. { --------------------------------------------------------------------
  7190. TContentCategoriesResource
  7191. --------------------------------------------------------------------}
  7192. //Optional query Options for TContentCategoriesResource, method List
  7193. TContentCategoriesListOptions = Record
  7194. ids : int64;
  7195. maxResults : integer;
  7196. pageToken : String;
  7197. searchString : String;
  7198. sortField : String;
  7199. sortOrder : String;
  7200. end;
  7201. //Optional query Options for TContentCategoriesResource, method Patch
  7202. TContentCategoriesPatchOptions = Record
  7203. id : int64;
  7204. end;
  7205. TContentCategoriesResource = Class(TGoogleResource)
  7206. Public
  7207. Class Function ResourceName : String; override;
  7208. Class Function DefaultAPI : TGoogleAPIClass; override;
  7209. Procedure Delete(id: string; profileId: string);
  7210. Function Get(id: string; profileId: string) : TContentCategory;
  7211. Function Insert(profileId: string; aContentCategory : TContentCategory) : TContentCategory;
  7212. Function List(profileId: string; AQuery : string = '') : TContentCategoriesListResponse;
  7213. Function List(profileId: string; AQuery : TContentCategorieslistOptions) : TContentCategoriesListResponse;
  7214. Function Patch(profileId: string; aContentCategory : TContentCategory; AQuery : string = '') : TContentCategory;
  7215. Function Patch(profileId: string; aContentCategory : TContentCategory; AQuery : TContentCategoriespatchOptions) : TContentCategory;
  7216. Function Update(profileId: string; aContentCategory : TContentCategory) : TContentCategory;
  7217. end;
  7218. { --------------------------------------------------------------------
  7219. TConversionsResource
  7220. --------------------------------------------------------------------}
  7221. TConversionsResource = Class(TGoogleResource)
  7222. Public
  7223. Class Function ResourceName : String; override;
  7224. Class Function DefaultAPI : TGoogleAPIClass; override;
  7225. Function Batchinsert(profileId: string; aConversionsBatchInsertRequest : TConversionsBatchInsertRequest) : TConversionsBatchInsertResponse;
  7226. end;
  7227. { --------------------------------------------------------------------
  7228. TCountriesResource
  7229. --------------------------------------------------------------------}
  7230. TCountriesResource = Class(TGoogleResource)
  7231. Public
  7232. Class Function ResourceName : String; override;
  7233. Class Function DefaultAPI : TGoogleAPIClass; override;
  7234. Function Get(dartId: string; profileId: string) : TCountry;
  7235. Function List(profileId: string) : TCountriesListResponse;
  7236. end;
  7237. { --------------------------------------------------------------------
  7238. TCreativeAssetsResource
  7239. --------------------------------------------------------------------}
  7240. TCreativeAssetsResource = Class(TGoogleResource)
  7241. Public
  7242. Class Function ResourceName : String; override;
  7243. Class Function DefaultAPI : TGoogleAPIClass; override;
  7244. Function Insert(advertiserId: string; profileId: string; aCreativeAssetMetadata : TCreativeAssetMetadata) : TCreativeAssetMetadata;
  7245. end;
  7246. { --------------------------------------------------------------------
  7247. TCreativeFieldValuesResource
  7248. --------------------------------------------------------------------}
  7249. //Optional query Options for TCreativeFieldValuesResource, method List
  7250. TCreativeFieldValuesListOptions = Record
  7251. ids : int64;
  7252. maxResults : integer;
  7253. pageToken : String;
  7254. searchString : String;
  7255. sortField : String;
  7256. sortOrder : String;
  7257. end;
  7258. //Optional query Options for TCreativeFieldValuesResource, method Patch
  7259. TCreativeFieldValuesPatchOptions = Record
  7260. id : int64;
  7261. end;
  7262. TCreativeFieldValuesResource = Class(TGoogleResource)
  7263. Public
  7264. Class Function ResourceName : String; override;
  7265. Class Function DefaultAPI : TGoogleAPIClass; override;
  7266. Procedure Delete(creativeFieldId: string; id: string; profileId: string);
  7267. Function Get(creativeFieldId: string; id: string; profileId: string) : TCreativeFieldValue;
  7268. Function Insert(creativeFieldId: string; profileId: string; aCreativeFieldValue : TCreativeFieldValue) : TCreativeFieldValue;
  7269. Function List(creativeFieldId: string; profileId: string; AQuery : string = '') : TCreativeFieldValuesListResponse;
  7270. Function List(creativeFieldId: string; profileId: string; AQuery : TCreativeFieldValueslistOptions) : TCreativeFieldValuesListResponse;
  7271. Function Patch(creativeFieldId: string; profileId: string; aCreativeFieldValue : TCreativeFieldValue; AQuery : string = '') : TCreativeFieldValue;
  7272. Function Patch(creativeFieldId: string; profileId: string; aCreativeFieldValue : TCreativeFieldValue; AQuery : TCreativeFieldValuespatchOptions) : TCreativeFieldValue;
  7273. Function Update(creativeFieldId: string; profileId: string; aCreativeFieldValue : TCreativeFieldValue) : TCreativeFieldValue;
  7274. end;
  7275. { --------------------------------------------------------------------
  7276. TCreativeFieldsResource
  7277. --------------------------------------------------------------------}
  7278. //Optional query Options for TCreativeFieldsResource, method List
  7279. TCreativeFieldsListOptions = Record
  7280. advertiserIds : int64;
  7281. ids : int64;
  7282. maxResults : integer;
  7283. pageToken : String;
  7284. searchString : String;
  7285. sortField : String;
  7286. sortOrder : String;
  7287. end;
  7288. //Optional query Options for TCreativeFieldsResource, method Patch
  7289. TCreativeFieldsPatchOptions = Record
  7290. id : int64;
  7291. end;
  7292. TCreativeFieldsResource = Class(TGoogleResource)
  7293. Public
  7294. Class Function ResourceName : String; override;
  7295. Class Function DefaultAPI : TGoogleAPIClass; override;
  7296. Procedure Delete(id: string; profileId: string);
  7297. Function Get(id: string; profileId: string) : TCreativeField;
  7298. Function Insert(profileId: string; aCreativeField : TCreativeField) : TCreativeField;
  7299. Function List(profileId: string; AQuery : string = '') : TCreativeFieldsListResponse;
  7300. Function List(profileId: string; AQuery : TCreativeFieldslistOptions) : TCreativeFieldsListResponse;
  7301. Function Patch(profileId: string; aCreativeField : TCreativeField; AQuery : string = '') : TCreativeField;
  7302. Function Patch(profileId: string; aCreativeField : TCreativeField; AQuery : TCreativeFieldspatchOptions) : TCreativeField;
  7303. Function Update(profileId: string; aCreativeField : TCreativeField) : TCreativeField;
  7304. end;
  7305. { --------------------------------------------------------------------
  7306. TCreativeGroupsResource
  7307. --------------------------------------------------------------------}
  7308. //Optional query Options for TCreativeGroupsResource, method List
  7309. TCreativeGroupsListOptions = Record
  7310. advertiserIds : int64;
  7311. groupNumber : integer;
  7312. ids : int64;
  7313. maxResults : integer;
  7314. pageToken : String;
  7315. searchString : String;
  7316. sortField : String;
  7317. sortOrder : String;
  7318. end;
  7319. //Optional query Options for TCreativeGroupsResource, method Patch
  7320. TCreativeGroupsPatchOptions = Record
  7321. id : int64;
  7322. end;
  7323. TCreativeGroupsResource = Class(TGoogleResource)
  7324. Public
  7325. Class Function ResourceName : String; override;
  7326. Class Function DefaultAPI : TGoogleAPIClass; override;
  7327. Function Get(id: string; profileId: string) : TCreativeGroup;
  7328. Function Insert(profileId: string; aCreativeGroup : TCreativeGroup) : TCreativeGroup;
  7329. Function List(profileId: string; AQuery : string = '') : TCreativeGroupsListResponse;
  7330. Function List(profileId: string; AQuery : TCreativeGroupslistOptions) : TCreativeGroupsListResponse;
  7331. Function Patch(profileId: string; aCreativeGroup : TCreativeGroup; AQuery : string = '') : TCreativeGroup;
  7332. Function Patch(profileId: string; aCreativeGroup : TCreativeGroup; AQuery : TCreativeGroupspatchOptions) : TCreativeGroup;
  7333. Function Update(profileId: string; aCreativeGroup : TCreativeGroup) : TCreativeGroup;
  7334. end;
  7335. { --------------------------------------------------------------------
  7336. TCreativesResource
  7337. --------------------------------------------------------------------}
  7338. //Optional query Options for TCreativesResource, method List
  7339. TCreativesListOptions = Record
  7340. active : boolean;
  7341. advertiserId : int64;
  7342. archived : boolean;
  7343. campaignId : int64;
  7344. companionCreativeIds : int64;
  7345. creativeFieldIds : int64;
  7346. ids : int64;
  7347. maxResults : integer;
  7348. pageToken : String;
  7349. renderingIds : int64;
  7350. searchString : String;
  7351. sizeIds : int64;
  7352. sortField : String;
  7353. sortOrder : String;
  7354. studioCreativeId : int64;
  7355. types : String;
  7356. end;
  7357. //Optional query Options for TCreativesResource, method Patch
  7358. TCreativesPatchOptions = Record
  7359. id : int64;
  7360. end;
  7361. TCreativesResource = Class(TGoogleResource)
  7362. Public
  7363. Class Function ResourceName : String; override;
  7364. Class Function DefaultAPI : TGoogleAPIClass; override;
  7365. Function Get(id: string; profileId: string) : TCreative;
  7366. Function Insert(profileId: string; aCreative : TCreative) : TCreative;
  7367. Function List(profileId: string; AQuery : string = '') : TCreativesListResponse;
  7368. Function List(profileId: string; AQuery : TCreativeslistOptions) : TCreativesListResponse;
  7369. Function Patch(profileId: string; aCreative : TCreative; AQuery : string = '') : TCreative;
  7370. Function Patch(profileId: string; aCreative : TCreative; AQuery : TCreativespatchOptions) : TCreative;
  7371. Function Update(profileId: string; aCreative : TCreative) : TCreative;
  7372. end;
  7373. { --------------------------------------------------------------------
  7374. TDimensionValuesResource
  7375. --------------------------------------------------------------------}
  7376. //Optional query Options for TDimensionValuesResource, method Query
  7377. TDimensionValuesQueryOptions = Record
  7378. maxResults : integer;
  7379. pageToken : String;
  7380. end;
  7381. TDimensionValuesResource = Class(TGoogleResource)
  7382. Public
  7383. Class Function ResourceName : String; override;
  7384. Class Function DefaultAPI : TGoogleAPIClass; override;
  7385. Function Query(profileId: string; aDimensionValueRequest : TDimensionValueRequest; AQuery : string = '') : TDimensionValueList;
  7386. Function Query(profileId: string; aDimensionValueRequest : TDimensionValueRequest; AQuery : TDimensionValuesqueryOptions) : TDimensionValueList;
  7387. end;
  7388. { --------------------------------------------------------------------
  7389. TDirectorySiteContactsResource
  7390. --------------------------------------------------------------------}
  7391. //Optional query Options for TDirectorySiteContactsResource, method List
  7392. TDirectorySiteContactsListOptions = Record
  7393. directorySiteIds : int64;
  7394. ids : int64;
  7395. maxResults : integer;
  7396. pageToken : String;
  7397. searchString : String;
  7398. sortField : String;
  7399. sortOrder : String;
  7400. end;
  7401. TDirectorySiteContactsResource = Class(TGoogleResource)
  7402. Public
  7403. Class Function ResourceName : String; override;
  7404. Class Function DefaultAPI : TGoogleAPIClass; override;
  7405. Function Get(id: string; profileId: string) : TDirectorySiteContact;
  7406. Function List(profileId: string; AQuery : string = '') : TDirectorySiteContactsListResponse;
  7407. Function List(profileId: string; AQuery : TDirectorySiteContactslistOptions) : TDirectorySiteContactsListResponse;
  7408. end;
  7409. { --------------------------------------------------------------------
  7410. TDirectorySitesResource
  7411. --------------------------------------------------------------------}
  7412. //Optional query Options for TDirectorySitesResource, method List
  7413. TDirectorySitesListOptions = Record
  7414. acceptsInStreamVideoPlacements : boolean;
  7415. acceptsInterstitialPlacements : boolean;
  7416. acceptsPublisherPaidPlacements : boolean;
  7417. active : boolean;
  7418. countryId : int64;
  7419. dfp_network_code : String;
  7420. ids : int64;
  7421. maxResults : integer;
  7422. pageToken : String;
  7423. parentId : int64;
  7424. searchString : String;
  7425. sortField : String;
  7426. sortOrder : String;
  7427. end;
  7428. TDirectorySitesResource = Class(TGoogleResource)
  7429. Public
  7430. Class Function ResourceName : String; override;
  7431. Class Function DefaultAPI : TGoogleAPIClass; override;
  7432. Function Get(id: string; profileId: string) : TDirectorySite;
  7433. Function Insert(profileId: string; aDirectorySite : TDirectorySite) : TDirectorySite;
  7434. Function List(profileId: string; AQuery : string = '') : TDirectorySitesListResponse;
  7435. Function List(profileId: string; AQuery : TDirectorySiteslistOptions) : TDirectorySitesListResponse;
  7436. end;
  7437. { --------------------------------------------------------------------
  7438. TDynamicTargetingKeysResource
  7439. --------------------------------------------------------------------}
  7440. //Optional query Options for TDynamicTargetingKeysResource, method Delete
  7441. TDynamicTargetingKeysDeleteOptions = Record
  7442. _name : String;
  7443. objectType : String;
  7444. end;
  7445. //Optional query Options for TDynamicTargetingKeysResource, method List
  7446. TDynamicTargetingKeysListOptions = Record
  7447. advertiserId : int64;
  7448. names : String;
  7449. objectId : int64;
  7450. objectType : String;
  7451. end;
  7452. TDynamicTargetingKeysResource = Class(TGoogleResource)
  7453. Public
  7454. Class Function ResourceName : String; override;
  7455. Class Function DefaultAPI : TGoogleAPIClass; override;
  7456. Procedure Delete(objectId: string; profileId: string; AQuery : string = '');
  7457. Procedure Delete(objectId: string; profileId: string; AQuery : TDynamicTargetingKeysdeleteOptions);
  7458. Function Insert(profileId: string; aDynamicTargetingKey : TDynamicTargetingKey) : TDynamicTargetingKey;
  7459. Function List(profileId: string; AQuery : string = '') : TDynamicTargetingKeysListResponse;
  7460. Function List(profileId: string; AQuery : TDynamicTargetingKeyslistOptions) : TDynamicTargetingKeysListResponse;
  7461. end;
  7462. { --------------------------------------------------------------------
  7463. TEventTagsResource
  7464. --------------------------------------------------------------------}
  7465. //Optional query Options for TEventTagsResource, method List
  7466. TEventTagsListOptions = Record
  7467. adId : int64;
  7468. advertiserId : int64;
  7469. campaignId : int64;
  7470. definitionsOnly : boolean;
  7471. enabled : boolean;
  7472. eventTagTypes : String;
  7473. ids : int64;
  7474. searchString : String;
  7475. sortField : String;
  7476. sortOrder : String;
  7477. end;
  7478. //Optional query Options for TEventTagsResource, method Patch
  7479. TEventTagsPatchOptions = Record
  7480. id : int64;
  7481. end;
  7482. TEventTagsResource = Class(TGoogleResource)
  7483. Public
  7484. Class Function ResourceName : String; override;
  7485. Class Function DefaultAPI : TGoogleAPIClass; override;
  7486. Procedure Delete(id: string; profileId: string);
  7487. Function Get(id: string; profileId: string) : TEventTag;
  7488. Function Insert(profileId: string; aEventTag : TEventTag) : TEventTag;
  7489. Function List(profileId: string; AQuery : string = '') : TEventTagsListResponse;
  7490. Function List(profileId: string; AQuery : TEventTagslistOptions) : TEventTagsListResponse;
  7491. Function Patch(profileId: string; aEventTag : TEventTag; AQuery : string = '') : TEventTag;
  7492. Function Patch(profileId: string; aEventTag : TEventTag; AQuery : TEventTagspatchOptions) : TEventTag;
  7493. Function Update(profileId: string; aEventTag : TEventTag) : TEventTag;
  7494. end;
  7495. { --------------------------------------------------------------------
  7496. TFilesResource
  7497. --------------------------------------------------------------------}
  7498. //Optional query Options for TFilesResource, method List
  7499. TFilesListOptions = Record
  7500. maxResults : integer;
  7501. pageToken : String;
  7502. scope : String;
  7503. sortField : String;
  7504. sortOrder : String;
  7505. end;
  7506. TFilesResource = Class(TGoogleResource)
  7507. Public
  7508. Class Function ResourceName : String; override;
  7509. Class Function DefaultAPI : TGoogleAPIClass; override;
  7510. Function Get(fileId: string; reportId: string) : TFile;
  7511. Function List(profileId: string; AQuery : string = '') : TFileList;
  7512. Function List(profileId: string; AQuery : TFileslistOptions) : TFileList;
  7513. end;
  7514. { --------------------------------------------------------------------
  7515. TFloodlightActivitiesResource
  7516. --------------------------------------------------------------------}
  7517. //Optional query Options for TFloodlightActivitiesResource, method Generatetag
  7518. TFloodlightActivitiesGeneratetagOptions = Record
  7519. floodlightActivityId : int64;
  7520. end;
  7521. //Optional query Options for TFloodlightActivitiesResource, method List
  7522. TFloodlightActivitiesListOptions = Record
  7523. advertiserId : int64;
  7524. floodlightActivityGroupIds : int64;
  7525. floodlightActivityGroupName : String;
  7526. floodlightActivityGroupTagString : String;
  7527. floodlightActivityGroupType : String;
  7528. floodlightConfigurationId : int64;
  7529. ids : int64;
  7530. maxResults : integer;
  7531. pageToken : String;
  7532. searchString : String;
  7533. sortField : String;
  7534. sortOrder : String;
  7535. tagString : String;
  7536. end;
  7537. //Optional query Options for TFloodlightActivitiesResource, method Patch
  7538. TFloodlightActivitiesPatchOptions = Record
  7539. id : int64;
  7540. end;
  7541. TFloodlightActivitiesResource = Class(TGoogleResource)
  7542. Public
  7543. Class Function ResourceName : String; override;
  7544. Class Function DefaultAPI : TGoogleAPIClass; override;
  7545. Procedure Delete(id: string; profileId: string);
  7546. Function Generatetag(profileId: string; AQuery : string = '') : TFloodlightActivitiesGenerateTagResponse;
  7547. Function Generatetag(profileId: string; AQuery : TFloodlightActivitiesgeneratetagOptions) : TFloodlightActivitiesGenerateTagResponse;
  7548. Function Get(id: string; profileId: string) : TFloodlightActivity;
  7549. Function Insert(profileId: string; aFloodlightActivity : TFloodlightActivity) : TFloodlightActivity;
  7550. Function List(profileId: string; AQuery : string = '') : TFloodlightActivitiesListResponse;
  7551. Function List(profileId: string; AQuery : TFloodlightActivitieslistOptions) : TFloodlightActivitiesListResponse;
  7552. Function Patch(profileId: string; aFloodlightActivity : TFloodlightActivity; AQuery : string = '') : TFloodlightActivity;
  7553. Function Patch(profileId: string; aFloodlightActivity : TFloodlightActivity; AQuery : TFloodlightActivitiespatchOptions) : TFloodlightActivity;
  7554. Function Update(profileId: string; aFloodlightActivity : TFloodlightActivity) : TFloodlightActivity;
  7555. end;
  7556. { --------------------------------------------------------------------
  7557. TFloodlightActivityGroupsResource
  7558. --------------------------------------------------------------------}
  7559. //Optional query Options for TFloodlightActivityGroupsResource, method List
  7560. TFloodlightActivityGroupsListOptions = Record
  7561. advertiserId : int64;
  7562. floodlightConfigurationId : int64;
  7563. ids : int64;
  7564. maxResults : integer;
  7565. pageToken : String;
  7566. searchString : String;
  7567. sortField : String;
  7568. sortOrder : String;
  7569. _type : String;
  7570. end;
  7571. //Optional query Options for TFloodlightActivityGroupsResource, method Patch
  7572. TFloodlightActivityGroupsPatchOptions = Record
  7573. id : int64;
  7574. end;
  7575. TFloodlightActivityGroupsResource = Class(TGoogleResource)
  7576. Public
  7577. Class Function ResourceName : String; override;
  7578. Class Function DefaultAPI : TGoogleAPIClass; override;
  7579. Function Get(id: string; profileId: string) : TFloodlightActivityGroup;
  7580. Function Insert(profileId: string; aFloodlightActivityGroup : TFloodlightActivityGroup) : TFloodlightActivityGroup;
  7581. Function List(profileId: string; AQuery : string = '') : TFloodlightActivityGroupsListResponse;
  7582. Function List(profileId: string; AQuery : TFloodlightActivityGroupslistOptions) : TFloodlightActivityGroupsListResponse;
  7583. Function Patch(profileId: string; aFloodlightActivityGroup : TFloodlightActivityGroup; AQuery : string = '') : TFloodlightActivityGroup;
  7584. Function Patch(profileId: string; aFloodlightActivityGroup : TFloodlightActivityGroup; AQuery : TFloodlightActivityGroupspatchOptions) : TFloodlightActivityGroup;
  7585. Function Update(profileId: string; aFloodlightActivityGroup : TFloodlightActivityGroup) : TFloodlightActivityGroup;
  7586. end;
  7587. { --------------------------------------------------------------------
  7588. TFloodlightConfigurationsResource
  7589. --------------------------------------------------------------------}
  7590. //Optional query Options for TFloodlightConfigurationsResource, method List
  7591. TFloodlightConfigurationsListOptions = Record
  7592. ids : int64;
  7593. end;
  7594. //Optional query Options for TFloodlightConfigurationsResource, method Patch
  7595. TFloodlightConfigurationsPatchOptions = Record
  7596. id : int64;
  7597. end;
  7598. TFloodlightConfigurationsResource = Class(TGoogleResource)
  7599. Public
  7600. Class Function ResourceName : String; override;
  7601. Class Function DefaultAPI : TGoogleAPIClass; override;
  7602. Function Get(id: string; profileId: string) : TFloodlightConfiguration;
  7603. Function List(profileId: string; AQuery : string = '') : TFloodlightConfigurationsListResponse;
  7604. Function List(profileId: string; AQuery : TFloodlightConfigurationslistOptions) : TFloodlightConfigurationsListResponse;
  7605. Function Patch(profileId: string; aFloodlightConfiguration : TFloodlightConfiguration; AQuery : string = '') : TFloodlightConfiguration;
  7606. Function Patch(profileId: string; aFloodlightConfiguration : TFloodlightConfiguration; AQuery : TFloodlightConfigurationspatchOptions) : TFloodlightConfiguration;
  7607. Function Update(profileId: string; aFloodlightConfiguration : TFloodlightConfiguration) : TFloodlightConfiguration;
  7608. end;
  7609. { --------------------------------------------------------------------
  7610. TInventoryItemsResource
  7611. --------------------------------------------------------------------}
  7612. //Optional query Options for TInventoryItemsResource, method List
  7613. TInventoryItemsListOptions = Record
  7614. ids : int64;
  7615. inPlan : boolean;
  7616. maxResults : integer;
  7617. orderId : int64;
  7618. pageToken : String;
  7619. siteId : int64;
  7620. sortField : String;
  7621. sortOrder : String;
  7622. _type : String;
  7623. end;
  7624. TInventoryItemsResource = Class(TGoogleResource)
  7625. Public
  7626. Class Function ResourceName : String; override;
  7627. Class Function DefaultAPI : TGoogleAPIClass; override;
  7628. Function Get(id: string; profileId: string; projectId: string) : TInventoryItem;
  7629. Function List(profileId: string; projectId: string; AQuery : string = '') : TInventoryItemsListResponse;
  7630. Function List(profileId: string; projectId: string; AQuery : TInventoryItemslistOptions) : TInventoryItemsListResponse;
  7631. end;
  7632. { --------------------------------------------------------------------
  7633. TLandingPagesResource
  7634. --------------------------------------------------------------------}
  7635. //Optional query Options for TLandingPagesResource, method Patch
  7636. TLandingPagesPatchOptions = Record
  7637. id : int64;
  7638. end;
  7639. TLandingPagesResource = Class(TGoogleResource)
  7640. Public
  7641. Class Function ResourceName : String; override;
  7642. Class Function DefaultAPI : TGoogleAPIClass; override;
  7643. Procedure Delete(campaignId: string; id: string; profileId: string);
  7644. Function Get(campaignId: string; id: string; profileId: string) : TLandingPage;
  7645. Function Insert(campaignId: string; profileId: string; aLandingPage : TLandingPage) : TLandingPage;
  7646. Function List(campaignId: string; profileId: string) : TLandingPagesListResponse;
  7647. Function Patch(campaignId: string; profileId: string; aLandingPage : TLandingPage; AQuery : string = '') : TLandingPage;
  7648. Function Patch(campaignId: string; profileId: string; aLandingPage : TLandingPage; AQuery : TLandingPagespatchOptions) : TLandingPage;
  7649. Function Update(campaignId: string; profileId: string; aLandingPage : TLandingPage) : TLandingPage;
  7650. end;
  7651. { --------------------------------------------------------------------
  7652. TMetrosResource
  7653. --------------------------------------------------------------------}
  7654. TMetrosResource = Class(TGoogleResource)
  7655. Public
  7656. Class Function ResourceName : String; override;
  7657. Class Function DefaultAPI : TGoogleAPIClass; override;
  7658. Function List(profileId: string) : TMetrosListResponse;
  7659. end;
  7660. { --------------------------------------------------------------------
  7661. TMobileCarriersResource
  7662. --------------------------------------------------------------------}
  7663. TMobileCarriersResource = Class(TGoogleResource)
  7664. Public
  7665. Class Function ResourceName : String; override;
  7666. Class Function DefaultAPI : TGoogleAPIClass; override;
  7667. Function Get(id: string; profileId: string) : TMobileCarrier;
  7668. Function List(profileId: string) : TMobileCarriersListResponse;
  7669. end;
  7670. { --------------------------------------------------------------------
  7671. TOperatingSystemVersionsResource
  7672. --------------------------------------------------------------------}
  7673. TOperatingSystemVersionsResource = Class(TGoogleResource)
  7674. Public
  7675. Class Function ResourceName : String; override;
  7676. Class Function DefaultAPI : TGoogleAPIClass; override;
  7677. Function Get(id: string; profileId: string) : TOperatingSystemVersion;
  7678. Function List(profileId: string) : TOperatingSystemVersionsListResponse;
  7679. end;
  7680. { --------------------------------------------------------------------
  7681. TOperatingSystemsResource
  7682. --------------------------------------------------------------------}
  7683. TOperatingSystemsResource = Class(TGoogleResource)
  7684. Public
  7685. Class Function ResourceName : String; override;
  7686. Class Function DefaultAPI : TGoogleAPIClass; override;
  7687. Function Get(dartId: string; profileId: string) : TOperatingSystem;
  7688. Function List(profileId: string) : TOperatingSystemsListResponse;
  7689. end;
  7690. { --------------------------------------------------------------------
  7691. TOrderDocumentsResource
  7692. --------------------------------------------------------------------}
  7693. //Optional query Options for TOrderDocumentsResource, method List
  7694. TOrderDocumentsListOptions = Record
  7695. approved : boolean;
  7696. ids : int64;
  7697. maxResults : integer;
  7698. orderId : int64;
  7699. pageToken : String;
  7700. searchString : String;
  7701. siteId : int64;
  7702. sortField : String;
  7703. sortOrder : String;
  7704. end;
  7705. TOrderDocumentsResource = Class(TGoogleResource)
  7706. Public
  7707. Class Function ResourceName : String; override;
  7708. Class Function DefaultAPI : TGoogleAPIClass; override;
  7709. Function Get(id: string; profileId: string; projectId: string) : TOrderDocument;
  7710. Function List(profileId: string; projectId: string; AQuery : string = '') : TOrderDocumentsListResponse;
  7711. Function List(profileId: string; projectId: string; AQuery : TOrderDocumentslistOptions) : TOrderDocumentsListResponse;
  7712. end;
  7713. { --------------------------------------------------------------------
  7714. TOrdersResource
  7715. --------------------------------------------------------------------}
  7716. //Optional query Options for TOrdersResource, method List
  7717. TOrdersListOptions = Record
  7718. ids : int64;
  7719. maxResults : integer;
  7720. pageToken : String;
  7721. searchString : String;
  7722. siteId : int64;
  7723. sortField : String;
  7724. sortOrder : String;
  7725. end;
  7726. TOrdersResource = Class(TGoogleResource)
  7727. Public
  7728. Class Function ResourceName : String; override;
  7729. Class Function DefaultAPI : TGoogleAPIClass; override;
  7730. Function Get(id: string; profileId: string; projectId: string) : TOrder;
  7731. Function List(profileId: string; projectId: string; AQuery : string = '') : TOrdersListResponse;
  7732. Function List(profileId: string; projectId: string; AQuery : TOrderslistOptions) : TOrdersListResponse;
  7733. end;
  7734. { --------------------------------------------------------------------
  7735. TPlacementGroupsResource
  7736. --------------------------------------------------------------------}
  7737. //Optional query Options for TPlacementGroupsResource, method List
  7738. TPlacementGroupsListOptions = Record
  7739. advertiserIds : int64;
  7740. archived : boolean;
  7741. campaignIds : int64;
  7742. contentCategoryIds : int64;
  7743. directorySiteIds : int64;
  7744. ids : int64;
  7745. maxEndDate : String;
  7746. maxResults : integer;
  7747. maxStartDate : String;
  7748. minEndDate : String;
  7749. minStartDate : String;
  7750. pageToken : String;
  7751. placementGroupType : String;
  7752. placementStrategyIds : int64;
  7753. pricingTypes : String;
  7754. searchString : String;
  7755. siteIds : int64;
  7756. sortField : String;
  7757. sortOrder : String;
  7758. end;
  7759. //Optional query Options for TPlacementGroupsResource, method Patch
  7760. TPlacementGroupsPatchOptions = Record
  7761. id : int64;
  7762. end;
  7763. TPlacementGroupsResource = Class(TGoogleResource)
  7764. Public
  7765. Class Function ResourceName : String; override;
  7766. Class Function DefaultAPI : TGoogleAPIClass; override;
  7767. Function Get(id: string; profileId: string) : TPlacementGroup;
  7768. Function Insert(profileId: string; aPlacementGroup : TPlacementGroup) : TPlacementGroup;
  7769. Function List(profileId: string; AQuery : string = '') : TPlacementGroupsListResponse;
  7770. Function List(profileId: string; AQuery : TPlacementGroupslistOptions) : TPlacementGroupsListResponse;
  7771. Function Patch(profileId: string; aPlacementGroup : TPlacementGroup; AQuery : string = '') : TPlacementGroup;
  7772. Function Patch(profileId: string; aPlacementGroup : TPlacementGroup; AQuery : TPlacementGroupspatchOptions) : TPlacementGroup;
  7773. Function Update(profileId: string; aPlacementGroup : TPlacementGroup) : TPlacementGroup;
  7774. end;
  7775. { --------------------------------------------------------------------
  7776. TPlacementStrategiesResource
  7777. --------------------------------------------------------------------}
  7778. //Optional query Options for TPlacementStrategiesResource, method List
  7779. TPlacementStrategiesListOptions = Record
  7780. ids : int64;
  7781. maxResults : integer;
  7782. pageToken : String;
  7783. searchString : String;
  7784. sortField : String;
  7785. sortOrder : String;
  7786. end;
  7787. //Optional query Options for TPlacementStrategiesResource, method Patch
  7788. TPlacementStrategiesPatchOptions = Record
  7789. id : int64;
  7790. end;
  7791. TPlacementStrategiesResource = Class(TGoogleResource)
  7792. Public
  7793. Class Function ResourceName : String; override;
  7794. Class Function DefaultAPI : TGoogleAPIClass; override;
  7795. Procedure Delete(id: string; profileId: string);
  7796. Function Get(id: string; profileId: string) : TPlacementStrategy;
  7797. Function Insert(profileId: string; aPlacementStrategy : TPlacementStrategy) : TPlacementStrategy;
  7798. Function List(profileId: string; AQuery : string = '') : TPlacementStrategiesListResponse;
  7799. Function List(profileId: string; AQuery : TPlacementStrategieslistOptions) : TPlacementStrategiesListResponse;
  7800. Function Patch(profileId: string; aPlacementStrategy : TPlacementStrategy; AQuery : string = '') : TPlacementStrategy;
  7801. Function Patch(profileId: string; aPlacementStrategy : TPlacementStrategy; AQuery : TPlacementStrategiespatchOptions) : TPlacementStrategy;
  7802. Function Update(profileId: string; aPlacementStrategy : TPlacementStrategy) : TPlacementStrategy;
  7803. end;
  7804. { --------------------------------------------------------------------
  7805. TPlacementsResource
  7806. --------------------------------------------------------------------}
  7807. //Optional query Options for TPlacementsResource, method Generatetags
  7808. TPlacementsGeneratetagsOptions = Record
  7809. campaignId : int64;
  7810. placementIds : int64;
  7811. tagFormats : String;
  7812. end;
  7813. //Optional query Options for TPlacementsResource, method List
  7814. TPlacementsListOptions = Record
  7815. advertiserIds : int64;
  7816. archived : boolean;
  7817. campaignIds : int64;
  7818. compatibilities : String;
  7819. contentCategoryIds : int64;
  7820. directorySiteIds : int64;
  7821. groupIds : int64;
  7822. ids : int64;
  7823. maxEndDate : String;
  7824. maxResults : integer;
  7825. maxStartDate : String;
  7826. minEndDate : String;
  7827. minStartDate : String;
  7828. pageToken : String;
  7829. paymentSource : String;
  7830. placementStrategyIds : int64;
  7831. pricingTypes : String;
  7832. searchString : String;
  7833. siteIds : int64;
  7834. sizeIds : int64;
  7835. sortField : String;
  7836. sortOrder : String;
  7837. end;
  7838. //Optional query Options for TPlacementsResource, method Patch
  7839. TPlacementsPatchOptions = Record
  7840. id : int64;
  7841. end;
  7842. TPlacementsResource = Class(TGoogleResource)
  7843. Public
  7844. Class Function ResourceName : String; override;
  7845. Class Function DefaultAPI : TGoogleAPIClass; override;
  7846. Function Generatetags(profileId: string; AQuery : string = '') : TPlacementsGenerateTagsResponse;
  7847. Function Generatetags(profileId: string; AQuery : TPlacementsgeneratetagsOptions) : TPlacementsGenerateTagsResponse;
  7848. Function Get(id: string; profileId: string) : TPlacement;
  7849. Function Insert(profileId: string; aPlacement : TPlacement) : TPlacement;
  7850. Function List(profileId: string; AQuery : string = '') : TPlacementsListResponse;
  7851. Function List(profileId: string; AQuery : TPlacementslistOptions) : TPlacementsListResponse;
  7852. Function Patch(profileId: string; aPlacement : TPlacement; AQuery : string = '') : TPlacement;
  7853. Function Patch(profileId: string; aPlacement : TPlacement; AQuery : TPlacementspatchOptions) : TPlacement;
  7854. Function Update(profileId: string; aPlacement : TPlacement) : TPlacement;
  7855. end;
  7856. { --------------------------------------------------------------------
  7857. TPlatformTypesResource
  7858. --------------------------------------------------------------------}
  7859. TPlatformTypesResource = Class(TGoogleResource)
  7860. Public
  7861. Class Function ResourceName : String; override;
  7862. Class Function DefaultAPI : TGoogleAPIClass; override;
  7863. Function Get(id: string; profileId: string) : TPlatformType;
  7864. Function List(profileId: string) : TPlatformTypesListResponse;
  7865. end;
  7866. { --------------------------------------------------------------------
  7867. TPostalCodesResource
  7868. --------------------------------------------------------------------}
  7869. TPostalCodesResource = Class(TGoogleResource)
  7870. Public
  7871. Class Function ResourceName : String; override;
  7872. Class Function DefaultAPI : TGoogleAPIClass; override;
  7873. Function Get(code: string; profileId: string) : TPostalCode;
  7874. Function List(profileId: string) : TPostalCodesListResponse;
  7875. end;
  7876. { --------------------------------------------------------------------
  7877. TProjectsResource
  7878. --------------------------------------------------------------------}
  7879. //Optional query Options for TProjectsResource, method List
  7880. TProjectsListOptions = Record
  7881. advertiserIds : int64;
  7882. ids : int64;
  7883. maxResults : integer;
  7884. pageToken : String;
  7885. searchString : String;
  7886. sortField : String;
  7887. sortOrder : String;
  7888. end;
  7889. TProjectsResource = Class(TGoogleResource)
  7890. Public
  7891. Class Function ResourceName : String; override;
  7892. Class Function DefaultAPI : TGoogleAPIClass; override;
  7893. Function Get(id: string; profileId: string) : TProject;
  7894. Function List(profileId: string; AQuery : string = '') : TProjectsListResponse;
  7895. Function List(profileId: string; AQuery : TProjectslistOptions) : TProjectsListResponse;
  7896. end;
  7897. { --------------------------------------------------------------------
  7898. TRegionsResource
  7899. --------------------------------------------------------------------}
  7900. TRegionsResource = Class(TGoogleResource)
  7901. Public
  7902. Class Function ResourceName : String; override;
  7903. Class Function DefaultAPI : TGoogleAPIClass; override;
  7904. Function List(profileId: string) : TRegionsListResponse;
  7905. end;
  7906. { --------------------------------------------------------------------
  7907. TRemarketingListSharesResource
  7908. --------------------------------------------------------------------}
  7909. //Optional query Options for TRemarketingListSharesResource, method Patch
  7910. TRemarketingListSharesPatchOptions = Record
  7911. remarketingListId : int64;
  7912. end;
  7913. TRemarketingListSharesResource = Class(TGoogleResource)
  7914. Public
  7915. Class Function ResourceName : String; override;
  7916. Class Function DefaultAPI : TGoogleAPIClass; override;
  7917. Function Get(profileId: string; remarketingListId: string) : TRemarketingListShare;
  7918. Function Patch(profileId: string; aRemarketingListShare : TRemarketingListShare; AQuery : string = '') : TRemarketingListShare;
  7919. Function Patch(profileId: string; aRemarketingListShare : TRemarketingListShare; AQuery : TRemarketingListSharespatchOptions) : TRemarketingListShare;
  7920. Function Update(profileId: string; aRemarketingListShare : TRemarketingListShare) : TRemarketingListShare;
  7921. end;
  7922. { --------------------------------------------------------------------
  7923. TRemarketingListsResource
  7924. --------------------------------------------------------------------}
  7925. //Optional query Options for TRemarketingListsResource, method List
  7926. TRemarketingListsListOptions = Record
  7927. active : boolean;
  7928. advertiserId : int64;
  7929. floodlightActivityId : int64;
  7930. maxResults : integer;
  7931. _name : String;
  7932. pageToken : String;
  7933. sortField : String;
  7934. sortOrder : String;
  7935. end;
  7936. //Optional query Options for TRemarketingListsResource, method Patch
  7937. TRemarketingListsPatchOptions = Record
  7938. id : int64;
  7939. end;
  7940. TRemarketingListsResource = Class(TGoogleResource)
  7941. Public
  7942. Class Function ResourceName : String; override;
  7943. Class Function DefaultAPI : TGoogleAPIClass; override;
  7944. Function Get(id: string; profileId: string) : TRemarketingList;
  7945. Function Insert(profileId: string; aRemarketingList : TRemarketingList) : TRemarketingList;
  7946. Function List(profileId: string; AQuery : string = '') : TRemarketingListsListResponse;
  7947. Function List(profileId: string; AQuery : TRemarketingListslistOptions) : TRemarketingListsListResponse;
  7948. Function Patch(profileId: string; aRemarketingList : TRemarketingList; AQuery : string = '') : TRemarketingList;
  7949. Function Patch(profileId: string; aRemarketingList : TRemarketingList; AQuery : TRemarketingListspatchOptions) : TRemarketingList;
  7950. Function Update(profileId: string; aRemarketingList : TRemarketingList) : TRemarketingList;
  7951. end;
  7952. { --------------------------------------------------------------------
  7953. TReportsCompatibleFieldsResource
  7954. --------------------------------------------------------------------}
  7955. TReportsCompatibleFieldsResource = Class(TGoogleResource)
  7956. Public
  7957. Class Function ResourceName : String; override;
  7958. Class Function DefaultAPI : TGoogleAPIClass; override;
  7959. Function Query(profileId: string; aReport : TReport) : TCompatibleFields;
  7960. end;
  7961. { --------------------------------------------------------------------
  7962. TReportsFilesResource
  7963. --------------------------------------------------------------------}
  7964. //Optional query Options for TReportsFilesResource, method List
  7965. TReportsFilesListOptions = Record
  7966. maxResults : integer;
  7967. pageToken : String;
  7968. sortField : String;
  7969. sortOrder : String;
  7970. end;
  7971. TReportsFilesResource = Class(TGoogleResource)
  7972. Public
  7973. Class Function ResourceName : String; override;
  7974. Class Function DefaultAPI : TGoogleAPIClass; override;
  7975. Function Get(fileId: string; profileId: string; reportId: string) : TFile;
  7976. Function List(profileId: string; reportId: string; AQuery : string = '') : TFileList;
  7977. Function List(profileId: string; reportId: string; AQuery : TReportsFileslistOptions) : TFileList;
  7978. end;
  7979. { --------------------------------------------------------------------
  7980. TReportsResource
  7981. --------------------------------------------------------------------}
  7982. //Optional query Options for TReportsResource, method List
  7983. TReportsListOptions = Record
  7984. maxResults : integer;
  7985. pageToken : String;
  7986. scope : String;
  7987. sortField : String;
  7988. sortOrder : String;
  7989. end;
  7990. //Optional query Options for TReportsResource, method Run
  7991. TReportsRunOptions = Record
  7992. synchronous : boolean;
  7993. end;
  7994. TReportsResource = Class(TGoogleResource)
  7995. Private
  7996. FCompatibleFieldsInstance : TReportsCompatibleFieldsResource;
  7997. FFilesInstance : TReportsFilesResource;
  7998. Function GetCompatibleFieldsInstance : TReportsCompatibleFieldsResource;virtual;
  7999. Function GetFilesInstance : TReportsFilesResource;virtual;
  8000. Public
  8001. Class Function ResourceName : String; override;
  8002. Class Function DefaultAPI : TGoogleAPIClass; override;
  8003. Procedure Delete(profileId: string; reportId: string);
  8004. Function Get(profileId: string; reportId: string) : TReport;
  8005. Function Insert(profileId: string; aReport : TReport) : TReport;
  8006. Function List(profileId: string; AQuery : string = '') : TReportList;
  8007. Function List(profileId: string; AQuery : TReportslistOptions) : TReportList;
  8008. Function Patch(profileId: string; reportId: string; aReport : TReport) : TReport;
  8009. Function Run(profileId: string; reportId: string; AQuery : string = '') : TFile;
  8010. Function Run(profileId: string; reportId: string; AQuery : TReportsrunOptions) : TFile;
  8011. Function Update(profileId: string; reportId: string; aReport : TReport) : TReport;
  8012. Function CreateCompatibleFieldsResource(AOwner : TComponent) : TReportsCompatibleFieldsResource;virtual;overload;
  8013. Function CreateCompatibleFieldsResource : TReportsCompatibleFieldsResource;virtual;overload;
  8014. Function CreateFilesResource(AOwner : TComponent) : TReportsFilesResource;virtual;overload;
  8015. Function CreateFilesResource : TReportsFilesResource;virtual;overload;
  8016. Property CompatibleFieldsResource : TReportsCompatibleFieldsResource Read GetCompatibleFieldsInstance;
  8017. Property FilesResource : TReportsFilesResource Read GetFilesInstance;
  8018. end;
  8019. { --------------------------------------------------------------------
  8020. TSitesResource
  8021. --------------------------------------------------------------------}
  8022. //Optional query Options for TSitesResource, method List
  8023. TSitesListOptions = Record
  8024. acceptsInStreamVideoPlacements : boolean;
  8025. acceptsInterstitialPlacements : boolean;
  8026. acceptsPublisherPaidPlacements : boolean;
  8027. adWordsSite : boolean;
  8028. approved : boolean;
  8029. campaignIds : int64;
  8030. directorySiteIds : int64;
  8031. ids : int64;
  8032. maxResults : integer;
  8033. pageToken : String;
  8034. searchString : String;
  8035. sortField : String;
  8036. sortOrder : String;
  8037. subaccountId : int64;
  8038. unmappedSite : boolean;
  8039. end;
  8040. //Optional query Options for TSitesResource, method Patch
  8041. TSitesPatchOptions = Record
  8042. id : int64;
  8043. end;
  8044. TSitesResource = Class(TGoogleResource)
  8045. Public
  8046. Class Function ResourceName : String; override;
  8047. Class Function DefaultAPI : TGoogleAPIClass; override;
  8048. Function Get(id: string; profileId: string) : TSite;
  8049. Function Insert(profileId: string; aSite : TSite) : TSite;
  8050. Function List(profileId: string; AQuery : string = '') : TSitesListResponse;
  8051. Function List(profileId: string; AQuery : TSiteslistOptions) : TSitesListResponse;
  8052. Function Patch(profileId: string; aSite : TSite; AQuery : string = '') : TSite;
  8053. Function Patch(profileId: string; aSite : TSite; AQuery : TSitespatchOptions) : TSite;
  8054. Function Update(profileId: string; aSite : TSite) : TSite;
  8055. end;
  8056. { --------------------------------------------------------------------
  8057. TSizesResource
  8058. --------------------------------------------------------------------}
  8059. //Optional query Options for TSizesResource, method List
  8060. TSizesListOptions = Record
  8061. height : integer;
  8062. iabStandard : boolean;
  8063. ids : int64;
  8064. width : integer;
  8065. end;
  8066. TSizesResource = Class(TGoogleResource)
  8067. Public
  8068. Class Function ResourceName : String; override;
  8069. Class Function DefaultAPI : TGoogleAPIClass; override;
  8070. Function Get(id: string; profileId: string) : TSize;
  8071. Function Insert(profileId: string; aSize : TSize) : TSize;
  8072. Function List(profileId: string; AQuery : string = '') : TSizesListResponse;
  8073. Function List(profileId: string; AQuery : TSizeslistOptions) : TSizesListResponse;
  8074. end;
  8075. { --------------------------------------------------------------------
  8076. TSubaccountsResource
  8077. --------------------------------------------------------------------}
  8078. //Optional query Options for TSubaccountsResource, method List
  8079. TSubaccountsListOptions = Record
  8080. ids : int64;
  8081. maxResults : integer;
  8082. pageToken : String;
  8083. searchString : String;
  8084. sortField : String;
  8085. sortOrder : String;
  8086. end;
  8087. //Optional query Options for TSubaccountsResource, method Patch
  8088. TSubaccountsPatchOptions = Record
  8089. id : int64;
  8090. end;
  8091. TSubaccountsResource = Class(TGoogleResource)
  8092. Public
  8093. Class Function ResourceName : String; override;
  8094. Class Function DefaultAPI : TGoogleAPIClass; override;
  8095. Function Get(id: string; profileId: string) : TSubaccount;
  8096. Function Insert(profileId: string; aSubaccount : TSubaccount) : TSubaccount;
  8097. Function List(profileId: string; AQuery : string = '') : TSubaccountsListResponse;
  8098. Function List(profileId: string; AQuery : TSubaccountslistOptions) : TSubaccountsListResponse;
  8099. Function Patch(profileId: string; aSubaccount : TSubaccount; AQuery : string = '') : TSubaccount;
  8100. Function Patch(profileId: string; aSubaccount : TSubaccount; AQuery : TSubaccountspatchOptions) : TSubaccount;
  8101. Function Update(profileId: string; aSubaccount : TSubaccount) : TSubaccount;
  8102. end;
  8103. { --------------------------------------------------------------------
  8104. TTargetableRemarketingListsResource
  8105. --------------------------------------------------------------------}
  8106. //Optional query Options for TTargetableRemarketingListsResource, method List
  8107. TTargetableRemarketingListsListOptions = Record
  8108. active : boolean;
  8109. advertiserId : int64;
  8110. maxResults : integer;
  8111. _name : String;
  8112. pageToken : String;
  8113. sortField : String;
  8114. sortOrder : String;
  8115. end;
  8116. TTargetableRemarketingListsResource = Class(TGoogleResource)
  8117. Public
  8118. Class Function ResourceName : String; override;
  8119. Class Function DefaultAPI : TGoogleAPIClass; override;
  8120. Function Get(id: string; profileId: string) : TTargetableRemarketingList;
  8121. Function List(profileId: string; AQuery : string = '') : TTargetableRemarketingListsListResponse;
  8122. Function List(profileId: string; AQuery : TTargetableRemarketingListslistOptions) : TTargetableRemarketingListsListResponse;
  8123. end;
  8124. { --------------------------------------------------------------------
  8125. TUserProfilesResource
  8126. --------------------------------------------------------------------}
  8127. TUserProfilesResource = Class(TGoogleResource)
  8128. Public
  8129. Class Function ResourceName : String; override;
  8130. Class Function DefaultAPI : TGoogleAPIClass; override;
  8131. Function Get(profileId: string) : TUserProfile;
  8132. Function List : TUserProfileList;
  8133. end;
  8134. { --------------------------------------------------------------------
  8135. TUserRolePermissionGroupsResource
  8136. --------------------------------------------------------------------}
  8137. TUserRolePermissionGroupsResource = Class(TGoogleResource)
  8138. Public
  8139. Class Function ResourceName : String; override;
  8140. Class Function DefaultAPI : TGoogleAPIClass; override;
  8141. Function Get(id: string; profileId: string) : TUserRolePermissionGroup;
  8142. Function List(profileId: string) : TUserRolePermissionGroupsListResponse;
  8143. end;
  8144. { --------------------------------------------------------------------
  8145. TUserRolePermissionsResource
  8146. --------------------------------------------------------------------}
  8147. //Optional query Options for TUserRolePermissionsResource, method List
  8148. TUserRolePermissionsListOptions = Record
  8149. ids : int64;
  8150. end;
  8151. TUserRolePermissionsResource = Class(TGoogleResource)
  8152. Public
  8153. Class Function ResourceName : String; override;
  8154. Class Function DefaultAPI : TGoogleAPIClass; override;
  8155. Function Get(id: string; profileId: string) : TUserRolePermission;
  8156. Function List(profileId: string; AQuery : string = '') : TUserRolePermissionsListResponse;
  8157. Function List(profileId: string; AQuery : TUserRolePermissionslistOptions) : TUserRolePermissionsListResponse;
  8158. end;
  8159. { --------------------------------------------------------------------
  8160. TUserRolesResource
  8161. --------------------------------------------------------------------}
  8162. //Optional query Options for TUserRolesResource, method List
  8163. TUserRolesListOptions = Record
  8164. accountUserRoleOnly : boolean;
  8165. ids : int64;
  8166. maxResults : integer;
  8167. pageToken : String;
  8168. searchString : String;
  8169. sortField : String;
  8170. sortOrder : String;
  8171. subaccountId : int64;
  8172. end;
  8173. //Optional query Options for TUserRolesResource, method Patch
  8174. TUserRolesPatchOptions = Record
  8175. id : int64;
  8176. end;
  8177. TUserRolesResource = Class(TGoogleResource)
  8178. Public
  8179. Class Function ResourceName : String; override;
  8180. Class Function DefaultAPI : TGoogleAPIClass; override;
  8181. Procedure Delete(id: string; profileId: string);
  8182. Function Get(id: string; profileId: string) : TUserRole;
  8183. Function Insert(profileId: string; aUserRole : TUserRole) : TUserRole;
  8184. Function List(profileId: string; AQuery : string = '') : TUserRolesListResponse;
  8185. Function List(profileId: string; AQuery : TUserRoleslistOptions) : TUserRolesListResponse;
  8186. Function Patch(profileId: string; aUserRole : TUserRole; AQuery : string = '') : TUserRole;
  8187. Function Patch(profileId: string; aUserRole : TUserRole; AQuery : TUserRolespatchOptions) : TUserRole;
  8188. Function Update(profileId: string; aUserRole : TUserRole) : TUserRole;
  8189. end;
  8190. { --------------------------------------------------------------------
  8191. TDfareportingAPI
  8192. --------------------------------------------------------------------}
  8193. TDfareportingAPI = Class(TGoogleAPI)
  8194. Private
  8195. FAccountActiveAdSummariesInstance : TAccountActiveAdSummariesResource;
  8196. FAccountPermissionGroupsInstance : TAccountPermissionGroupsResource;
  8197. FAccountPermissionsInstance : TAccountPermissionsResource;
  8198. FAccountUserProfilesInstance : TAccountUserProfilesResource;
  8199. FAccountsInstance : TAccountsResource;
  8200. FAdsInstance : TAdsResource;
  8201. FAdvertiserGroupsInstance : TAdvertiserGroupsResource;
  8202. FAdvertisersInstance : TAdvertisersResource;
  8203. FBrowsersInstance : TBrowsersResource;
  8204. FCampaignCreativeAssociationsInstance : TCampaignCreativeAssociationsResource;
  8205. FCampaignsInstance : TCampaignsResource;
  8206. FChangeLogsInstance : TChangeLogsResource;
  8207. FCitiesInstance : TCitiesResource;
  8208. FConnectionTypesInstance : TConnectionTypesResource;
  8209. FContentCategoriesInstance : TContentCategoriesResource;
  8210. FConversionsInstance : TConversionsResource;
  8211. FCountriesInstance : TCountriesResource;
  8212. FCreativeAssetsInstance : TCreativeAssetsResource;
  8213. FCreativeFieldValuesInstance : TCreativeFieldValuesResource;
  8214. FCreativeFieldsInstance : TCreativeFieldsResource;
  8215. FCreativeGroupsInstance : TCreativeGroupsResource;
  8216. FCreativesInstance : TCreativesResource;
  8217. FDimensionValuesInstance : TDimensionValuesResource;
  8218. FDirectorySiteContactsInstance : TDirectorySiteContactsResource;
  8219. FDirectorySitesInstance : TDirectorySitesResource;
  8220. FDynamicTargetingKeysInstance : TDynamicTargetingKeysResource;
  8221. FEventTagsInstance : TEventTagsResource;
  8222. FFilesInstance : TFilesResource;
  8223. FFloodlightActivitiesInstance : TFloodlightActivitiesResource;
  8224. FFloodlightActivityGroupsInstance : TFloodlightActivityGroupsResource;
  8225. FFloodlightConfigurationsInstance : TFloodlightConfigurationsResource;
  8226. FInventoryItemsInstance : TInventoryItemsResource;
  8227. FLandingPagesInstance : TLandingPagesResource;
  8228. FMetrosInstance : TMetrosResource;
  8229. FMobileCarriersInstance : TMobileCarriersResource;
  8230. FOperatingSystemVersionsInstance : TOperatingSystemVersionsResource;
  8231. FOperatingSystemsInstance : TOperatingSystemsResource;
  8232. FOrderDocumentsInstance : TOrderDocumentsResource;
  8233. FOrdersInstance : TOrdersResource;
  8234. FPlacementGroupsInstance : TPlacementGroupsResource;
  8235. FPlacementStrategiesInstance : TPlacementStrategiesResource;
  8236. FPlacementsInstance : TPlacementsResource;
  8237. FPlatformTypesInstance : TPlatformTypesResource;
  8238. FPostalCodesInstance : TPostalCodesResource;
  8239. FProjectsInstance : TProjectsResource;
  8240. FRegionsInstance : TRegionsResource;
  8241. FRemarketingListSharesInstance : TRemarketingListSharesResource;
  8242. FRemarketingListsInstance : TRemarketingListsResource;
  8243. FReportsCompatibleFieldsInstance : TReportsCompatibleFieldsResource;
  8244. FReportsFilesInstance : TReportsFilesResource;
  8245. FReportsInstance : TReportsResource;
  8246. FSitesInstance : TSitesResource;
  8247. FSizesInstance : TSizesResource;
  8248. FSubaccountsInstance : TSubaccountsResource;
  8249. FTargetableRemarketingListsInstance : TTargetableRemarketingListsResource;
  8250. FUserProfilesInstance : TUserProfilesResource;
  8251. FUserRolePermissionGroupsInstance : TUserRolePermissionGroupsResource;
  8252. FUserRolePermissionsInstance : TUserRolePermissionsResource;
  8253. FUserRolesInstance : TUserRolesResource;
  8254. Function GetAccountActiveAdSummariesInstance : TAccountActiveAdSummariesResource;virtual;
  8255. Function GetAccountPermissionGroupsInstance : TAccountPermissionGroupsResource;virtual;
  8256. Function GetAccountPermissionsInstance : TAccountPermissionsResource;virtual;
  8257. Function GetAccountUserProfilesInstance : TAccountUserProfilesResource;virtual;
  8258. Function GetAccountsInstance : TAccountsResource;virtual;
  8259. Function GetAdsInstance : TAdsResource;virtual;
  8260. Function GetAdvertiserGroupsInstance : TAdvertiserGroupsResource;virtual;
  8261. Function GetAdvertisersInstance : TAdvertisersResource;virtual;
  8262. Function GetBrowsersInstance : TBrowsersResource;virtual;
  8263. Function GetCampaignCreativeAssociationsInstance : TCampaignCreativeAssociationsResource;virtual;
  8264. Function GetCampaignsInstance : TCampaignsResource;virtual;
  8265. Function GetChangeLogsInstance : TChangeLogsResource;virtual;
  8266. Function GetCitiesInstance : TCitiesResource;virtual;
  8267. Function GetConnectionTypesInstance : TConnectionTypesResource;virtual;
  8268. Function GetContentCategoriesInstance : TContentCategoriesResource;virtual;
  8269. Function GetConversionsInstance : TConversionsResource;virtual;
  8270. Function GetCountriesInstance : TCountriesResource;virtual;
  8271. Function GetCreativeAssetsInstance : TCreativeAssetsResource;virtual;
  8272. Function GetCreativeFieldValuesInstance : TCreativeFieldValuesResource;virtual;
  8273. Function GetCreativeFieldsInstance : TCreativeFieldsResource;virtual;
  8274. Function GetCreativeGroupsInstance : TCreativeGroupsResource;virtual;
  8275. Function GetCreativesInstance : TCreativesResource;virtual;
  8276. Function GetDimensionValuesInstance : TDimensionValuesResource;virtual;
  8277. Function GetDirectorySiteContactsInstance : TDirectorySiteContactsResource;virtual;
  8278. Function GetDirectorySitesInstance : TDirectorySitesResource;virtual;
  8279. Function GetDynamicTargetingKeysInstance : TDynamicTargetingKeysResource;virtual;
  8280. Function GetEventTagsInstance : TEventTagsResource;virtual;
  8281. Function GetFilesInstance : TFilesResource;virtual;
  8282. Function GetFloodlightActivitiesInstance : TFloodlightActivitiesResource;virtual;
  8283. Function GetFloodlightActivityGroupsInstance : TFloodlightActivityGroupsResource;virtual;
  8284. Function GetFloodlightConfigurationsInstance : TFloodlightConfigurationsResource;virtual;
  8285. Function GetInventoryItemsInstance : TInventoryItemsResource;virtual;
  8286. Function GetLandingPagesInstance : TLandingPagesResource;virtual;
  8287. Function GetMetrosInstance : TMetrosResource;virtual;
  8288. Function GetMobileCarriersInstance : TMobileCarriersResource;virtual;
  8289. Function GetOperatingSystemVersionsInstance : TOperatingSystemVersionsResource;virtual;
  8290. Function GetOperatingSystemsInstance : TOperatingSystemsResource;virtual;
  8291. Function GetOrderDocumentsInstance : TOrderDocumentsResource;virtual;
  8292. Function GetOrdersInstance : TOrdersResource;virtual;
  8293. Function GetPlacementGroupsInstance : TPlacementGroupsResource;virtual;
  8294. Function GetPlacementStrategiesInstance : TPlacementStrategiesResource;virtual;
  8295. Function GetPlacementsInstance : TPlacementsResource;virtual;
  8296. Function GetPlatformTypesInstance : TPlatformTypesResource;virtual;
  8297. Function GetPostalCodesInstance : TPostalCodesResource;virtual;
  8298. Function GetProjectsInstance : TProjectsResource;virtual;
  8299. Function GetRegionsInstance : TRegionsResource;virtual;
  8300. Function GetRemarketingListSharesInstance : TRemarketingListSharesResource;virtual;
  8301. Function GetRemarketingListsInstance : TRemarketingListsResource;virtual;
  8302. Function GetReportsCompatibleFieldsInstance : TReportsCompatibleFieldsResource;virtual;
  8303. Function GetReportsFilesInstance : TReportsFilesResource;virtual;
  8304. Function GetReportsInstance : TReportsResource;virtual;
  8305. Function GetSitesInstance : TSitesResource;virtual;
  8306. Function GetSizesInstance : TSizesResource;virtual;
  8307. Function GetSubaccountsInstance : TSubaccountsResource;virtual;
  8308. Function GetTargetableRemarketingListsInstance : TTargetableRemarketingListsResource;virtual;
  8309. Function GetUserProfilesInstance : TUserProfilesResource;virtual;
  8310. Function GetUserRolePermissionGroupsInstance : TUserRolePermissionGroupsResource;virtual;
  8311. Function GetUserRolePermissionsInstance : TUserRolePermissionsResource;virtual;
  8312. Function GetUserRolesInstance : TUserRolesResource;virtual;
  8313. Public
  8314. //Override class functions with API info
  8315. Class Function APIName : String; override;
  8316. Class Function APIVersion : String; override;
  8317. Class Function APIRevision : String; override;
  8318. Class Function APIID : String; override;
  8319. Class Function APITitle : String; override;
  8320. Class Function APIDescription : String; override;
  8321. Class Function APIOwnerDomain : String; override;
  8322. Class Function APIOwnerName : String; override;
  8323. Class Function APIIcon16 : String; override;
  8324. Class Function APIIcon32 : String; override;
  8325. Class Function APIdocumentationLink : String; override;
  8326. Class Function APIrootUrl : string; override;
  8327. Class Function APIbasePath : string;override;
  8328. Class Function APIbaseURL : String;override;
  8329. Class Function APIProtocol : string;override;
  8330. Class Function APIservicePath : string;override;
  8331. Class Function APIbatchPath : String;override;
  8332. Class Function APIAuthScopes : TScopeInfoArray;override;
  8333. Class Function APINeedsAuth : Boolean;override;
  8334. Class Procedure RegisterAPIResources; override;
  8335. //Add create function for resources
  8336. Function CreateAccountActiveAdSummariesResource(AOwner : TComponent) : TAccountActiveAdSummariesResource;virtual;overload;
  8337. Function CreateAccountActiveAdSummariesResource : TAccountActiveAdSummariesResource;virtual;overload;
  8338. Function CreateAccountPermissionGroupsResource(AOwner : TComponent) : TAccountPermissionGroupsResource;virtual;overload;
  8339. Function CreateAccountPermissionGroupsResource : TAccountPermissionGroupsResource;virtual;overload;
  8340. Function CreateAccountPermissionsResource(AOwner : TComponent) : TAccountPermissionsResource;virtual;overload;
  8341. Function CreateAccountPermissionsResource : TAccountPermissionsResource;virtual;overload;
  8342. Function CreateAccountUserProfilesResource(AOwner : TComponent) : TAccountUserProfilesResource;virtual;overload;
  8343. Function CreateAccountUserProfilesResource : TAccountUserProfilesResource;virtual;overload;
  8344. Function CreateAccountsResource(AOwner : TComponent) : TAccountsResource;virtual;overload;
  8345. Function CreateAccountsResource : TAccountsResource;virtual;overload;
  8346. Function CreateAdsResource(AOwner : TComponent) : TAdsResource;virtual;overload;
  8347. Function CreateAdsResource : TAdsResource;virtual;overload;
  8348. Function CreateAdvertiserGroupsResource(AOwner : TComponent) : TAdvertiserGroupsResource;virtual;overload;
  8349. Function CreateAdvertiserGroupsResource : TAdvertiserGroupsResource;virtual;overload;
  8350. Function CreateAdvertisersResource(AOwner : TComponent) : TAdvertisersResource;virtual;overload;
  8351. Function CreateAdvertisersResource : TAdvertisersResource;virtual;overload;
  8352. Function CreateBrowsersResource(AOwner : TComponent) : TBrowsersResource;virtual;overload;
  8353. Function CreateBrowsersResource : TBrowsersResource;virtual;overload;
  8354. Function CreateCampaignCreativeAssociationsResource(AOwner : TComponent) : TCampaignCreativeAssociationsResource;virtual;overload;
  8355. Function CreateCampaignCreativeAssociationsResource : TCampaignCreativeAssociationsResource;virtual;overload;
  8356. Function CreateCampaignsResource(AOwner : TComponent) : TCampaignsResource;virtual;overload;
  8357. Function CreateCampaignsResource : TCampaignsResource;virtual;overload;
  8358. Function CreateChangeLogsResource(AOwner : TComponent) : TChangeLogsResource;virtual;overload;
  8359. Function CreateChangeLogsResource : TChangeLogsResource;virtual;overload;
  8360. Function CreateCitiesResource(AOwner : TComponent) : TCitiesResource;virtual;overload;
  8361. Function CreateCitiesResource : TCitiesResource;virtual;overload;
  8362. Function CreateConnectionTypesResource(AOwner : TComponent) : TConnectionTypesResource;virtual;overload;
  8363. Function CreateConnectionTypesResource : TConnectionTypesResource;virtual;overload;
  8364. Function CreateContentCategoriesResource(AOwner : TComponent) : TContentCategoriesResource;virtual;overload;
  8365. Function CreateContentCategoriesResource : TContentCategoriesResource;virtual;overload;
  8366. Function CreateConversionsResource(AOwner : TComponent) : TConversionsResource;virtual;overload;
  8367. Function CreateConversionsResource : TConversionsResource;virtual;overload;
  8368. Function CreateCountriesResource(AOwner : TComponent) : TCountriesResource;virtual;overload;
  8369. Function CreateCountriesResource : TCountriesResource;virtual;overload;
  8370. Function CreateCreativeAssetsResource(AOwner : TComponent) : TCreativeAssetsResource;virtual;overload;
  8371. Function CreateCreativeAssetsResource : TCreativeAssetsResource;virtual;overload;
  8372. Function CreateCreativeFieldValuesResource(AOwner : TComponent) : TCreativeFieldValuesResource;virtual;overload;
  8373. Function CreateCreativeFieldValuesResource : TCreativeFieldValuesResource;virtual;overload;
  8374. Function CreateCreativeFieldsResource(AOwner : TComponent) : TCreativeFieldsResource;virtual;overload;
  8375. Function CreateCreativeFieldsResource : TCreativeFieldsResource;virtual;overload;
  8376. Function CreateCreativeGroupsResource(AOwner : TComponent) : TCreativeGroupsResource;virtual;overload;
  8377. Function CreateCreativeGroupsResource : TCreativeGroupsResource;virtual;overload;
  8378. Function CreateCreativesResource(AOwner : TComponent) : TCreativesResource;virtual;overload;
  8379. Function CreateCreativesResource : TCreativesResource;virtual;overload;
  8380. Function CreateDimensionValuesResource(AOwner : TComponent) : TDimensionValuesResource;virtual;overload;
  8381. Function CreateDimensionValuesResource : TDimensionValuesResource;virtual;overload;
  8382. Function CreateDirectorySiteContactsResource(AOwner : TComponent) : TDirectorySiteContactsResource;virtual;overload;
  8383. Function CreateDirectorySiteContactsResource : TDirectorySiteContactsResource;virtual;overload;
  8384. Function CreateDirectorySitesResource(AOwner : TComponent) : TDirectorySitesResource;virtual;overload;
  8385. Function CreateDirectorySitesResource : TDirectorySitesResource;virtual;overload;
  8386. Function CreateDynamicTargetingKeysResource(AOwner : TComponent) : TDynamicTargetingKeysResource;virtual;overload;
  8387. Function CreateDynamicTargetingKeysResource : TDynamicTargetingKeysResource;virtual;overload;
  8388. Function CreateEventTagsResource(AOwner : TComponent) : TEventTagsResource;virtual;overload;
  8389. Function CreateEventTagsResource : TEventTagsResource;virtual;overload;
  8390. Function CreateFilesResource(AOwner : TComponent) : TFilesResource;virtual;overload;
  8391. Function CreateFilesResource : TFilesResource;virtual;overload;
  8392. Function CreateFloodlightActivitiesResource(AOwner : TComponent) : TFloodlightActivitiesResource;virtual;overload;
  8393. Function CreateFloodlightActivitiesResource : TFloodlightActivitiesResource;virtual;overload;
  8394. Function CreateFloodlightActivityGroupsResource(AOwner : TComponent) : TFloodlightActivityGroupsResource;virtual;overload;
  8395. Function CreateFloodlightActivityGroupsResource : TFloodlightActivityGroupsResource;virtual;overload;
  8396. Function CreateFloodlightConfigurationsResource(AOwner : TComponent) : TFloodlightConfigurationsResource;virtual;overload;
  8397. Function CreateFloodlightConfigurationsResource : TFloodlightConfigurationsResource;virtual;overload;
  8398. Function CreateInventoryItemsResource(AOwner : TComponent) : TInventoryItemsResource;virtual;overload;
  8399. Function CreateInventoryItemsResource : TInventoryItemsResource;virtual;overload;
  8400. Function CreateLandingPagesResource(AOwner : TComponent) : TLandingPagesResource;virtual;overload;
  8401. Function CreateLandingPagesResource : TLandingPagesResource;virtual;overload;
  8402. Function CreateMetrosResource(AOwner : TComponent) : TMetrosResource;virtual;overload;
  8403. Function CreateMetrosResource : TMetrosResource;virtual;overload;
  8404. Function CreateMobileCarriersResource(AOwner : TComponent) : TMobileCarriersResource;virtual;overload;
  8405. Function CreateMobileCarriersResource : TMobileCarriersResource;virtual;overload;
  8406. Function CreateOperatingSystemVersionsResource(AOwner : TComponent) : TOperatingSystemVersionsResource;virtual;overload;
  8407. Function CreateOperatingSystemVersionsResource : TOperatingSystemVersionsResource;virtual;overload;
  8408. Function CreateOperatingSystemsResource(AOwner : TComponent) : TOperatingSystemsResource;virtual;overload;
  8409. Function CreateOperatingSystemsResource : TOperatingSystemsResource;virtual;overload;
  8410. Function CreateOrderDocumentsResource(AOwner : TComponent) : TOrderDocumentsResource;virtual;overload;
  8411. Function CreateOrderDocumentsResource : TOrderDocumentsResource;virtual;overload;
  8412. Function CreateOrdersResource(AOwner : TComponent) : TOrdersResource;virtual;overload;
  8413. Function CreateOrdersResource : TOrdersResource;virtual;overload;
  8414. Function CreatePlacementGroupsResource(AOwner : TComponent) : TPlacementGroupsResource;virtual;overload;
  8415. Function CreatePlacementGroupsResource : TPlacementGroupsResource;virtual;overload;
  8416. Function CreatePlacementStrategiesResource(AOwner : TComponent) : TPlacementStrategiesResource;virtual;overload;
  8417. Function CreatePlacementStrategiesResource : TPlacementStrategiesResource;virtual;overload;
  8418. Function CreatePlacementsResource(AOwner : TComponent) : TPlacementsResource;virtual;overload;
  8419. Function CreatePlacementsResource : TPlacementsResource;virtual;overload;
  8420. Function CreatePlatformTypesResource(AOwner : TComponent) : TPlatformTypesResource;virtual;overload;
  8421. Function CreatePlatformTypesResource : TPlatformTypesResource;virtual;overload;
  8422. Function CreatePostalCodesResource(AOwner : TComponent) : TPostalCodesResource;virtual;overload;
  8423. Function CreatePostalCodesResource : TPostalCodesResource;virtual;overload;
  8424. Function CreateProjectsResource(AOwner : TComponent) : TProjectsResource;virtual;overload;
  8425. Function CreateProjectsResource : TProjectsResource;virtual;overload;
  8426. Function CreateRegionsResource(AOwner : TComponent) : TRegionsResource;virtual;overload;
  8427. Function CreateRegionsResource : TRegionsResource;virtual;overload;
  8428. Function CreateRemarketingListSharesResource(AOwner : TComponent) : TRemarketingListSharesResource;virtual;overload;
  8429. Function CreateRemarketingListSharesResource : TRemarketingListSharesResource;virtual;overload;
  8430. Function CreateRemarketingListsResource(AOwner : TComponent) : TRemarketingListsResource;virtual;overload;
  8431. Function CreateRemarketingListsResource : TRemarketingListsResource;virtual;overload;
  8432. Function CreateReportsCompatibleFieldsResource(AOwner : TComponent) : TReportsCompatibleFieldsResource;virtual;overload;
  8433. Function CreateReportsCompatibleFieldsResource : TReportsCompatibleFieldsResource;virtual;overload;
  8434. Function CreateReportsFilesResource(AOwner : TComponent) : TReportsFilesResource;virtual;overload;
  8435. Function CreateReportsFilesResource : TReportsFilesResource;virtual;overload;
  8436. Function CreateReportsResource(AOwner : TComponent) : TReportsResource;virtual;overload;
  8437. Function CreateReportsResource : TReportsResource;virtual;overload;
  8438. Function CreateSitesResource(AOwner : TComponent) : TSitesResource;virtual;overload;
  8439. Function CreateSitesResource : TSitesResource;virtual;overload;
  8440. Function CreateSizesResource(AOwner : TComponent) : TSizesResource;virtual;overload;
  8441. Function CreateSizesResource : TSizesResource;virtual;overload;
  8442. Function CreateSubaccountsResource(AOwner : TComponent) : TSubaccountsResource;virtual;overload;
  8443. Function CreateSubaccountsResource : TSubaccountsResource;virtual;overload;
  8444. Function CreateTargetableRemarketingListsResource(AOwner : TComponent) : TTargetableRemarketingListsResource;virtual;overload;
  8445. Function CreateTargetableRemarketingListsResource : TTargetableRemarketingListsResource;virtual;overload;
  8446. Function CreateUserProfilesResource(AOwner : TComponent) : TUserProfilesResource;virtual;overload;
  8447. Function CreateUserProfilesResource : TUserProfilesResource;virtual;overload;
  8448. Function CreateUserRolePermissionGroupsResource(AOwner : TComponent) : TUserRolePermissionGroupsResource;virtual;overload;
  8449. Function CreateUserRolePermissionGroupsResource : TUserRolePermissionGroupsResource;virtual;overload;
  8450. Function CreateUserRolePermissionsResource(AOwner : TComponent) : TUserRolePermissionsResource;virtual;overload;
  8451. Function CreateUserRolePermissionsResource : TUserRolePermissionsResource;virtual;overload;
  8452. Function CreateUserRolesResource(AOwner : TComponent) : TUserRolesResource;virtual;overload;
  8453. Function CreateUserRolesResource : TUserRolesResource;virtual;overload;
  8454. //Add default on-demand instances for resources
  8455. Property AccountActiveAdSummariesResource : TAccountActiveAdSummariesResource Read GetAccountActiveAdSummariesInstance;
  8456. Property AccountPermissionGroupsResource : TAccountPermissionGroupsResource Read GetAccountPermissionGroupsInstance;
  8457. Property AccountPermissionsResource : TAccountPermissionsResource Read GetAccountPermissionsInstance;
  8458. Property AccountUserProfilesResource : TAccountUserProfilesResource Read GetAccountUserProfilesInstance;
  8459. Property AccountsResource : TAccountsResource Read GetAccountsInstance;
  8460. Property AdsResource : TAdsResource Read GetAdsInstance;
  8461. Property AdvertiserGroupsResource : TAdvertiserGroupsResource Read GetAdvertiserGroupsInstance;
  8462. Property AdvertisersResource : TAdvertisersResource Read GetAdvertisersInstance;
  8463. Property BrowsersResource : TBrowsersResource Read GetBrowsersInstance;
  8464. Property CampaignCreativeAssociationsResource : TCampaignCreativeAssociationsResource Read GetCampaignCreativeAssociationsInstance;
  8465. Property CampaignsResource : TCampaignsResource Read GetCampaignsInstance;
  8466. Property ChangeLogsResource : TChangeLogsResource Read GetChangeLogsInstance;
  8467. Property CitiesResource : TCitiesResource Read GetCitiesInstance;
  8468. Property ConnectionTypesResource : TConnectionTypesResource Read GetConnectionTypesInstance;
  8469. Property ContentCategoriesResource : TContentCategoriesResource Read GetContentCategoriesInstance;
  8470. Property ConversionsResource : TConversionsResource Read GetConversionsInstance;
  8471. Property CountriesResource : TCountriesResource Read GetCountriesInstance;
  8472. Property CreativeAssetsResource : TCreativeAssetsResource Read GetCreativeAssetsInstance;
  8473. Property CreativeFieldValuesResource : TCreativeFieldValuesResource Read GetCreativeFieldValuesInstance;
  8474. Property CreativeFieldsResource : TCreativeFieldsResource Read GetCreativeFieldsInstance;
  8475. Property CreativeGroupsResource : TCreativeGroupsResource Read GetCreativeGroupsInstance;
  8476. Property CreativesResource : TCreativesResource Read GetCreativesInstance;
  8477. Property DimensionValuesResource : TDimensionValuesResource Read GetDimensionValuesInstance;
  8478. Property DirectorySiteContactsResource : TDirectorySiteContactsResource Read GetDirectorySiteContactsInstance;
  8479. Property DirectorySitesResource : TDirectorySitesResource Read GetDirectorySitesInstance;
  8480. Property DynamicTargetingKeysResource : TDynamicTargetingKeysResource Read GetDynamicTargetingKeysInstance;
  8481. Property EventTagsResource : TEventTagsResource Read GetEventTagsInstance;
  8482. Property FilesResource : TFilesResource Read GetFilesInstance;
  8483. Property FloodlightActivitiesResource : TFloodlightActivitiesResource Read GetFloodlightActivitiesInstance;
  8484. Property FloodlightActivityGroupsResource : TFloodlightActivityGroupsResource Read GetFloodlightActivityGroupsInstance;
  8485. Property FloodlightConfigurationsResource : TFloodlightConfigurationsResource Read GetFloodlightConfigurationsInstance;
  8486. Property InventoryItemsResource : TInventoryItemsResource Read GetInventoryItemsInstance;
  8487. Property LandingPagesResource : TLandingPagesResource Read GetLandingPagesInstance;
  8488. Property MetrosResource : TMetrosResource Read GetMetrosInstance;
  8489. Property MobileCarriersResource : TMobileCarriersResource Read GetMobileCarriersInstance;
  8490. Property OperatingSystemVersionsResource : TOperatingSystemVersionsResource Read GetOperatingSystemVersionsInstance;
  8491. Property OperatingSystemsResource : TOperatingSystemsResource Read GetOperatingSystemsInstance;
  8492. Property OrderDocumentsResource : TOrderDocumentsResource Read GetOrderDocumentsInstance;
  8493. Property OrdersResource : TOrdersResource Read GetOrdersInstance;
  8494. Property PlacementGroupsResource : TPlacementGroupsResource Read GetPlacementGroupsInstance;
  8495. Property PlacementStrategiesResource : TPlacementStrategiesResource Read GetPlacementStrategiesInstance;
  8496. Property PlacementsResource : TPlacementsResource Read GetPlacementsInstance;
  8497. Property PlatformTypesResource : TPlatformTypesResource Read GetPlatformTypesInstance;
  8498. Property PostalCodesResource : TPostalCodesResource Read GetPostalCodesInstance;
  8499. Property ProjectsResource : TProjectsResource Read GetProjectsInstance;
  8500. Property RegionsResource : TRegionsResource Read GetRegionsInstance;
  8501. Property RemarketingListSharesResource : TRemarketingListSharesResource Read GetRemarketingListSharesInstance;
  8502. Property RemarketingListsResource : TRemarketingListsResource Read GetRemarketingListsInstance;
  8503. Property ReportsCompatibleFieldsResource : TReportsCompatibleFieldsResource Read GetReportsCompatibleFieldsInstance;
  8504. Property ReportsFilesResource : TReportsFilesResource Read GetReportsFilesInstance;
  8505. Property ReportsResource : TReportsResource Read GetReportsInstance;
  8506. Property SitesResource : TSitesResource Read GetSitesInstance;
  8507. Property SizesResource : TSizesResource Read GetSizesInstance;
  8508. Property SubaccountsResource : TSubaccountsResource Read GetSubaccountsInstance;
  8509. Property TargetableRemarketingListsResource : TTargetableRemarketingListsResource Read GetTargetableRemarketingListsInstance;
  8510. Property UserProfilesResource : TUserProfilesResource Read GetUserProfilesInstance;
  8511. Property UserRolePermissionGroupsResource : TUserRolePermissionGroupsResource Read GetUserRolePermissionGroupsInstance;
  8512. Property UserRolePermissionsResource : TUserRolePermissionsResource Read GetUserRolePermissionsInstance;
  8513. Property UserRolesResource : TUserRolesResource Read GetUserRolesInstance;
  8514. end;
  8515. implementation
  8516. { --------------------------------------------------------------------
  8517. TAccount
  8518. --------------------------------------------------------------------}
  8519. Procedure TAccount.SetaccountPermissionIds(AIndex : Integer; const AValue : TStringArray);
  8520. begin
  8521. If (FaccountPermissionIds=AValue) then exit;
  8522. FaccountPermissionIds:=AValue;
  8523. MarkPropertyChanged(AIndex);
  8524. end;
  8525. Procedure TAccount.SetaccountProfile(AIndex : Integer; const AValue : String);
  8526. begin
  8527. If (FaccountProfile=AValue) then exit;
  8528. FaccountProfile:=AValue;
  8529. MarkPropertyChanged(AIndex);
  8530. end;
  8531. Procedure TAccount.Setactive(AIndex : Integer; const AValue : boolean);
  8532. begin
  8533. If (Factive=AValue) then exit;
  8534. Factive:=AValue;
  8535. MarkPropertyChanged(AIndex);
  8536. end;
  8537. Procedure TAccount.SetactiveAdsLimitTier(AIndex : Integer; const AValue : String);
  8538. begin
  8539. If (FactiveAdsLimitTier=AValue) then exit;
  8540. FactiveAdsLimitTier:=AValue;
  8541. MarkPropertyChanged(AIndex);
  8542. end;
  8543. Procedure TAccount.SetactiveViewOptOut(AIndex : Integer; const AValue : boolean);
  8544. begin
  8545. If (FactiveViewOptOut=AValue) then exit;
  8546. FactiveViewOptOut:=AValue;
  8547. MarkPropertyChanged(AIndex);
  8548. end;
  8549. Procedure TAccount.SetavailablePermissionIds(AIndex : Integer; const AValue : TStringArray);
  8550. begin
  8551. If (FavailablePermissionIds=AValue) then exit;
  8552. FavailablePermissionIds:=AValue;
  8553. MarkPropertyChanged(AIndex);
  8554. end;
  8555. Procedure TAccount.SetcomscoreVceEnabled(AIndex : Integer; const AValue : boolean);
  8556. begin
  8557. If (FcomscoreVceEnabled=AValue) then exit;
  8558. FcomscoreVceEnabled:=AValue;
  8559. MarkPropertyChanged(AIndex);
  8560. end;
  8561. Procedure TAccount.SetcountryId(AIndex : Integer; const AValue : String);
  8562. begin
  8563. If (FcountryId=AValue) then exit;
  8564. FcountryId:=AValue;
  8565. MarkPropertyChanged(AIndex);
  8566. end;
  8567. Procedure TAccount.SetcurrencyId(AIndex : Integer; const AValue : String);
  8568. begin
  8569. If (FcurrencyId=AValue) then exit;
  8570. FcurrencyId:=AValue;
  8571. MarkPropertyChanged(AIndex);
  8572. end;
  8573. Procedure TAccount.SetdefaultCreativeSizeId(AIndex : Integer; const AValue : String);
  8574. begin
  8575. If (FdefaultCreativeSizeId=AValue) then exit;
  8576. FdefaultCreativeSizeId:=AValue;
  8577. MarkPropertyChanged(AIndex);
  8578. end;
  8579. Procedure TAccount.Setdescription(AIndex : Integer; const AValue : String);
  8580. begin
  8581. If (Fdescription=AValue) then exit;
  8582. Fdescription:=AValue;
  8583. MarkPropertyChanged(AIndex);
  8584. end;
  8585. Procedure TAccount.Setid(AIndex : Integer; const AValue : String);
  8586. begin
  8587. If (Fid=AValue) then exit;
  8588. Fid:=AValue;
  8589. MarkPropertyChanged(AIndex);
  8590. end;
  8591. Procedure TAccount.Setkind(AIndex : Integer; const AValue : String);
  8592. begin
  8593. If (Fkind=AValue) then exit;
  8594. Fkind:=AValue;
  8595. MarkPropertyChanged(AIndex);
  8596. end;
  8597. Procedure TAccount.Setlocale(AIndex : Integer; const AValue : String);
  8598. begin
  8599. If (Flocale=AValue) then exit;
  8600. Flocale:=AValue;
  8601. MarkPropertyChanged(AIndex);
  8602. end;
  8603. Procedure TAccount.SetmaximumImageSize(AIndex : Integer; const AValue : String);
  8604. begin
  8605. If (FmaximumImageSize=AValue) then exit;
  8606. FmaximumImageSize:=AValue;
  8607. MarkPropertyChanged(AIndex);
  8608. end;
  8609. Procedure TAccount.Setname(AIndex : Integer; const AValue : String);
  8610. begin
  8611. If (Fname=AValue) then exit;
  8612. Fname:=AValue;
  8613. MarkPropertyChanged(AIndex);
  8614. end;
  8615. Procedure TAccount.SetnielsenOcrEnabled(AIndex : Integer; const AValue : boolean);
  8616. begin
  8617. If (FnielsenOcrEnabled=AValue) then exit;
  8618. FnielsenOcrEnabled:=AValue;
  8619. MarkPropertyChanged(AIndex);
  8620. end;
  8621. Procedure TAccount.SetreportsConfiguration(AIndex : Integer; const AValue : TReportsConfiguration);
  8622. begin
  8623. If (FreportsConfiguration=AValue) then exit;
  8624. FreportsConfiguration:=AValue;
  8625. MarkPropertyChanged(AIndex);
  8626. end;
  8627. Procedure TAccount.SetteaserSizeLimit(AIndex : Integer; const AValue : String);
  8628. begin
  8629. If (FteaserSizeLimit=AValue) then exit;
  8630. FteaserSizeLimit:=AValue;
  8631. MarkPropertyChanged(AIndex);
  8632. end;
  8633. //2.6.4. bug workaround
  8634. {$IFDEF VER2_6}
  8635. Procedure TAccount.SetArrayLength(Const AName : String; ALength : Longint);
  8636. begin
  8637. Case AName of
  8638. 'accountpermissionids' : SetLength(FaccountPermissionIds,ALength);
  8639. 'availablepermissionids' : SetLength(FavailablePermissionIds,ALength);
  8640. else
  8641. Inherited SetArrayLength(AName,ALength);
  8642. end;
  8643. end;
  8644. {$ENDIF VER2_6}
  8645. { --------------------------------------------------------------------
  8646. TAccountActiveAdSummary
  8647. --------------------------------------------------------------------}
  8648. Procedure TAccountActiveAdSummary.SetaccountId(AIndex : Integer; const AValue : String);
  8649. begin
  8650. If (FaccountId=AValue) then exit;
  8651. FaccountId:=AValue;
  8652. MarkPropertyChanged(AIndex);
  8653. end;
  8654. Procedure TAccountActiveAdSummary.SetactiveAds(AIndex : Integer; const AValue : String);
  8655. begin
  8656. If (FactiveAds=AValue) then exit;
  8657. FactiveAds:=AValue;
  8658. MarkPropertyChanged(AIndex);
  8659. end;
  8660. Procedure TAccountActiveAdSummary.SetactiveAdsLimitTier(AIndex : Integer; const AValue : String);
  8661. begin
  8662. If (FactiveAdsLimitTier=AValue) then exit;
  8663. FactiveAdsLimitTier:=AValue;
  8664. MarkPropertyChanged(AIndex);
  8665. end;
  8666. Procedure TAccountActiveAdSummary.SetavailableAds(AIndex : Integer; const AValue : String);
  8667. begin
  8668. If (FavailableAds=AValue) then exit;
  8669. FavailableAds:=AValue;
  8670. MarkPropertyChanged(AIndex);
  8671. end;
  8672. Procedure TAccountActiveAdSummary.Setkind(AIndex : Integer; const AValue : String);
  8673. begin
  8674. If (Fkind=AValue) then exit;
  8675. Fkind:=AValue;
  8676. MarkPropertyChanged(AIndex);
  8677. end;
  8678. { --------------------------------------------------------------------
  8679. TAccountPermission
  8680. --------------------------------------------------------------------}
  8681. Procedure TAccountPermission.SetaccountProfiles(AIndex : Integer; const AValue : TStringArray);
  8682. begin
  8683. If (FaccountProfiles=AValue) then exit;
  8684. FaccountProfiles:=AValue;
  8685. MarkPropertyChanged(AIndex);
  8686. end;
  8687. Procedure TAccountPermission.Setid(AIndex : Integer; const AValue : String);
  8688. begin
  8689. If (Fid=AValue) then exit;
  8690. Fid:=AValue;
  8691. MarkPropertyChanged(AIndex);
  8692. end;
  8693. Procedure TAccountPermission.Setkind(AIndex : Integer; const AValue : String);
  8694. begin
  8695. If (Fkind=AValue) then exit;
  8696. Fkind:=AValue;
  8697. MarkPropertyChanged(AIndex);
  8698. end;
  8699. Procedure TAccountPermission.Setlevel(AIndex : Integer; const AValue : String);
  8700. begin
  8701. If (Flevel=AValue) then exit;
  8702. Flevel:=AValue;
  8703. MarkPropertyChanged(AIndex);
  8704. end;
  8705. Procedure TAccountPermission.Setname(AIndex : Integer; const AValue : String);
  8706. begin
  8707. If (Fname=AValue) then exit;
  8708. Fname:=AValue;
  8709. MarkPropertyChanged(AIndex);
  8710. end;
  8711. Procedure TAccountPermission.SetpermissionGroupId(AIndex : Integer; const AValue : String);
  8712. begin
  8713. If (FpermissionGroupId=AValue) then exit;
  8714. FpermissionGroupId:=AValue;
  8715. MarkPropertyChanged(AIndex);
  8716. end;
  8717. //2.6.4. bug workaround
  8718. {$IFDEF VER2_6}
  8719. Procedure TAccountPermission.SetArrayLength(Const AName : String; ALength : Longint);
  8720. begin
  8721. Case AName of
  8722. 'accountprofiles' : SetLength(FaccountProfiles,ALength);
  8723. else
  8724. Inherited SetArrayLength(AName,ALength);
  8725. end;
  8726. end;
  8727. {$ENDIF VER2_6}
  8728. { --------------------------------------------------------------------
  8729. TAccountPermissionGroup
  8730. --------------------------------------------------------------------}
  8731. Procedure TAccountPermissionGroup.Setid(AIndex : Integer; const AValue : String);
  8732. begin
  8733. If (Fid=AValue) then exit;
  8734. Fid:=AValue;
  8735. MarkPropertyChanged(AIndex);
  8736. end;
  8737. Procedure TAccountPermissionGroup.Setkind(AIndex : Integer; const AValue : String);
  8738. begin
  8739. If (Fkind=AValue) then exit;
  8740. Fkind:=AValue;
  8741. MarkPropertyChanged(AIndex);
  8742. end;
  8743. Procedure TAccountPermissionGroup.Setname(AIndex : Integer; const AValue : String);
  8744. begin
  8745. If (Fname=AValue) then exit;
  8746. Fname:=AValue;
  8747. MarkPropertyChanged(AIndex);
  8748. end;
  8749. { --------------------------------------------------------------------
  8750. TAccountPermissionGroupsListResponse
  8751. --------------------------------------------------------------------}
  8752. Procedure TAccountPermissionGroupsListResponse.SetaccountPermissionGroups(AIndex : Integer; const AValue : TAccountPermissionGroupsListResponseTypeaccountPermissionGroupsArray);
  8753. begin
  8754. If (FaccountPermissionGroups=AValue) then exit;
  8755. FaccountPermissionGroups:=AValue;
  8756. MarkPropertyChanged(AIndex);
  8757. end;
  8758. Procedure TAccountPermissionGroupsListResponse.Setkind(AIndex : Integer; const AValue : String);
  8759. begin
  8760. If (Fkind=AValue) then exit;
  8761. Fkind:=AValue;
  8762. MarkPropertyChanged(AIndex);
  8763. end;
  8764. //2.6.4. bug workaround
  8765. {$IFDEF VER2_6}
  8766. Procedure TAccountPermissionGroupsListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  8767. begin
  8768. Case AName of
  8769. 'accountpermissiongroups' : SetLength(FaccountPermissionGroups,ALength);
  8770. else
  8771. Inherited SetArrayLength(AName,ALength);
  8772. end;
  8773. end;
  8774. {$ENDIF VER2_6}
  8775. { --------------------------------------------------------------------
  8776. TAccountPermissionsListResponse
  8777. --------------------------------------------------------------------}
  8778. Procedure TAccountPermissionsListResponse.SetaccountPermissions(AIndex : Integer; const AValue : TAccountPermissionsListResponseTypeaccountPermissionsArray);
  8779. begin
  8780. If (FaccountPermissions=AValue) then exit;
  8781. FaccountPermissions:=AValue;
  8782. MarkPropertyChanged(AIndex);
  8783. end;
  8784. Procedure TAccountPermissionsListResponse.Setkind(AIndex : Integer; const AValue : String);
  8785. begin
  8786. If (Fkind=AValue) then exit;
  8787. Fkind:=AValue;
  8788. MarkPropertyChanged(AIndex);
  8789. end;
  8790. //2.6.4. bug workaround
  8791. {$IFDEF VER2_6}
  8792. Procedure TAccountPermissionsListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  8793. begin
  8794. Case AName of
  8795. 'accountpermissions' : SetLength(FaccountPermissions,ALength);
  8796. else
  8797. Inherited SetArrayLength(AName,ALength);
  8798. end;
  8799. end;
  8800. {$ENDIF VER2_6}
  8801. { --------------------------------------------------------------------
  8802. TAccountUserProfile
  8803. --------------------------------------------------------------------}
  8804. Procedure TAccountUserProfile.SetaccountId(AIndex : Integer; const AValue : String);
  8805. begin
  8806. If (FaccountId=AValue) then exit;
  8807. FaccountId:=AValue;
  8808. MarkPropertyChanged(AIndex);
  8809. end;
  8810. Procedure TAccountUserProfile.Setactive(AIndex : Integer; const AValue : boolean);
  8811. begin
  8812. If (Factive=AValue) then exit;
  8813. Factive:=AValue;
  8814. MarkPropertyChanged(AIndex);
  8815. end;
  8816. Procedure TAccountUserProfile.SetadvertiserFilter(AIndex : Integer; const AValue : TObjectFilter);
  8817. begin
  8818. If (FadvertiserFilter=AValue) then exit;
  8819. FadvertiserFilter:=AValue;
  8820. MarkPropertyChanged(AIndex);
  8821. end;
  8822. Procedure TAccountUserProfile.SetcampaignFilter(AIndex : Integer; const AValue : TObjectFilter);
  8823. begin
  8824. If (FcampaignFilter=AValue) then exit;
  8825. FcampaignFilter:=AValue;
  8826. MarkPropertyChanged(AIndex);
  8827. end;
  8828. Procedure TAccountUserProfile.Setcomments(AIndex : Integer; const AValue : String);
  8829. begin
  8830. If (Fcomments=AValue) then exit;
  8831. Fcomments:=AValue;
  8832. MarkPropertyChanged(AIndex);
  8833. end;
  8834. Procedure TAccountUserProfile.Setemail(AIndex : Integer; const AValue : String);
  8835. begin
  8836. If (Femail=AValue) then exit;
  8837. Femail:=AValue;
  8838. MarkPropertyChanged(AIndex);
  8839. end;
  8840. Procedure TAccountUserProfile.Setid(AIndex : Integer; const AValue : String);
  8841. begin
  8842. If (Fid=AValue) then exit;
  8843. Fid:=AValue;
  8844. MarkPropertyChanged(AIndex);
  8845. end;
  8846. Procedure TAccountUserProfile.Setkind(AIndex : Integer; const AValue : String);
  8847. begin
  8848. If (Fkind=AValue) then exit;
  8849. Fkind:=AValue;
  8850. MarkPropertyChanged(AIndex);
  8851. end;
  8852. Procedure TAccountUserProfile.Setlocale(AIndex : Integer; const AValue : String);
  8853. begin
  8854. If (Flocale=AValue) then exit;
  8855. Flocale:=AValue;
  8856. MarkPropertyChanged(AIndex);
  8857. end;
  8858. Procedure TAccountUserProfile.Setname(AIndex : Integer; const AValue : String);
  8859. begin
  8860. If (Fname=AValue) then exit;
  8861. Fname:=AValue;
  8862. MarkPropertyChanged(AIndex);
  8863. end;
  8864. Procedure TAccountUserProfile.SetsiteFilter(AIndex : Integer; const AValue : TObjectFilter);
  8865. begin
  8866. If (FsiteFilter=AValue) then exit;
  8867. FsiteFilter:=AValue;
  8868. MarkPropertyChanged(AIndex);
  8869. end;
  8870. Procedure TAccountUserProfile.SetsubaccountId(AIndex : Integer; const AValue : String);
  8871. begin
  8872. If (FsubaccountId=AValue) then exit;
  8873. FsubaccountId:=AValue;
  8874. MarkPropertyChanged(AIndex);
  8875. end;
  8876. Procedure TAccountUserProfile.SettraffickerType(AIndex : Integer; const AValue : String);
  8877. begin
  8878. If (FtraffickerType=AValue) then exit;
  8879. FtraffickerType:=AValue;
  8880. MarkPropertyChanged(AIndex);
  8881. end;
  8882. Procedure TAccountUserProfile.SetuserAccessType(AIndex : Integer; const AValue : String);
  8883. begin
  8884. If (FuserAccessType=AValue) then exit;
  8885. FuserAccessType:=AValue;
  8886. MarkPropertyChanged(AIndex);
  8887. end;
  8888. Procedure TAccountUserProfile.SetuserRoleFilter(AIndex : Integer; const AValue : TObjectFilter);
  8889. begin
  8890. If (FuserRoleFilter=AValue) then exit;
  8891. FuserRoleFilter:=AValue;
  8892. MarkPropertyChanged(AIndex);
  8893. end;
  8894. Procedure TAccountUserProfile.SetuserRoleId(AIndex : Integer; const AValue : String);
  8895. begin
  8896. If (FuserRoleId=AValue) then exit;
  8897. FuserRoleId:=AValue;
  8898. MarkPropertyChanged(AIndex);
  8899. end;
  8900. { --------------------------------------------------------------------
  8901. TAccountUserProfilesListResponse
  8902. --------------------------------------------------------------------}
  8903. Procedure TAccountUserProfilesListResponse.SetaccountUserProfiles(AIndex : Integer; const AValue : TAccountUserProfilesListResponseTypeaccountUserProfilesArray);
  8904. begin
  8905. If (FaccountUserProfiles=AValue) then exit;
  8906. FaccountUserProfiles:=AValue;
  8907. MarkPropertyChanged(AIndex);
  8908. end;
  8909. Procedure TAccountUserProfilesListResponse.Setkind(AIndex : Integer; const AValue : String);
  8910. begin
  8911. If (Fkind=AValue) then exit;
  8912. Fkind:=AValue;
  8913. MarkPropertyChanged(AIndex);
  8914. end;
  8915. Procedure TAccountUserProfilesListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  8916. begin
  8917. If (FnextPageToken=AValue) then exit;
  8918. FnextPageToken:=AValue;
  8919. MarkPropertyChanged(AIndex);
  8920. end;
  8921. //2.6.4. bug workaround
  8922. {$IFDEF VER2_6}
  8923. Procedure TAccountUserProfilesListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  8924. begin
  8925. Case AName of
  8926. 'accountuserprofiles' : SetLength(FaccountUserProfiles,ALength);
  8927. else
  8928. Inherited SetArrayLength(AName,ALength);
  8929. end;
  8930. end;
  8931. {$ENDIF VER2_6}
  8932. { --------------------------------------------------------------------
  8933. TAccountsListResponse
  8934. --------------------------------------------------------------------}
  8935. Procedure TAccountsListResponse.Setaccounts(AIndex : Integer; const AValue : TAccountsListResponseTypeaccountsArray);
  8936. begin
  8937. If (Faccounts=AValue) then exit;
  8938. Faccounts:=AValue;
  8939. MarkPropertyChanged(AIndex);
  8940. end;
  8941. Procedure TAccountsListResponse.Setkind(AIndex : Integer; const AValue : String);
  8942. begin
  8943. If (Fkind=AValue) then exit;
  8944. Fkind:=AValue;
  8945. MarkPropertyChanged(AIndex);
  8946. end;
  8947. Procedure TAccountsListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  8948. begin
  8949. If (FnextPageToken=AValue) then exit;
  8950. FnextPageToken:=AValue;
  8951. MarkPropertyChanged(AIndex);
  8952. end;
  8953. //2.6.4. bug workaround
  8954. {$IFDEF VER2_6}
  8955. Procedure TAccountsListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  8956. begin
  8957. Case AName of
  8958. 'accounts' : SetLength(Faccounts,ALength);
  8959. else
  8960. Inherited SetArrayLength(AName,ALength);
  8961. end;
  8962. end;
  8963. {$ENDIF VER2_6}
  8964. { --------------------------------------------------------------------
  8965. TActivities
  8966. --------------------------------------------------------------------}
  8967. Procedure TActivities.Setfilters(AIndex : Integer; const AValue : TActivitiesTypefiltersArray);
  8968. begin
  8969. If (Ffilters=AValue) then exit;
  8970. Ffilters:=AValue;
  8971. MarkPropertyChanged(AIndex);
  8972. end;
  8973. Procedure TActivities.Setkind(AIndex : Integer; const AValue : String);
  8974. begin
  8975. If (Fkind=AValue) then exit;
  8976. Fkind:=AValue;
  8977. MarkPropertyChanged(AIndex);
  8978. end;
  8979. Procedure TActivities.SetmetricNames(AIndex : Integer; const AValue : TStringArray);
  8980. begin
  8981. If (FmetricNames=AValue) then exit;
  8982. FmetricNames:=AValue;
  8983. MarkPropertyChanged(AIndex);
  8984. end;
  8985. //2.6.4. bug workaround
  8986. {$IFDEF VER2_6}
  8987. Procedure TActivities.SetArrayLength(Const AName : String; ALength : Longint);
  8988. begin
  8989. Case AName of
  8990. 'filters' : SetLength(Ffilters,ALength);
  8991. 'metricnames' : SetLength(FmetricNames,ALength);
  8992. else
  8993. Inherited SetArrayLength(AName,ALength);
  8994. end;
  8995. end;
  8996. {$ENDIF VER2_6}
  8997. { --------------------------------------------------------------------
  8998. TAd
  8999. --------------------------------------------------------------------}
  9000. Procedure TAd.SetaccountId(AIndex : Integer; const AValue : String);
  9001. begin
  9002. If (FaccountId=AValue) then exit;
  9003. FaccountId:=AValue;
  9004. MarkPropertyChanged(AIndex);
  9005. end;
  9006. Procedure TAd.Setactive(AIndex : Integer; const AValue : boolean);
  9007. begin
  9008. If (Factive=AValue) then exit;
  9009. Factive:=AValue;
  9010. MarkPropertyChanged(AIndex);
  9011. end;
  9012. Procedure TAd.SetadvertiserId(AIndex : Integer; const AValue : String);
  9013. begin
  9014. If (FadvertiserId=AValue) then exit;
  9015. FadvertiserId:=AValue;
  9016. MarkPropertyChanged(AIndex);
  9017. end;
  9018. Procedure TAd.SetadvertiserIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue);
  9019. begin
  9020. If (FadvertiserIdDimensionValue=AValue) then exit;
  9021. FadvertiserIdDimensionValue:=AValue;
  9022. MarkPropertyChanged(AIndex);
  9023. end;
  9024. Procedure TAd.Setarchived(AIndex : Integer; const AValue : boolean);
  9025. begin
  9026. If (Farchived=AValue) then exit;
  9027. Farchived:=AValue;
  9028. MarkPropertyChanged(AIndex);
  9029. end;
  9030. Procedure TAd.SetaudienceSegmentId(AIndex : Integer; const AValue : String);
  9031. begin
  9032. If (FaudienceSegmentId=AValue) then exit;
  9033. FaudienceSegmentId:=AValue;
  9034. MarkPropertyChanged(AIndex);
  9035. end;
  9036. Procedure TAd.SetcampaignId(AIndex : Integer; const AValue : String);
  9037. begin
  9038. If (FcampaignId=AValue) then exit;
  9039. FcampaignId:=AValue;
  9040. MarkPropertyChanged(AIndex);
  9041. end;
  9042. Procedure TAd.SetcampaignIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue);
  9043. begin
  9044. If (FcampaignIdDimensionValue=AValue) then exit;
  9045. FcampaignIdDimensionValue:=AValue;
  9046. MarkPropertyChanged(AIndex);
  9047. end;
  9048. Procedure TAd.SetclickThroughUrl(AIndex : Integer; const AValue : TClickThroughUrl);
  9049. begin
  9050. If (FclickThroughUrl=AValue) then exit;
  9051. FclickThroughUrl:=AValue;
  9052. MarkPropertyChanged(AIndex);
  9053. end;
  9054. Procedure TAd.SetclickThroughUrlSuffixProperties(AIndex : Integer; const AValue : TClickThroughUrlSuffixProperties);
  9055. begin
  9056. If (FclickThroughUrlSuffixProperties=AValue) then exit;
  9057. FclickThroughUrlSuffixProperties:=AValue;
  9058. MarkPropertyChanged(AIndex);
  9059. end;
  9060. Procedure TAd.Setcomments(AIndex : Integer; const AValue : String);
  9061. begin
  9062. If (Fcomments=AValue) then exit;
  9063. Fcomments:=AValue;
  9064. MarkPropertyChanged(AIndex);
  9065. end;
  9066. Procedure TAd.Setcompatibility(AIndex : Integer; const AValue : String);
  9067. begin
  9068. If (Fcompatibility=AValue) then exit;
  9069. Fcompatibility:=AValue;
  9070. MarkPropertyChanged(AIndex);
  9071. end;
  9072. Procedure TAd.SetcreateInfo(AIndex : Integer; const AValue : TLastModifiedInfo);
  9073. begin
  9074. If (FcreateInfo=AValue) then exit;
  9075. FcreateInfo:=AValue;
  9076. MarkPropertyChanged(AIndex);
  9077. end;
  9078. Procedure TAd.SetcreativeGroupAssignments(AIndex : Integer; const AValue : TAdTypecreativeGroupAssignmentsArray);
  9079. begin
  9080. If (FcreativeGroupAssignments=AValue) then exit;
  9081. FcreativeGroupAssignments:=AValue;
  9082. MarkPropertyChanged(AIndex);
  9083. end;
  9084. Procedure TAd.SetcreativeRotation(AIndex : Integer; const AValue : TCreativeRotation);
  9085. begin
  9086. If (FcreativeRotation=AValue) then exit;
  9087. FcreativeRotation:=AValue;
  9088. MarkPropertyChanged(AIndex);
  9089. end;
  9090. Procedure TAd.SetdayPartTargeting(AIndex : Integer; const AValue : TDayPartTargeting);
  9091. begin
  9092. If (FdayPartTargeting=AValue) then exit;
  9093. FdayPartTargeting:=AValue;
  9094. MarkPropertyChanged(AIndex);
  9095. end;
  9096. Procedure TAd.SetdefaultClickThroughEventTagProperties(AIndex : Integer; const AValue : TDefaultClickThroughEventTagProperties);
  9097. begin
  9098. If (FdefaultClickThroughEventTagProperties=AValue) then exit;
  9099. FdefaultClickThroughEventTagProperties:=AValue;
  9100. MarkPropertyChanged(AIndex);
  9101. end;
  9102. Procedure TAd.SetdeliverySchedule(AIndex : Integer; const AValue : TDeliverySchedule);
  9103. begin
  9104. If (FdeliverySchedule=AValue) then exit;
  9105. FdeliverySchedule:=AValue;
  9106. MarkPropertyChanged(AIndex);
  9107. end;
  9108. Procedure TAd.SetdynamicClickTracker(AIndex : Integer; const AValue : boolean);
  9109. begin
  9110. If (FdynamicClickTracker=AValue) then exit;
  9111. FdynamicClickTracker:=AValue;
  9112. MarkPropertyChanged(AIndex);
  9113. end;
  9114. Procedure TAd.SetendTime(AIndex : Integer; const AValue : TDatetime);
  9115. begin
  9116. If (FendTime=AValue) then exit;
  9117. FendTime:=AValue;
  9118. MarkPropertyChanged(AIndex);
  9119. end;
  9120. Procedure TAd.SeteventTagOverrides(AIndex : Integer; const AValue : TAdTypeeventTagOverridesArray);
  9121. begin
  9122. If (FeventTagOverrides=AValue) then exit;
  9123. FeventTagOverrides:=AValue;
  9124. MarkPropertyChanged(AIndex);
  9125. end;
  9126. Procedure TAd.SetgeoTargeting(AIndex : Integer; const AValue : TGeoTargeting);
  9127. begin
  9128. If (FgeoTargeting=AValue) then exit;
  9129. FgeoTargeting:=AValue;
  9130. MarkPropertyChanged(AIndex);
  9131. end;
  9132. Procedure TAd.Setid(AIndex : Integer; const AValue : String);
  9133. begin
  9134. If (Fid=AValue) then exit;
  9135. Fid:=AValue;
  9136. MarkPropertyChanged(AIndex);
  9137. end;
  9138. Procedure TAd.SetidDimensionValue(AIndex : Integer; const AValue : TDimensionValue);
  9139. begin
  9140. If (FidDimensionValue=AValue) then exit;
  9141. FidDimensionValue:=AValue;
  9142. MarkPropertyChanged(AIndex);
  9143. end;
  9144. Procedure TAd.SetkeyValueTargetingExpression(AIndex : Integer; const AValue : TKeyValueTargetingExpression);
  9145. begin
  9146. If (FkeyValueTargetingExpression=AValue) then exit;
  9147. FkeyValueTargetingExpression:=AValue;
  9148. MarkPropertyChanged(AIndex);
  9149. end;
  9150. Procedure TAd.Setkind(AIndex : Integer; const AValue : String);
  9151. begin
  9152. If (Fkind=AValue) then exit;
  9153. Fkind:=AValue;
  9154. MarkPropertyChanged(AIndex);
  9155. end;
  9156. Procedure TAd.SetlastModifiedInfo(AIndex : Integer; const AValue : TLastModifiedInfo);
  9157. begin
  9158. If (FlastModifiedInfo=AValue) then exit;
  9159. FlastModifiedInfo:=AValue;
  9160. MarkPropertyChanged(AIndex);
  9161. end;
  9162. Procedure TAd.Setname(AIndex : Integer; const AValue : String);
  9163. begin
  9164. If (Fname=AValue) then exit;
  9165. Fname:=AValue;
  9166. MarkPropertyChanged(AIndex);
  9167. end;
  9168. Procedure TAd.SetplacementAssignments(AIndex : Integer; const AValue : TAdTypeplacementAssignmentsArray);
  9169. begin
  9170. If (FplacementAssignments=AValue) then exit;
  9171. FplacementAssignments:=AValue;
  9172. MarkPropertyChanged(AIndex);
  9173. end;
  9174. Procedure TAd.SetremarketingListExpression(AIndex : Integer; const AValue : TListTargetingExpression);
  9175. begin
  9176. If (FremarketingListExpression=AValue) then exit;
  9177. FremarketingListExpression:=AValue;
  9178. MarkPropertyChanged(AIndex);
  9179. end;
  9180. Procedure TAd.Setsize(AIndex : Integer; const AValue : TSize);
  9181. begin
  9182. If (Fsize=AValue) then exit;
  9183. Fsize:=AValue;
  9184. MarkPropertyChanged(AIndex);
  9185. end;
  9186. Procedure TAd.SetsslCompliant(AIndex : Integer; const AValue : boolean);
  9187. begin
  9188. If (FsslCompliant=AValue) then exit;
  9189. FsslCompliant:=AValue;
  9190. MarkPropertyChanged(AIndex);
  9191. end;
  9192. Procedure TAd.SetsslRequired(AIndex : Integer; const AValue : boolean);
  9193. begin
  9194. If (FsslRequired=AValue) then exit;
  9195. FsslRequired:=AValue;
  9196. MarkPropertyChanged(AIndex);
  9197. end;
  9198. Procedure TAd.SetstartTime(AIndex : Integer; const AValue : TDatetime);
  9199. begin
  9200. If (FstartTime=AValue) then exit;
  9201. FstartTime:=AValue;
  9202. MarkPropertyChanged(AIndex);
  9203. end;
  9204. Procedure TAd.SetsubaccountId(AIndex : Integer; const AValue : String);
  9205. begin
  9206. If (FsubaccountId=AValue) then exit;
  9207. FsubaccountId:=AValue;
  9208. MarkPropertyChanged(AIndex);
  9209. end;
  9210. Procedure TAd.SettechnologyTargeting(AIndex : Integer; const AValue : TTechnologyTargeting);
  9211. begin
  9212. If (FtechnologyTargeting=AValue) then exit;
  9213. FtechnologyTargeting:=AValue;
  9214. MarkPropertyChanged(AIndex);
  9215. end;
  9216. Procedure TAd.Set_type(AIndex : Integer; const AValue : String);
  9217. begin
  9218. If (F_type=AValue) then exit;
  9219. F_type:=AValue;
  9220. MarkPropertyChanged(AIndex);
  9221. end;
  9222. Class Function TAd.ExportPropertyName(Const AName : String) :String;
  9223. begin
  9224. Case AName of
  9225. '_type' : Result:='type';
  9226. else
  9227. Result:=Inherited ExportPropertyName(AName);
  9228. end;
  9229. end;
  9230. //2.6.4. bug workaround
  9231. {$IFDEF VER2_6}
  9232. Procedure TAd.SetArrayLength(Const AName : String; ALength : Longint);
  9233. begin
  9234. Case AName of
  9235. 'creativegroupassignments' : SetLength(FcreativeGroupAssignments,ALength);
  9236. 'eventtagoverrides' : SetLength(FeventTagOverrides,ALength);
  9237. 'placementassignments' : SetLength(FplacementAssignments,ALength);
  9238. else
  9239. Inherited SetArrayLength(AName,ALength);
  9240. end;
  9241. end;
  9242. {$ENDIF VER2_6}
  9243. { --------------------------------------------------------------------
  9244. TAdSlot
  9245. --------------------------------------------------------------------}
  9246. Procedure TAdSlot.Setcomment(AIndex : Integer; const AValue : String);
  9247. begin
  9248. If (Fcomment=AValue) then exit;
  9249. Fcomment:=AValue;
  9250. MarkPropertyChanged(AIndex);
  9251. end;
  9252. Procedure TAdSlot.Setcompatibility(AIndex : Integer; const AValue : String);
  9253. begin
  9254. If (Fcompatibility=AValue) then exit;
  9255. Fcompatibility:=AValue;
  9256. MarkPropertyChanged(AIndex);
  9257. end;
  9258. Procedure TAdSlot.Setheight(AIndex : Integer; const AValue : String);
  9259. begin
  9260. If (Fheight=AValue) then exit;
  9261. Fheight:=AValue;
  9262. MarkPropertyChanged(AIndex);
  9263. end;
  9264. Procedure TAdSlot.SetlinkedPlacementId(AIndex : Integer; const AValue : String);
  9265. begin
  9266. If (FlinkedPlacementId=AValue) then exit;
  9267. FlinkedPlacementId:=AValue;
  9268. MarkPropertyChanged(AIndex);
  9269. end;
  9270. Procedure TAdSlot.Setname(AIndex : Integer; const AValue : String);
  9271. begin
  9272. If (Fname=AValue) then exit;
  9273. Fname:=AValue;
  9274. MarkPropertyChanged(AIndex);
  9275. end;
  9276. Procedure TAdSlot.SetpaymentSourceType(AIndex : Integer; const AValue : String);
  9277. begin
  9278. If (FpaymentSourceType=AValue) then exit;
  9279. FpaymentSourceType:=AValue;
  9280. MarkPropertyChanged(AIndex);
  9281. end;
  9282. Procedure TAdSlot.Setprimary(AIndex : Integer; const AValue : boolean);
  9283. begin
  9284. If (Fprimary=AValue) then exit;
  9285. Fprimary:=AValue;
  9286. MarkPropertyChanged(AIndex);
  9287. end;
  9288. Procedure TAdSlot.Setwidth(AIndex : Integer; const AValue : String);
  9289. begin
  9290. If (Fwidth=AValue) then exit;
  9291. Fwidth:=AValue;
  9292. MarkPropertyChanged(AIndex);
  9293. end;
  9294. { --------------------------------------------------------------------
  9295. TAdsListResponse
  9296. --------------------------------------------------------------------}
  9297. Procedure TAdsListResponse.Setads(AIndex : Integer; const AValue : TAdsListResponseTypeadsArray);
  9298. begin
  9299. If (Fads=AValue) then exit;
  9300. Fads:=AValue;
  9301. MarkPropertyChanged(AIndex);
  9302. end;
  9303. Procedure TAdsListResponse.Setkind(AIndex : Integer; const AValue : String);
  9304. begin
  9305. If (Fkind=AValue) then exit;
  9306. Fkind:=AValue;
  9307. MarkPropertyChanged(AIndex);
  9308. end;
  9309. Procedure TAdsListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  9310. begin
  9311. If (FnextPageToken=AValue) then exit;
  9312. FnextPageToken:=AValue;
  9313. MarkPropertyChanged(AIndex);
  9314. end;
  9315. //2.6.4. bug workaround
  9316. {$IFDEF VER2_6}
  9317. Procedure TAdsListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  9318. begin
  9319. Case AName of
  9320. 'ads' : SetLength(Fads,ALength);
  9321. else
  9322. Inherited SetArrayLength(AName,ALength);
  9323. end;
  9324. end;
  9325. {$ENDIF VER2_6}
  9326. { --------------------------------------------------------------------
  9327. TAdvertiser
  9328. --------------------------------------------------------------------}
  9329. Procedure TAdvertiser.SetaccountId(AIndex : Integer; const AValue : String);
  9330. begin
  9331. If (FaccountId=AValue) then exit;
  9332. FaccountId:=AValue;
  9333. MarkPropertyChanged(AIndex);
  9334. end;
  9335. Procedure TAdvertiser.SetadvertiserGroupId(AIndex : Integer; const AValue : String);
  9336. begin
  9337. If (FadvertiserGroupId=AValue) then exit;
  9338. FadvertiserGroupId:=AValue;
  9339. MarkPropertyChanged(AIndex);
  9340. end;
  9341. Procedure TAdvertiser.SetclickThroughUrlSuffix(AIndex : Integer; const AValue : String);
  9342. begin
  9343. If (FclickThroughUrlSuffix=AValue) then exit;
  9344. FclickThroughUrlSuffix:=AValue;
  9345. MarkPropertyChanged(AIndex);
  9346. end;
  9347. Procedure TAdvertiser.SetdefaultClickThroughEventTagId(AIndex : Integer; const AValue : String);
  9348. begin
  9349. If (FdefaultClickThroughEventTagId=AValue) then exit;
  9350. FdefaultClickThroughEventTagId:=AValue;
  9351. MarkPropertyChanged(AIndex);
  9352. end;
  9353. Procedure TAdvertiser.SetdefaultEmail(AIndex : Integer; const AValue : String);
  9354. begin
  9355. If (FdefaultEmail=AValue) then exit;
  9356. FdefaultEmail:=AValue;
  9357. MarkPropertyChanged(AIndex);
  9358. end;
  9359. Procedure TAdvertiser.SetfloodlightConfigurationId(AIndex : Integer; const AValue : String);
  9360. begin
  9361. If (FfloodlightConfigurationId=AValue) then exit;
  9362. FfloodlightConfigurationId:=AValue;
  9363. MarkPropertyChanged(AIndex);
  9364. end;
  9365. Procedure TAdvertiser.SetfloodlightConfigurationIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue);
  9366. begin
  9367. If (FfloodlightConfigurationIdDimensionValue=AValue) then exit;
  9368. FfloodlightConfigurationIdDimensionValue:=AValue;
  9369. MarkPropertyChanged(AIndex);
  9370. end;
  9371. Procedure TAdvertiser.Setid(AIndex : Integer; const AValue : String);
  9372. begin
  9373. If (Fid=AValue) then exit;
  9374. Fid:=AValue;
  9375. MarkPropertyChanged(AIndex);
  9376. end;
  9377. Procedure TAdvertiser.SetidDimensionValue(AIndex : Integer; const AValue : TDimensionValue);
  9378. begin
  9379. If (FidDimensionValue=AValue) then exit;
  9380. FidDimensionValue:=AValue;
  9381. MarkPropertyChanged(AIndex);
  9382. end;
  9383. Procedure TAdvertiser.Setkind(AIndex : Integer; const AValue : String);
  9384. begin
  9385. If (Fkind=AValue) then exit;
  9386. Fkind:=AValue;
  9387. MarkPropertyChanged(AIndex);
  9388. end;
  9389. Procedure TAdvertiser.Setname(AIndex : Integer; const AValue : String);
  9390. begin
  9391. If (Fname=AValue) then exit;
  9392. Fname:=AValue;
  9393. MarkPropertyChanged(AIndex);
  9394. end;
  9395. Procedure TAdvertiser.SetoriginalFloodlightConfigurationId(AIndex : Integer; const AValue : String);
  9396. begin
  9397. If (ForiginalFloodlightConfigurationId=AValue) then exit;
  9398. ForiginalFloodlightConfigurationId:=AValue;
  9399. MarkPropertyChanged(AIndex);
  9400. end;
  9401. Procedure TAdvertiser.Setstatus(AIndex : Integer; const AValue : String);
  9402. begin
  9403. If (Fstatus=AValue) then exit;
  9404. Fstatus:=AValue;
  9405. MarkPropertyChanged(AIndex);
  9406. end;
  9407. Procedure TAdvertiser.SetsubaccountId(AIndex : Integer; const AValue : String);
  9408. begin
  9409. If (FsubaccountId=AValue) then exit;
  9410. FsubaccountId:=AValue;
  9411. MarkPropertyChanged(AIndex);
  9412. end;
  9413. Procedure TAdvertiser.Setsuspended(AIndex : Integer; const AValue : boolean);
  9414. begin
  9415. If (Fsuspended=AValue) then exit;
  9416. Fsuspended:=AValue;
  9417. MarkPropertyChanged(AIndex);
  9418. end;
  9419. { --------------------------------------------------------------------
  9420. TAdvertiserGroup
  9421. --------------------------------------------------------------------}
  9422. Procedure TAdvertiserGroup.SetaccountId(AIndex : Integer; const AValue : String);
  9423. begin
  9424. If (FaccountId=AValue) then exit;
  9425. FaccountId:=AValue;
  9426. MarkPropertyChanged(AIndex);
  9427. end;
  9428. Procedure TAdvertiserGroup.Setid(AIndex : Integer; const AValue : String);
  9429. begin
  9430. If (Fid=AValue) then exit;
  9431. Fid:=AValue;
  9432. MarkPropertyChanged(AIndex);
  9433. end;
  9434. Procedure TAdvertiserGroup.Setkind(AIndex : Integer; const AValue : String);
  9435. begin
  9436. If (Fkind=AValue) then exit;
  9437. Fkind:=AValue;
  9438. MarkPropertyChanged(AIndex);
  9439. end;
  9440. Procedure TAdvertiserGroup.Setname(AIndex : Integer; const AValue : String);
  9441. begin
  9442. If (Fname=AValue) then exit;
  9443. Fname:=AValue;
  9444. MarkPropertyChanged(AIndex);
  9445. end;
  9446. { --------------------------------------------------------------------
  9447. TAdvertiserGroupsListResponse
  9448. --------------------------------------------------------------------}
  9449. Procedure TAdvertiserGroupsListResponse.SetadvertiserGroups(AIndex : Integer; const AValue : TAdvertiserGroupsListResponseTypeadvertiserGroupsArray);
  9450. begin
  9451. If (FadvertiserGroups=AValue) then exit;
  9452. FadvertiserGroups:=AValue;
  9453. MarkPropertyChanged(AIndex);
  9454. end;
  9455. Procedure TAdvertiserGroupsListResponse.Setkind(AIndex : Integer; const AValue : String);
  9456. begin
  9457. If (Fkind=AValue) then exit;
  9458. Fkind:=AValue;
  9459. MarkPropertyChanged(AIndex);
  9460. end;
  9461. Procedure TAdvertiserGroupsListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  9462. begin
  9463. If (FnextPageToken=AValue) then exit;
  9464. FnextPageToken:=AValue;
  9465. MarkPropertyChanged(AIndex);
  9466. end;
  9467. //2.6.4. bug workaround
  9468. {$IFDEF VER2_6}
  9469. Procedure TAdvertiserGroupsListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  9470. begin
  9471. Case AName of
  9472. 'advertisergroups' : SetLength(FadvertiserGroups,ALength);
  9473. else
  9474. Inherited SetArrayLength(AName,ALength);
  9475. end;
  9476. end;
  9477. {$ENDIF VER2_6}
  9478. { --------------------------------------------------------------------
  9479. TAdvertisersListResponse
  9480. --------------------------------------------------------------------}
  9481. Procedure TAdvertisersListResponse.Setadvertisers(AIndex : Integer; const AValue : TAdvertisersListResponseTypeadvertisersArray);
  9482. begin
  9483. If (Fadvertisers=AValue) then exit;
  9484. Fadvertisers:=AValue;
  9485. MarkPropertyChanged(AIndex);
  9486. end;
  9487. Procedure TAdvertisersListResponse.Setkind(AIndex : Integer; const AValue : String);
  9488. begin
  9489. If (Fkind=AValue) then exit;
  9490. Fkind:=AValue;
  9491. MarkPropertyChanged(AIndex);
  9492. end;
  9493. Procedure TAdvertisersListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  9494. begin
  9495. If (FnextPageToken=AValue) then exit;
  9496. FnextPageToken:=AValue;
  9497. MarkPropertyChanged(AIndex);
  9498. end;
  9499. //2.6.4. bug workaround
  9500. {$IFDEF VER2_6}
  9501. Procedure TAdvertisersListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  9502. begin
  9503. Case AName of
  9504. 'advertisers' : SetLength(Fadvertisers,ALength);
  9505. else
  9506. Inherited SetArrayLength(AName,ALength);
  9507. end;
  9508. end;
  9509. {$ENDIF VER2_6}
  9510. { --------------------------------------------------------------------
  9511. TAudienceSegment
  9512. --------------------------------------------------------------------}
  9513. Procedure TAudienceSegment.Setallocation(AIndex : Integer; const AValue : integer);
  9514. begin
  9515. If (Fallocation=AValue) then exit;
  9516. Fallocation:=AValue;
  9517. MarkPropertyChanged(AIndex);
  9518. end;
  9519. Procedure TAudienceSegment.Setid(AIndex : Integer; const AValue : String);
  9520. begin
  9521. If (Fid=AValue) then exit;
  9522. Fid:=AValue;
  9523. MarkPropertyChanged(AIndex);
  9524. end;
  9525. Procedure TAudienceSegment.Setname(AIndex : Integer; const AValue : String);
  9526. begin
  9527. If (Fname=AValue) then exit;
  9528. Fname:=AValue;
  9529. MarkPropertyChanged(AIndex);
  9530. end;
  9531. { --------------------------------------------------------------------
  9532. TAudienceSegmentGroup
  9533. --------------------------------------------------------------------}
  9534. Procedure TAudienceSegmentGroup.SetaudienceSegments(AIndex : Integer; const AValue : TAudienceSegmentGroupTypeaudienceSegmentsArray);
  9535. begin
  9536. If (FaudienceSegments=AValue) then exit;
  9537. FaudienceSegments:=AValue;
  9538. MarkPropertyChanged(AIndex);
  9539. end;
  9540. Procedure TAudienceSegmentGroup.Setid(AIndex : Integer; const AValue : String);
  9541. begin
  9542. If (Fid=AValue) then exit;
  9543. Fid:=AValue;
  9544. MarkPropertyChanged(AIndex);
  9545. end;
  9546. Procedure TAudienceSegmentGroup.Setname(AIndex : Integer; const AValue : String);
  9547. begin
  9548. If (Fname=AValue) then exit;
  9549. Fname:=AValue;
  9550. MarkPropertyChanged(AIndex);
  9551. end;
  9552. //2.6.4. bug workaround
  9553. {$IFDEF VER2_6}
  9554. Procedure TAudienceSegmentGroup.SetArrayLength(Const AName : String; ALength : Longint);
  9555. begin
  9556. Case AName of
  9557. 'audiencesegments' : SetLength(FaudienceSegments,ALength);
  9558. else
  9559. Inherited SetArrayLength(AName,ALength);
  9560. end;
  9561. end;
  9562. {$ENDIF VER2_6}
  9563. { --------------------------------------------------------------------
  9564. TBrowser
  9565. --------------------------------------------------------------------}
  9566. Procedure TBrowser.SetbrowserVersionId(AIndex : Integer; const AValue : String);
  9567. begin
  9568. If (FbrowserVersionId=AValue) then exit;
  9569. FbrowserVersionId:=AValue;
  9570. MarkPropertyChanged(AIndex);
  9571. end;
  9572. Procedure TBrowser.SetdartId(AIndex : Integer; const AValue : String);
  9573. begin
  9574. If (FdartId=AValue) then exit;
  9575. FdartId:=AValue;
  9576. MarkPropertyChanged(AIndex);
  9577. end;
  9578. Procedure TBrowser.Setkind(AIndex : Integer; const AValue : String);
  9579. begin
  9580. If (Fkind=AValue) then exit;
  9581. Fkind:=AValue;
  9582. MarkPropertyChanged(AIndex);
  9583. end;
  9584. Procedure TBrowser.SetmajorVersion(AIndex : Integer; const AValue : String);
  9585. begin
  9586. If (FmajorVersion=AValue) then exit;
  9587. FmajorVersion:=AValue;
  9588. MarkPropertyChanged(AIndex);
  9589. end;
  9590. Procedure TBrowser.SetminorVersion(AIndex : Integer; const AValue : String);
  9591. begin
  9592. If (FminorVersion=AValue) then exit;
  9593. FminorVersion:=AValue;
  9594. MarkPropertyChanged(AIndex);
  9595. end;
  9596. Procedure TBrowser.Setname(AIndex : Integer; const AValue : String);
  9597. begin
  9598. If (Fname=AValue) then exit;
  9599. Fname:=AValue;
  9600. MarkPropertyChanged(AIndex);
  9601. end;
  9602. { --------------------------------------------------------------------
  9603. TBrowsersListResponse
  9604. --------------------------------------------------------------------}
  9605. Procedure TBrowsersListResponse.Setbrowsers(AIndex : Integer; const AValue : TBrowsersListResponseTypebrowsersArray);
  9606. begin
  9607. If (Fbrowsers=AValue) then exit;
  9608. Fbrowsers:=AValue;
  9609. MarkPropertyChanged(AIndex);
  9610. end;
  9611. Procedure TBrowsersListResponse.Setkind(AIndex : Integer; const AValue : String);
  9612. begin
  9613. If (Fkind=AValue) then exit;
  9614. Fkind:=AValue;
  9615. MarkPropertyChanged(AIndex);
  9616. end;
  9617. //2.6.4. bug workaround
  9618. {$IFDEF VER2_6}
  9619. Procedure TBrowsersListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  9620. begin
  9621. Case AName of
  9622. 'browsers' : SetLength(Fbrowsers,ALength);
  9623. else
  9624. Inherited SetArrayLength(AName,ALength);
  9625. end;
  9626. end;
  9627. {$ENDIF VER2_6}
  9628. { --------------------------------------------------------------------
  9629. TCampaign
  9630. --------------------------------------------------------------------}
  9631. Procedure TCampaign.SetaccountId(AIndex : Integer; const AValue : String);
  9632. begin
  9633. If (FaccountId=AValue) then exit;
  9634. FaccountId:=AValue;
  9635. MarkPropertyChanged(AIndex);
  9636. end;
  9637. Procedure TCampaign.SetadditionalCreativeOptimizationConfigurations(AIndex : Integer; const AValue : TCampaignTypeadditionalCreativeOptimizationConfigurationsArray);
  9638. begin
  9639. If (FadditionalCreativeOptimizationConfigurations=AValue) then exit;
  9640. FadditionalCreativeOptimizationConfigurations:=AValue;
  9641. MarkPropertyChanged(AIndex);
  9642. end;
  9643. Procedure TCampaign.SetadvertiserGroupId(AIndex : Integer; const AValue : String);
  9644. begin
  9645. If (FadvertiserGroupId=AValue) then exit;
  9646. FadvertiserGroupId:=AValue;
  9647. MarkPropertyChanged(AIndex);
  9648. end;
  9649. Procedure TCampaign.SetadvertiserId(AIndex : Integer; const AValue : String);
  9650. begin
  9651. If (FadvertiserId=AValue) then exit;
  9652. FadvertiserId:=AValue;
  9653. MarkPropertyChanged(AIndex);
  9654. end;
  9655. Procedure TCampaign.SetadvertiserIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue);
  9656. begin
  9657. If (FadvertiserIdDimensionValue=AValue) then exit;
  9658. FadvertiserIdDimensionValue:=AValue;
  9659. MarkPropertyChanged(AIndex);
  9660. end;
  9661. Procedure TCampaign.Setarchived(AIndex : Integer; const AValue : boolean);
  9662. begin
  9663. If (Farchived=AValue) then exit;
  9664. Farchived:=AValue;
  9665. MarkPropertyChanged(AIndex);
  9666. end;
  9667. Procedure TCampaign.SetaudienceSegmentGroups(AIndex : Integer; const AValue : TCampaignTypeaudienceSegmentGroupsArray);
  9668. begin
  9669. If (FaudienceSegmentGroups=AValue) then exit;
  9670. FaudienceSegmentGroups:=AValue;
  9671. MarkPropertyChanged(AIndex);
  9672. end;
  9673. Procedure TCampaign.SetbillingInvoiceCode(AIndex : Integer; const AValue : String);
  9674. begin
  9675. If (FbillingInvoiceCode=AValue) then exit;
  9676. FbillingInvoiceCode:=AValue;
  9677. MarkPropertyChanged(AIndex);
  9678. end;
  9679. Procedure TCampaign.SetclickThroughUrlSuffixProperties(AIndex : Integer; const AValue : TClickThroughUrlSuffixProperties);
  9680. begin
  9681. If (FclickThroughUrlSuffixProperties=AValue) then exit;
  9682. FclickThroughUrlSuffixProperties:=AValue;
  9683. MarkPropertyChanged(AIndex);
  9684. end;
  9685. Procedure TCampaign.Setcomment(AIndex : Integer; const AValue : String);
  9686. begin
  9687. If (Fcomment=AValue) then exit;
  9688. Fcomment:=AValue;
  9689. MarkPropertyChanged(AIndex);
  9690. end;
  9691. Procedure TCampaign.SetcomscoreVceEnabled(AIndex : Integer; const AValue : boolean);
  9692. begin
  9693. If (FcomscoreVceEnabled=AValue) then exit;
  9694. FcomscoreVceEnabled:=AValue;
  9695. MarkPropertyChanged(AIndex);
  9696. end;
  9697. Procedure TCampaign.SetcreateInfo(AIndex : Integer; const AValue : TLastModifiedInfo);
  9698. begin
  9699. If (FcreateInfo=AValue) then exit;
  9700. FcreateInfo:=AValue;
  9701. MarkPropertyChanged(AIndex);
  9702. end;
  9703. Procedure TCampaign.SetcreativeGroupIds(AIndex : Integer; const AValue : TStringArray);
  9704. begin
  9705. If (FcreativeGroupIds=AValue) then exit;
  9706. FcreativeGroupIds:=AValue;
  9707. MarkPropertyChanged(AIndex);
  9708. end;
  9709. Procedure TCampaign.SetcreativeOptimizationConfiguration(AIndex : Integer; const AValue : TCreativeOptimizationConfiguration);
  9710. begin
  9711. If (FcreativeOptimizationConfiguration=AValue) then exit;
  9712. FcreativeOptimizationConfiguration:=AValue;
  9713. MarkPropertyChanged(AIndex);
  9714. end;
  9715. Procedure TCampaign.SetdefaultClickThroughEventTagProperties(AIndex : Integer; const AValue : TDefaultClickThroughEventTagProperties);
  9716. begin
  9717. If (FdefaultClickThroughEventTagProperties=AValue) then exit;
  9718. FdefaultClickThroughEventTagProperties:=AValue;
  9719. MarkPropertyChanged(AIndex);
  9720. end;
  9721. Procedure TCampaign.SetendDate(AIndex : Integer; const AValue : TDate);
  9722. begin
  9723. If (FendDate=AValue) then exit;
  9724. FendDate:=AValue;
  9725. MarkPropertyChanged(AIndex);
  9726. end;
  9727. Procedure TCampaign.SeteventTagOverrides(AIndex : Integer; const AValue : TCampaignTypeeventTagOverridesArray);
  9728. begin
  9729. If (FeventTagOverrides=AValue) then exit;
  9730. FeventTagOverrides:=AValue;
  9731. MarkPropertyChanged(AIndex);
  9732. end;
  9733. Procedure TCampaign.SetexternalId(AIndex : Integer; const AValue : String);
  9734. begin
  9735. If (FexternalId=AValue) then exit;
  9736. FexternalId:=AValue;
  9737. MarkPropertyChanged(AIndex);
  9738. end;
  9739. Procedure TCampaign.Setid(AIndex : Integer; const AValue : String);
  9740. begin
  9741. If (Fid=AValue) then exit;
  9742. Fid:=AValue;
  9743. MarkPropertyChanged(AIndex);
  9744. end;
  9745. Procedure TCampaign.SetidDimensionValue(AIndex : Integer; const AValue : TDimensionValue);
  9746. begin
  9747. If (FidDimensionValue=AValue) then exit;
  9748. FidDimensionValue:=AValue;
  9749. MarkPropertyChanged(AIndex);
  9750. end;
  9751. Procedure TCampaign.Setkind(AIndex : Integer; const AValue : String);
  9752. begin
  9753. If (Fkind=AValue) then exit;
  9754. Fkind:=AValue;
  9755. MarkPropertyChanged(AIndex);
  9756. end;
  9757. Procedure TCampaign.SetlastModifiedInfo(AIndex : Integer; const AValue : TLastModifiedInfo);
  9758. begin
  9759. If (FlastModifiedInfo=AValue) then exit;
  9760. FlastModifiedInfo:=AValue;
  9761. MarkPropertyChanged(AIndex);
  9762. end;
  9763. Procedure TCampaign.SetlookbackConfiguration(AIndex : Integer; const AValue : TLookbackConfiguration);
  9764. begin
  9765. If (FlookbackConfiguration=AValue) then exit;
  9766. FlookbackConfiguration:=AValue;
  9767. MarkPropertyChanged(AIndex);
  9768. end;
  9769. Procedure TCampaign.Setname(AIndex : Integer; const AValue : String);
  9770. begin
  9771. If (Fname=AValue) then exit;
  9772. Fname:=AValue;
  9773. MarkPropertyChanged(AIndex);
  9774. end;
  9775. Procedure TCampaign.SetnielsenOcrEnabled(AIndex : Integer; const AValue : boolean);
  9776. begin
  9777. If (FnielsenOcrEnabled=AValue) then exit;
  9778. FnielsenOcrEnabled:=AValue;
  9779. MarkPropertyChanged(AIndex);
  9780. end;
  9781. Procedure TCampaign.SetstartDate(AIndex : Integer; const AValue : TDate);
  9782. begin
  9783. If (FstartDate=AValue) then exit;
  9784. FstartDate:=AValue;
  9785. MarkPropertyChanged(AIndex);
  9786. end;
  9787. Procedure TCampaign.SetsubaccountId(AIndex : Integer; const AValue : String);
  9788. begin
  9789. If (FsubaccountId=AValue) then exit;
  9790. FsubaccountId:=AValue;
  9791. MarkPropertyChanged(AIndex);
  9792. end;
  9793. Procedure TCampaign.SettraffickerEmails(AIndex : Integer; const AValue : TStringArray);
  9794. begin
  9795. If (FtraffickerEmails=AValue) then exit;
  9796. FtraffickerEmails:=AValue;
  9797. MarkPropertyChanged(AIndex);
  9798. end;
  9799. //2.6.4. bug workaround
  9800. {$IFDEF VER2_6}
  9801. Procedure TCampaign.SetArrayLength(Const AName : String; ALength : Longint);
  9802. begin
  9803. Case AName of
  9804. 'additionalcreativeoptimizationconfigurations' : SetLength(FadditionalCreativeOptimizationConfigurations,ALength);
  9805. 'audiencesegmentgroups' : SetLength(FaudienceSegmentGroups,ALength);
  9806. 'creativegroupids' : SetLength(FcreativeGroupIds,ALength);
  9807. 'eventtagoverrides' : SetLength(FeventTagOverrides,ALength);
  9808. 'traffickeremails' : SetLength(FtraffickerEmails,ALength);
  9809. else
  9810. Inherited SetArrayLength(AName,ALength);
  9811. end;
  9812. end;
  9813. {$ENDIF VER2_6}
  9814. { --------------------------------------------------------------------
  9815. TCampaignCreativeAssociation
  9816. --------------------------------------------------------------------}
  9817. Procedure TCampaignCreativeAssociation.SetcreativeId(AIndex : Integer; const AValue : String);
  9818. begin
  9819. If (FcreativeId=AValue) then exit;
  9820. FcreativeId:=AValue;
  9821. MarkPropertyChanged(AIndex);
  9822. end;
  9823. Procedure TCampaignCreativeAssociation.Setkind(AIndex : Integer; const AValue : String);
  9824. begin
  9825. If (Fkind=AValue) then exit;
  9826. Fkind:=AValue;
  9827. MarkPropertyChanged(AIndex);
  9828. end;
  9829. { --------------------------------------------------------------------
  9830. TCampaignCreativeAssociationsListResponse
  9831. --------------------------------------------------------------------}
  9832. Procedure TCampaignCreativeAssociationsListResponse.SetcampaignCreativeAssociations(AIndex : Integer; const AValue : TCampaignCreativeAssociationsListResponseTypecampaignCreativeAssociationsArray);
  9833. begin
  9834. If (FcampaignCreativeAssociations=AValue) then exit;
  9835. FcampaignCreativeAssociations:=AValue;
  9836. MarkPropertyChanged(AIndex);
  9837. end;
  9838. Procedure TCampaignCreativeAssociationsListResponse.Setkind(AIndex : Integer; const AValue : String);
  9839. begin
  9840. If (Fkind=AValue) then exit;
  9841. Fkind:=AValue;
  9842. MarkPropertyChanged(AIndex);
  9843. end;
  9844. Procedure TCampaignCreativeAssociationsListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  9845. begin
  9846. If (FnextPageToken=AValue) then exit;
  9847. FnextPageToken:=AValue;
  9848. MarkPropertyChanged(AIndex);
  9849. end;
  9850. //2.6.4. bug workaround
  9851. {$IFDEF VER2_6}
  9852. Procedure TCampaignCreativeAssociationsListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  9853. begin
  9854. Case AName of
  9855. 'campaigncreativeassociations' : SetLength(FcampaignCreativeAssociations,ALength);
  9856. else
  9857. Inherited SetArrayLength(AName,ALength);
  9858. end;
  9859. end;
  9860. {$ENDIF VER2_6}
  9861. { --------------------------------------------------------------------
  9862. TCampaignsListResponse
  9863. --------------------------------------------------------------------}
  9864. Procedure TCampaignsListResponse.Setcampaigns(AIndex : Integer; const AValue : TCampaignsListResponseTypecampaignsArray);
  9865. begin
  9866. If (Fcampaigns=AValue) then exit;
  9867. Fcampaigns:=AValue;
  9868. MarkPropertyChanged(AIndex);
  9869. end;
  9870. Procedure TCampaignsListResponse.Setkind(AIndex : Integer; const AValue : String);
  9871. begin
  9872. If (Fkind=AValue) then exit;
  9873. Fkind:=AValue;
  9874. MarkPropertyChanged(AIndex);
  9875. end;
  9876. Procedure TCampaignsListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  9877. begin
  9878. If (FnextPageToken=AValue) then exit;
  9879. FnextPageToken:=AValue;
  9880. MarkPropertyChanged(AIndex);
  9881. end;
  9882. //2.6.4. bug workaround
  9883. {$IFDEF VER2_6}
  9884. Procedure TCampaignsListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  9885. begin
  9886. Case AName of
  9887. 'campaigns' : SetLength(Fcampaigns,ALength);
  9888. else
  9889. Inherited SetArrayLength(AName,ALength);
  9890. end;
  9891. end;
  9892. {$ENDIF VER2_6}
  9893. { --------------------------------------------------------------------
  9894. TChangeLog
  9895. --------------------------------------------------------------------}
  9896. Procedure TChangeLog.SetaccountId(AIndex : Integer; const AValue : String);
  9897. begin
  9898. If (FaccountId=AValue) then exit;
  9899. FaccountId:=AValue;
  9900. MarkPropertyChanged(AIndex);
  9901. end;
  9902. Procedure TChangeLog.Setaction(AIndex : Integer; const AValue : String);
  9903. begin
  9904. If (Faction=AValue) then exit;
  9905. Faction:=AValue;
  9906. MarkPropertyChanged(AIndex);
  9907. end;
  9908. Procedure TChangeLog.SetchangeTime(AIndex : Integer; const AValue : TDatetime);
  9909. begin
  9910. If (FchangeTime=AValue) then exit;
  9911. FchangeTime:=AValue;
  9912. MarkPropertyChanged(AIndex);
  9913. end;
  9914. Procedure TChangeLog.SetfieldName(AIndex : Integer; const AValue : String);
  9915. begin
  9916. If (FfieldName=AValue) then exit;
  9917. FfieldName:=AValue;
  9918. MarkPropertyChanged(AIndex);
  9919. end;
  9920. Procedure TChangeLog.Setid(AIndex : Integer; const AValue : String);
  9921. begin
  9922. If (Fid=AValue) then exit;
  9923. Fid:=AValue;
  9924. MarkPropertyChanged(AIndex);
  9925. end;
  9926. Procedure TChangeLog.Setkind(AIndex : Integer; const AValue : String);
  9927. begin
  9928. If (Fkind=AValue) then exit;
  9929. Fkind:=AValue;
  9930. MarkPropertyChanged(AIndex);
  9931. end;
  9932. Procedure TChangeLog.SetnewValue(AIndex : Integer; const AValue : String);
  9933. begin
  9934. If (FnewValue=AValue) then exit;
  9935. FnewValue:=AValue;
  9936. MarkPropertyChanged(AIndex);
  9937. end;
  9938. Procedure TChangeLog.SetobjectId(AIndex : Integer; const AValue : String);
  9939. begin
  9940. If (FobjectId=AValue) then exit;
  9941. FobjectId:=AValue;
  9942. MarkPropertyChanged(AIndex);
  9943. end;
  9944. Procedure TChangeLog.SetobjectType(AIndex : Integer; const AValue : String);
  9945. begin
  9946. If (FobjectType=AValue) then exit;
  9947. FobjectType:=AValue;
  9948. MarkPropertyChanged(AIndex);
  9949. end;
  9950. Procedure TChangeLog.SetoldValue(AIndex : Integer; const AValue : String);
  9951. begin
  9952. If (FoldValue=AValue) then exit;
  9953. FoldValue:=AValue;
  9954. MarkPropertyChanged(AIndex);
  9955. end;
  9956. Procedure TChangeLog.SetsubaccountId(AIndex : Integer; const AValue : String);
  9957. begin
  9958. If (FsubaccountId=AValue) then exit;
  9959. FsubaccountId:=AValue;
  9960. MarkPropertyChanged(AIndex);
  9961. end;
  9962. Procedure TChangeLog.SettransactionId(AIndex : Integer; const AValue : String);
  9963. begin
  9964. If (FtransactionId=AValue) then exit;
  9965. FtransactionId:=AValue;
  9966. MarkPropertyChanged(AIndex);
  9967. end;
  9968. Procedure TChangeLog.SetuserProfileId(AIndex : Integer; const AValue : String);
  9969. begin
  9970. If (FuserProfileId=AValue) then exit;
  9971. FuserProfileId:=AValue;
  9972. MarkPropertyChanged(AIndex);
  9973. end;
  9974. Procedure TChangeLog.SetuserProfileName(AIndex : Integer; const AValue : String);
  9975. begin
  9976. If (FuserProfileName=AValue) then exit;
  9977. FuserProfileName:=AValue;
  9978. MarkPropertyChanged(AIndex);
  9979. end;
  9980. { --------------------------------------------------------------------
  9981. TChangeLogsListResponse
  9982. --------------------------------------------------------------------}
  9983. Procedure TChangeLogsListResponse.SetchangeLogs(AIndex : Integer; const AValue : TChangeLogsListResponseTypechangeLogsArray);
  9984. begin
  9985. If (FchangeLogs=AValue) then exit;
  9986. FchangeLogs:=AValue;
  9987. MarkPropertyChanged(AIndex);
  9988. end;
  9989. Procedure TChangeLogsListResponse.Setkind(AIndex : Integer; const AValue : String);
  9990. begin
  9991. If (Fkind=AValue) then exit;
  9992. Fkind:=AValue;
  9993. MarkPropertyChanged(AIndex);
  9994. end;
  9995. Procedure TChangeLogsListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  9996. begin
  9997. If (FnextPageToken=AValue) then exit;
  9998. FnextPageToken:=AValue;
  9999. MarkPropertyChanged(AIndex);
  10000. end;
  10001. //2.6.4. bug workaround
  10002. {$IFDEF VER2_6}
  10003. Procedure TChangeLogsListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  10004. begin
  10005. Case AName of
  10006. 'changelogs' : SetLength(FchangeLogs,ALength);
  10007. else
  10008. Inherited SetArrayLength(AName,ALength);
  10009. end;
  10010. end;
  10011. {$ENDIF VER2_6}
  10012. { --------------------------------------------------------------------
  10013. TCitiesListResponse
  10014. --------------------------------------------------------------------}
  10015. Procedure TCitiesListResponse.Setcities(AIndex : Integer; const AValue : TCitiesListResponseTypecitiesArray);
  10016. begin
  10017. If (Fcities=AValue) then exit;
  10018. Fcities:=AValue;
  10019. MarkPropertyChanged(AIndex);
  10020. end;
  10021. Procedure TCitiesListResponse.Setkind(AIndex : Integer; const AValue : String);
  10022. begin
  10023. If (Fkind=AValue) then exit;
  10024. Fkind:=AValue;
  10025. MarkPropertyChanged(AIndex);
  10026. end;
  10027. //2.6.4. bug workaround
  10028. {$IFDEF VER2_6}
  10029. Procedure TCitiesListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  10030. begin
  10031. Case AName of
  10032. 'cities' : SetLength(Fcities,ALength);
  10033. else
  10034. Inherited SetArrayLength(AName,ALength);
  10035. end;
  10036. end;
  10037. {$ENDIF VER2_6}
  10038. { --------------------------------------------------------------------
  10039. TCity
  10040. --------------------------------------------------------------------}
  10041. Procedure TCity.SetcountryCode(AIndex : Integer; const AValue : String);
  10042. begin
  10043. If (FcountryCode=AValue) then exit;
  10044. FcountryCode:=AValue;
  10045. MarkPropertyChanged(AIndex);
  10046. end;
  10047. Procedure TCity.SetcountryDartId(AIndex : Integer; const AValue : String);
  10048. begin
  10049. If (FcountryDartId=AValue) then exit;
  10050. FcountryDartId:=AValue;
  10051. MarkPropertyChanged(AIndex);
  10052. end;
  10053. Procedure TCity.SetdartId(AIndex : Integer; const AValue : String);
  10054. begin
  10055. If (FdartId=AValue) then exit;
  10056. FdartId:=AValue;
  10057. MarkPropertyChanged(AIndex);
  10058. end;
  10059. Procedure TCity.Setkind(AIndex : Integer; const AValue : String);
  10060. begin
  10061. If (Fkind=AValue) then exit;
  10062. Fkind:=AValue;
  10063. MarkPropertyChanged(AIndex);
  10064. end;
  10065. Procedure TCity.SetmetroCode(AIndex : Integer; const AValue : String);
  10066. begin
  10067. If (FmetroCode=AValue) then exit;
  10068. FmetroCode:=AValue;
  10069. MarkPropertyChanged(AIndex);
  10070. end;
  10071. Procedure TCity.SetmetroDmaId(AIndex : Integer; const AValue : String);
  10072. begin
  10073. If (FmetroDmaId=AValue) then exit;
  10074. FmetroDmaId:=AValue;
  10075. MarkPropertyChanged(AIndex);
  10076. end;
  10077. Procedure TCity.Setname(AIndex : Integer; const AValue : String);
  10078. begin
  10079. If (Fname=AValue) then exit;
  10080. Fname:=AValue;
  10081. MarkPropertyChanged(AIndex);
  10082. end;
  10083. Procedure TCity.SetregionCode(AIndex : Integer; const AValue : String);
  10084. begin
  10085. If (FregionCode=AValue) then exit;
  10086. FregionCode:=AValue;
  10087. MarkPropertyChanged(AIndex);
  10088. end;
  10089. Procedure TCity.SetregionDartId(AIndex : Integer; const AValue : String);
  10090. begin
  10091. If (FregionDartId=AValue) then exit;
  10092. FregionDartId:=AValue;
  10093. MarkPropertyChanged(AIndex);
  10094. end;
  10095. { --------------------------------------------------------------------
  10096. TClickTag
  10097. --------------------------------------------------------------------}
  10098. Procedure TClickTag.SeteventName(AIndex : Integer; const AValue : String);
  10099. begin
  10100. If (FeventName=AValue) then exit;
  10101. FeventName:=AValue;
  10102. MarkPropertyChanged(AIndex);
  10103. end;
  10104. Procedure TClickTag.Setname(AIndex : Integer; const AValue : String);
  10105. begin
  10106. If (Fname=AValue) then exit;
  10107. Fname:=AValue;
  10108. MarkPropertyChanged(AIndex);
  10109. end;
  10110. Procedure TClickTag.Setvalue(AIndex : Integer; const AValue : String);
  10111. begin
  10112. If (Fvalue=AValue) then exit;
  10113. Fvalue:=AValue;
  10114. MarkPropertyChanged(AIndex);
  10115. end;
  10116. { --------------------------------------------------------------------
  10117. TClickThroughUrl
  10118. --------------------------------------------------------------------}
  10119. Procedure TClickThroughUrl.SetcomputedClickThroughUrl(AIndex : Integer; const AValue : String);
  10120. begin
  10121. If (FcomputedClickThroughUrl=AValue) then exit;
  10122. FcomputedClickThroughUrl:=AValue;
  10123. MarkPropertyChanged(AIndex);
  10124. end;
  10125. Procedure TClickThroughUrl.SetcustomClickThroughUrl(AIndex : Integer; const AValue : String);
  10126. begin
  10127. If (FcustomClickThroughUrl=AValue) then exit;
  10128. FcustomClickThroughUrl:=AValue;
  10129. MarkPropertyChanged(AIndex);
  10130. end;
  10131. Procedure TClickThroughUrl.SetdefaultLandingPage(AIndex : Integer; const AValue : boolean);
  10132. begin
  10133. If (FdefaultLandingPage=AValue) then exit;
  10134. FdefaultLandingPage:=AValue;
  10135. MarkPropertyChanged(AIndex);
  10136. end;
  10137. Procedure TClickThroughUrl.SetlandingPageId(AIndex : Integer; const AValue : String);
  10138. begin
  10139. If (FlandingPageId=AValue) then exit;
  10140. FlandingPageId:=AValue;
  10141. MarkPropertyChanged(AIndex);
  10142. end;
  10143. { --------------------------------------------------------------------
  10144. TClickThroughUrlSuffixProperties
  10145. --------------------------------------------------------------------}
  10146. Procedure TClickThroughUrlSuffixProperties.SetclickThroughUrlSuffix(AIndex : Integer; const AValue : String);
  10147. begin
  10148. If (FclickThroughUrlSuffix=AValue) then exit;
  10149. FclickThroughUrlSuffix:=AValue;
  10150. MarkPropertyChanged(AIndex);
  10151. end;
  10152. Procedure TClickThroughUrlSuffixProperties.SetoverrideInheritedSuffix(AIndex : Integer; const AValue : boolean);
  10153. begin
  10154. If (FoverrideInheritedSuffix=AValue) then exit;
  10155. FoverrideInheritedSuffix:=AValue;
  10156. MarkPropertyChanged(AIndex);
  10157. end;
  10158. { --------------------------------------------------------------------
  10159. TCompanionClickThroughOverride
  10160. --------------------------------------------------------------------}
  10161. Procedure TCompanionClickThroughOverride.SetclickThroughUrl(AIndex : Integer; const AValue : TClickThroughUrl);
  10162. begin
  10163. If (FclickThroughUrl=AValue) then exit;
  10164. FclickThroughUrl:=AValue;
  10165. MarkPropertyChanged(AIndex);
  10166. end;
  10167. Procedure TCompanionClickThroughOverride.SetcreativeId(AIndex : Integer; const AValue : String);
  10168. begin
  10169. If (FcreativeId=AValue) then exit;
  10170. FcreativeId:=AValue;
  10171. MarkPropertyChanged(AIndex);
  10172. end;
  10173. { --------------------------------------------------------------------
  10174. TCompatibleFields
  10175. --------------------------------------------------------------------}
  10176. Procedure TCompatibleFields.SetcrossDimensionReachReportCompatibleFields(AIndex : Integer; const AValue : TCrossDimensionReachReportCompatibleFields);
  10177. begin
  10178. If (FcrossDimensionReachReportCompatibleFields=AValue) then exit;
  10179. FcrossDimensionReachReportCompatibleFields:=AValue;
  10180. MarkPropertyChanged(AIndex);
  10181. end;
  10182. Procedure TCompatibleFields.SetfloodlightReportCompatibleFields(AIndex : Integer; const AValue : TFloodlightReportCompatibleFields);
  10183. begin
  10184. If (FfloodlightReportCompatibleFields=AValue) then exit;
  10185. FfloodlightReportCompatibleFields:=AValue;
  10186. MarkPropertyChanged(AIndex);
  10187. end;
  10188. Procedure TCompatibleFields.Setkind(AIndex : Integer; const AValue : String);
  10189. begin
  10190. If (Fkind=AValue) then exit;
  10191. Fkind:=AValue;
  10192. MarkPropertyChanged(AIndex);
  10193. end;
  10194. Procedure TCompatibleFields.SetpathToConversionReportCompatibleFields(AIndex : Integer; const AValue : TPathToConversionReportCompatibleFields);
  10195. begin
  10196. If (FpathToConversionReportCompatibleFields=AValue) then exit;
  10197. FpathToConversionReportCompatibleFields:=AValue;
  10198. MarkPropertyChanged(AIndex);
  10199. end;
  10200. Procedure TCompatibleFields.SetreachReportCompatibleFields(AIndex : Integer; const AValue : TReachReportCompatibleFields);
  10201. begin
  10202. If (FreachReportCompatibleFields=AValue) then exit;
  10203. FreachReportCompatibleFields:=AValue;
  10204. MarkPropertyChanged(AIndex);
  10205. end;
  10206. Procedure TCompatibleFields.SetreportCompatibleFields(AIndex : Integer; const AValue : TReportCompatibleFields);
  10207. begin
  10208. If (FreportCompatibleFields=AValue) then exit;
  10209. FreportCompatibleFields:=AValue;
  10210. MarkPropertyChanged(AIndex);
  10211. end;
  10212. { --------------------------------------------------------------------
  10213. TConnectionType
  10214. --------------------------------------------------------------------}
  10215. Procedure TConnectionType.Setid(AIndex : Integer; const AValue : String);
  10216. begin
  10217. If (Fid=AValue) then exit;
  10218. Fid:=AValue;
  10219. MarkPropertyChanged(AIndex);
  10220. end;
  10221. Procedure TConnectionType.Setkind(AIndex : Integer; const AValue : String);
  10222. begin
  10223. If (Fkind=AValue) then exit;
  10224. Fkind:=AValue;
  10225. MarkPropertyChanged(AIndex);
  10226. end;
  10227. Procedure TConnectionType.Setname(AIndex : Integer; const AValue : String);
  10228. begin
  10229. If (Fname=AValue) then exit;
  10230. Fname:=AValue;
  10231. MarkPropertyChanged(AIndex);
  10232. end;
  10233. { --------------------------------------------------------------------
  10234. TConnectionTypesListResponse
  10235. --------------------------------------------------------------------}
  10236. Procedure TConnectionTypesListResponse.SetconnectionTypes(AIndex : Integer; const AValue : TConnectionTypesListResponseTypeconnectionTypesArray);
  10237. begin
  10238. If (FconnectionTypes=AValue) then exit;
  10239. FconnectionTypes:=AValue;
  10240. MarkPropertyChanged(AIndex);
  10241. end;
  10242. Procedure TConnectionTypesListResponse.Setkind(AIndex : Integer; const AValue : String);
  10243. begin
  10244. If (Fkind=AValue) then exit;
  10245. Fkind:=AValue;
  10246. MarkPropertyChanged(AIndex);
  10247. end;
  10248. //2.6.4. bug workaround
  10249. {$IFDEF VER2_6}
  10250. Procedure TConnectionTypesListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  10251. begin
  10252. Case AName of
  10253. 'connectiontypes' : SetLength(FconnectionTypes,ALength);
  10254. else
  10255. Inherited SetArrayLength(AName,ALength);
  10256. end;
  10257. end;
  10258. {$ENDIF VER2_6}
  10259. { --------------------------------------------------------------------
  10260. TContentCategoriesListResponse
  10261. --------------------------------------------------------------------}
  10262. Procedure TContentCategoriesListResponse.SetcontentCategories(AIndex : Integer; const AValue : TContentCategoriesListResponseTypecontentCategoriesArray);
  10263. begin
  10264. If (FcontentCategories=AValue) then exit;
  10265. FcontentCategories:=AValue;
  10266. MarkPropertyChanged(AIndex);
  10267. end;
  10268. Procedure TContentCategoriesListResponse.Setkind(AIndex : Integer; const AValue : String);
  10269. begin
  10270. If (Fkind=AValue) then exit;
  10271. Fkind:=AValue;
  10272. MarkPropertyChanged(AIndex);
  10273. end;
  10274. Procedure TContentCategoriesListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  10275. begin
  10276. If (FnextPageToken=AValue) then exit;
  10277. FnextPageToken:=AValue;
  10278. MarkPropertyChanged(AIndex);
  10279. end;
  10280. //2.6.4. bug workaround
  10281. {$IFDEF VER2_6}
  10282. Procedure TContentCategoriesListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  10283. begin
  10284. Case AName of
  10285. 'contentcategories' : SetLength(FcontentCategories,ALength);
  10286. else
  10287. Inherited SetArrayLength(AName,ALength);
  10288. end;
  10289. end;
  10290. {$ENDIF VER2_6}
  10291. { --------------------------------------------------------------------
  10292. TContentCategory
  10293. --------------------------------------------------------------------}
  10294. Procedure TContentCategory.SetaccountId(AIndex : Integer; const AValue : String);
  10295. begin
  10296. If (FaccountId=AValue) then exit;
  10297. FaccountId:=AValue;
  10298. MarkPropertyChanged(AIndex);
  10299. end;
  10300. Procedure TContentCategory.Setid(AIndex : Integer; const AValue : String);
  10301. begin
  10302. If (Fid=AValue) then exit;
  10303. Fid:=AValue;
  10304. MarkPropertyChanged(AIndex);
  10305. end;
  10306. Procedure TContentCategory.Setkind(AIndex : Integer; const AValue : String);
  10307. begin
  10308. If (Fkind=AValue) then exit;
  10309. Fkind:=AValue;
  10310. MarkPropertyChanged(AIndex);
  10311. end;
  10312. Procedure TContentCategory.Setname(AIndex : Integer; const AValue : String);
  10313. begin
  10314. If (Fname=AValue) then exit;
  10315. Fname:=AValue;
  10316. MarkPropertyChanged(AIndex);
  10317. end;
  10318. { --------------------------------------------------------------------
  10319. TConversion
  10320. --------------------------------------------------------------------}
  10321. Procedure TConversion.SetchildDirectedTreatment(AIndex : Integer; const AValue : boolean);
  10322. begin
  10323. If (FchildDirectedTreatment=AValue) then exit;
  10324. FchildDirectedTreatment:=AValue;
  10325. MarkPropertyChanged(AIndex);
  10326. end;
  10327. Procedure TConversion.SetcustomVariables(AIndex : Integer; const AValue : TConversionTypecustomVariablesArray);
  10328. begin
  10329. If (FcustomVariables=AValue) then exit;
  10330. FcustomVariables:=AValue;
  10331. MarkPropertyChanged(AIndex);
  10332. end;
  10333. Procedure TConversion.SetencryptedUserId(AIndex : Integer; const AValue : String);
  10334. begin
  10335. If (FencryptedUserId=AValue) then exit;
  10336. FencryptedUserId:=AValue;
  10337. MarkPropertyChanged(AIndex);
  10338. end;
  10339. Procedure TConversion.SetfloodlightActivityId(AIndex : Integer; const AValue : String);
  10340. begin
  10341. If (FfloodlightActivityId=AValue) then exit;
  10342. FfloodlightActivityId:=AValue;
  10343. MarkPropertyChanged(AIndex);
  10344. end;
  10345. Procedure TConversion.SetfloodlightConfigurationId(AIndex : Integer; const AValue : String);
  10346. begin
  10347. If (FfloodlightConfigurationId=AValue) then exit;
  10348. FfloodlightConfigurationId:=AValue;
  10349. MarkPropertyChanged(AIndex);
  10350. end;
  10351. Procedure TConversion.Setkind(AIndex : Integer; const AValue : String);
  10352. begin
  10353. If (Fkind=AValue) then exit;
  10354. Fkind:=AValue;
  10355. MarkPropertyChanged(AIndex);
  10356. end;
  10357. Procedure TConversion.SetlimitAdTracking(AIndex : Integer; const AValue : boolean);
  10358. begin
  10359. If (FlimitAdTracking=AValue) then exit;
  10360. FlimitAdTracking:=AValue;
  10361. MarkPropertyChanged(AIndex);
  10362. end;
  10363. Procedure TConversion.SetmobileDeviceId(AIndex : Integer; const AValue : String);
  10364. begin
  10365. If (FmobileDeviceId=AValue) then exit;
  10366. FmobileDeviceId:=AValue;
  10367. MarkPropertyChanged(AIndex);
  10368. end;
  10369. Procedure TConversion.Setordinal(AIndex : Integer; const AValue : String);
  10370. begin
  10371. If (Fordinal=AValue) then exit;
  10372. Fordinal:=AValue;
  10373. MarkPropertyChanged(AIndex);
  10374. end;
  10375. Procedure TConversion.Setquantity(AIndex : Integer; const AValue : String);
  10376. begin
  10377. If (Fquantity=AValue) then exit;
  10378. Fquantity:=AValue;
  10379. MarkPropertyChanged(AIndex);
  10380. end;
  10381. Procedure TConversion.SettimestampMicros(AIndex : Integer; const AValue : String);
  10382. begin
  10383. If (FtimestampMicros=AValue) then exit;
  10384. FtimestampMicros:=AValue;
  10385. MarkPropertyChanged(AIndex);
  10386. end;
  10387. Procedure TConversion.Setvalue(AIndex : Integer; const AValue : double);
  10388. begin
  10389. If (Fvalue=AValue) then exit;
  10390. Fvalue:=AValue;
  10391. MarkPropertyChanged(AIndex);
  10392. end;
  10393. //2.6.4. bug workaround
  10394. {$IFDEF VER2_6}
  10395. Procedure TConversion.SetArrayLength(Const AName : String; ALength : Longint);
  10396. begin
  10397. Case AName of
  10398. 'customvariables' : SetLength(FcustomVariables,ALength);
  10399. else
  10400. Inherited SetArrayLength(AName,ALength);
  10401. end;
  10402. end;
  10403. {$ENDIF VER2_6}
  10404. { --------------------------------------------------------------------
  10405. TConversionError
  10406. --------------------------------------------------------------------}
  10407. Procedure TConversionError.Setcode(AIndex : Integer; const AValue : String);
  10408. begin
  10409. If (Fcode=AValue) then exit;
  10410. Fcode:=AValue;
  10411. MarkPropertyChanged(AIndex);
  10412. end;
  10413. Procedure TConversionError.Setkind(AIndex : Integer; const AValue : String);
  10414. begin
  10415. If (Fkind=AValue) then exit;
  10416. Fkind:=AValue;
  10417. MarkPropertyChanged(AIndex);
  10418. end;
  10419. Procedure TConversionError.Setmessage(AIndex : Integer; const AValue : String);
  10420. begin
  10421. If (Fmessage=AValue) then exit;
  10422. Fmessage:=AValue;
  10423. MarkPropertyChanged(AIndex);
  10424. end;
  10425. { --------------------------------------------------------------------
  10426. TConversionStatus
  10427. --------------------------------------------------------------------}
  10428. Procedure TConversionStatus.Setconversion(AIndex : Integer; const AValue : TConversion);
  10429. begin
  10430. If (Fconversion=AValue) then exit;
  10431. Fconversion:=AValue;
  10432. MarkPropertyChanged(AIndex);
  10433. end;
  10434. Procedure TConversionStatus.Seterrors(AIndex : Integer; const AValue : TConversionStatusTypeerrorsArray);
  10435. begin
  10436. If (Ferrors=AValue) then exit;
  10437. Ferrors:=AValue;
  10438. MarkPropertyChanged(AIndex);
  10439. end;
  10440. Procedure TConversionStatus.Setkind(AIndex : Integer; const AValue : String);
  10441. begin
  10442. If (Fkind=AValue) then exit;
  10443. Fkind:=AValue;
  10444. MarkPropertyChanged(AIndex);
  10445. end;
  10446. //2.6.4. bug workaround
  10447. {$IFDEF VER2_6}
  10448. Procedure TConversionStatus.SetArrayLength(Const AName : String; ALength : Longint);
  10449. begin
  10450. Case AName of
  10451. 'errors' : SetLength(Ferrors,ALength);
  10452. else
  10453. Inherited SetArrayLength(AName,ALength);
  10454. end;
  10455. end;
  10456. {$ENDIF VER2_6}
  10457. { --------------------------------------------------------------------
  10458. TConversionsBatchInsertRequest
  10459. --------------------------------------------------------------------}
  10460. Procedure TConversionsBatchInsertRequest.Setconversions(AIndex : Integer; const AValue : TConversionsBatchInsertRequestTypeconversionsArray);
  10461. begin
  10462. If (Fconversions=AValue) then exit;
  10463. Fconversions:=AValue;
  10464. MarkPropertyChanged(AIndex);
  10465. end;
  10466. Procedure TConversionsBatchInsertRequest.SetencryptionInfo(AIndex : Integer; const AValue : TEncryptionInfo);
  10467. begin
  10468. If (FencryptionInfo=AValue) then exit;
  10469. FencryptionInfo:=AValue;
  10470. MarkPropertyChanged(AIndex);
  10471. end;
  10472. Procedure TConversionsBatchInsertRequest.Setkind(AIndex : Integer; const AValue : String);
  10473. begin
  10474. If (Fkind=AValue) then exit;
  10475. Fkind:=AValue;
  10476. MarkPropertyChanged(AIndex);
  10477. end;
  10478. //2.6.4. bug workaround
  10479. {$IFDEF VER2_6}
  10480. Procedure TConversionsBatchInsertRequest.SetArrayLength(Const AName : String; ALength : Longint);
  10481. begin
  10482. Case AName of
  10483. 'conversions' : SetLength(Fconversions,ALength);
  10484. else
  10485. Inherited SetArrayLength(AName,ALength);
  10486. end;
  10487. end;
  10488. {$ENDIF VER2_6}
  10489. { --------------------------------------------------------------------
  10490. TConversionsBatchInsertResponse
  10491. --------------------------------------------------------------------}
  10492. Procedure TConversionsBatchInsertResponse.SethasFailures(AIndex : Integer; const AValue : boolean);
  10493. begin
  10494. If (FhasFailures=AValue) then exit;
  10495. FhasFailures:=AValue;
  10496. MarkPropertyChanged(AIndex);
  10497. end;
  10498. Procedure TConversionsBatchInsertResponse.Setkind(AIndex : Integer; const AValue : String);
  10499. begin
  10500. If (Fkind=AValue) then exit;
  10501. Fkind:=AValue;
  10502. MarkPropertyChanged(AIndex);
  10503. end;
  10504. Procedure TConversionsBatchInsertResponse.Setstatus(AIndex : Integer; const AValue : TConversionsBatchInsertResponseTypestatusArray);
  10505. begin
  10506. If (Fstatus=AValue) then exit;
  10507. Fstatus:=AValue;
  10508. MarkPropertyChanged(AIndex);
  10509. end;
  10510. //2.6.4. bug workaround
  10511. {$IFDEF VER2_6}
  10512. Procedure TConversionsBatchInsertResponse.SetArrayLength(Const AName : String; ALength : Longint);
  10513. begin
  10514. Case AName of
  10515. 'status' : SetLength(Fstatus,ALength);
  10516. else
  10517. Inherited SetArrayLength(AName,ALength);
  10518. end;
  10519. end;
  10520. {$ENDIF VER2_6}
  10521. { --------------------------------------------------------------------
  10522. TCountriesListResponse
  10523. --------------------------------------------------------------------}
  10524. Procedure TCountriesListResponse.Setcountries(AIndex : Integer; const AValue : TCountriesListResponseTypecountriesArray);
  10525. begin
  10526. If (Fcountries=AValue) then exit;
  10527. Fcountries:=AValue;
  10528. MarkPropertyChanged(AIndex);
  10529. end;
  10530. Procedure TCountriesListResponse.Setkind(AIndex : Integer; const AValue : String);
  10531. begin
  10532. If (Fkind=AValue) then exit;
  10533. Fkind:=AValue;
  10534. MarkPropertyChanged(AIndex);
  10535. end;
  10536. //2.6.4. bug workaround
  10537. {$IFDEF VER2_6}
  10538. Procedure TCountriesListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  10539. begin
  10540. Case AName of
  10541. 'countries' : SetLength(Fcountries,ALength);
  10542. else
  10543. Inherited SetArrayLength(AName,ALength);
  10544. end;
  10545. end;
  10546. {$ENDIF VER2_6}
  10547. { --------------------------------------------------------------------
  10548. TCountry
  10549. --------------------------------------------------------------------}
  10550. Procedure TCountry.SetcountryCode(AIndex : Integer; const AValue : String);
  10551. begin
  10552. If (FcountryCode=AValue) then exit;
  10553. FcountryCode:=AValue;
  10554. MarkPropertyChanged(AIndex);
  10555. end;
  10556. Procedure TCountry.SetdartId(AIndex : Integer; const AValue : String);
  10557. begin
  10558. If (FdartId=AValue) then exit;
  10559. FdartId:=AValue;
  10560. MarkPropertyChanged(AIndex);
  10561. end;
  10562. Procedure TCountry.Setkind(AIndex : Integer; const AValue : String);
  10563. begin
  10564. If (Fkind=AValue) then exit;
  10565. Fkind:=AValue;
  10566. MarkPropertyChanged(AIndex);
  10567. end;
  10568. Procedure TCountry.Setname(AIndex : Integer; const AValue : String);
  10569. begin
  10570. If (Fname=AValue) then exit;
  10571. Fname:=AValue;
  10572. MarkPropertyChanged(AIndex);
  10573. end;
  10574. Procedure TCountry.SetsslEnabled(AIndex : Integer; const AValue : boolean);
  10575. begin
  10576. If (FsslEnabled=AValue) then exit;
  10577. FsslEnabled:=AValue;
  10578. MarkPropertyChanged(AIndex);
  10579. end;
  10580. { --------------------------------------------------------------------
  10581. TCreative
  10582. --------------------------------------------------------------------}
  10583. Procedure TCreative.SetaccountId(AIndex : Integer; const AValue : String);
  10584. begin
  10585. If (FaccountId=AValue) then exit;
  10586. FaccountId:=AValue;
  10587. MarkPropertyChanged(AIndex);
  10588. end;
  10589. Procedure TCreative.Setactive(AIndex : Integer; const AValue : boolean);
  10590. begin
  10591. If (Factive=AValue) then exit;
  10592. Factive:=AValue;
  10593. MarkPropertyChanged(AIndex);
  10594. end;
  10595. Procedure TCreative.SetadParameters(AIndex : Integer; const AValue : String);
  10596. begin
  10597. If (FadParameters=AValue) then exit;
  10598. FadParameters:=AValue;
  10599. MarkPropertyChanged(AIndex);
  10600. end;
  10601. Procedure TCreative.SetadTagKeys(AIndex : Integer; const AValue : TStringArray);
  10602. begin
  10603. If (FadTagKeys=AValue) then exit;
  10604. FadTagKeys:=AValue;
  10605. MarkPropertyChanged(AIndex);
  10606. end;
  10607. Procedure TCreative.SetadvertiserId(AIndex : Integer; const AValue : String);
  10608. begin
  10609. If (FadvertiserId=AValue) then exit;
  10610. FadvertiserId:=AValue;
  10611. MarkPropertyChanged(AIndex);
  10612. end;
  10613. Procedure TCreative.SetallowScriptAccess(AIndex : Integer; const AValue : boolean);
  10614. begin
  10615. If (FallowScriptAccess=AValue) then exit;
  10616. FallowScriptAccess:=AValue;
  10617. MarkPropertyChanged(AIndex);
  10618. end;
  10619. Procedure TCreative.Setarchived(AIndex : Integer; const AValue : boolean);
  10620. begin
  10621. If (Farchived=AValue) then exit;
  10622. Farchived:=AValue;
  10623. MarkPropertyChanged(AIndex);
  10624. end;
  10625. Procedure TCreative.SetartworkType(AIndex : Integer; const AValue : String);
  10626. begin
  10627. If (FartworkType=AValue) then exit;
  10628. FartworkType:=AValue;
  10629. MarkPropertyChanged(AIndex);
  10630. end;
  10631. Procedure TCreative.SetauthoringSource(AIndex : Integer; const AValue : String);
  10632. begin
  10633. If (FauthoringSource=AValue) then exit;
  10634. FauthoringSource:=AValue;
  10635. MarkPropertyChanged(AIndex);
  10636. end;
  10637. Procedure TCreative.SetauthoringTool(AIndex : Integer; const AValue : String);
  10638. begin
  10639. If (FauthoringTool=AValue) then exit;
  10640. FauthoringTool:=AValue;
  10641. MarkPropertyChanged(AIndex);
  10642. end;
  10643. Procedure TCreative.Setauto_advance_images(AIndex : Integer; const AValue : boolean);
  10644. begin
  10645. If (Fauto_advance_images=AValue) then exit;
  10646. Fauto_advance_images:=AValue;
  10647. MarkPropertyChanged(AIndex);
  10648. end;
  10649. Procedure TCreative.SetbackgroundColor(AIndex : Integer; const AValue : String);
  10650. begin
  10651. If (FbackgroundColor=AValue) then exit;
  10652. FbackgroundColor:=AValue;
  10653. MarkPropertyChanged(AIndex);
  10654. end;
  10655. Procedure TCreative.SetbackupImageClickThroughUrl(AIndex : Integer; const AValue : String);
  10656. begin
  10657. If (FbackupImageClickThroughUrl=AValue) then exit;
  10658. FbackupImageClickThroughUrl:=AValue;
  10659. MarkPropertyChanged(AIndex);
  10660. end;
  10661. Procedure TCreative.SetbackupImageFeatures(AIndex : Integer; const AValue : TStringArray);
  10662. begin
  10663. If (FbackupImageFeatures=AValue) then exit;
  10664. FbackupImageFeatures:=AValue;
  10665. MarkPropertyChanged(AIndex);
  10666. end;
  10667. Procedure TCreative.SetbackupImageReportingLabel(AIndex : Integer; const AValue : String);
  10668. begin
  10669. If (FbackupImageReportingLabel=AValue) then exit;
  10670. FbackupImageReportingLabel:=AValue;
  10671. MarkPropertyChanged(AIndex);
  10672. end;
  10673. Procedure TCreative.SetbackupImageTargetWindow(AIndex : Integer; const AValue : TTargetWindow);
  10674. begin
  10675. If (FbackupImageTargetWindow=AValue) then exit;
  10676. FbackupImageTargetWindow:=AValue;
  10677. MarkPropertyChanged(AIndex);
  10678. end;
  10679. Procedure TCreative.SetclickTags(AIndex : Integer; const AValue : TCreativeTypeclickTagsArray);
  10680. begin
  10681. If (FclickTags=AValue) then exit;
  10682. FclickTags:=AValue;
  10683. MarkPropertyChanged(AIndex);
  10684. end;
  10685. Procedure TCreative.SetcommercialId(AIndex : Integer; const AValue : String);
  10686. begin
  10687. If (FcommercialId=AValue) then exit;
  10688. FcommercialId:=AValue;
  10689. MarkPropertyChanged(AIndex);
  10690. end;
  10691. Procedure TCreative.SetcompanionCreatives(AIndex : Integer; const AValue : TStringArray);
  10692. begin
  10693. If (FcompanionCreatives=AValue) then exit;
  10694. FcompanionCreatives:=AValue;
  10695. MarkPropertyChanged(AIndex);
  10696. end;
  10697. Procedure TCreative.Setcompatibility(AIndex : Integer; const AValue : TStringArray);
  10698. begin
  10699. If (Fcompatibility=AValue) then exit;
  10700. Fcompatibility:=AValue;
  10701. MarkPropertyChanged(AIndex);
  10702. end;
  10703. Procedure TCreative.SetconvertFlashToHtml5(AIndex : Integer; const AValue : boolean);
  10704. begin
  10705. If (FconvertFlashToHtml5=AValue) then exit;
  10706. FconvertFlashToHtml5:=AValue;
  10707. MarkPropertyChanged(AIndex);
  10708. end;
  10709. Procedure TCreative.SetcounterCustomEvents(AIndex : Integer; const AValue : TCreativeTypecounterCustomEventsArray);
  10710. begin
  10711. If (FcounterCustomEvents=AValue) then exit;
  10712. FcounterCustomEvents:=AValue;
  10713. MarkPropertyChanged(AIndex);
  10714. end;
  10715. Procedure TCreative.SetcreativeAssets(AIndex : Integer; const AValue : TCreativeTypecreativeAssetsArray);
  10716. begin
  10717. If (FcreativeAssets=AValue) then exit;
  10718. FcreativeAssets:=AValue;
  10719. MarkPropertyChanged(AIndex);
  10720. end;
  10721. Procedure TCreative.SetcreativeFieldAssignments(AIndex : Integer; const AValue : TCreativeTypecreativeFieldAssignmentsArray);
  10722. begin
  10723. If (FcreativeFieldAssignments=AValue) then exit;
  10724. FcreativeFieldAssignments:=AValue;
  10725. MarkPropertyChanged(AIndex);
  10726. end;
  10727. Procedure TCreative.SetcustomKeyValues(AIndex : Integer; const AValue : TStringArray);
  10728. begin
  10729. If (FcustomKeyValues=AValue) then exit;
  10730. FcustomKeyValues:=AValue;
  10731. MarkPropertyChanged(AIndex);
  10732. end;
  10733. Procedure TCreative.SetexitCustomEvents(AIndex : Integer; const AValue : TCreativeTypeexitCustomEventsArray);
  10734. begin
  10735. If (FexitCustomEvents=AValue) then exit;
  10736. FexitCustomEvents:=AValue;
  10737. MarkPropertyChanged(AIndex);
  10738. end;
  10739. Procedure TCreative.SetfsCommand(AIndex : Integer; const AValue : TFsCommand);
  10740. begin
  10741. If (FfsCommand=AValue) then exit;
  10742. FfsCommand:=AValue;
  10743. MarkPropertyChanged(AIndex);
  10744. end;
  10745. Procedure TCreative.SethtmlCode(AIndex : Integer; const AValue : String);
  10746. begin
  10747. If (FhtmlCode=AValue) then exit;
  10748. FhtmlCode:=AValue;
  10749. MarkPropertyChanged(AIndex);
  10750. end;
  10751. Procedure TCreative.SethtmlCodeLocked(AIndex : Integer; const AValue : boolean);
  10752. begin
  10753. If (FhtmlCodeLocked=AValue) then exit;
  10754. FhtmlCodeLocked:=AValue;
  10755. MarkPropertyChanged(AIndex);
  10756. end;
  10757. Procedure TCreative.Setid(AIndex : Integer; const AValue : String);
  10758. begin
  10759. If (Fid=AValue) then exit;
  10760. Fid:=AValue;
  10761. MarkPropertyChanged(AIndex);
  10762. end;
  10763. Procedure TCreative.SetidDimensionValue(AIndex : Integer; const AValue : TDimensionValue);
  10764. begin
  10765. If (FidDimensionValue=AValue) then exit;
  10766. FidDimensionValue:=AValue;
  10767. MarkPropertyChanged(AIndex);
  10768. end;
  10769. Procedure TCreative.Setkind(AIndex : Integer; const AValue : String);
  10770. begin
  10771. If (Fkind=AValue) then exit;
  10772. Fkind:=AValue;
  10773. MarkPropertyChanged(AIndex);
  10774. end;
  10775. Procedure TCreative.SetlastModifiedInfo(AIndex : Integer; const AValue : TLastModifiedInfo);
  10776. begin
  10777. If (FlastModifiedInfo=AValue) then exit;
  10778. FlastModifiedInfo:=AValue;
  10779. MarkPropertyChanged(AIndex);
  10780. end;
  10781. Procedure TCreative.SetlatestTraffickedCreativeId(AIndex : Integer; const AValue : String);
  10782. begin
  10783. If (FlatestTraffickedCreativeId=AValue) then exit;
  10784. FlatestTraffickedCreativeId:=AValue;
  10785. MarkPropertyChanged(AIndex);
  10786. end;
  10787. Procedure TCreative.Setname(AIndex : Integer; const AValue : String);
  10788. begin
  10789. If (Fname=AValue) then exit;
  10790. Fname:=AValue;
  10791. MarkPropertyChanged(AIndex);
  10792. end;
  10793. Procedure TCreative.SetoverrideCss(AIndex : Integer; const AValue : String);
  10794. begin
  10795. If (FoverrideCss=AValue) then exit;
  10796. FoverrideCss:=AValue;
  10797. MarkPropertyChanged(AIndex);
  10798. end;
  10799. Procedure TCreative.SetredirectUrl(AIndex : Integer; const AValue : String);
  10800. begin
  10801. If (FredirectUrl=AValue) then exit;
  10802. FredirectUrl:=AValue;
  10803. MarkPropertyChanged(AIndex);
  10804. end;
  10805. Procedure TCreative.SetrenderingId(AIndex : Integer; const AValue : String);
  10806. begin
  10807. If (FrenderingId=AValue) then exit;
  10808. FrenderingId:=AValue;
  10809. MarkPropertyChanged(AIndex);
  10810. end;
  10811. Procedure TCreative.SetrenderingIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue);
  10812. begin
  10813. If (FrenderingIdDimensionValue=AValue) then exit;
  10814. FrenderingIdDimensionValue:=AValue;
  10815. MarkPropertyChanged(AIndex);
  10816. end;
  10817. Procedure TCreative.SetrequiredFlashPluginVersion(AIndex : Integer; const AValue : String);
  10818. begin
  10819. If (FrequiredFlashPluginVersion=AValue) then exit;
  10820. FrequiredFlashPluginVersion:=AValue;
  10821. MarkPropertyChanged(AIndex);
  10822. end;
  10823. Procedure TCreative.SetrequiredFlashVersion(AIndex : Integer; const AValue : integer);
  10824. begin
  10825. If (FrequiredFlashVersion=AValue) then exit;
  10826. FrequiredFlashVersion:=AValue;
  10827. MarkPropertyChanged(AIndex);
  10828. end;
  10829. Procedure TCreative.Setsize(AIndex : Integer; const AValue : TSize);
  10830. begin
  10831. If (Fsize=AValue) then exit;
  10832. Fsize:=AValue;
  10833. MarkPropertyChanged(AIndex);
  10834. end;
  10835. Procedure TCreative.Setskippable(AIndex : Integer; const AValue : boolean);
  10836. begin
  10837. If (Fskippable=AValue) then exit;
  10838. Fskippable:=AValue;
  10839. MarkPropertyChanged(AIndex);
  10840. end;
  10841. Procedure TCreative.SetsslCompliant(AIndex : Integer; const AValue : boolean);
  10842. begin
  10843. If (FsslCompliant=AValue) then exit;
  10844. FsslCompliant:=AValue;
  10845. MarkPropertyChanged(AIndex);
  10846. end;
  10847. Procedure TCreative.SetsslOverride(AIndex : Integer; const AValue : boolean);
  10848. begin
  10849. If (FsslOverride=AValue) then exit;
  10850. FsslOverride:=AValue;
  10851. MarkPropertyChanged(AIndex);
  10852. end;
  10853. Procedure TCreative.SetstudioAdvertiserId(AIndex : Integer; const AValue : String);
  10854. begin
  10855. If (FstudioAdvertiserId=AValue) then exit;
  10856. FstudioAdvertiserId:=AValue;
  10857. MarkPropertyChanged(AIndex);
  10858. end;
  10859. Procedure TCreative.SetstudioCreativeId(AIndex : Integer; const AValue : String);
  10860. begin
  10861. If (FstudioCreativeId=AValue) then exit;
  10862. FstudioCreativeId:=AValue;
  10863. MarkPropertyChanged(AIndex);
  10864. end;
  10865. Procedure TCreative.SetstudioTraffickedCreativeId(AIndex : Integer; const AValue : String);
  10866. begin
  10867. If (FstudioTraffickedCreativeId=AValue) then exit;
  10868. FstudioTraffickedCreativeId:=AValue;
  10869. MarkPropertyChanged(AIndex);
  10870. end;
  10871. Procedure TCreative.SetsubaccountId(AIndex : Integer; const AValue : String);
  10872. begin
  10873. If (FsubaccountId=AValue) then exit;
  10874. FsubaccountId:=AValue;
  10875. MarkPropertyChanged(AIndex);
  10876. end;
  10877. Procedure TCreative.SetthirdPartyBackupImageImpressionsUrl(AIndex : Integer; const AValue : String);
  10878. begin
  10879. If (FthirdPartyBackupImageImpressionsUrl=AValue) then exit;
  10880. FthirdPartyBackupImageImpressionsUrl:=AValue;
  10881. MarkPropertyChanged(AIndex);
  10882. end;
  10883. Procedure TCreative.SetthirdPartyRichMediaImpressionsUrl(AIndex : Integer; const AValue : String);
  10884. begin
  10885. If (FthirdPartyRichMediaImpressionsUrl=AValue) then exit;
  10886. FthirdPartyRichMediaImpressionsUrl:=AValue;
  10887. MarkPropertyChanged(AIndex);
  10888. end;
  10889. Procedure TCreative.SetthirdPartyUrls(AIndex : Integer; const AValue : TCreativeTypethirdPartyUrlsArray);
  10890. begin
  10891. If (FthirdPartyUrls=AValue) then exit;
  10892. FthirdPartyUrls:=AValue;
  10893. MarkPropertyChanged(AIndex);
  10894. end;
  10895. Procedure TCreative.SettimerCustomEvents(AIndex : Integer; const AValue : TCreativeTypetimerCustomEventsArray);
  10896. begin
  10897. If (FtimerCustomEvents=AValue) then exit;
  10898. FtimerCustomEvents:=AValue;
  10899. MarkPropertyChanged(AIndex);
  10900. end;
  10901. Procedure TCreative.SettotalFileSize(AIndex : Integer; const AValue : String);
  10902. begin
  10903. If (FtotalFileSize=AValue) then exit;
  10904. FtotalFileSize:=AValue;
  10905. MarkPropertyChanged(AIndex);
  10906. end;
  10907. Procedure TCreative.Set_type(AIndex : Integer; const AValue : String);
  10908. begin
  10909. If (F_type=AValue) then exit;
  10910. F_type:=AValue;
  10911. MarkPropertyChanged(AIndex);
  10912. end;
  10913. Procedure TCreative.Setversion(AIndex : Integer; const AValue : integer);
  10914. begin
  10915. If (Fversion=AValue) then exit;
  10916. Fversion:=AValue;
  10917. MarkPropertyChanged(AIndex);
  10918. end;
  10919. Procedure TCreative.SetvideoDescription(AIndex : Integer; const AValue : String);
  10920. begin
  10921. If (FvideoDescription=AValue) then exit;
  10922. FvideoDescription:=AValue;
  10923. MarkPropertyChanged(AIndex);
  10924. end;
  10925. Procedure TCreative.SetvideoDuration(AIndex : Integer; const AValue : integer);
  10926. begin
  10927. If (FvideoDuration=AValue) then exit;
  10928. FvideoDuration:=AValue;
  10929. MarkPropertyChanged(AIndex);
  10930. end;
  10931. Class Function TCreative.ExportPropertyName(Const AName : String) :String;
  10932. begin
  10933. Case AName of
  10934. '_type' : Result:='type';
  10935. else
  10936. Result:=Inherited ExportPropertyName(AName);
  10937. end;
  10938. end;
  10939. //2.6.4. bug workaround
  10940. {$IFDEF VER2_6}
  10941. Procedure TCreative.SetArrayLength(Const AName : String; ALength : Longint);
  10942. begin
  10943. Case AName of
  10944. 'adtagkeys' : SetLength(FadTagKeys,ALength);
  10945. 'backupimagefeatures' : SetLength(FbackupImageFeatures,ALength);
  10946. 'clicktags' : SetLength(FclickTags,ALength);
  10947. 'companioncreatives' : SetLength(FcompanionCreatives,ALength);
  10948. 'compatibility' : SetLength(Fcompatibility,ALength);
  10949. 'countercustomevents' : SetLength(FcounterCustomEvents,ALength);
  10950. 'creativeassets' : SetLength(FcreativeAssets,ALength);
  10951. 'creativefieldassignments' : SetLength(FcreativeFieldAssignments,ALength);
  10952. 'customkeyvalues' : SetLength(FcustomKeyValues,ALength);
  10953. 'exitcustomevents' : SetLength(FexitCustomEvents,ALength);
  10954. 'thirdpartyurls' : SetLength(FthirdPartyUrls,ALength);
  10955. 'timercustomevents' : SetLength(FtimerCustomEvents,ALength);
  10956. else
  10957. Inherited SetArrayLength(AName,ALength);
  10958. end;
  10959. end;
  10960. {$ENDIF VER2_6}
  10961. { --------------------------------------------------------------------
  10962. TCreativeAsset
  10963. --------------------------------------------------------------------}
  10964. Procedure TCreativeAsset.SetactionScript3(AIndex : Integer; const AValue : boolean);
  10965. begin
  10966. If (FactionScript3=AValue) then exit;
  10967. FactionScript3:=AValue;
  10968. MarkPropertyChanged(AIndex);
  10969. end;
  10970. Procedure TCreativeAsset.Setactive(AIndex : Integer; const AValue : boolean);
  10971. begin
  10972. If (Factive=AValue) then exit;
  10973. Factive:=AValue;
  10974. MarkPropertyChanged(AIndex);
  10975. end;
  10976. Procedure TCreativeAsset.Setalignment(AIndex : Integer; const AValue : String);
  10977. begin
  10978. If (Falignment=AValue) then exit;
  10979. Falignment:=AValue;
  10980. MarkPropertyChanged(AIndex);
  10981. end;
  10982. Procedure TCreativeAsset.SetartworkType(AIndex : Integer; const AValue : String);
  10983. begin
  10984. If (FartworkType=AValue) then exit;
  10985. FartworkType:=AValue;
  10986. MarkPropertyChanged(AIndex);
  10987. end;
  10988. Procedure TCreativeAsset.SetassetIdentifier(AIndex : Integer; const AValue : TCreativeAssetId);
  10989. begin
  10990. If (FassetIdentifier=AValue) then exit;
  10991. FassetIdentifier:=AValue;
  10992. MarkPropertyChanged(AIndex);
  10993. end;
  10994. Procedure TCreativeAsset.SetbackupImageExit(AIndex : Integer; const AValue : TCreativeCustomEvent);
  10995. begin
  10996. If (FbackupImageExit=AValue) then exit;
  10997. FbackupImageExit:=AValue;
  10998. MarkPropertyChanged(AIndex);
  10999. end;
  11000. Procedure TCreativeAsset.SetbitRate(AIndex : Integer; const AValue : integer);
  11001. begin
  11002. If (FbitRate=AValue) then exit;
  11003. FbitRate:=AValue;
  11004. MarkPropertyChanged(AIndex);
  11005. end;
  11006. Procedure TCreativeAsset.SetchildAssetType(AIndex : Integer; const AValue : String);
  11007. begin
  11008. If (FchildAssetType=AValue) then exit;
  11009. FchildAssetType:=AValue;
  11010. MarkPropertyChanged(AIndex);
  11011. end;
  11012. Procedure TCreativeAsset.SetcollapsedSize(AIndex : Integer; const AValue : TSize);
  11013. begin
  11014. If (FcollapsedSize=AValue) then exit;
  11015. FcollapsedSize:=AValue;
  11016. MarkPropertyChanged(AIndex);
  11017. end;
  11018. Procedure TCreativeAsset.SetcustomStartTimeValue(AIndex : Integer; const AValue : integer);
  11019. begin
  11020. If (FcustomStartTimeValue=AValue) then exit;
  11021. FcustomStartTimeValue:=AValue;
  11022. MarkPropertyChanged(AIndex);
  11023. end;
  11024. Procedure TCreativeAsset.SetdetectedFeatures(AIndex : Integer; const AValue : TStringArray);
  11025. begin
  11026. If (FdetectedFeatures=AValue) then exit;
  11027. FdetectedFeatures:=AValue;
  11028. MarkPropertyChanged(AIndex);
  11029. end;
  11030. Procedure TCreativeAsset.SetdisplayType(AIndex : Integer; const AValue : String);
  11031. begin
  11032. If (FdisplayType=AValue) then exit;
  11033. FdisplayType:=AValue;
  11034. MarkPropertyChanged(AIndex);
  11035. end;
  11036. Procedure TCreativeAsset.Setduration(AIndex : Integer; const AValue : integer);
  11037. begin
  11038. If (Fduration=AValue) then exit;
  11039. Fduration:=AValue;
  11040. MarkPropertyChanged(AIndex);
  11041. end;
  11042. Procedure TCreativeAsset.SetdurationType(AIndex : Integer; const AValue : String);
  11043. begin
  11044. If (FdurationType=AValue) then exit;
  11045. FdurationType:=AValue;
  11046. MarkPropertyChanged(AIndex);
  11047. end;
  11048. Procedure TCreativeAsset.SetexpandedDimension(AIndex : Integer; const AValue : TSize);
  11049. begin
  11050. If (FexpandedDimension=AValue) then exit;
  11051. FexpandedDimension:=AValue;
  11052. MarkPropertyChanged(AIndex);
  11053. end;
  11054. Procedure TCreativeAsset.SetfileSize(AIndex : Integer; const AValue : String);
  11055. begin
  11056. If (FfileSize=AValue) then exit;
  11057. FfileSize:=AValue;
  11058. MarkPropertyChanged(AIndex);
  11059. end;
  11060. Procedure TCreativeAsset.SetflashVersion(AIndex : Integer; const AValue : integer);
  11061. begin
  11062. If (FflashVersion=AValue) then exit;
  11063. FflashVersion:=AValue;
  11064. MarkPropertyChanged(AIndex);
  11065. end;
  11066. Procedure TCreativeAsset.SethideFlashObjects(AIndex : Integer; const AValue : boolean);
  11067. begin
  11068. If (FhideFlashObjects=AValue) then exit;
  11069. FhideFlashObjects:=AValue;
  11070. MarkPropertyChanged(AIndex);
  11071. end;
  11072. Procedure TCreativeAsset.SethideSelectionBoxes(AIndex : Integer; const AValue : boolean);
  11073. begin
  11074. If (FhideSelectionBoxes=AValue) then exit;
  11075. FhideSelectionBoxes:=AValue;
  11076. MarkPropertyChanged(AIndex);
  11077. end;
  11078. Procedure TCreativeAsset.SethorizontallyLocked(AIndex : Integer; const AValue : boolean);
  11079. begin
  11080. If (FhorizontallyLocked=AValue) then exit;
  11081. FhorizontallyLocked:=AValue;
  11082. MarkPropertyChanged(AIndex);
  11083. end;
  11084. Procedure TCreativeAsset.Setid(AIndex : Integer; const AValue : String);
  11085. begin
  11086. If (Fid=AValue) then exit;
  11087. Fid:=AValue;
  11088. MarkPropertyChanged(AIndex);
  11089. end;
  11090. Procedure TCreativeAsset.SetmimeType(AIndex : Integer; const AValue : String);
  11091. begin
  11092. If (FmimeType=AValue) then exit;
  11093. FmimeType:=AValue;
  11094. MarkPropertyChanged(AIndex);
  11095. end;
  11096. Procedure TCreativeAsset.Setoffset(AIndex : Integer; const AValue : TOffsetPosition);
  11097. begin
  11098. If (Foffset=AValue) then exit;
  11099. Foffset:=AValue;
  11100. MarkPropertyChanged(AIndex);
  11101. end;
  11102. Procedure TCreativeAsset.SetoriginalBackup(AIndex : Integer; const AValue : boolean);
  11103. begin
  11104. If (ForiginalBackup=AValue) then exit;
  11105. ForiginalBackup:=AValue;
  11106. MarkPropertyChanged(AIndex);
  11107. end;
  11108. Procedure TCreativeAsset.Setposition(AIndex : Integer; const AValue : TOffsetPosition);
  11109. begin
  11110. If (Fposition=AValue) then exit;
  11111. Fposition:=AValue;
  11112. MarkPropertyChanged(AIndex);
  11113. end;
  11114. Procedure TCreativeAsset.SetpositionLeftUnit(AIndex : Integer; const AValue : String);
  11115. begin
  11116. If (FpositionLeftUnit=AValue) then exit;
  11117. FpositionLeftUnit:=AValue;
  11118. MarkPropertyChanged(AIndex);
  11119. end;
  11120. Procedure TCreativeAsset.SetpositionTopUnit(AIndex : Integer; const AValue : String);
  11121. begin
  11122. If (FpositionTopUnit=AValue) then exit;
  11123. FpositionTopUnit:=AValue;
  11124. MarkPropertyChanged(AIndex);
  11125. end;
  11126. Procedure TCreativeAsset.SetprogressiveServingUrl(AIndex : Integer; const AValue : String);
  11127. begin
  11128. If (FprogressiveServingUrl=AValue) then exit;
  11129. FprogressiveServingUrl:=AValue;
  11130. MarkPropertyChanged(AIndex);
  11131. end;
  11132. Procedure TCreativeAsset.Setpushdown(AIndex : Integer; const AValue : boolean);
  11133. begin
  11134. If (Fpushdown=AValue) then exit;
  11135. Fpushdown:=AValue;
  11136. MarkPropertyChanged(AIndex);
  11137. end;
  11138. Procedure TCreativeAsset.SetpushdownDuration(AIndex : Integer; const AValue : integer);
  11139. begin
  11140. If (FpushdownDuration=AValue) then exit;
  11141. FpushdownDuration:=AValue;
  11142. MarkPropertyChanged(AIndex);
  11143. end;
  11144. Procedure TCreativeAsset.Setrole(AIndex : Integer; const AValue : String);
  11145. begin
  11146. If (Frole=AValue) then exit;
  11147. Frole:=AValue;
  11148. MarkPropertyChanged(AIndex);
  11149. end;
  11150. Procedure TCreativeAsset.Setsize(AIndex : Integer; const AValue : TSize);
  11151. begin
  11152. If (Fsize=AValue) then exit;
  11153. Fsize:=AValue;
  11154. MarkPropertyChanged(AIndex);
  11155. end;
  11156. Procedure TCreativeAsset.SetsslCompliant(AIndex : Integer; const AValue : boolean);
  11157. begin
  11158. If (FsslCompliant=AValue) then exit;
  11159. FsslCompliant:=AValue;
  11160. MarkPropertyChanged(AIndex);
  11161. end;
  11162. Procedure TCreativeAsset.SetstartTimeType(AIndex : Integer; const AValue : String);
  11163. begin
  11164. If (FstartTimeType=AValue) then exit;
  11165. FstartTimeType:=AValue;
  11166. MarkPropertyChanged(AIndex);
  11167. end;
  11168. Procedure TCreativeAsset.SetstreamingServingUrl(AIndex : Integer; const AValue : String);
  11169. begin
  11170. If (FstreamingServingUrl=AValue) then exit;
  11171. FstreamingServingUrl:=AValue;
  11172. MarkPropertyChanged(AIndex);
  11173. end;
  11174. Procedure TCreativeAsset.Settransparency(AIndex : Integer; const AValue : boolean);
  11175. begin
  11176. If (Ftransparency=AValue) then exit;
  11177. Ftransparency:=AValue;
  11178. MarkPropertyChanged(AIndex);
  11179. end;
  11180. Procedure TCreativeAsset.SetverticallyLocked(AIndex : Integer; const AValue : boolean);
  11181. begin
  11182. If (FverticallyLocked=AValue) then exit;
  11183. FverticallyLocked:=AValue;
  11184. MarkPropertyChanged(AIndex);
  11185. end;
  11186. Procedure TCreativeAsset.SetvideoDuration(AIndex : Integer; const AValue : integer);
  11187. begin
  11188. If (FvideoDuration=AValue) then exit;
  11189. FvideoDuration:=AValue;
  11190. MarkPropertyChanged(AIndex);
  11191. end;
  11192. Procedure TCreativeAsset.SetwindowMode(AIndex : Integer; const AValue : String);
  11193. begin
  11194. If (FwindowMode=AValue) then exit;
  11195. FwindowMode:=AValue;
  11196. MarkPropertyChanged(AIndex);
  11197. end;
  11198. Procedure TCreativeAsset.SetzIndex(AIndex : Integer; const AValue : integer);
  11199. begin
  11200. If (FzIndex=AValue) then exit;
  11201. FzIndex:=AValue;
  11202. MarkPropertyChanged(AIndex);
  11203. end;
  11204. Procedure TCreativeAsset.SetzipFilename(AIndex : Integer; const AValue : String);
  11205. begin
  11206. If (FzipFilename=AValue) then exit;
  11207. FzipFilename:=AValue;
  11208. MarkPropertyChanged(AIndex);
  11209. end;
  11210. Procedure TCreativeAsset.SetzipFilesize(AIndex : Integer; const AValue : String);
  11211. begin
  11212. If (FzipFilesize=AValue) then exit;
  11213. FzipFilesize:=AValue;
  11214. MarkPropertyChanged(AIndex);
  11215. end;
  11216. //2.6.4. bug workaround
  11217. {$IFDEF VER2_6}
  11218. Procedure TCreativeAsset.SetArrayLength(Const AName : String; ALength : Longint);
  11219. begin
  11220. Case AName of
  11221. 'detectedfeatures' : SetLength(FdetectedFeatures,ALength);
  11222. else
  11223. Inherited SetArrayLength(AName,ALength);
  11224. end;
  11225. end;
  11226. {$ENDIF VER2_6}
  11227. { --------------------------------------------------------------------
  11228. TCreativeAssetId
  11229. --------------------------------------------------------------------}
  11230. Procedure TCreativeAssetId.Setname(AIndex : Integer; const AValue : String);
  11231. begin
  11232. If (Fname=AValue) then exit;
  11233. Fname:=AValue;
  11234. MarkPropertyChanged(AIndex);
  11235. end;
  11236. Procedure TCreativeAssetId.Set_type(AIndex : Integer; const AValue : String);
  11237. begin
  11238. If (F_type=AValue) then exit;
  11239. F_type:=AValue;
  11240. MarkPropertyChanged(AIndex);
  11241. end;
  11242. Class Function TCreativeAssetId.ExportPropertyName(Const AName : String) :String;
  11243. begin
  11244. Case AName of
  11245. '_type' : Result:='type';
  11246. else
  11247. Result:=Inherited ExportPropertyName(AName);
  11248. end;
  11249. end;
  11250. { --------------------------------------------------------------------
  11251. TCreativeAssetMetadata
  11252. --------------------------------------------------------------------}
  11253. Procedure TCreativeAssetMetadata.SetassetIdentifier(AIndex : Integer; const AValue : TCreativeAssetId);
  11254. begin
  11255. If (FassetIdentifier=AValue) then exit;
  11256. FassetIdentifier:=AValue;
  11257. MarkPropertyChanged(AIndex);
  11258. end;
  11259. Procedure TCreativeAssetMetadata.SetclickTags(AIndex : Integer; const AValue : TCreativeAssetMetadataTypeclickTagsArray);
  11260. begin
  11261. If (FclickTags=AValue) then exit;
  11262. FclickTags:=AValue;
  11263. MarkPropertyChanged(AIndex);
  11264. end;
  11265. Procedure TCreativeAssetMetadata.SetdetectedFeatures(AIndex : Integer; const AValue : TStringArray);
  11266. begin
  11267. If (FdetectedFeatures=AValue) then exit;
  11268. FdetectedFeatures:=AValue;
  11269. MarkPropertyChanged(AIndex);
  11270. end;
  11271. Procedure TCreativeAssetMetadata.Setkind(AIndex : Integer; const AValue : String);
  11272. begin
  11273. If (Fkind=AValue) then exit;
  11274. Fkind:=AValue;
  11275. MarkPropertyChanged(AIndex);
  11276. end;
  11277. Procedure TCreativeAssetMetadata.SetwarnedValidationRules(AIndex : Integer; const AValue : TStringArray);
  11278. begin
  11279. If (FwarnedValidationRules=AValue) then exit;
  11280. FwarnedValidationRules:=AValue;
  11281. MarkPropertyChanged(AIndex);
  11282. end;
  11283. //2.6.4. bug workaround
  11284. {$IFDEF VER2_6}
  11285. Procedure TCreativeAssetMetadata.SetArrayLength(Const AName : String; ALength : Longint);
  11286. begin
  11287. Case AName of
  11288. 'clicktags' : SetLength(FclickTags,ALength);
  11289. 'detectedfeatures' : SetLength(FdetectedFeatures,ALength);
  11290. 'warnedvalidationrules' : SetLength(FwarnedValidationRules,ALength);
  11291. else
  11292. Inherited SetArrayLength(AName,ALength);
  11293. end;
  11294. end;
  11295. {$ENDIF VER2_6}
  11296. { --------------------------------------------------------------------
  11297. TCreativeAssignment
  11298. --------------------------------------------------------------------}
  11299. Procedure TCreativeAssignment.Setactive(AIndex : Integer; const AValue : boolean);
  11300. begin
  11301. If (Factive=AValue) then exit;
  11302. Factive:=AValue;
  11303. MarkPropertyChanged(AIndex);
  11304. end;
  11305. Procedure TCreativeAssignment.SetapplyEventTags(AIndex : Integer; const AValue : boolean);
  11306. begin
  11307. If (FapplyEventTags=AValue) then exit;
  11308. FapplyEventTags:=AValue;
  11309. MarkPropertyChanged(AIndex);
  11310. end;
  11311. Procedure TCreativeAssignment.SetclickThroughUrl(AIndex : Integer; const AValue : TClickThroughUrl);
  11312. begin
  11313. If (FclickThroughUrl=AValue) then exit;
  11314. FclickThroughUrl:=AValue;
  11315. MarkPropertyChanged(AIndex);
  11316. end;
  11317. Procedure TCreativeAssignment.SetcompanionCreativeOverrides(AIndex : Integer; const AValue : TCreativeAssignmentTypecompanionCreativeOverridesArray);
  11318. begin
  11319. If (FcompanionCreativeOverrides=AValue) then exit;
  11320. FcompanionCreativeOverrides:=AValue;
  11321. MarkPropertyChanged(AIndex);
  11322. end;
  11323. Procedure TCreativeAssignment.SetcreativeGroupAssignments(AIndex : Integer; const AValue : TCreativeAssignmentTypecreativeGroupAssignmentsArray);
  11324. begin
  11325. If (FcreativeGroupAssignments=AValue) then exit;
  11326. FcreativeGroupAssignments:=AValue;
  11327. MarkPropertyChanged(AIndex);
  11328. end;
  11329. Procedure TCreativeAssignment.SetcreativeId(AIndex : Integer; const AValue : String);
  11330. begin
  11331. If (FcreativeId=AValue) then exit;
  11332. FcreativeId:=AValue;
  11333. MarkPropertyChanged(AIndex);
  11334. end;
  11335. Procedure TCreativeAssignment.SetcreativeIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue);
  11336. begin
  11337. If (FcreativeIdDimensionValue=AValue) then exit;
  11338. FcreativeIdDimensionValue:=AValue;
  11339. MarkPropertyChanged(AIndex);
  11340. end;
  11341. Procedure TCreativeAssignment.SetendTime(AIndex : Integer; const AValue : TDatetime);
  11342. begin
  11343. If (FendTime=AValue) then exit;
  11344. FendTime:=AValue;
  11345. MarkPropertyChanged(AIndex);
  11346. end;
  11347. Procedure TCreativeAssignment.SetrichMediaExitOverrides(AIndex : Integer; const AValue : TCreativeAssignmentTyperichMediaExitOverridesArray);
  11348. begin
  11349. If (FrichMediaExitOverrides=AValue) then exit;
  11350. FrichMediaExitOverrides:=AValue;
  11351. MarkPropertyChanged(AIndex);
  11352. end;
  11353. Procedure TCreativeAssignment.Setsequence(AIndex : Integer; const AValue : integer);
  11354. begin
  11355. If (Fsequence=AValue) then exit;
  11356. Fsequence:=AValue;
  11357. MarkPropertyChanged(AIndex);
  11358. end;
  11359. Procedure TCreativeAssignment.SetsslCompliant(AIndex : Integer; const AValue : boolean);
  11360. begin
  11361. If (FsslCompliant=AValue) then exit;
  11362. FsslCompliant:=AValue;
  11363. MarkPropertyChanged(AIndex);
  11364. end;
  11365. Procedure TCreativeAssignment.SetstartTime(AIndex : Integer; const AValue : TDatetime);
  11366. begin
  11367. If (FstartTime=AValue) then exit;
  11368. FstartTime:=AValue;
  11369. MarkPropertyChanged(AIndex);
  11370. end;
  11371. Procedure TCreativeAssignment.Setweight(AIndex : Integer; const AValue : integer);
  11372. begin
  11373. If (Fweight=AValue) then exit;
  11374. Fweight:=AValue;
  11375. MarkPropertyChanged(AIndex);
  11376. end;
  11377. //2.6.4. bug workaround
  11378. {$IFDEF VER2_6}
  11379. Procedure TCreativeAssignment.SetArrayLength(Const AName : String; ALength : Longint);
  11380. begin
  11381. Case AName of
  11382. 'companioncreativeoverrides' : SetLength(FcompanionCreativeOverrides,ALength);
  11383. 'creativegroupassignments' : SetLength(FcreativeGroupAssignments,ALength);
  11384. 'richmediaexitoverrides' : SetLength(FrichMediaExitOverrides,ALength);
  11385. else
  11386. Inherited SetArrayLength(AName,ALength);
  11387. end;
  11388. end;
  11389. {$ENDIF VER2_6}
  11390. { --------------------------------------------------------------------
  11391. TCreativeCustomEvent
  11392. --------------------------------------------------------------------}
  11393. Procedure TCreativeCustomEvent.SetadvertiserCustomEventId(AIndex : Integer; const AValue : String);
  11394. begin
  11395. If (FadvertiserCustomEventId=AValue) then exit;
  11396. FadvertiserCustomEventId:=AValue;
  11397. MarkPropertyChanged(AIndex);
  11398. end;
  11399. Procedure TCreativeCustomEvent.SetadvertiserCustomEventName(AIndex : Integer; const AValue : String);
  11400. begin
  11401. If (FadvertiserCustomEventName=AValue) then exit;
  11402. FadvertiserCustomEventName:=AValue;
  11403. MarkPropertyChanged(AIndex);
  11404. end;
  11405. Procedure TCreativeCustomEvent.SetadvertiserCustomEventType(AIndex : Integer; const AValue : String);
  11406. begin
  11407. If (FadvertiserCustomEventType=AValue) then exit;
  11408. FadvertiserCustomEventType:=AValue;
  11409. MarkPropertyChanged(AIndex);
  11410. end;
  11411. Procedure TCreativeCustomEvent.SetartworkLabel(AIndex : Integer; const AValue : String);
  11412. begin
  11413. If (FartworkLabel=AValue) then exit;
  11414. FartworkLabel:=AValue;
  11415. MarkPropertyChanged(AIndex);
  11416. end;
  11417. Procedure TCreativeCustomEvent.SetartworkType(AIndex : Integer; const AValue : String);
  11418. begin
  11419. If (FartworkType=AValue) then exit;
  11420. FartworkType:=AValue;
  11421. MarkPropertyChanged(AIndex);
  11422. end;
  11423. Procedure TCreativeCustomEvent.SetexitUrl(AIndex : Integer; const AValue : String);
  11424. begin
  11425. If (FexitUrl=AValue) then exit;
  11426. FexitUrl:=AValue;
  11427. MarkPropertyChanged(AIndex);
  11428. end;
  11429. Procedure TCreativeCustomEvent.Setid(AIndex : Integer; const AValue : String);
  11430. begin
  11431. If (Fid=AValue) then exit;
  11432. Fid:=AValue;
  11433. MarkPropertyChanged(AIndex);
  11434. end;
  11435. Procedure TCreativeCustomEvent.SetpopupWindowProperties(AIndex : Integer; const AValue : TPopupWindowProperties);
  11436. begin
  11437. If (FpopupWindowProperties=AValue) then exit;
  11438. FpopupWindowProperties:=AValue;
  11439. MarkPropertyChanged(AIndex);
  11440. end;
  11441. Procedure TCreativeCustomEvent.SettargetType(AIndex : Integer; const AValue : String);
  11442. begin
  11443. If (FtargetType=AValue) then exit;
  11444. FtargetType:=AValue;
  11445. MarkPropertyChanged(AIndex);
  11446. end;
  11447. Procedure TCreativeCustomEvent.SetvideoReportingId(AIndex : Integer; const AValue : String);
  11448. begin
  11449. If (FvideoReportingId=AValue) then exit;
  11450. FvideoReportingId:=AValue;
  11451. MarkPropertyChanged(AIndex);
  11452. end;
  11453. { --------------------------------------------------------------------
  11454. TCreativeField
  11455. --------------------------------------------------------------------}
  11456. Procedure TCreativeField.SetaccountId(AIndex : Integer; const AValue : String);
  11457. begin
  11458. If (FaccountId=AValue) then exit;
  11459. FaccountId:=AValue;
  11460. MarkPropertyChanged(AIndex);
  11461. end;
  11462. Procedure TCreativeField.SetadvertiserId(AIndex : Integer; const AValue : String);
  11463. begin
  11464. If (FadvertiserId=AValue) then exit;
  11465. FadvertiserId:=AValue;
  11466. MarkPropertyChanged(AIndex);
  11467. end;
  11468. Procedure TCreativeField.SetadvertiserIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue);
  11469. begin
  11470. If (FadvertiserIdDimensionValue=AValue) then exit;
  11471. FadvertiserIdDimensionValue:=AValue;
  11472. MarkPropertyChanged(AIndex);
  11473. end;
  11474. Procedure TCreativeField.Setid(AIndex : Integer; const AValue : String);
  11475. begin
  11476. If (Fid=AValue) then exit;
  11477. Fid:=AValue;
  11478. MarkPropertyChanged(AIndex);
  11479. end;
  11480. Procedure TCreativeField.Setkind(AIndex : Integer; const AValue : String);
  11481. begin
  11482. If (Fkind=AValue) then exit;
  11483. Fkind:=AValue;
  11484. MarkPropertyChanged(AIndex);
  11485. end;
  11486. Procedure TCreativeField.Setname(AIndex : Integer; const AValue : String);
  11487. begin
  11488. If (Fname=AValue) then exit;
  11489. Fname:=AValue;
  11490. MarkPropertyChanged(AIndex);
  11491. end;
  11492. Procedure TCreativeField.SetsubaccountId(AIndex : Integer; const AValue : String);
  11493. begin
  11494. If (FsubaccountId=AValue) then exit;
  11495. FsubaccountId:=AValue;
  11496. MarkPropertyChanged(AIndex);
  11497. end;
  11498. { --------------------------------------------------------------------
  11499. TCreativeFieldAssignment
  11500. --------------------------------------------------------------------}
  11501. Procedure TCreativeFieldAssignment.SetcreativeFieldId(AIndex : Integer; const AValue : String);
  11502. begin
  11503. If (FcreativeFieldId=AValue) then exit;
  11504. FcreativeFieldId:=AValue;
  11505. MarkPropertyChanged(AIndex);
  11506. end;
  11507. Procedure TCreativeFieldAssignment.SetcreativeFieldValueId(AIndex : Integer; const AValue : String);
  11508. begin
  11509. If (FcreativeFieldValueId=AValue) then exit;
  11510. FcreativeFieldValueId:=AValue;
  11511. MarkPropertyChanged(AIndex);
  11512. end;
  11513. { --------------------------------------------------------------------
  11514. TCreativeFieldValue
  11515. --------------------------------------------------------------------}
  11516. Procedure TCreativeFieldValue.Setid(AIndex : Integer; const AValue : String);
  11517. begin
  11518. If (Fid=AValue) then exit;
  11519. Fid:=AValue;
  11520. MarkPropertyChanged(AIndex);
  11521. end;
  11522. Procedure TCreativeFieldValue.Setkind(AIndex : Integer; const AValue : String);
  11523. begin
  11524. If (Fkind=AValue) then exit;
  11525. Fkind:=AValue;
  11526. MarkPropertyChanged(AIndex);
  11527. end;
  11528. Procedure TCreativeFieldValue.Setvalue(AIndex : Integer; const AValue : String);
  11529. begin
  11530. If (Fvalue=AValue) then exit;
  11531. Fvalue:=AValue;
  11532. MarkPropertyChanged(AIndex);
  11533. end;
  11534. { --------------------------------------------------------------------
  11535. TCreativeFieldValuesListResponse
  11536. --------------------------------------------------------------------}
  11537. Procedure TCreativeFieldValuesListResponse.SetcreativeFieldValues(AIndex : Integer; const AValue : TCreativeFieldValuesListResponseTypecreativeFieldValuesArray);
  11538. begin
  11539. If (FcreativeFieldValues=AValue) then exit;
  11540. FcreativeFieldValues:=AValue;
  11541. MarkPropertyChanged(AIndex);
  11542. end;
  11543. Procedure TCreativeFieldValuesListResponse.Setkind(AIndex : Integer; const AValue : String);
  11544. begin
  11545. If (Fkind=AValue) then exit;
  11546. Fkind:=AValue;
  11547. MarkPropertyChanged(AIndex);
  11548. end;
  11549. Procedure TCreativeFieldValuesListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  11550. begin
  11551. If (FnextPageToken=AValue) then exit;
  11552. FnextPageToken:=AValue;
  11553. MarkPropertyChanged(AIndex);
  11554. end;
  11555. //2.6.4. bug workaround
  11556. {$IFDEF VER2_6}
  11557. Procedure TCreativeFieldValuesListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  11558. begin
  11559. Case AName of
  11560. 'creativefieldvalues' : SetLength(FcreativeFieldValues,ALength);
  11561. else
  11562. Inherited SetArrayLength(AName,ALength);
  11563. end;
  11564. end;
  11565. {$ENDIF VER2_6}
  11566. { --------------------------------------------------------------------
  11567. TCreativeFieldsListResponse
  11568. --------------------------------------------------------------------}
  11569. Procedure TCreativeFieldsListResponse.SetcreativeFields(AIndex : Integer; const AValue : TCreativeFieldsListResponseTypecreativeFieldsArray);
  11570. begin
  11571. If (FcreativeFields=AValue) then exit;
  11572. FcreativeFields:=AValue;
  11573. MarkPropertyChanged(AIndex);
  11574. end;
  11575. Procedure TCreativeFieldsListResponse.Setkind(AIndex : Integer; const AValue : String);
  11576. begin
  11577. If (Fkind=AValue) then exit;
  11578. Fkind:=AValue;
  11579. MarkPropertyChanged(AIndex);
  11580. end;
  11581. Procedure TCreativeFieldsListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  11582. begin
  11583. If (FnextPageToken=AValue) then exit;
  11584. FnextPageToken:=AValue;
  11585. MarkPropertyChanged(AIndex);
  11586. end;
  11587. //2.6.4. bug workaround
  11588. {$IFDEF VER2_6}
  11589. Procedure TCreativeFieldsListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  11590. begin
  11591. Case AName of
  11592. 'creativefields' : SetLength(FcreativeFields,ALength);
  11593. else
  11594. Inherited SetArrayLength(AName,ALength);
  11595. end;
  11596. end;
  11597. {$ENDIF VER2_6}
  11598. { --------------------------------------------------------------------
  11599. TCreativeGroup
  11600. --------------------------------------------------------------------}
  11601. Procedure TCreativeGroup.SetaccountId(AIndex : Integer; const AValue : String);
  11602. begin
  11603. If (FaccountId=AValue) then exit;
  11604. FaccountId:=AValue;
  11605. MarkPropertyChanged(AIndex);
  11606. end;
  11607. Procedure TCreativeGroup.SetadvertiserId(AIndex : Integer; const AValue : String);
  11608. begin
  11609. If (FadvertiserId=AValue) then exit;
  11610. FadvertiserId:=AValue;
  11611. MarkPropertyChanged(AIndex);
  11612. end;
  11613. Procedure TCreativeGroup.SetadvertiserIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue);
  11614. begin
  11615. If (FadvertiserIdDimensionValue=AValue) then exit;
  11616. FadvertiserIdDimensionValue:=AValue;
  11617. MarkPropertyChanged(AIndex);
  11618. end;
  11619. Procedure TCreativeGroup.SetgroupNumber(AIndex : Integer; const AValue : integer);
  11620. begin
  11621. If (FgroupNumber=AValue) then exit;
  11622. FgroupNumber:=AValue;
  11623. MarkPropertyChanged(AIndex);
  11624. end;
  11625. Procedure TCreativeGroup.Setid(AIndex : Integer; const AValue : String);
  11626. begin
  11627. If (Fid=AValue) then exit;
  11628. Fid:=AValue;
  11629. MarkPropertyChanged(AIndex);
  11630. end;
  11631. Procedure TCreativeGroup.Setkind(AIndex : Integer; const AValue : String);
  11632. begin
  11633. If (Fkind=AValue) then exit;
  11634. Fkind:=AValue;
  11635. MarkPropertyChanged(AIndex);
  11636. end;
  11637. Procedure TCreativeGroup.Setname(AIndex : Integer; const AValue : String);
  11638. begin
  11639. If (Fname=AValue) then exit;
  11640. Fname:=AValue;
  11641. MarkPropertyChanged(AIndex);
  11642. end;
  11643. Procedure TCreativeGroup.SetsubaccountId(AIndex : Integer; const AValue : String);
  11644. begin
  11645. If (FsubaccountId=AValue) then exit;
  11646. FsubaccountId:=AValue;
  11647. MarkPropertyChanged(AIndex);
  11648. end;
  11649. { --------------------------------------------------------------------
  11650. TCreativeGroupAssignment
  11651. --------------------------------------------------------------------}
  11652. Procedure TCreativeGroupAssignment.SetcreativeGroupId(AIndex : Integer; const AValue : String);
  11653. begin
  11654. If (FcreativeGroupId=AValue) then exit;
  11655. FcreativeGroupId:=AValue;
  11656. MarkPropertyChanged(AIndex);
  11657. end;
  11658. Procedure TCreativeGroupAssignment.SetcreativeGroupNumber(AIndex : Integer; const AValue : String);
  11659. begin
  11660. If (FcreativeGroupNumber=AValue) then exit;
  11661. FcreativeGroupNumber:=AValue;
  11662. MarkPropertyChanged(AIndex);
  11663. end;
  11664. { --------------------------------------------------------------------
  11665. TCreativeGroupsListResponse
  11666. --------------------------------------------------------------------}
  11667. Procedure TCreativeGroupsListResponse.SetcreativeGroups(AIndex : Integer; const AValue : TCreativeGroupsListResponseTypecreativeGroupsArray);
  11668. begin
  11669. If (FcreativeGroups=AValue) then exit;
  11670. FcreativeGroups:=AValue;
  11671. MarkPropertyChanged(AIndex);
  11672. end;
  11673. Procedure TCreativeGroupsListResponse.Setkind(AIndex : Integer; const AValue : String);
  11674. begin
  11675. If (Fkind=AValue) then exit;
  11676. Fkind:=AValue;
  11677. MarkPropertyChanged(AIndex);
  11678. end;
  11679. Procedure TCreativeGroupsListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  11680. begin
  11681. If (FnextPageToken=AValue) then exit;
  11682. FnextPageToken:=AValue;
  11683. MarkPropertyChanged(AIndex);
  11684. end;
  11685. //2.6.4. bug workaround
  11686. {$IFDEF VER2_6}
  11687. Procedure TCreativeGroupsListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  11688. begin
  11689. Case AName of
  11690. 'creativegroups' : SetLength(FcreativeGroups,ALength);
  11691. else
  11692. Inherited SetArrayLength(AName,ALength);
  11693. end;
  11694. end;
  11695. {$ENDIF VER2_6}
  11696. { --------------------------------------------------------------------
  11697. TCreativeOptimizationConfiguration
  11698. --------------------------------------------------------------------}
  11699. Procedure TCreativeOptimizationConfiguration.Setid(AIndex : Integer; const AValue : String);
  11700. begin
  11701. If (Fid=AValue) then exit;
  11702. Fid:=AValue;
  11703. MarkPropertyChanged(AIndex);
  11704. end;
  11705. Procedure TCreativeOptimizationConfiguration.Setname(AIndex : Integer; const AValue : String);
  11706. begin
  11707. If (Fname=AValue) then exit;
  11708. Fname:=AValue;
  11709. MarkPropertyChanged(AIndex);
  11710. end;
  11711. Procedure TCreativeOptimizationConfiguration.SetoptimizationActivitys(AIndex : Integer; const AValue : TCreativeOptimizationConfigurationTypeoptimizationActivitysArray);
  11712. begin
  11713. If (FoptimizationActivitys=AValue) then exit;
  11714. FoptimizationActivitys:=AValue;
  11715. MarkPropertyChanged(AIndex);
  11716. end;
  11717. Procedure TCreativeOptimizationConfiguration.SetoptimizationModel(AIndex : Integer; const AValue : String);
  11718. begin
  11719. If (FoptimizationModel=AValue) then exit;
  11720. FoptimizationModel:=AValue;
  11721. MarkPropertyChanged(AIndex);
  11722. end;
  11723. //2.6.4. bug workaround
  11724. {$IFDEF VER2_6}
  11725. Procedure TCreativeOptimizationConfiguration.SetArrayLength(Const AName : String; ALength : Longint);
  11726. begin
  11727. Case AName of
  11728. 'optimizationactivitys' : SetLength(FoptimizationActivitys,ALength);
  11729. else
  11730. Inherited SetArrayLength(AName,ALength);
  11731. end;
  11732. end;
  11733. {$ENDIF VER2_6}
  11734. { --------------------------------------------------------------------
  11735. TCreativeRotation
  11736. --------------------------------------------------------------------}
  11737. Procedure TCreativeRotation.SetcreativeAssignments(AIndex : Integer; const AValue : TCreativeRotationTypecreativeAssignmentsArray);
  11738. begin
  11739. If (FcreativeAssignments=AValue) then exit;
  11740. FcreativeAssignments:=AValue;
  11741. MarkPropertyChanged(AIndex);
  11742. end;
  11743. Procedure TCreativeRotation.SetcreativeOptimizationConfigurationId(AIndex : Integer; const AValue : String);
  11744. begin
  11745. If (FcreativeOptimizationConfigurationId=AValue) then exit;
  11746. FcreativeOptimizationConfigurationId:=AValue;
  11747. MarkPropertyChanged(AIndex);
  11748. end;
  11749. Procedure TCreativeRotation.Set_type(AIndex : Integer; const AValue : String);
  11750. begin
  11751. If (F_type=AValue) then exit;
  11752. F_type:=AValue;
  11753. MarkPropertyChanged(AIndex);
  11754. end;
  11755. Procedure TCreativeRotation.SetweightCalculationStrategy(AIndex : Integer; const AValue : String);
  11756. begin
  11757. If (FweightCalculationStrategy=AValue) then exit;
  11758. FweightCalculationStrategy:=AValue;
  11759. MarkPropertyChanged(AIndex);
  11760. end;
  11761. Class Function TCreativeRotation.ExportPropertyName(Const AName : String) :String;
  11762. begin
  11763. Case AName of
  11764. '_type' : Result:='type';
  11765. else
  11766. Result:=Inherited ExportPropertyName(AName);
  11767. end;
  11768. end;
  11769. //2.6.4. bug workaround
  11770. {$IFDEF VER2_6}
  11771. Procedure TCreativeRotation.SetArrayLength(Const AName : String; ALength : Longint);
  11772. begin
  11773. Case AName of
  11774. 'creativeassignments' : SetLength(FcreativeAssignments,ALength);
  11775. else
  11776. Inherited SetArrayLength(AName,ALength);
  11777. end;
  11778. end;
  11779. {$ENDIF VER2_6}
  11780. { --------------------------------------------------------------------
  11781. TCreativeSettings
  11782. --------------------------------------------------------------------}
  11783. Procedure TCreativeSettings.SetiFrameFooter(AIndex : Integer; const AValue : String);
  11784. begin
  11785. If (FiFrameFooter=AValue) then exit;
  11786. FiFrameFooter:=AValue;
  11787. MarkPropertyChanged(AIndex);
  11788. end;
  11789. Procedure TCreativeSettings.SetiFrameHeader(AIndex : Integer; const AValue : String);
  11790. begin
  11791. If (FiFrameHeader=AValue) then exit;
  11792. FiFrameHeader:=AValue;
  11793. MarkPropertyChanged(AIndex);
  11794. end;
  11795. { --------------------------------------------------------------------
  11796. TCreativesListResponse
  11797. --------------------------------------------------------------------}
  11798. Procedure TCreativesListResponse.Setcreatives(AIndex : Integer; const AValue : TCreativesListResponseTypecreativesArray);
  11799. begin
  11800. If (Fcreatives=AValue) then exit;
  11801. Fcreatives:=AValue;
  11802. MarkPropertyChanged(AIndex);
  11803. end;
  11804. Procedure TCreativesListResponse.Setkind(AIndex : Integer; const AValue : String);
  11805. begin
  11806. If (Fkind=AValue) then exit;
  11807. Fkind:=AValue;
  11808. MarkPropertyChanged(AIndex);
  11809. end;
  11810. Procedure TCreativesListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  11811. begin
  11812. If (FnextPageToken=AValue) then exit;
  11813. FnextPageToken:=AValue;
  11814. MarkPropertyChanged(AIndex);
  11815. end;
  11816. //2.6.4. bug workaround
  11817. {$IFDEF VER2_6}
  11818. Procedure TCreativesListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  11819. begin
  11820. Case AName of
  11821. 'creatives' : SetLength(Fcreatives,ALength);
  11822. else
  11823. Inherited SetArrayLength(AName,ALength);
  11824. end;
  11825. end;
  11826. {$ENDIF VER2_6}
  11827. { --------------------------------------------------------------------
  11828. TCrossDimensionReachReportCompatibleFields
  11829. --------------------------------------------------------------------}
  11830. Procedure TCrossDimensionReachReportCompatibleFields.Setbreakdown(AIndex : Integer; const AValue : TCrossDimensionReachReportCompatibleFieldsTypebreakdownArray);
  11831. begin
  11832. If (Fbreakdown=AValue) then exit;
  11833. Fbreakdown:=AValue;
  11834. MarkPropertyChanged(AIndex);
  11835. end;
  11836. Procedure TCrossDimensionReachReportCompatibleFields.SetdimensionFilters(AIndex : Integer; const AValue : TCrossDimensionReachReportCompatibleFieldsTypedimensionFiltersArray);
  11837. begin
  11838. If (FdimensionFilters=AValue) then exit;
  11839. FdimensionFilters:=AValue;
  11840. MarkPropertyChanged(AIndex);
  11841. end;
  11842. Procedure TCrossDimensionReachReportCompatibleFields.Setkind(AIndex : Integer; const AValue : String);
  11843. begin
  11844. If (Fkind=AValue) then exit;
  11845. Fkind:=AValue;
  11846. MarkPropertyChanged(AIndex);
  11847. end;
  11848. Procedure TCrossDimensionReachReportCompatibleFields.Setmetrics(AIndex : Integer; const AValue : TCrossDimensionReachReportCompatibleFieldsTypemetricsArray);
  11849. begin
  11850. If (Fmetrics=AValue) then exit;
  11851. Fmetrics:=AValue;
  11852. MarkPropertyChanged(AIndex);
  11853. end;
  11854. Procedure TCrossDimensionReachReportCompatibleFields.SetoverlapMetrics(AIndex : Integer; const AValue : TCrossDimensionReachReportCompatibleFieldsTypeoverlapMetricsArray);
  11855. begin
  11856. If (FoverlapMetrics=AValue) then exit;
  11857. FoverlapMetrics:=AValue;
  11858. MarkPropertyChanged(AIndex);
  11859. end;
  11860. //2.6.4. bug workaround
  11861. {$IFDEF VER2_6}
  11862. Procedure TCrossDimensionReachReportCompatibleFields.SetArrayLength(Const AName : String; ALength : Longint);
  11863. begin
  11864. Case AName of
  11865. 'breakdown' : SetLength(Fbreakdown,ALength);
  11866. 'dimensionfilters' : SetLength(FdimensionFilters,ALength);
  11867. 'metrics' : SetLength(Fmetrics,ALength);
  11868. 'overlapmetrics' : SetLength(FoverlapMetrics,ALength);
  11869. else
  11870. Inherited SetArrayLength(AName,ALength);
  11871. end;
  11872. end;
  11873. {$ENDIF VER2_6}
  11874. { --------------------------------------------------------------------
  11875. TCustomFloodlightVariable
  11876. --------------------------------------------------------------------}
  11877. Procedure TCustomFloodlightVariable.Setkind(AIndex : Integer; const AValue : String);
  11878. begin
  11879. If (Fkind=AValue) then exit;
  11880. Fkind:=AValue;
  11881. MarkPropertyChanged(AIndex);
  11882. end;
  11883. Procedure TCustomFloodlightVariable.Set_type(AIndex : Integer; const AValue : String);
  11884. begin
  11885. If (F_type=AValue) then exit;
  11886. F_type:=AValue;
  11887. MarkPropertyChanged(AIndex);
  11888. end;
  11889. Procedure TCustomFloodlightVariable.Setvalue(AIndex : Integer; const AValue : String);
  11890. begin
  11891. If (Fvalue=AValue) then exit;
  11892. Fvalue:=AValue;
  11893. MarkPropertyChanged(AIndex);
  11894. end;
  11895. Class Function TCustomFloodlightVariable.ExportPropertyName(Const AName : String) :String;
  11896. begin
  11897. Case AName of
  11898. '_type' : Result:='type';
  11899. else
  11900. Result:=Inherited ExportPropertyName(AName);
  11901. end;
  11902. end;
  11903. { --------------------------------------------------------------------
  11904. TCustomRichMediaEvents
  11905. --------------------------------------------------------------------}
  11906. Procedure TCustomRichMediaEvents.SetfilteredEventIds(AIndex : Integer; const AValue : TCustomRichMediaEventsTypefilteredEventIdsArray);
  11907. begin
  11908. If (FfilteredEventIds=AValue) then exit;
  11909. FfilteredEventIds:=AValue;
  11910. MarkPropertyChanged(AIndex);
  11911. end;
  11912. Procedure TCustomRichMediaEvents.Setkind(AIndex : Integer; const AValue : String);
  11913. begin
  11914. If (Fkind=AValue) then exit;
  11915. Fkind:=AValue;
  11916. MarkPropertyChanged(AIndex);
  11917. end;
  11918. //2.6.4. bug workaround
  11919. {$IFDEF VER2_6}
  11920. Procedure TCustomRichMediaEvents.SetArrayLength(Const AName : String; ALength : Longint);
  11921. begin
  11922. Case AName of
  11923. 'filteredeventids' : SetLength(FfilteredEventIds,ALength);
  11924. else
  11925. Inherited SetArrayLength(AName,ALength);
  11926. end;
  11927. end;
  11928. {$ENDIF VER2_6}
  11929. { --------------------------------------------------------------------
  11930. TDateRange
  11931. --------------------------------------------------------------------}
  11932. Procedure TDateRange.SetendDate(AIndex : Integer; const AValue : TDate);
  11933. begin
  11934. If (FendDate=AValue) then exit;
  11935. FendDate:=AValue;
  11936. MarkPropertyChanged(AIndex);
  11937. end;
  11938. Procedure TDateRange.Setkind(AIndex : Integer; const AValue : String);
  11939. begin
  11940. If (Fkind=AValue) then exit;
  11941. Fkind:=AValue;
  11942. MarkPropertyChanged(AIndex);
  11943. end;
  11944. Procedure TDateRange.SetrelativeDateRange(AIndex : Integer; const AValue : String);
  11945. begin
  11946. If (FrelativeDateRange=AValue) then exit;
  11947. FrelativeDateRange:=AValue;
  11948. MarkPropertyChanged(AIndex);
  11949. end;
  11950. Procedure TDateRange.SetstartDate(AIndex : Integer; const AValue : TDate);
  11951. begin
  11952. If (FstartDate=AValue) then exit;
  11953. FstartDate:=AValue;
  11954. MarkPropertyChanged(AIndex);
  11955. end;
  11956. { --------------------------------------------------------------------
  11957. TDayPartTargeting
  11958. --------------------------------------------------------------------}
  11959. Procedure TDayPartTargeting.SetdaysOfWeek(AIndex : Integer; const AValue : TStringArray);
  11960. begin
  11961. If (FdaysOfWeek=AValue) then exit;
  11962. FdaysOfWeek:=AValue;
  11963. MarkPropertyChanged(AIndex);
  11964. end;
  11965. Procedure TDayPartTargeting.SethoursOfDay(AIndex : Integer; const AValue : TintegerArray);
  11966. begin
  11967. If (FhoursOfDay=AValue) then exit;
  11968. FhoursOfDay:=AValue;
  11969. MarkPropertyChanged(AIndex);
  11970. end;
  11971. Procedure TDayPartTargeting.SetuserLocalTime(AIndex : Integer; const AValue : boolean);
  11972. begin
  11973. If (FuserLocalTime=AValue) then exit;
  11974. FuserLocalTime:=AValue;
  11975. MarkPropertyChanged(AIndex);
  11976. end;
  11977. //2.6.4. bug workaround
  11978. {$IFDEF VER2_6}
  11979. Procedure TDayPartTargeting.SetArrayLength(Const AName : String; ALength : Longint);
  11980. begin
  11981. Case AName of
  11982. 'daysofweek' : SetLength(FdaysOfWeek,ALength);
  11983. 'hoursofday' : SetLength(FhoursOfDay,ALength);
  11984. else
  11985. Inherited SetArrayLength(AName,ALength);
  11986. end;
  11987. end;
  11988. {$ENDIF VER2_6}
  11989. { --------------------------------------------------------------------
  11990. TDefaultClickThroughEventTagProperties
  11991. --------------------------------------------------------------------}
  11992. Procedure TDefaultClickThroughEventTagProperties.SetdefaultClickThroughEventTagId(AIndex : Integer; const AValue : String);
  11993. begin
  11994. If (FdefaultClickThroughEventTagId=AValue) then exit;
  11995. FdefaultClickThroughEventTagId:=AValue;
  11996. MarkPropertyChanged(AIndex);
  11997. end;
  11998. Procedure TDefaultClickThroughEventTagProperties.SetoverrideInheritedEventTag(AIndex : Integer; const AValue : boolean);
  11999. begin
  12000. If (FoverrideInheritedEventTag=AValue) then exit;
  12001. FoverrideInheritedEventTag:=AValue;
  12002. MarkPropertyChanged(AIndex);
  12003. end;
  12004. { --------------------------------------------------------------------
  12005. TDeliverySchedule
  12006. --------------------------------------------------------------------}
  12007. Procedure TDeliverySchedule.SetfrequencyCap(AIndex : Integer; const AValue : TFrequencyCap);
  12008. begin
  12009. If (FfrequencyCap=AValue) then exit;
  12010. FfrequencyCap:=AValue;
  12011. MarkPropertyChanged(AIndex);
  12012. end;
  12013. Procedure TDeliverySchedule.SethardCutoff(AIndex : Integer; const AValue : boolean);
  12014. begin
  12015. If (FhardCutoff=AValue) then exit;
  12016. FhardCutoff:=AValue;
  12017. MarkPropertyChanged(AIndex);
  12018. end;
  12019. Procedure TDeliverySchedule.SetimpressionRatio(AIndex : Integer; const AValue : String);
  12020. begin
  12021. If (FimpressionRatio=AValue) then exit;
  12022. FimpressionRatio:=AValue;
  12023. MarkPropertyChanged(AIndex);
  12024. end;
  12025. Procedure TDeliverySchedule.Setpriority(AIndex : Integer; const AValue : String);
  12026. begin
  12027. If (Fpriority=AValue) then exit;
  12028. Fpriority:=AValue;
  12029. MarkPropertyChanged(AIndex);
  12030. end;
  12031. { --------------------------------------------------------------------
  12032. TDfpSettings
  12033. --------------------------------------------------------------------}
  12034. Procedure TDfpSettings.Setdfp_network_code(AIndex : Integer; const AValue : String);
  12035. begin
  12036. If (Fdfp_network_code=AValue) then exit;
  12037. Fdfp_network_code:=AValue;
  12038. MarkPropertyChanged(AIndex);
  12039. end;
  12040. Procedure TDfpSettings.Setdfp_network_name(AIndex : Integer; const AValue : String);
  12041. begin
  12042. If (Fdfp_network_name=AValue) then exit;
  12043. Fdfp_network_name:=AValue;
  12044. MarkPropertyChanged(AIndex);
  12045. end;
  12046. Procedure TDfpSettings.SetprogrammaticPlacementAccepted(AIndex : Integer; const AValue : boolean);
  12047. begin
  12048. If (FprogrammaticPlacementAccepted=AValue) then exit;
  12049. FprogrammaticPlacementAccepted:=AValue;
  12050. MarkPropertyChanged(AIndex);
  12051. end;
  12052. Procedure TDfpSettings.SetpubPaidPlacementAccepted(AIndex : Integer; const AValue : boolean);
  12053. begin
  12054. If (FpubPaidPlacementAccepted=AValue) then exit;
  12055. FpubPaidPlacementAccepted:=AValue;
  12056. MarkPropertyChanged(AIndex);
  12057. end;
  12058. Procedure TDfpSettings.SetpublisherPortalOnly(AIndex : Integer; const AValue : boolean);
  12059. begin
  12060. If (FpublisherPortalOnly=AValue) then exit;
  12061. FpublisherPortalOnly:=AValue;
  12062. MarkPropertyChanged(AIndex);
  12063. end;
  12064. { --------------------------------------------------------------------
  12065. TDimension
  12066. --------------------------------------------------------------------}
  12067. Procedure TDimension.Setkind(AIndex : Integer; const AValue : String);
  12068. begin
  12069. If (Fkind=AValue) then exit;
  12070. Fkind:=AValue;
  12071. MarkPropertyChanged(AIndex);
  12072. end;
  12073. Procedure TDimension.Setname(AIndex : Integer; const AValue : String);
  12074. begin
  12075. If (Fname=AValue) then exit;
  12076. Fname:=AValue;
  12077. MarkPropertyChanged(AIndex);
  12078. end;
  12079. { --------------------------------------------------------------------
  12080. TDimensionFilter
  12081. --------------------------------------------------------------------}
  12082. Procedure TDimensionFilter.SetdimensionName(AIndex : Integer; const AValue : String);
  12083. begin
  12084. If (FdimensionName=AValue) then exit;
  12085. FdimensionName:=AValue;
  12086. MarkPropertyChanged(AIndex);
  12087. end;
  12088. Procedure TDimensionFilter.Setkind(AIndex : Integer; const AValue : String);
  12089. begin
  12090. If (Fkind=AValue) then exit;
  12091. Fkind:=AValue;
  12092. MarkPropertyChanged(AIndex);
  12093. end;
  12094. Procedure TDimensionFilter.Setvalue(AIndex : Integer; const AValue : String);
  12095. begin
  12096. If (Fvalue=AValue) then exit;
  12097. Fvalue:=AValue;
  12098. MarkPropertyChanged(AIndex);
  12099. end;
  12100. { --------------------------------------------------------------------
  12101. TDimensionValue
  12102. --------------------------------------------------------------------}
  12103. Procedure TDimensionValue.SetdimensionName(AIndex : Integer; const AValue : String);
  12104. begin
  12105. If (FdimensionName=AValue) then exit;
  12106. FdimensionName:=AValue;
  12107. MarkPropertyChanged(AIndex);
  12108. end;
  12109. Procedure TDimensionValue.Setetag(AIndex : Integer; const AValue : String);
  12110. begin
  12111. If (Fetag=AValue) then exit;
  12112. Fetag:=AValue;
  12113. MarkPropertyChanged(AIndex);
  12114. end;
  12115. Procedure TDimensionValue.Setid(AIndex : Integer; const AValue : String);
  12116. begin
  12117. If (Fid=AValue) then exit;
  12118. Fid:=AValue;
  12119. MarkPropertyChanged(AIndex);
  12120. end;
  12121. Procedure TDimensionValue.Setkind(AIndex : Integer; const AValue : String);
  12122. begin
  12123. If (Fkind=AValue) then exit;
  12124. Fkind:=AValue;
  12125. MarkPropertyChanged(AIndex);
  12126. end;
  12127. Procedure TDimensionValue.SetmatchType(AIndex : Integer; const AValue : String);
  12128. begin
  12129. If (FmatchType=AValue) then exit;
  12130. FmatchType:=AValue;
  12131. MarkPropertyChanged(AIndex);
  12132. end;
  12133. Procedure TDimensionValue.Setvalue(AIndex : Integer; const AValue : String);
  12134. begin
  12135. If (Fvalue=AValue) then exit;
  12136. Fvalue:=AValue;
  12137. MarkPropertyChanged(AIndex);
  12138. end;
  12139. { --------------------------------------------------------------------
  12140. TDimensionValueList
  12141. --------------------------------------------------------------------}
  12142. Procedure TDimensionValueList.Setetag(AIndex : Integer; const AValue : String);
  12143. begin
  12144. If (Fetag=AValue) then exit;
  12145. Fetag:=AValue;
  12146. MarkPropertyChanged(AIndex);
  12147. end;
  12148. Procedure TDimensionValueList.Setitems(AIndex : Integer; const AValue : TDimensionValueListTypeitemsArray);
  12149. begin
  12150. If (Fitems=AValue) then exit;
  12151. Fitems:=AValue;
  12152. MarkPropertyChanged(AIndex);
  12153. end;
  12154. Procedure TDimensionValueList.Setkind(AIndex : Integer; const AValue : String);
  12155. begin
  12156. If (Fkind=AValue) then exit;
  12157. Fkind:=AValue;
  12158. MarkPropertyChanged(AIndex);
  12159. end;
  12160. Procedure TDimensionValueList.SetnextPageToken(AIndex : Integer; const AValue : String);
  12161. begin
  12162. If (FnextPageToken=AValue) then exit;
  12163. FnextPageToken:=AValue;
  12164. MarkPropertyChanged(AIndex);
  12165. end;
  12166. //2.6.4. bug workaround
  12167. {$IFDEF VER2_6}
  12168. Procedure TDimensionValueList.SetArrayLength(Const AName : String; ALength : Longint);
  12169. begin
  12170. Case AName of
  12171. 'items' : SetLength(Fitems,ALength);
  12172. else
  12173. Inherited SetArrayLength(AName,ALength);
  12174. end;
  12175. end;
  12176. {$ENDIF VER2_6}
  12177. { --------------------------------------------------------------------
  12178. TDimensionValueRequest
  12179. --------------------------------------------------------------------}
  12180. Procedure TDimensionValueRequest.SetdimensionName(AIndex : Integer; const AValue : String);
  12181. begin
  12182. If (FdimensionName=AValue) then exit;
  12183. FdimensionName:=AValue;
  12184. MarkPropertyChanged(AIndex);
  12185. end;
  12186. Procedure TDimensionValueRequest.SetendDate(AIndex : Integer; const AValue : TDate);
  12187. begin
  12188. If (FendDate=AValue) then exit;
  12189. FendDate:=AValue;
  12190. MarkPropertyChanged(AIndex);
  12191. end;
  12192. Procedure TDimensionValueRequest.Setfilters(AIndex : Integer; const AValue : TDimensionValueRequestTypefiltersArray);
  12193. begin
  12194. If (Ffilters=AValue) then exit;
  12195. Ffilters:=AValue;
  12196. MarkPropertyChanged(AIndex);
  12197. end;
  12198. Procedure TDimensionValueRequest.Setkind(AIndex : Integer; const AValue : String);
  12199. begin
  12200. If (Fkind=AValue) then exit;
  12201. Fkind:=AValue;
  12202. MarkPropertyChanged(AIndex);
  12203. end;
  12204. Procedure TDimensionValueRequest.SetstartDate(AIndex : Integer; const AValue : TDate);
  12205. begin
  12206. If (FstartDate=AValue) then exit;
  12207. FstartDate:=AValue;
  12208. MarkPropertyChanged(AIndex);
  12209. end;
  12210. //2.6.4. bug workaround
  12211. {$IFDEF VER2_6}
  12212. Procedure TDimensionValueRequest.SetArrayLength(Const AName : String; ALength : Longint);
  12213. begin
  12214. Case AName of
  12215. 'filters' : SetLength(Ffilters,ALength);
  12216. else
  12217. Inherited SetArrayLength(AName,ALength);
  12218. end;
  12219. end;
  12220. {$ENDIF VER2_6}
  12221. { --------------------------------------------------------------------
  12222. TDirectorySite
  12223. --------------------------------------------------------------------}
  12224. Procedure TDirectorySite.Setactive(AIndex : Integer; const AValue : boolean);
  12225. begin
  12226. If (Factive=AValue) then exit;
  12227. Factive:=AValue;
  12228. MarkPropertyChanged(AIndex);
  12229. end;
  12230. Procedure TDirectorySite.SetcontactAssignments(AIndex : Integer; const AValue : TDirectorySiteTypecontactAssignmentsArray);
  12231. begin
  12232. If (FcontactAssignments=AValue) then exit;
  12233. FcontactAssignments:=AValue;
  12234. MarkPropertyChanged(AIndex);
  12235. end;
  12236. Procedure TDirectorySite.SetcountryId(AIndex : Integer; const AValue : String);
  12237. begin
  12238. If (FcountryId=AValue) then exit;
  12239. FcountryId:=AValue;
  12240. MarkPropertyChanged(AIndex);
  12241. end;
  12242. Procedure TDirectorySite.SetcurrencyId(AIndex : Integer; const AValue : String);
  12243. begin
  12244. If (FcurrencyId=AValue) then exit;
  12245. FcurrencyId:=AValue;
  12246. MarkPropertyChanged(AIndex);
  12247. end;
  12248. Procedure TDirectorySite.Setdescription(AIndex : Integer; const AValue : String);
  12249. begin
  12250. If (Fdescription=AValue) then exit;
  12251. Fdescription:=AValue;
  12252. MarkPropertyChanged(AIndex);
  12253. end;
  12254. Procedure TDirectorySite.Setid(AIndex : Integer; const AValue : String);
  12255. begin
  12256. If (Fid=AValue) then exit;
  12257. Fid:=AValue;
  12258. MarkPropertyChanged(AIndex);
  12259. end;
  12260. Procedure TDirectorySite.SetidDimensionValue(AIndex : Integer; const AValue : TDimensionValue);
  12261. begin
  12262. If (FidDimensionValue=AValue) then exit;
  12263. FidDimensionValue:=AValue;
  12264. MarkPropertyChanged(AIndex);
  12265. end;
  12266. Procedure TDirectorySite.SetinpageTagFormats(AIndex : Integer; const AValue : TStringArray);
  12267. begin
  12268. If (FinpageTagFormats=AValue) then exit;
  12269. FinpageTagFormats:=AValue;
  12270. MarkPropertyChanged(AIndex);
  12271. end;
  12272. Procedure TDirectorySite.SetinterstitialTagFormats(AIndex : Integer; const AValue : TStringArray);
  12273. begin
  12274. If (FinterstitialTagFormats=AValue) then exit;
  12275. FinterstitialTagFormats:=AValue;
  12276. MarkPropertyChanged(AIndex);
  12277. end;
  12278. Procedure TDirectorySite.Setkind(AIndex : Integer; const AValue : String);
  12279. begin
  12280. If (Fkind=AValue) then exit;
  12281. Fkind:=AValue;
  12282. MarkPropertyChanged(AIndex);
  12283. end;
  12284. Procedure TDirectorySite.Setname(AIndex : Integer; const AValue : String);
  12285. begin
  12286. If (Fname=AValue) then exit;
  12287. Fname:=AValue;
  12288. MarkPropertyChanged(AIndex);
  12289. end;
  12290. Procedure TDirectorySite.SetparentId(AIndex : Integer; const AValue : String);
  12291. begin
  12292. If (FparentId=AValue) then exit;
  12293. FparentId:=AValue;
  12294. MarkPropertyChanged(AIndex);
  12295. end;
  12296. Procedure TDirectorySite.Setsettings(AIndex : Integer; const AValue : TDirectorySiteSettings);
  12297. begin
  12298. If (Fsettings=AValue) then exit;
  12299. Fsettings:=AValue;
  12300. MarkPropertyChanged(AIndex);
  12301. end;
  12302. Procedure TDirectorySite.Seturl(AIndex : Integer; const AValue : String);
  12303. begin
  12304. If (Furl=AValue) then exit;
  12305. Furl:=AValue;
  12306. MarkPropertyChanged(AIndex);
  12307. end;
  12308. //2.6.4. bug workaround
  12309. {$IFDEF VER2_6}
  12310. Procedure TDirectorySite.SetArrayLength(Const AName : String; ALength : Longint);
  12311. begin
  12312. Case AName of
  12313. 'contactassignments' : SetLength(FcontactAssignments,ALength);
  12314. 'inpagetagformats' : SetLength(FinpageTagFormats,ALength);
  12315. 'interstitialtagformats' : SetLength(FinterstitialTagFormats,ALength);
  12316. else
  12317. Inherited SetArrayLength(AName,ALength);
  12318. end;
  12319. end;
  12320. {$ENDIF VER2_6}
  12321. { --------------------------------------------------------------------
  12322. TDirectorySiteContact
  12323. --------------------------------------------------------------------}
  12324. Procedure TDirectorySiteContact.Setaddress(AIndex : Integer; const AValue : String);
  12325. begin
  12326. If (Faddress=AValue) then exit;
  12327. Faddress:=AValue;
  12328. MarkPropertyChanged(AIndex);
  12329. end;
  12330. Procedure TDirectorySiteContact.Setemail(AIndex : Integer; const AValue : String);
  12331. begin
  12332. If (Femail=AValue) then exit;
  12333. Femail:=AValue;
  12334. MarkPropertyChanged(AIndex);
  12335. end;
  12336. Procedure TDirectorySiteContact.SetfirstName(AIndex : Integer; const AValue : String);
  12337. begin
  12338. If (FfirstName=AValue) then exit;
  12339. FfirstName:=AValue;
  12340. MarkPropertyChanged(AIndex);
  12341. end;
  12342. Procedure TDirectorySiteContact.Setid(AIndex : Integer; const AValue : String);
  12343. begin
  12344. If (Fid=AValue) then exit;
  12345. Fid:=AValue;
  12346. MarkPropertyChanged(AIndex);
  12347. end;
  12348. Procedure TDirectorySiteContact.Setkind(AIndex : Integer; const AValue : String);
  12349. begin
  12350. If (Fkind=AValue) then exit;
  12351. Fkind:=AValue;
  12352. MarkPropertyChanged(AIndex);
  12353. end;
  12354. Procedure TDirectorySiteContact.SetlastName(AIndex : Integer; const AValue : String);
  12355. begin
  12356. If (FlastName=AValue) then exit;
  12357. FlastName:=AValue;
  12358. MarkPropertyChanged(AIndex);
  12359. end;
  12360. Procedure TDirectorySiteContact.Setphone(AIndex : Integer; const AValue : String);
  12361. begin
  12362. If (Fphone=AValue) then exit;
  12363. Fphone:=AValue;
  12364. MarkPropertyChanged(AIndex);
  12365. end;
  12366. Procedure TDirectorySiteContact.Setrole(AIndex : Integer; const AValue : String);
  12367. begin
  12368. If (Frole=AValue) then exit;
  12369. Frole:=AValue;
  12370. MarkPropertyChanged(AIndex);
  12371. end;
  12372. Procedure TDirectorySiteContact.Settitle(AIndex : Integer; const AValue : String);
  12373. begin
  12374. If (Ftitle=AValue) then exit;
  12375. Ftitle:=AValue;
  12376. MarkPropertyChanged(AIndex);
  12377. end;
  12378. Procedure TDirectorySiteContact.Set_type(AIndex : Integer; const AValue : String);
  12379. begin
  12380. If (F_type=AValue) then exit;
  12381. F_type:=AValue;
  12382. MarkPropertyChanged(AIndex);
  12383. end;
  12384. Class Function TDirectorySiteContact.ExportPropertyName(Const AName : String) :String;
  12385. begin
  12386. Case AName of
  12387. '_type' : Result:='type';
  12388. else
  12389. Result:=Inherited ExportPropertyName(AName);
  12390. end;
  12391. end;
  12392. { --------------------------------------------------------------------
  12393. TDirectorySiteContactAssignment
  12394. --------------------------------------------------------------------}
  12395. Procedure TDirectorySiteContactAssignment.SetcontactId(AIndex : Integer; const AValue : String);
  12396. begin
  12397. If (FcontactId=AValue) then exit;
  12398. FcontactId:=AValue;
  12399. MarkPropertyChanged(AIndex);
  12400. end;
  12401. Procedure TDirectorySiteContactAssignment.Setvisibility(AIndex : Integer; const AValue : String);
  12402. begin
  12403. If (Fvisibility=AValue) then exit;
  12404. Fvisibility:=AValue;
  12405. MarkPropertyChanged(AIndex);
  12406. end;
  12407. { --------------------------------------------------------------------
  12408. TDirectorySiteContactsListResponse
  12409. --------------------------------------------------------------------}
  12410. Procedure TDirectorySiteContactsListResponse.SetdirectorySiteContacts(AIndex : Integer; const AValue : TDirectorySiteContactsListResponseTypedirectorySiteContactsArray);
  12411. begin
  12412. If (FdirectorySiteContacts=AValue) then exit;
  12413. FdirectorySiteContacts:=AValue;
  12414. MarkPropertyChanged(AIndex);
  12415. end;
  12416. Procedure TDirectorySiteContactsListResponse.Setkind(AIndex : Integer; const AValue : String);
  12417. begin
  12418. If (Fkind=AValue) then exit;
  12419. Fkind:=AValue;
  12420. MarkPropertyChanged(AIndex);
  12421. end;
  12422. Procedure TDirectorySiteContactsListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  12423. begin
  12424. If (FnextPageToken=AValue) then exit;
  12425. FnextPageToken:=AValue;
  12426. MarkPropertyChanged(AIndex);
  12427. end;
  12428. //2.6.4. bug workaround
  12429. {$IFDEF VER2_6}
  12430. Procedure TDirectorySiteContactsListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  12431. begin
  12432. Case AName of
  12433. 'directorysitecontacts' : SetLength(FdirectorySiteContacts,ALength);
  12434. else
  12435. Inherited SetArrayLength(AName,ALength);
  12436. end;
  12437. end;
  12438. {$ENDIF VER2_6}
  12439. { --------------------------------------------------------------------
  12440. TDirectorySiteSettings
  12441. --------------------------------------------------------------------}
  12442. Procedure TDirectorySiteSettings.SetactiveViewOptOut(AIndex : Integer; const AValue : boolean);
  12443. begin
  12444. If (FactiveViewOptOut=AValue) then exit;
  12445. FactiveViewOptOut:=AValue;
  12446. MarkPropertyChanged(AIndex);
  12447. end;
  12448. Procedure TDirectorySiteSettings.Setdfp_settings(AIndex : Integer; const AValue : TDfpSettings);
  12449. begin
  12450. If (Fdfp_settings=AValue) then exit;
  12451. Fdfp_settings:=AValue;
  12452. MarkPropertyChanged(AIndex);
  12453. end;
  12454. Procedure TDirectorySiteSettings.Setinstream_video_placement_accepted(AIndex : Integer; const AValue : boolean);
  12455. begin
  12456. If (Finstream_video_placement_accepted=AValue) then exit;
  12457. Finstream_video_placement_accepted:=AValue;
  12458. MarkPropertyChanged(AIndex);
  12459. end;
  12460. Procedure TDirectorySiteSettings.SetinterstitialPlacementAccepted(AIndex : Integer; const AValue : boolean);
  12461. begin
  12462. If (FinterstitialPlacementAccepted=AValue) then exit;
  12463. FinterstitialPlacementAccepted:=AValue;
  12464. MarkPropertyChanged(AIndex);
  12465. end;
  12466. Procedure TDirectorySiteSettings.SetnielsenOcrOptOut(AIndex : Integer; const AValue : boolean);
  12467. begin
  12468. If (FnielsenOcrOptOut=AValue) then exit;
  12469. FnielsenOcrOptOut:=AValue;
  12470. MarkPropertyChanged(AIndex);
  12471. end;
  12472. Procedure TDirectorySiteSettings.SetverificationTagOptOut(AIndex : Integer; const AValue : boolean);
  12473. begin
  12474. If (FverificationTagOptOut=AValue) then exit;
  12475. FverificationTagOptOut:=AValue;
  12476. MarkPropertyChanged(AIndex);
  12477. end;
  12478. Procedure TDirectorySiteSettings.SetvideoActiveViewOptOut(AIndex : Integer; const AValue : boolean);
  12479. begin
  12480. If (FvideoActiveViewOptOut=AValue) then exit;
  12481. FvideoActiveViewOptOut:=AValue;
  12482. MarkPropertyChanged(AIndex);
  12483. end;
  12484. { --------------------------------------------------------------------
  12485. TDirectorySitesListResponse
  12486. --------------------------------------------------------------------}
  12487. Procedure TDirectorySitesListResponse.SetdirectorySites(AIndex : Integer; const AValue : TDirectorySitesListResponseTypedirectorySitesArray);
  12488. begin
  12489. If (FdirectorySites=AValue) then exit;
  12490. FdirectorySites:=AValue;
  12491. MarkPropertyChanged(AIndex);
  12492. end;
  12493. Procedure TDirectorySitesListResponse.Setkind(AIndex : Integer; const AValue : String);
  12494. begin
  12495. If (Fkind=AValue) then exit;
  12496. Fkind:=AValue;
  12497. MarkPropertyChanged(AIndex);
  12498. end;
  12499. Procedure TDirectorySitesListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  12500. begin
  12501. If (FnextPageToken=AValue) then exit;
  12502. FnextPageToken:=AValue;
  12503. MarkPropertyChanged(AIndex);
  12504. end;
  12505. //2.6.4. bug workaround
  12506. {$IFDEF VER2_6}
  12507. Procedure TDirectorySitesListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  12508. begin
  12509. Case AName of
  12510. 'directorysites' : SetLength(FdirectorySites,ALength);
  12511. else
  12512. Inherited SetArrayLength(AName,ALength);
  12513. end;
  12514. end;
  12515. {$ENDIF VER2_6}
  12516. { --------------------------------------------------------------------
  12517. TDynamicTargetingKey
  12518. --------------------------------------------------------------------}
  12519. Procedure TDynamicTargetingKey.Setkind(AIndex : Integer; const AValue : String);
  12520. begin
  12521. If (Fkind=AValue) then exit;
  12522. Fkind:=AValue;
  12523. MarkPropertyChanged(AIndex);
  12524. end;
  12525. Procedure TDynamicTargetingKey.Setname(AIndex : Integer; const AValue : String);
  12526. begin
  12527. If (Fname=AValue) then exit;
  12528. Fname:=AValue;
  12529. MarkPropertyChanged(AIndex);
  12530. end;
  12531. Procedure TDynamicTargetingKey.SetobjectId(AIndex : Integer; const AValue : String);
  12532. begin
  12533. If (FobjectId=AValue) then exit;
  12534. FobjectId:=AValue;
  12535. MarkPropertyChanged(AIndex);
  12536. end;
  12537. Procedure TDynamicTargetingKey.SetobjectType(AIndex : Integer; const AValue : String);
  12538. begin
  12539. If (FobjectType=AValue) then exit;
  12540. FobjectType:=AValue;
  12541. MarkPropertyChanged(AIndex);
  12542. end;
  12543. { --------------------------------------------------------------------
  12544. TDynamicTargetingKeysListResponse
  12545. --------------------------------------------------------------------}
  12546. Procedure TDynamicTargetingKeysListResponse.SetdynamicTargetingKeys(AIndex : Integer; const AValue : TDynamicTargetingKeysListResponseTypedynamicTargetingKeysArray);
  12547. begin
  12548. If (FdynamicTargetingKeys=AValue) then exit;
  12549. FdynamicTargetingKeys:=AValue;
  12550. MarkPropertyChanged(AIndex);
  12551. end;
  12552. Procedure TDynamicTargetingKeysListResponse.Setkind(AIndex : Integer; const AValue : String);
  12553. begin
  12554. If (Fkind=AValue) then exit;
  12555. Fkind:=AValue;
  12556. MarkPropertyChanged(AIndex);
  12557. end;
  12558. //2.6.4. bug workaround
  12559. {$IFDEF VER2_6}
  12560. Procedure TDynamicTargetingKeysListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  12561. begin
  12562. Case AName of
  12563. 'dynamictargetingkeys' : SetLength(FdynamicTargetingKeys,ALength);
  12564. else
  12565. Inherited SetArrayLength(AName,ALength);
  12566. end;
  12567. end;
  12568. {$ENDIF VER2_6}
  12569. { --------------------------------------------------------------------
  12570. TEncryptionInfo
  12571. --------------------------------------------------------------------}
  12572. Procedure TEncryptionInfo.SetencryptionEntityId(AIndex : Integer; const AValue : String);
  12573. begin
  12574. If (FencryptionEntityId=AValue) then exit;
  12575. FencryptionEntityId:=AValue;
  12576. MarkPropertyChanged(AIndex);
  12577. end;
  12578. Procedure TEncryptionInfo.SetencryptionEntityType(AIndex : Integer; const AValue : String);
  12579. begin
  12580. If (FencryptionEntityType=AValue) then exit;
  12581. FencryptionEntityType:=AValue;
  12582. MarkPropertyChanged(AIndex);
  12583. end;
  12584. Procedure TEncryptionInfo.SetencryptionSource(AIndex : Integer; const AValue : String);
  12585. begin
  12586. If (FencryptionSource=AValue) then exit;
  12587. FencryptionSource:=AValue;
  12588. MarkPropertyChanged(AIndex);
  12589. end;
  12590. Procedure TEncryptionInfo.Setkind(AIndex : Integer; const AValue : String);
  12591. begin
  12592. If (Fkind=AValue) then exit;
  12593. Fkind:=AValue;
  12594. MarkPropertyChanged(AIndex);
  12595. end;
  12596. { --------------------------------------------------------------------
  12597. TEventTag
  12598. --------------------------------------------------------------------}
  12599. Procedure TEventTag.SetaccountId(AIndex : Integer; const AValue : String);
  12600. begin
  12601. If (FaccountId=AValue) then exit;
  12602. FaccountId:=AValue;
  12603. MarkPropertyChanged(AIndex);
  12604. end;
  12605. Procedure TEventTag.SetadvertiserId(AIndex : Integer; const AValue : String);
  12606. begin
  12607. If (FadvertiserId=AValue) then exit;
  12608. FadvertiserId:=AValue;
  12609. MarkPropertyChanged(AIndex);
  12610. end;
  12611. Procedure TEventTag.SetadvertiserIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue);
  12612. begin
  12613. If (FadvertiserIdDimensionValue=AValue) then exit;
  12614. FadvertiserIdDimensionValue:=AValue;
  12615. MarkPropertyChanged(AIndex);
  12616. end;
  12617. Procedure TEventTag.SetcampaignId(AIndex : Integer; const AValue : String);
  12618. begin
  12619. If (FcampaignId=AValue) then exit;
  12620. FcampaignId:=AValue;
  12621. MarkPropertyChanged(AIndex);
  12622. end;
  12623. Procedure TEventTag.SetcampaignIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue);
  12624. begin
  12625. If (FcampaignIdDimensionValue=AValue) then exit;
  12626. FcampaignIdDimensionValue:=AValue;
  12627. MarkPropertyChanged(AIndex);
  12628. end;
  12629. Procedure TEventTag.SetenabledByDefault(AIndex : Integer; const AValue : boolean);
  12630. begin
  12631. If (FenabledByDefault=AValue) then exit;
  12632. FenabledByDefault:=AValue;
  12633. MarkPropertyChanged(AIndex);
  12634. end;
  12635. Procedure TEventTag.SetexcludeFromAdxRequests(AIndex : Integer; const AValue : boolean);
  12636. begin
  12637. If (FexcludeFromAdxRequests=AValue) then exit;
  12638. FexcludeFromAdxRequests:=AValue;
  12639. MarkPropertyChanged(AIndex);
  12640. end;
  12641. Procedure TEventTag.Setid(AIndex : Integer; const AValue : String);
  12642. begin
  12643. If (Fid=AValue) then exit;
  12644. Fid:=AValue;
  12645. MarkPropertyChanged(AIndex);
  12646. end;
  12647. Procedure TEventTag.Setkind(AIndex : Integer; const AValue : String);
  12648. begin
  12649. If (Fkind=AValue) then exit;
  12650. Fkind:=AValue;
  12651. MarkPropertyChanged(AIndex);
  12652. end;
  12653. Procedure TEventTag.Setname(AIndex : Integer; const AValue : String);
  12654. begin
  12655. If (Fname=AValue) then exit;
  12656. Fname:=AValue;
  12657. MarkPropertyChanged(AIndex);
  12658. end;
  12659. Procedure TEventTag.SetsiteFilterType(AIndex : Integer; const AValue : String);
  12660. begin
  12661. If (FsiteFilterType=AValue) then exit;
  12662. FsiteFilterType:=AValue;
  12663. MarkPropertyChanged(AIndex);
  12664. end;
  12665. Procedure TEventTag.SetsiteIds(AIndex : Integer; const AValue : TStringArray);
  12666. begin
  12667. If (FsiteIds=AValue) then exit;
  12668. FsiteIds:=AValue;
  12669. MarkPropertyChanged(AIndex);
  12670. end;
  12671. Procedure TEventTag.SetsslCompliant(AIndex : Integer; const AValue : boolean);
  12672. begin
  12673. If (FsslCompliant=AValue) then exit;
  12674. FsslCompliant:=AValue;
  12675. MarkPropertyChanged(AIndex);
  12676. end;
  12677. Procedure TEventTag.Setstatus(AIndex : Integer; const AValue : String);
  12678. begin
  12679. If (Fstatus=AValue) then exit;
  12680. Fstatus:=AValue;
  12681. MarkPropertyChanged(AIndex);
  12682. end;
  12683. Procedure TEventTag.SetsubaccountId(AIndex : Integer; const AValue : String);
  12684. begin
  12685. If (FsubaccountId=AValue) then exit;
  12686. FsubaccountId:=AValue;
  12687. MarkPropertyChanged(AIndex);
  12688. end;
  12689. Procedure TEventTag.Set_type(AIndex : Integer; const AValue : String);
  12690. begin
  12691. If (F_type=AValue) then exit;
  12692. F_type:=AValue;
  12693. MarkPropertyChanged(AIndex);
  12694. end;
  12695. Procedure TEventTag.Seturl(AIndex : Integer; const AValue : String);
  12696. begin
  12697. If (Furl=AValue) then exit;
  12698. Furl:=AValue;
  12699. MarkPropertyChanged(AIndex);
  12700. end;
  12701. Procedure TEventTag.SeturlEscapeLevels(AIndex : Integer; const AValue : integer);
  12702. begin
  12703. If (FurlEscapeLevels=AValue) then exit;
  12704. FurlEscapeLevels:=AValue;
  12705. MarkPropertyChanged(AIndex);
  12706. end;
  12707. Class Function TEventTag.ExportPropertyName(Const AName : String) :String;
  12708. begin
  12709. Case AName of
  12710. '_type' : Result:='type';
  12711. else
  12712. Result:=Inherited ExportPropertyName(AName);
  12713. end;
  12714. end;
  12715. //2.6.4. bug workaround
  12716. {$IFDEF VER2_6}
  12717. Procedure TEventTag.SetArrayLength(Const AName : String; ALength : Longint);
  12718. begin
  12719. Case AName of
  12720. 'siteids' : SetLength(FsiteIds,ALength);
  12721. else
  12722. Inherited SetArrayLength(AName,ALength);
  12723. end;
  12724. end;
  12725. {$ENDIF VER2_6}
  12726. { --------------------------------------------------------------------
  12727. TEventTagOverride
  12728. --------------------------------------------------------------------}
  12729. Procedure TEventTagOverride.Setenabled(AIndex : Integer; const AValue : boolean);
  12730. begin
  12731. If (Fenabled=AValue) then exit;
  12732. Fenabled:=AValue;
  12733. MarkPropertyChanged(AIndex);
  12734. end;
  12735. Procedure TEventTagOverride.Setid(AIndex : Integer; const AValue : String);
  12736. begin
  12737. If (Fid=AValue) then exit;
  12738. Fid:=AValue;
  12739. MarkPropertyChanged(AIndex);
  12740. end;
  12741. { --------------------------------------------------------------------
  12742. TEventTagsListResponse
  12743. --------------------------------------------------------------------}
  12744. Procedure TEventTagsListResponse.SeteventTags(AIndex : Integer; const AValue : TEventTagsListResponseTypeeventTagsArray);
  12745. begin
  12746. If (FeventTags=AValue) then exit;
  12747. FeventTags:=AValue;
  12748. MarkPropertyChanged(AIndex);
  12749. end;
  12750. Procedure TEventTagsListResponse.Setkind(AIndex : Integer; const AValue : String);
  12751. begin
  12752. If (Fkind=AValue) then exit;
  12753. Fkind:=AValue;
  12754. MarkPropertyChanged(AIndex);
  12755. end;
  12756. //2.6.4. bug workaround
  12757. {$IFDEF VER2_6}
  12758. Procedure TEventTagsListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  12759. begin
  12760. Case AName of
  12761. 'eventtags' : SetLength(FeventTags,ALength);
  12762. else
  12763. Inherited SetArrayLength(AName,ALength);
  12764. end;
  12765. end;
  12766. {$ENDIF VER2_6}
  12767. { --------------------------------------------------------------------
  12768. TFileTypeurls
  12769. --------------------------------------------------------------------}
  12770. Procedure TFileTypeurls.SetapiUrl(AIndex : Integer; const AValue : String);
  12771. begin
  12772. If (FapiUrl=AValue) then exit;
  12773. FapiUrl:=AValue;
  12774. MarkPropertyChanged(AIndex);
  12775. end;
  12776. Procedure TFileTypeurls.SetbrowserUrl(AIndex : Integer; const AValue : String);
  12777. begin
  12778. If (FbrowserUrl=AValue) then exit;
  12779. FbrowserUrl:=AValue;
  12780. MarkPropertyChanged(AIndex);
  12781. end;
  12782. { --------------------------------------------------------------------
  12783. TFile
  12784. --------------------------------------------------------------------}
  12785. Procedure TFile.SetdateRange(AIndex : Integer; const AValue : TDateRange);
  12786. begin
  12787. If (FdateRange=AValue) then exit;
  12788. FdateRange:=AValue;
  12789. MarkPropertyChanged(AIndex);
  12790. end;
  12791. Procedure TFile.Setetag(AIndex : Integer; const AValue : String);
  12792. begin
  12793. If (Fetag=AValue) then exit;
  12794. Fetag:=AValue;
  12795. MarkPropertyChanged(AIndex);
  12796. end;
  12797. Procedure TFile.SetfileName(AIndex : Integer; const AValue : String);
  12798. begin
  12799. If (FfileName=AValue) then exit;
  12800. FfileName:=AValue;
  12801. MarkPropertyChanged(AIndex);
  12802. end;
  12803. Procedure TFile.Setformat(AIndex : Integer; const AValue : String);
  12804. begin
  12805. If (Fformat=AValue) then exit;
  12806. Fformat:=AValue;
  12807. MarkPropertyChanged(AIndex);
  12808. end;
  12809. Procedure TFile.Setid(AIndex : Integer; const AValue : String);
  12810. begin
  12811. If (Fid=AValue) then exit;
  12812. Fid:=AValue;
  12813. MarkPropertyChanged(AIndex);
  12814. end;
  12815. Procedure TFile.Setkind(AIndex : Integer; const AValue : String);
  12816. begin
  12817. If (Fkind=AValue) then exit;
  12818. Fkind:=AValue;
  12819. MarkPropertyChanged(AIndex);
  12820. end;
  12821. Procedure TFile.SetlastModifiedTime(AIndex : Integer; const AValue : String);
  12822. begin
  12823. If (FlastModifiedTime=AValue) then exit;
  12824. FlastModifiedTime:=AValue;
  12825. MarkPropertyChanged(AIndex);
  12826. end;
  12827. Procedure TFile.SetreportId(AIndex : Integer; const AValue : String);
  12828. begin
  12829. If (FreportId=AValue) then exit;
  12830. FreportId:=AValue;
  12831. MarkPropertyChanged(AIndex);
  12832. end;
  12833. Procedure TFile.Setstatus(AIndex : Integer; const AValue : String);
  12834. begin
  12835. If (Fstatus=AValue) then exit;
  12836. Fstatus:=AValue;
  12837. MarkPropertyChanged(AIndex);
  12838. end;
  12839. Procedure TFile.Seturls(AIndex : Integer; const AValue : TFileTypeurls);
  12840. begin
  12841. If (Furls=AValue) then exit;
  12842. Furls:=AValue;
  12843. MarkPropertyChanged(AIndex);
  12844. end;
  12845. { --------------------------------------------------------------------
  12846. TFileList
  12847. --------------------------------------------------------------------}
  12848. Procedure TFileList.Setetag(AIndex : Integer; const AValue : String);
  12849. begin
  12850. If (Fetag=AValue) then exit;
  12851. Fetag:=AValue;
  12852. MarkPropertyChanged(AIndex);
  12853. end;
  12854. Procedure TFileList.Setitems(AIndex : Integer; const AValue : TFileListTypeitemsArray);
  12855. begin
  12856. If (Fitems=AValue) then exit;
  12857. Fitems:=AValue;
  12858. MarkPropertyChanged(AIndex);
  12859. end;
  12860. Procedure TFileList.Setkind(AIndex : Integer; const AValue : String);
  12861. begin
  12862. If (Fkind=AValue) then exit;
  12863. Fkind:=AValue;
  12864. MarkPropertyChanged(AIndex);
  12865. end;
  12866. Procedure TFileList.SetnextPageToken(AIndex : Integer; const AValue : String);
  12867. begin
  12868. If (FnextPageToken=AValue) then exit;
  12869. FnextPageToken:=AValue;
  12870. MarkPropertyChanged(AIndex);
  12871. end;
  12872. //2.6.4. bug workaround
  12873. {$IFDEF VER2_6}
  12874. Procedure TFileList.SetArrayLength(Const AName : String; ALength : Longint);
  12875. begin
  12876. Case AName of
  12877. 'items' : SetLength(Fitems,ALength);
  12878. else
  12879. Inherited SetArrayLength(AName,ALength);
  12880. end;
  12881. end;
  12882. {$ENDIF VER2_6}
  12883. { --------------------------------------------------------------------
  12884. TFlight
  12885. --------------------------------------------------------------------}
  12886. Procedure TFlight.SetendDate(AIndex : Integer; const AValue : TDate);
  12887. begin
  12888. If (FendDate=AValue) then exit;
  12889. FendDate:=AValue;
  12890. MarkPropertyChanged(AIndex);
  12891. end;
  12892. Procedure TFlight.SetrateOrCost(AIndex : Integer; const AValue : String);
  12893. begin
  12894. If (FrateOrCost=AValue) then exit;
  12895. FrateOrCost:=AValue;
  12896. MarkPropertyChanged(AIndex);
  12897. end;
  12898. Procedure TFlight.SetstartDate(AIndex : Integer; const AValue : TDate);
  12899. begin
  12900. If (FstartDate=AValue) then exit;
  12901. FstartDate:=AValue;
  12902. MarkPropertyChanged(AIndex);
  12903. end;
  12904. Procedure TFlight.Setunits(AIndex : Integer; const AValue : String);
  12905. begin
  12906. If (Funits=AValue) then exit;
  12907. Funits:=AValue;
  12908. MarkPropertyChanged(AIndex);
  12909. end;
  12910. { --------------------------------------------------------------------
  12911. TFloodlightActivitiesGenerateTagResponse
  12912. --------------------------------------------------------------------}
  12913. Procedure TFloodlightActivitiesGenerateTagResponse.SetfloodlightActivityTag(AIndex : Integer; const AValue : String);
  12914. begin
  12915. If (FfloodlightActivityTag=AValue) then exit;
  12916. FfloodlightActivityTag:=AValue;
  12917. MarkPropertyChanged(AIndex);
  12918. end;
  12919. Procedure TFloodlightActivitiesGenerateTagResponse.Setkind(AIndex : Integer; const AValue : String);
  12920. begin
  12921. If (Fkind=AValue) then exit;
  12922. Fkind:=AValue;
  12923. MarkPropertyChanged(AIndex);
  12924. end;
  12925. { --------------------------------------------------------------------
  12926. TFloodlightActivitiesListResponse
  12927. --------------------------------------------------------------------}
  12928. Procedure TFloodlightActivitiesListResponse.SetfloodlightActivities(AIndex : Integer; const AValue : TFloodlightActivitiesListResponseTypefloodlightActivitiesArray);
  12929. begin
  12930. If (FfloodlightActivities=AValue) then exit;
  12931. FfloodlightActivities:=AValue;
  12932. MarkPropertyChanged(AIndex);
  12933. end;
  12934. Procedure TFloodlightActivitiesListResponse.Setkind(AIndex : Integer; const AValue : String);
  12935. begin
  12936. If (Fkind=AValue) then exit;
  12937. Fkind:=AValue;
  12938. MarkPropertyChanged(AIndex);
  12939. end;
  12940. Procedure TFloodlightActivitiesListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  12941. begin
  12942. If (FnextPageToken=AValue) then exit;
  12943. FnextPageToken:=AValue;
  12944. MarkPropertyChanged(AIndex);
  12945. end;
  12946. //2.6.4. bug workaround
  12947. {$IFDEF VER2_6}
  12948. Procedure TFloodlightActivitiesListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  12949. begin
  12950. Case AName of
  12951. 'floodlightactivities' : SetLength(FfloodlightActivities,ALength);
  12952. else
  12953. Inherited SetArrayLength(AName,ALength);
  12954. end;
  12955. end;
  12956. {$ENDIF VER2_6}
  12957. { --------------------------------------------------------------------
  12958. TFloodlightActivity
  12959. --------------------------------------------------------------------}
  12960. Procedure TFloodlightActivity.SetaccountId(AIndex : Integer; const AValue : String);
  12961. begin
  12962. If (FaccountId=AValue) then exit;
  12963. FaccountId:=AValue;
  12964. MarkPropertyChanged(AIndex);
  12965. end;
  12966. Procedure TFloodlightActivity.SetadvertiserId(AIndex : Integer; const AValue : String);
  12967. begin
  12968. If (FadvertiserId=AValue) then exit;
  12969. FadvertiserId:=AValue;
  12970. MarkPropertyChanged(AIndex);
  12971. end;
  12972. Procedure TFloodlightActivity.SetadvertiserIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue);
  12973. begin
  12974. If (FadvertiserIdDimensionValue=AValue) then exit;
  12975. FadvertiserIdDimensionValue:=AValue;
  12976. MarkPropertyChanged(AIndex);
  12977. end;
  12978. Procedure TFloodlightActivity.SetcacheBustingType(AIndex : Integer; const AValue : String);
  12979. begin
  12980. If (FcacheBustingType=AValue) then exit;
  12981. FcacheBustingType:=AValue;
  12982. MarkPropertyChanged(AIndex);
  12983. end;
  12984. Procedure TFloodlightActivity.SetcountingMethod(AIndex : Integer; const AValue : String);
  12985. begin
  12986. If (FcountingMethod=AValue) then exit;
  12987. FcountingMethod:=AValue;
  12988. MarkPropertyChanged(AIndex);
  12989. end;
  12990. Procedure TFloodlightActivity.SetdefaultTags(AIndex : Integer; const AValue : TFloodlightActivityTypedefaultTagsArray);
  12991. begin
  12992. If (FdefaultTags=AValue) then exit;
  12993. FdefaultTags:=AValue;
  12994. MarkPropertyChanged(AIndex);
  12995. end;
  12996. Procedure TFloodlightActivity.SetexpectedUrl(AIndex : Integer; const AValue : String);
  12997. begin
  12998. If (FexpectedUrl=AValue) then exit;
  12999. FexpectedUrl:=AValue;
  13000. MarkPropertyChanged(AIndex);
  13001. end;
  13002. Procedure TFloodlightActivity.SetfloodlightActivityGroupId(AIndex : Integer; const AValue : String);
  13003. begin
  13004. If (FfloodlightActivityGroupId=AValue) then exit;
  13005. FfloodlightActivityGroupId:=AValue;
  13006. MarkPropertyChanged(AIndex);
  13007. end;
  13008. Procedure TFloodlightActivity.SetfloodlightActivityGroupName(AIndex : Integer; const AValue : String);
  13009. begin
  13010. If (FfloodlightActivityGroupName=AValue) then exit;
  13011. FfloodlightActivityGroupName:=AValue;
  13012. MarkPropertyChanged(AIndex);
  13013. end;
  13014. Procedure TFloodlightActivity.SetfloodlightActivityGroupTagString(AIndex : Integer; const AValue : String);
  13015. begin
  13016. If (FfloodlightActivityGroupTagString=AValue) then exit;
  13017. FfloodlightActivityGroupTagString:=AValue;
  13018. MarkPropertyChanged(AIndex);
  13019. end;
  13020. Procedure TFloodlightActivity.SetfloodlightActivityGroupType(AIndex : Integer; const AValue : String);
  13021. begin
  13022. If (FfloodlightActivityGroupType=AValue) then exit;
  13023. FfloodlightActivityGroupType:=AValue;
  13024. MarkPropertyChanged(AIndex);
  13025. end;
  13026. Procedure TFloodlightActivity.SetfloodlightConfigurationId(AIndex : Integer; const AValue : String);
  13027. begin
  13028. If (FfloodlightConfigurationId=AValue) then exit;
  13029. FfloodlightConfigurationId:=AValue;
  13030. MarkPropertyChanged(AIndex);
  13031. end;
  13032. Procedure TFloodlightActivity.SetfloodlightConfigurationIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue);
  13033. begin
  13034. If (FfloodlightConfigurationIdDimensionValue=AValue) then exit;
  13035. FfloodlightConfigurationIdDimensionValue:=AValue;
  13036. MarkPropertyChanged(AIndex);
  13037. end;
  13038. Procedure TFloodlightActivity.Sethidden(AIndex : Integer; const AValue : boolean);
  13039. begin
  13040. If (Fhidden=AValue) then exit;
  13041. Fhidden:=AValue;
  13042. MarkPropertyChanged(AIndex);
  13043. end;
  13044. Procedure TFloodlightActivity.Setid(AIndex : Integer; const AValue : String);
  13045. begin
  13046. If (Fid=AValue) then exit;
  13047. Fid:=AValue;
  13048. MarkPropertyChanged(AIndex);
  13049. end;
  13050. Procedure TFloodlightActivity.SetidDimensionValue(AIndex : Integer; const AValue : TDimensionValue);
  13051. begin
  13052. If (FidDimensionValue=AValue) then exit;
  13053. FidDimensionValue:=AValue;
  13054. MarkPropertyChanged(AIndex);
  13055. end;
  13056. Procedure TFloodlightActivity.SetimageTagEnabled(AIndex : Integer; const AValue : boolean);
  13057. begin
  13058. If (FimageTagEnabled=AValue) then exit;
  13059. FimageTagEnabled:=AValue;
  13060. MarkPropertyChanged(AIndex);
  13061. end;
  13062. Procedure TFloodlightActivity.Setkind(AIndex : Integer; const AValue : String);
  13063. begin
  13064. If (Fkind=AValue) then exit;
  13065. Fkind:=AValue;
  13066. MarkPropertyChanged(AIndex);
  13067. end;
  13068. Procedure TFloodlightActivity.Setname(AIndex : Integer; const AValue : String);
  13069. begin
  13070. If (Fname=AValue) then exit;
  13071. Fname:=AValue;
  13072. MarkPropertyChanged(AIndex);
  13073. end;
  13074. Procedure TFloodlightActivity.Setnotes(AIndex : Integer; const AValue : String);
  13075. begin
  13076. If (Fnotes=AValue) then exit;
  13077. Fnotes:=AValue;
  13078. MarkPropertyChanged(AIndex);
  13079. end;
  13080. Procedure TFloodlightActivity.SetpublisherTags(AIndex : Integer; const AValue : TFloodlightActivityTypepublisherTagsArray);
  13081. begin
  13082. If (FpublisherTags=AValue) then exit;
  13083. FpublisherTags:=AValue;
  13084. MarkPropertyChanged(AIndex);
  13085. end;
  13086. Procedure TFloodlightActivity.Setsecure(AIndex : Integer; const AValue : boolean);
  13087. begin
  13088. If (Fsecure=AValue) then exit;
  13089. Fsecure:=AValue;
  13090. MarkPropertyChanged(AIndex);
  13091. end;
  13092. Procedure TFloodlightActivity.SetsslCompliant(AIndex : Integer; const AValue : boolean);
  13093. begin
  13094. If (FsslCompliant=AValue) then exit;
  13095. FsslCompliant:=AValue;
  13096. MarkPropertyChanged(AIndex);
  13097. end;
  13098. Procedure TFloodlightActivity.SetsslRequired(AIndex : Integer; const AValue : boolean);
  13099. begin
  13100. If (FsslRequired=AValue) then exit;
  13101. FsslRequired:=AValue;
  13102. MarkPropertyChanged(AIndex);
  13103. end;
  13104. Procedure TFloodlightActivity.SetsubaccountId(AIndex : Integer; const AValue : String);
  13105. begin
  13106. If (FsubaccountId=AValue) then exit;
  13107. FsubaccountId:=AValue;
  13108. MarkPropertyChanged(AIndex);
  13109. end;
  13110. Procedure TFloodlightActivity.SettagFormat(AIndex : Integer; const AValue : String);
  13111. begin
  13112. If (FtagFormat=AValue) then exit;
  13113. FtagFormat:=AValue;
  13114. MarkPropertyChanged(AIndex);
  13115. end;
  13116. Procedure TFloodlightActivity.SettagString(AIndex : Integer; const AValue : String);
  13117. begin
  13118. If (FtagString=AValue) then exit;
  13119. FtagString:=AValue;
  13120. MarkPropertyChanged(AIndex);
  13121. end;
  13122. Procedure TFloodlightActivity.SetuserDefinedVariableTypes(AIndex : Integer; const AValue : TStringArray);
  13123. begin
  13124. If (FuserDefinedVariableTypes=AValue) then exit;
  13125. FuserDefinedVariableTypes:=AValue;
  13126. MarkPropertyChanged(AIndex);
  13127. end;
  13128. //2.6.4. bug workaround
  13129. {$IFDEF VER2_6}
  13130. Procedure TFloodlightActivity.SetArrayLength(Const AName : String; ALength : Longint);
  13131. begin
  13132. Case AName of
  13133. 'defaulttags' : SetLength(FdefaultTags,ALength);
  13134. 'publishertags' : SetLength(FpublisherTags,ALength);
  13135. 'userdefinedvariabletypes' : SetLength(FuserDefinedVariableTypes,ALength);
  13136. else
  13137. Inherited SetArrayLength(AName,ALength);
  13138. end;
  13139. end;
  13140. {$ENDIF VER2_6}
  13141. { --------------------------------------------------------------------
  13142. TFloodlightActivityDynamicTag
  13143. --------------------------------------------------------------------}
  13144. Procedure TFloodlightActivityDynamicTag.Setid(AIndex : Integer; const AValue : String);
  13145. begin
  13146. If (Fid=AValue) then exit;
  13147. Fid:=AValue;
  13148. MarkPropertyChanged(AIndex);
  13149. end;
  13150. Procedure TFloodlightActivityDynamicTag.Setname(AIndex : Integer; const AValue : String);
  13151. begin
  13152. If (Fname=AValue) then exit;
  13153. Fname:=AValue;
  13154. MarkPropertyChanged(AIndex);
  13155. end;
  13156. Procedure TFloodlightActivityDynamicTag.Settag(AIndex : Integer; const AValue : String);
  13157. begin
  13158. If (Ftag=AValue) then exit;
  13159. Ftag:=AValue;
  13160. MarkPropertyChanged(AIndex);
  13161. end;
  13162. { --------------------------------------------------------------------
  13163. TFloodlightActivityGroup
  13164. --------------------------------------------------------------------}
  13165. Procedure TFloodlightActivityGroup.SetaccountId(AIndex : Integer; const AValue : String);
  13166. begin
  13167. If (FaccountId=AValue) then exit;
  13168. FaccountId:=AValue;
  13169. MarkPropertyChanged(AIndex);
  13170. end;
  13171. Procedure TFloodlightActivityGroup.SetadvertiserId(AIndex : Integer; const AValue : String);
  13172. begin
  13173. If (FadvertiserId=AValue) then exit;
  13174. FadvertiserId:=AValue;
  13175. MarkPropertyChanged(AIndex);
  13176. end;
  13177. Procedure TFloodlightActivityGroup.SetadvertiserIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue);
  13178. begin
  13179. If (FadvertiserIdDimensionValue=AValue) then exit;
  13180. FadvertiserIdDimensionValue:=AValue;
  13181. MarkPropertyChanged(AIndex);
  13182. end;
  13183. Procedure TFloodlightActivityGroup.SetfloodlightConfigurationId(AIndex : Integer; const AValue : String);
  13184. begin
  13185. If (FfloodlightConfigurationId=AValue) then exit;
  13186. FfloodlightConfigurationId:=AValue;
  13187. MarkPropertyChanged(AIndex);
  13188. end;
  13189. Procedure TFloodlightActivityGroup.SetfloodlightConfigurationIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue);
  13190. begin
  13191. If (FfloodlightConfigurationIdDimensionValue=AValue) then exit;
  13192. FfloodlightConfigurationIdDimensionValue:=AValue;
  13193. MarkPropertyChanged(AIndex);
  13194. end;
  13195. Procedure TFloodlightActivityGroup.Setid(AIndex : Integer; const AValue : String);
  13196. begin
  13197. If (Fid=AValue) then exit;
  13198. Fid:=AValue;
  13199. MarkPropertyChanged(AIndex);
  13200. end;
  13201. Procedure TFloodlightActivityGroup.SetidDimensionValue(AIndex : Integer; const AValue : TDimensionValue);
  13202. begin
  13203. If (FidDimensionValue=AValue) then exit;
  13204. FidDimensionValue:=AValue;
  13205. MarkPropertyChanged(AIndex);
  13206. end;
  13207. Procedure TFloodlightActivityGroup.Setkind(AIndex : Integer; const AValue : String);
  13208. begin
  13209. If (Fkind=AValue) then exit;
  13210. Fkind:=AValue;
  13211. MarkPropertyChanged(AIndex);
  13212. end;
  13213. Procedure TFloodlightActivityGroup.Setname(AIndex : Integer; const AValue : String);
  13214. begin
  13215. If (Fname=AValue) then exit;
  13216. Fname:=AValue;
  13217. MarkPropertyChanged(AIndex);
  13218. end;
  13219. Procedure TFloodlightActivityGroup.SetsubaccountId(AIndex : Integer; const AValue : String);
  13220. begin
  13221. If (FsubaccountId=AValue) then exit;
  13222. FsubaccountId:=AValue;
  13223. MarkPropertyChanged(AIndex);
  13224. end;
  13225. Procedure TFloodlightActivityGroup.SettagString(AIndex : Integer; const AValue : String);
  13226. begin
  13227. If (FtagString=AValue) then exit;
  13228. FtagString:=AValue;
  13229. MarkPropertyChanged(AIndex);
  13230. end;
  13231. Procedure TFloodlightActivityGroup.Set_type(AIndex : Integer; const AValue : String);
  13232. begin
  13233. If (F_type=AValue) then exit;
  13234. F_type:=AValue;
  13235. MarkPropertyChanged(AIndex);
  13236. end;
  13237. Class Function TFloodlightActivityGroup.ExportPropertyName(Const AName : String) :String;
  13238. begin
  13239. Case AName of
  13240. '_type' : Result:='type';
  13241. else
  13242. Result:=Inherited ExportPropertyName(AName);
  13243. end;
  13244. end;
  13245. { --------------------------------------------------------------------
  13246. TFloodlightActivityGroupsListResponse
  13247. --------------------------------------------------------------------}
  13248. Procedure TFloodlightActivityGroupsListResponse.SetfloodlightActivityGroups(AIndex : Integer; const AValue : TFloodlightActivityGroupsListResponseTypefloodlightActivityGroupsArray);
  13249. begin
  13250. If (FfloodlightActivityGroups=AValue) then exit;
  13251. FfloodlightActivityGroups:=AValue;
  13252. MarkPropertyChanged(AIndex);
  13253. end;
  13254. Procedure TFloodlightActivityGroupsListResponse.Setkind(AIndex : Integer; const AValue : String);
  13255. begin
  13256. If (Fkind=AValue) then exit;
  13257. Fkind:=AValue;
  13258. MarkPropertyChanged(AIndex);
  13259. end;
  13260. Procedure TFloodlightActivityGroupsListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  13261. begin
  13262. If (FnextPageToken=AValue) then exit;
  13263. FnextPageToken:=AValue;
  13264. MarkPropertyChanged(AIndex);
  13265. end;
  13266. //2.6.4. bug workaround
  13267. {$IFDEF VER2_6}
  13268. Procedure TFloodlightActivityGroupsListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  13269. begin
  13270. Case AName of
  13271. 'floodlightactivitygroups' : SetLength(FfloodlightActivityGroups,ALength);
  13272. else
  13273. Inherited SetArrayLength(AName,ALength);
  13274. end;
  13275. end;
  13276. {$ENDIF VER2_6}
  13277. { --------------------------------------------------------------------
  13278. TFloodlightActivityPublisherDynamicTag
  13279. --------------------------------------------------------------------}
  13280. Procedure TFloodlightActivityPublisherDynamicTag.SetclickThrough(AIndex : Integer; const AValue : boolean);
  13281. begin
  13282. If (FclickThrough=AValue) then exit;
  13283. FclickThrough:=AValue;
  13284. MarkPropertyChanged(AIndex);
  13285. end;
  13286. Procedure TFloodlightActivityPublisherDynamicTag.SetdirectorySiteId(AIndex : Integer; const AValue : String);
  13287. begin
  13288. If (FdirectorySiteId=AValue) then exit;
  13289. FdirectorySiteId:=AValue;
  13290. MarkPropertyChanged(AIndex);
  13291. end;
  13292. Procedure TFloodlightActivityPublisherDynamicTag.SetdynamicTag(AIndex : Integer; const AValue : TFloodlightActivityDynamicTag);
  13293. begin
  13294. If (FdynamicTag=AValue) then exit;
  13295. FdynamicTag:=AValue;
  13296. MarkPropertyChanged(AIndex);
  13297. end;
  13298. Procedure TFloodlightActivityPublisherDynamicTag.SetsiteId(AIndex : Integer; const AValue : String);
  13299. begin
  13300. If (FsiteId=AValue) then exit;
  13301. FsiteId:=AValue;
  13302. MarkPropertyChanged(AIndex);
  13303. end;
  13304. Procedure TFloodlightActivityPublisherDynamicTag.SetsiteIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue);
  13305. begin
  13306. If (FsiteIdDimensionValue=AValue) then exit;
  13307. FsiteIdDimensionValue:=AValue;
  13308. MarkPropertyChanged(AIndex);
  13309. end;
  13310. Procedure TFloodlightActivityPublisherDynamicTag.SetviewThrough(AIndex : Integer; const AValue : boolean);
  13311. begin
  13312. If (FviewThrough=AValue) then exit;
  13313. FviewThrough:=AValue;
  13314. MarkPropertyChanged(AIndex);
  13315. end;
  13316. { --------------------------------------------------------------------
  13317. TFloodlightConfiguration
  13318. --------------------------------------------------------------------}
  13319. Procedure TFloodlightConfiguration.SetaccountId(AIndex : Integer; const AValue : String);
  13320. begin
  13321. If (FaccountId=AValue) then exit;
  13322. FaccountId:=AValue;
  13323. MarkPropertyChanged(AIndex);
  13324. end;
  13325. Procedure TFloodlightConfiguration.SetadvertiserId(AIndex : Integer; const AValue : String);
  13326. begin
  13327. If (FadvertiserId=AValue) then exit;
  13328. FadvertiserId:=AValue;
  13329. MarkPropertyChanged(AIndex);
  13330. end;
  13331. Procedure TFloodlightConfiguration.SetadvertiserIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue);
  13332. begin
  13333. If (FadvertiserIdDimensionValue=AValue) then exit;
  13334. FadvertiserIdDimensionValue:=AValue;
  13335. MarkPropertyChanged(AIndex);
  13336. end;
  13337. Procedure TFloodlightConfiguration.SetanalyticsDataSharingEnabled(AIndex : Integer; const AValue : boolean);
  13338. begin
  13339. If (FanalyticsDataSharingEnabled=AValue) then exit;
  13340. FanalyticsDataSharingEnabled:=AValue;
  13341. MarkPropertyChanged(AIndex);
  13342. end;
  13343. Procedure TFloodlightConfiguration.SetexposureToConversionEnabled(AIndex : Integer; const AValue : boolean);
  13344. begin
  13345. If (FexposureToConversionEnabled=AValue) then exit;
  13346. FexposureToConversionEnabled:=AValue;
  13347. MarkPropertyChanged(AIndex);
  13348. end;
  13349. Procedure TFloodlightConfiguration.SetfirstDayOfWeek(AIndex : Integer; const AValue : String);
  13350. begin
  13351. If (FfirstDayOfWeek=AValue) then exit;
  13352. FfirstDayOfWeek:=AValue;
  13353. MarkPropertyChanged(AIndex);
  13354. end;
  13355. Procedure TFloodlightConfiguration.Setid(AIndex : Integer; const AValue : String);
  13356. begin
  13357. If (Fid=AValue) then exit;
  13358. Fid:=AValue;
  13359. MarkPropertyChanged(AIndex);
  13360. end;
  13361. Procedure TFloodlightConfiguration.SetidDimensionValue(AIndex : Integer; const AValue : TDimensionValue);
  13362. begin
  13363. If (FidDimensionValue=AValue) then exit;
  13364. FidDimensionValue:=AValue;
  13365. MarkPropertyChanged(AIndex);
  13366. end;
  13367. Procedure TFloodlightConfiguration.SetinAppAttributionTrackingEnabled(AIndex : Integer; const AValue : boolean);
  13368. begin
  13369. If (FinAppAttributionTrackingEnabled=AValue) then exit;
  13370. FinAppAttributionTrackingEnabled:=AValue;
  13371. MarkPropertyChanged(AIndex);
  13372. end;
  13373. Procedure TFloodlightConfiguration.Setkind(AIndex : Integer; const AValue : String);
  13374. begin
  13375. If (Fkind=AValue) then exit;
  13376. Fkind:=AValue;
  13377. MarkPropertyChanged(AIndex);
  13378. end;
  13379. Procedure TFloodlightConfiguration.SetlookbackConfiguration(AIndex : Integer; const AValue : TLookbackConfiguration);
  13380. begin
  13381. If (FlookbackConfiguration=AValue) then exit;
  13382. FlookbackConfiguration:=AValue;
  13383. MarkPropertyChanged(AIndex);
  13384. end;
  13385. Procedure TFloodlightConfiguration.SetnaturalSearchConversionAttributionOption(AIndex : Integer; const AValue : String);
  13386. begin
  13387. If (FnaturalSearchConversionAttributionOption=AValue) then exit;
  13388. FnaturalSearchConversionAttributionOption:=AValue;
  13389. MarkPropertyChanged(AIndex);
  13390. end;
  13391. Procedure TFloodlightConfiguration.SetomnitureSettings(AIndex : Integer; const AValue : TOmnitureSettings);
  13392. begin
  13393. If (FomnitureSettings=AValue) then exit;
  13394. FomnitureSettings:=AValue;
  13395. MarkPropertyChanged(AIndex);
  13396. end;
  13397. Procedure TFloodlightConfiguration.SetstandardVariableTypes(AIndex : Integer; const AValue : TStringArray);
  13398. begin
  13399. If (FstandardVariableTypes=AValue) then exit;
  13400. FstandardVariableTypes:=AValue;
  13401. MarkPropertyChanged(AIndex);
  13402. end;
  13403. Procedure TFloodlightConfiguration.SetsubaccountId(AIndex : Integer; const AValue : String);
  13404. begin
  13405. If (FsubaccountId=AValue) then exit;
  13406. FsubaccountId:=AValue;
  13407. MarkPropertyChanged(AIndex);
  13408. end;
  13409. Procedure TFloodlightConfiguration.SettagSettings(AIndex : Integer; const AValue : TTagSettings);
  13410. begin
  13411. If (FtagSettings=AValue) then exit;
  13412. FtagSettings:=AValue;
  13413. MarkPropertyChanged(AIndex);
  13414. end;
  13415. Procedure TFloodlightConfiguration.SetthirdPartyAuthenticationTokens(AIndex : Integer; const AValue : TFloodlightConfigurationTypethirdPartyAuthenticationTokensArray);
  13416. begin
  13417. If (FthirdPartyAuthenticationTokens=AValue) then exit;
  13418. FthirdPartyAuthenticationTokens:=AValue;
  13419. MarkPropertyChanged(AIndex);
  13420. end;
  13421. Procedure TFloodlightConfiguration.SetuserDefinedVariableConfigurations(AIndex : Integer; const AValue : TFloodlightConfigurationTypeuserDefinedVariableConfigurationsArray);
  13422. begin
  13423. If (FuserDefinedVariableConfigurations=AValue) then exit;
  13424. FuserDefinedVariableConfigurations:=AValue;
  13425. MarkPropertyChanged(AIndex);
  13426. end;
  13427. //2.6.4. bug workaround
  13428. {$IFDEF VER2_6}
  13429. Procedure TFloodlightConfiguration.SetArrayLength(Const AName : String; ALength : Longint);
  13430. begin
  13431. Case AName of
  13432. 'standardvariabletypes' : SetLength(FstandardVariableTypes,ALength);
  13433. 'thirdpartyauthenticationtokens' : SetLength(FthirdPartyAuthenticationTokens,ALength);
  13434. 'userdefinedvariableconfigurations' : SetLength(FuserDefinedVariableConfigurations,ALength);
  13435. else
  13436. Inherited SetArrayLength(AName,ALength);
  13437. end;
  13438. end;
  13439. {$ENDIF VER2_6}
  13440. { --------------------------------------------------------------------
  13441. TFloodlightConfigurationsListResponse
  13442. --------------------------------------------------------------------}
  13443. Procedure TFloodlightConfigurationsListResponse.SetfloodlightConfigurations(AIndex : Integer; const AValue : TFloodlightConfigurationsListResponseTypefloodlightConfigurationsArray);
  13444. begin
  13445. If (FfloodlightConfigurations=AValue) then exit;
  13446. FfloodlightConfigurations:=AValue;
  13447. MarkPropertyChanged(AIndex);
  13448. end;
  13449. Procedure TFloodlightConfigurationsListResponse.Setkind(AIndex : Integer; const AValue : String);
  13450. begin
  13451. If (Fkind=AValue) then exit;
  13452. Fkind:=AValue;
  13453. MarkPropertyChanged(AIndex);
  13454. end;
  13455. //2.6.4. bug workaround
  13456. {$IFDEF VER2_6}
  13457. Procedure TFloodlightConfigurationsListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  13458. begin
  13459. Case AName of
  13460. 'floodlightconfigurations' : SetLength(FfloodlightConfigurations,ALength);
  13461. else
  13462. Inherited SetArrayLength(AName,ALength);
  13463. end;
  13464. end;
  13465. {$ENDIF VER2_6}
  13466. { --------------------------------------------------------------------
  13467. TFloodlightReportCompatibleFields
  13468. --------------------------------------------------------------------}
  13469. Procedure TFloodlightReportCompatibleFields.SetdimensionFilters(AIndex : Integer; const AValue : TFloodlightReportCompatibleFieldsTypedimensionFiltersArray);
  13470. begin
  13471. If (FdimensionFilters=AValue) then exit;
  13472. FdimensionFilters:=AValue;
  13473. MarkPropertyChanged(AIndex);
  13474. end;
  13475. Procedure TFloodlightReportCompatibleFields.Setdimensions(AIndex : Integer; const AValue : TFloodlightReportCompatibleFieldsTypedimensionsArray);
  13476. begin
  13477. If (Fdimensions=AValue) then exit;
  13478. Fdimensions:=AValue;
  13479. MarkPropertyChanged(AIndex);
  13480. end;
  13481. Procedure TFloodlightReportCompatibleFields.Setkind(AIndex : Integer; const AValue : String);
  13482. begin
  13483. If (Fkind=AValue) then exit;
  13484. Fkind:=AValue;
  13485. MarkPropertyChanged(AIndex);
  13486. end;
  13487. Procedure TFloodlightReportCompatibleFields.Setmetrics(AIndex : Integer; const AValue : TFloodlightReportCompatibleFieldsTypemetricsArray);
  13488. begin
  13489. If (Fmetrics=AValue) then exit;
  13490. Fmetrics:=AValue;
  13491. MarkPropertyChanged(AIndex);
  13492. end;
  13493. //2.6.4. bug workaround
  13494. {$IFDEF VER2_6}
  13495. Procedure TFloodlightReportCompatibleFields.SetArrayLength(Const AName : String; ALength : Longint);
  13496. begin
  13497. Case AName of
  13498. 'dimensionfilters' : SetLength(FdimensionFilters,ALength);
  13499. 'dimensions' : SetLength(Fdimensions,ALength);
  13500. 'metrics' : SetLength(Fmetrics,ALength);
  13501. else
  13502. Inherited SetArrayLength(AName,ALength);
  13503. end;
  13504. end;
  13505. {$ENDIF VER2_6}
  13506. { --------------------------------------------------------------------
  13507. TFrequencyCap
  13508. --------------------------------------------------------------------}
  13509. Procedure TFrequencyCap.Setduration(AIndex : Integer; const AValue : String);
  13510. begin
  13511. If (Fduration=AValue) then exit;
  13512. Fduration:=AValue;
  13513. MarkPropertyChanged(AIndex);
  13514. end;
  13515. Procedure TFrequencyCap.Setimpressions(AIndex : Integer; const AValue : String);
  13516. begin
  13517. If (Fimpressions=AValue) then exit;
  13518. Fimpressions:=AValue;
  13519. MarkPropertyChanged(AIndex);
  13520. end;
  13521. { --------------------------------------------------------------------
  13522. TFsCommand
  13523. --------------------------------------------------------------------}
  13524. Procedure TFsCommand.Setleft(AIndex : Integer; const AValue : integer);
  13525. begin
  13526. If (Fleft=AValue) then exit;
  13527. Fleft:=AValue;
  13528. MarkPropertyChanged(AIndex);
  13529. end;
  13530. Procedure TFsCommand.SetpositionOption(AIndex : Integer; const AValue : String);
  13531. begin
  13532. If (FpositionOption=AValue) then exit;
  13533. FpositionOption:=AValue;
  13534. MarkPropertyChanged(AIndex);
  13535. end;
  13536. Procedure TFsCommand.Settop(AIndex : Integer; const AValue : integer);
  13537. begin
  13538. If (Ftop=AValue) then exit;
  13539. Ftop:=AValue;
  13540. MarkPropertyChanged(AIndex);
  13541. end;
  13542. Procedure TFsCommand.SetwindowHeight(AIndex : Integer; const AValue : integer);
  13543. begin
  13544. If (FwindowHeight=AValue) then exit;
  13545. FwindowHeight:=AValue;
  13546. MarkPropertyChanged(AIndex);
  13547. end;
  13548. Procedure TFsCommand.SetwindowWidth(AIndex : Integer; const AValue : integer);
  13549. begin
  13550. If (FwindowWidth=AValue) then exit;
  13551. FwindowWidth:=AValue;
  13552. MarkPropertyChanged(AIndex);
  13553. end;
  13554. { --------------------------------------------------------------------
  13555. TGeoTargeting
  13556. --------------------------------------------------------------------}
  13557. Procedure TGeoTargeting.Setcities(AIndex : Integer; const AValue : TGeoTargetingTypecitiesArray);
  13558. begin
  13559. If (Fcities=AValue) then exit;
  13560. Fcities:=AValue;
  13561. MarkPropertyChanged(AIndex);
  13562. end;
  13563. Procedure TGeoTargeting.Setcountries(AIndex : Integer; const AValue : TGeoTargetingTypecountriesArray);
  13564. begin
  13565. If (Fcountries=AValue) then exit;
  13566. Fcountries:=AValue;
  13567. MarkPropertyChanged(AIndex);
  13568. end;
  13569. Procedure TGeoTargeting.SetexcludeCountries(AIndex : Integer; const AValue : boolean);
  13570. begin
  13571. If (FexcludeCountries=AValue) then exit;
  13572. FexcludeCountries:=AValue;
  13573. MarkPropertyChanged(AIndex);
  13574. end;
  13575. Procedure TGeoTargeting.Setmetros(AIndex : Integer; const AValue : TGeoTargetingTypemetrosArray);
  13576. begin
  13577. If (Fmetros=AValue) then exit;
  13578. Fmetros:=AValue;
  13579. MarkPropertyChanged(AIndex);
  13580. end;
  13581. Procedure TGeoTargeting.SetpostalCodes(AIndex : Integer; const AValue : TGeoTargetingTypepostalCodesArray);
  13582. begin
  13583. If (FpostalCodes=AValue) then exit;
  13584. FpostalCodes:=AValue;
  13585. MarkPropertyChanged(AIndex);
  13586. end;
  13587. Procedure TGeoTargeting.Setregions(AIndex : Integer; const AValue : TGeoTargetingTyperegionsArray);
  13588. begin
  13589. If (Fregions=AValue) then exit;
  13590. Fregions:=AValue;
  13591. MarkPropertyChanged(AIndex);
  13592. end;
  13593. //2.6.4. bug workaround
  13594. {$IFDEF VER2_6}
  13595. Procedure TGeoTargeting.SetArrayLength(Const AName : String; ALength : Longint);
  13596. begin
  13597. Case AName of
  13598. 'cities' : SetLength(Fcities,ALength);
  13599. 'countries' : SetLength(Fcountries,ALength);
  13600. 'metros' : SetLength(Fmetros,ALength);
  13601. 'postalcodes' : SetLength(FpostalCodes,ALength);
  13602. 'regions' : SetLength(Fregions,ALength);
  13603. else
  13604. Inherited SetArrayLength(AName,ALength);
  13605. end;
  13606. end;
  13607. {$ENDIF VER2_6}
  13608. { --------------------------------------------------------------------
  13609. TInventoryItem
  13610. --------------------------------------------------------------------}
  13611. Procedure TInventoryItem.SetaccountId(AIndex : Integer; const AValue : String);
  13612. begin
  13613. If (FaccountId=AValue) then exit;
  13614. FaccountId:=AValue;
  13615. MarkPropertyChanged(AIndex);
  13616. end;
  13617. Procedure TInventoryItem.SetadSlots(AIndex : Integer; const AValue : TInventoryItemTypeadSlotsArray);
  13618. begin
  13619. If (FadSlots=AValue) then exit;
  13620. FadSlots:=AValue;
  13621. MarkPropertyChanged(AIndex);
  13622. end;
  13623. Procedure TInventoryItem.SetadvertiserId(AIndex : Integer; const AValue : String);
  13624. begin
  13625. If (FadvertiserId=AValue) then exit;
  13626. FadvertiserId:=AValue;
  13627. MarkPropertyChanged(AIndex);
  13628. end;
  13629. Procedure TInventoryItem.SetcontentCategoryId(AIndex : Integer; const AValue : String);
  13630. begin
  13631. If (FcontentCategoryId=AValue) then exit;
  13632. FcontentCategoryId:=AValue;
  13633. MarkPropertyChanged(AIndex);
  13634. end;
  13635. Procedure TInventoryItem.SetestimatedClickThroughRate(AIndex : Integer; const AValue : String);
  13636. begin
  13637. If (FestimatedClickThroughRate=AValue) then exit;
  13638. FestimatedClickThroughRate:=AValue;
  13639. MarkPropertyChanged(AIndex);
  13640. end;
  13641. Procedure TInventoryItem.SetestimatedConversionRate(AIndex : Integer; const AValue : String);
  13642. begin
  13643. If (FestimatedConversionRate=AValue) then exit;
  13644. FestimatedConversionRate:=AValue;
  13645. MarkPropertyChanged(AIndex);
  13646. end;
  13647. Procedure TInventoryItem.Setid(AIndex : Integer; const AValue : String);
  13648. begin
  13649. If (Fid=AValue) then exit;
  13650. Fid:=AValue;
  13651. MarkPropertyChanged(AIndex);
  13652. end;
  13653. Procedure TInventoryItem.SetinPlan(AIndex : Integer; const AValue : boolean);
  13654. begin
  13655. If (FinPlan=AValue) then exit;
  13656. FinPlan:=AValue;
  13657. MarkPropertyChanged(AIndex);
  13658. end;
  13659. Procedure TInventoryItem.Setkind(AIndex : Integer; const AValue : String);
  13660. begin
  13661. If (Fkind=AValue) then exit;
  13662. Fkind:=AValue;
  13663. MarkPropertyChanged(AIndex);
  13664. end;
  13665. Procedure TInventoryItem.SetlastModifiedInfo(AIndex : Integer; const AValue : TLastModifiedInfo);
  13666. begin
  13667. If (FlastModifiedInfo=AValue) then exit;
  13668. FlastModifiedInfo:=AValue;
  13669. MarkPropertyChanged(AIndex);
  13670. end;
  13671. Procedure TInventoryItem.Setname(AIndex : Integer; const AValue : String);
  13672. begin
  13673. If (Fname=AValue) then exit;
  13674. Fname:=AValue;
  13675. MarkPropertyChanged(AIndex);
  13676. end;
  13677. Procedure TInventoryItem.SetnegotiationChannelId(AIndex : Integer; const AValue : String);
  13678. begin
  13679. If (FnegotiationChannelId=AValue) then exit;
  13680. FnegotiationChannelId:=AValue;
  13681. MarkPropertyChanged(AIndex);
  13682. end;
  13683. Procedure TInventoryItem.SetorderId(AIndex : Integer; const AValue : String);
  13684. begin
  13685. If (ForderId=AValue) then exit;
  13686. ForderId:=AValue;
  13687. MarkPropertyChanged(AIndex);
  13688. end;
  13689. Procedure TInventoryItem.SetplacementStrategyId(AIndex : Integer; const AValue : String);
  13690. begin
  13691. If (FplacementStrategyId=AValue) then exit;
  13692. FplacementStrategyId:=AValue;
  13693. MarkPropertyChanged(AIndex);
  13694. end;
  13695. Procedure TInventoryItem.Setpricing(AIndex : Integer; const AValue : TPricing);
  13696. begin
  13697. If (Fpricing=AValue) then exit;
  13698. Fpricing:=AValue;
  13699. MarkPropertyChanged(AIndex);
  13700. end;
  13701. Procedure TInventoryItem.SetprojectId(AIndex : Integer; const AValue : String);
  13702. begin
  13703. If (FprojectId=AValue) then exit;
  13704. FprojectId:=AValue;
  13705. MarkPropertyChanged(AIndex);
  13706. end;
  13707. Procedure TInventoryItem.SetrfpId(AIndex : Integer; const AValue : String);
  13708. begin
  13709. If (FrfpId=AValue) then exit;
  13710. FrfpId:=AValue;
  13711. MarkPropertyChanged(AIndex);
  13712. end;
  13713. Procedure TInventoryItem.SetsiteId(AIndex : Integer; const AValue : String);
  13714. begin
  13715. If (FsiteId=AValue) then exit;
  13716. FsiteId:=AValue;
  13717. MarkPropertyChanged(AIndex);
  13718. end;
  13719. Procedure TInventoryItem.SetsubaccountId(AIndex : Integer; const AValue : String);
  13720. begin
  13721. If (FsubaccountId=AValue) then exit;
  13722. FsubaccountId:=AValue;
  13723. MarkPropertyChanged(AIndex);
  13724. end;
  13725. Procedure TInventoryItem.Set_type(AIndex : Integer; const AValue : String);
  13726. begin
  13727. If (F_type=AValue) then exit;
  13728. F_type:=AValue;
  13729. MarkPropertyChanged(AIndex);
  13730. end;
  13731. Class Function TInventoryItem.ExportPropertyName(Const AName : String) :String;
  13732. begin
  13733. Case AName of
  13734. '_type' : Result:='type';
  13735. else
  13736. Result:=Inherited ExportPropertyName(AName);
  13737. end;
  13738. end;
  13739. //2.6.4. bug workaround
  13740. {$IFDEF VER2_6}
  13741. Procedure TInventoryItem.SetArrayLength(Const AName : String; ALength : Longint);
  13742. begin
  13743. Case AName of
  13744. 'adslots' : SetLength(FadSlots,ALength);
  13745. else
  13746. Inherited SetArrayLength(AName,ALength);
  13747. end;
  13748. end;
  13749. {$ENDIF VER2_6}
  13750. { --------------------------------------------------------------------
  13751. TInventoryItemsListResponse
  13752. --------------------------------------------------------------------}
  13753. Procedure TInventoryItemsListResponse.SetinventoryItems(AIndex : Integer; const AValue : TInventoryItemsListResponseTypeinventoryItemsArray);
  13754. begin
  13755. If (FinventoryItems=AValue) then exit;
  13756. FinventoryItems:=AValue;
  13757. MarkPropertyChanged(AIndex);
  13758. end;
  13759. Procedure TInventoryItemsListResponse.Setkind(AIndex : Integer; const AValue : String);
  13760. begin
  13761. If (Fkind=AValue) then exit;
  13762. Fkind:=AValue;
  13763. MarkPropertyChanged(AIndex);
  13764. end;
  13765. Procedure TInventoryItemsListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  13766. begin
  13767. If (FnextPageToken=AValue) then exit;
  13768. FnextPageToken:=AValue;
  13769. MarkPropertyChanged(AIndex);
  13770. end;
  13771. //2.6.4. bug workaround
  13772. {$IFDEF VER2_6}
  13773. Procedure TInventoryItemsListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  13774. begin
  13775. Case AName of
  13776. 'inventoryitems' : SetLength(FinventoryItems,ALength);
  13777. else
  13778. Inherited SetArrayLength(AName,ALength);
  13779. end;
  13780. end;
  13781. {$ENDIF VER2_6}
  13782. { --------------------------------------------------------------------
  13783. TKeyValueTargetingExpression
  13784. --------------------------------------------------------------------}
  13785. Procedure TKeyValueTargetingExpression.Setexpression(AIndex : Integer; const AValue : String);
  13786. begin
  13787. If (Fexpression=AValue) then exit;
  13788. Fexpression:=AValue;
  13789. MarkPropertyChanged(AIndex);
  13790. end;
  13791. { --------------------------------------------------------------------
  13792. TLandingPage
  13793. --------------------------------------------------------------------}
  13794. Procedure TLandingPage.Setdefault(AIndex : Integer; const AValue : boolean);
  13795. begin
  13796. If (Fdefault=AValue) then exit;
  13797. Fdefault:=AValue;
  13798. MarkPropertyChanged(AIndex);
  13799. end;
  13800. Procedure TLandingPage.Setid(AIndex : Integer; const AValue : String);
  13801. begin
  13802. If (Fid=AValue) then exit;
  13803. Fid:=AValue;
  13804. MarkPropertyChanged(AIndex);
  13805. end;
  13806. Procedure TLandingPage.Setkind(AIndex : Integer; const AValue : String);
  13807. begin
  13808. If (Fkind=AValue) then exit;
  13809. Fkind:=AValue;
  13810. MarkPropertyChanged(AIndex);
  13811. end;
  13812. Procedure TLandingPage.Setname(AIndex : Integer; const AValue : String);
  13813. begin
  13814. If (Fname=AValue) then exit;
  13815. Fname:=AValue;
  13816. MarkPropertyChanged(AIndex);
  13817. end;
  13818. Procedure TLandingPage.Seturl(AIndex : Integer; const AValue : String);
  13819. begin
  13820. If (Furl=AValue) then exit;
  13821. Furl:=AValue;
  13822. MarkPropertyChanged(AIndex);
  13823. end;
  13824. { --------------------------------------------------------------------
  13825. TLandingPagesListResponse
  13826. --------------------------------------------------------------------}
  13827. Procedure TLandingPagesListResponse.Setkind(AIndex : Integer; const AValue : String);
  13828. begin
  13829. If (Fkind=AValue) then exit;
  13830. Fkind:=AValue;
  13831. MarkPropertyChanged(AIndex);
  13832. end;
  13833. Procedure TLandingPagesListResponse.SetlandingPages(AIndex : Integer; const AValue : TLandingPagesListResponseTypelandingPagesArray);
  13834. begin
  13835. If (FlandingPages=AValue) then exit;
  13836. FlandingPages:=AValue;
  13837. MarkPropertyChanged(AIndex);
  13838. end;
  13839. //2.6.4. bug workaround
  13840. {$IFDEF VER2_6}
  13841. Procedure TLandingPagesListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  13842. begin
  13843. Case AName of
  13844. 'landingpages' : SetLength(FlandingPages,ALength);
  13845. else
  13846. Inherited SetArrayLength(AName,ALength);
  13847. end;
  13848. end;
  13849. {$ENDIF VER2_6}
  13850. { --------------------------------------------------------------------
  13851. TLastModifiedInfo
  13852. --------------------------------------------------------------------}
  13853. Procedure TLastModifiedInfo.Settime(AIndex : Integer; const AValue : String);
  13854. begin
  13855. If (Ftime=AValue) then exit;
  13856. Ftime:=AValue;
  13857. MarkPropertyChanged(AIndex);
  13858. end;
  13859. { --------------------------------------------------------------------
  13860. TListPopulationClause
  13861. --------------------------------------------------------------------}
  13862. Procedure TListPopulationClause.Setterms(AIndex : Integer; const AValue : TListPopulationClauseTypetermsArray);
  13863. begin
  13864. If (Fterms=AValue) then exit;
  13865. Fterms:=AValue;
  13866. MarkPropertyChanged(AIndex);
  13867. end;
  13868. //2.6.4. bug workaround
  13869. {$IFDEF VER2_6}
  13870. Procedure TListPopulationClause.SetArrayLength(Const AName : String; ALength : Longint);
  13871. begin
  13872. Case AName of
  13873. 'terms' : SetLength(Fterms,ALength);
  13874. else
  13875. Inherited SetArrayLength(AName,ALength);
  13876. end;
  13877. end;
  13878. {$ENDIF VER2_6}
  13879. { --------------------------------------------------------------------
  13880. TListPopulationRule
  13881. --------------------------------------------------------------------}
  13882. Procedure TListPopulationRule.SetfloodlightActivityId(AIndex : Integer; const AValue : String);
  13883. begin
  13884. If (FfloodlightActivityId=AValue) then exit;
  13885. FfloodlightActivityId:=AValue;
  13886. MarkPropertyChanged(AIndex);
  13887. end;
  13888. Procedure TListPopulationRule.SetfloodlightActivityName(AIndex : Integer; const AValue : String);
  13889. begin
  13890. If (FfloodlightActivityName=AValue) then exit;
  13891. FfloodlightActivityName:=AValue;
  13892. MarkPropertyChanged(AIndex);
  13893. end;
  13894. Procedure TListPopulationRule.SetlistPopulationClauses(AIndex : Integer; const AValue : TListPopulationRuleTypelistPopulationClausesArray);
  13895. begin
  13896. If (FlistPopulationClauses=AValue) then exit;
  13897. FlistPopulationClauses:=AValue;
  13898. MarkPropertyChanged(AIndex);
  13899. end;
  13900. //2.6.4. bug workaround
  13901. {$IFDEF VER2_6}
  13902. Procedure TListPopulationRule.SetArrayLength(Const AName : String; ALength : Longint);
  13903. begin
  13904. Case AName of
  13905. 'listpopulationclauses' : SetLength(FlistPopulationClauses,ALength);
  13906. else
  13907. Inherited SetArrayLength(AName,ALength);
  13908. end;
  13909. end;
  13910. {$ENDIF VER2_6}
  13911. { --------------------------------------------------------------------
  13912. TListPopulationTerm
  13913. --------------------------------------------------------------------}
  13914. Procedure TListPopulationTerm.Setcontains(AIndex : Integer; const AValue : boolean);
  13915. begin
  13916. If (Fcontains=AValue) then exit;
  13917. Fcontains:=AValue;
  13918. MarkPropertyChanged(AIndex);
  13919. end;
  13920. Procedure TListPopulationTerm.Setnegation(AIndex : Integer; const AValue : boolean);
  13921. begin
  13922. If (Fnegation=AValue) then exit;
  13923. Fnegation:=AValue;
  13924. MarkPropertyChanged(AIndex);
  13925. end;
  13926. Procedure TListPopulationTerm.Set_operator(AIndex : Integer; const AValue : String);
  13927. begin
  13928. If (F_operator=AValue) then exit;
  13929. F_operator:=AValue;
  13930. MarkPropertyChanged(AIndex);
  13931. end;
  13932. Procedure TListPopulationTerm.SetremarketingListId(AIndex : Integer; const AValue : String);
  13933. begin
  13934. If (FremarketingListId=AValue) then exit;
  13935. FremarketingListId:=AValue;
  13936. MarkPropertyChanged(AIndex);
  13937. end;
  13938. Procedure TListPopulationTerm.Set_type(AIndex : Integer; const AValue : String);
  13939. begin
  13940. If (F_type=AValue) then exit;
  13941. F_type:=AValue;
  13942. MarkPropertyChanged(AIndex);
  13943. end;
  13944. Procedure TListPopulationTerm.Setvalue(AIndex : Integer; const AValue : String);
  13945. begin
  13946. If (Fvalue=AValue) then exit;
  13947. Fvalue:=AValue;
  13948. MarkPropertyChanged(AIndex);
  13949. end;
  13950. Procedure TListPopulationTerm.SetvariableFriendlyName(AIndex : Integer; const AValue : String);
  13951. begin
  13952. If (FvariableFriendlyName=AValue) then exit;
  13953. FvariableFriendlyName:=AValue;
  13954. MarkPropertyChanged(AIndex);
  13955. end;
  13956. Procedure TListPopulationTerm.SetvariableName(AIndex : Integer; const AValue : String);
  13957. begin
  13958. If (FvariableName=AValue) then exit;
  13959. FvariableName:=AValue;
  13960. MarkPropertyChanged(AIndex);
  13961. end;
  13962. Class Function TListPopulationTerm.ExportPropertyName(Const AName : String) :String;
  13963. begin
  13964. Case AName of
  13965. '_operator' : Result:='operator';
  13966. '_type' : Result:='type';
  13967. else
  13968. Result:=Inherited ExportPropertyName(AName);
  13969. end;
  13970. end;
  13971. { --------------------------------------------------------------------
  13972. TListTargetingExpression
  13973. --------------------------------------------------------------------}
  13974. Procedure TListTargetingExpression.Setexpression(AIndex : Integer; const AValue : String);
  13975. begin
  13976. If (Fexpression=AValue) then exit;
  13977. Fexpression:=AValue;
  13978. MarkPropertyChanged(AIndex);
  13979. end;
  13980. { --------------------------------------------------------------------
  13981. TLookbackConfiguration
  13982. --------------------------------------------------------------------}
  13983. Procedure TLookbackConfiguration.SetclickDuration(AIndex : Integer; const AValue : integer);
  13984. begin
  13985. If (FclickDuration=AValue) then exit;
  13986. FclickDuration:=AValue;
  13987. MarkPropertyChanged(AIndex);
  13988. end;
  13989. Procedure TLookbackConfiguration.SetpostImpressionActivitiesDuration(AIndex : Integer; const AValue : integer);
  13990. begin
  13991. If (FpostImpressionActivitiesDuration=AValue) then exit;
  13992. FpostImpressionActivitiesDuration:=AValue;
  13993. MarkPropertyChanged(AIndex);
  13994. end;
  13995. { --------------------------------------------------------------------
  13996. TMetric
  13997. --------------------------------------------------------------------}
  13998. Procedure TMetric.Setkind(AIndex : Integer; const AValue : String);
  13999. begin
  14000. If (Fkind=AValue) then exit;
  14001. Fkind:=AValue;
  14002. MarkPropertyChanged(AIndex);
  14003. end;
  14004. Procedure TMetric.Setname(AIndex : Integer; const AValue : String);
  14005. begin
  14006. If (Fname=AValue) then exit;
  14007. Fname:=AValue;
  14008. MarkPropertyChanged(AIndex);
  14009. end;
  14010. { --------------------------------------------------------------------
  14011. TMetro
  14012. --------------------------------------------------------------------}
  14013. Procedure TMetro.SetcountryCode(AIndex : Integer; const AValue : String);
  14014. begin
  14015. If (FcountryCode=AValue) then exit;
  14016. FcountryCode:=AValue;
  14017. MarkPropertyChanged(AIndex);
  14018. end;
  14019. Procedure TMetro.SetcountryDartId(AIndex : Integer; const AValue : String);
  14020. begin
  14021. If (FcountryDartId=AValue) then exit;
  14022. FcountryDartId:=AValue;
  14023. MarkPropertyChanged(AIndex);
  14024. end;
  14025. Procedure TMetro.SetdartId(AIndex : Integer; const AValue : String);
  14026. begin
  14027. If (FdartId=AValue) then exit;
  14028. FdartId:=AValue;
  14029. MarkPropertyChanged(AIndex);
  14030. end;
  14031. Procedure TMetro.SetdmaId(AIndex : Integer; const AValue : String);
  14032. begin
  14033. If (FdmaId=AValue) then exit;
  14034. FdmaId:=AValue;
  14035. MarkPropertyChanged(AIndex);
  14036. end;
  14037. Procedure TMetro.Setkind(AIndex : Integer; const AValue : String);
  14038. begin
  14039. If (Fkind=AValue) then exit;
  14040. Fkind:=AValue;
  14041. MarkPropertyChanged(AIndex);
  14042. end;
  14043. Procedure TMetro.SetmetroCode(AIndex : Integer; const AValue : String);
  14044. begin
  14045. If (FmetroCode=AValue) then exit;
  14046. FmetroCode:=AValue;
  14047. MarkPropertyChanged(AIndex);
  14048. end;
  14049. Procedure TMetro.Setname(AIndex : Integer; const AValue : String);
  14050. begin
  14051. If (Fname=AValue) then exit;
  14052. Fname:=AValue;
  14053. MarkPropertyChanged(AIndex);
  14054. end;
  14055. { --------------------------------------------------------------------
  14056. TMetrosListResponse
  14057. --------------------------------------------------------------------}
  14058. Procedure TMetrosListResponse.Setkind(AIndex : Integer; const AValue : String);
  14059. begin
  14060. If (Fkind=AValue) then exit;
  14061. Fkind:=AValue;
  14062. MarkPropertyChanged(AIndex);
  14063. end;
  14064. Procedure TMetrosListResponse.Setmetros(AIndex : Integer; const AValue : TMetrosListResponseTypemetrosArray);
  14065. begin
  14066. If (Fmetros=AValue) then exit;
  14067. Fmetros:=AValue;
  14068. MarkPropertyChanged(AIndex);
  14069. end;
  14070. //2.6.4. bug workaround
  14071. {$IFDEF VER2_6}
  14072. Procedure TMetrosListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  14073. begin
  14074. Case AName of
  14075. 'metros' : SetLength(Fmetros,ALength);
  14076. else
  14077. Inherited SetArrayLength(AName,ALength);
  14078. end;
  14079. end;
  14080. {$ENDIF VER2_6}
  14081. { --------------------------------------------------------------------
  14082. TMobileCarrier
  14083. --------------------------------------------------------------------}
  14084. Procedure TMobileCarrier.SetcountryCode(AIndex : Integer; const AValue : String);
  14085. begin
  14086. If (FcountryCode=AValue) then exit;
  14087. FcountryCode:=AValue;
  14088. MarkPropertyChanged(AIndex);
  14089. end;
  14090. Procedure TMobileCarrier.SetcountryDartId(AIndex : Integer; const AValue : String);
  14091. begin
  14092. If (FcountryDartId=AValue) then exit;
  14093. FcountryDartId:=AValue;
  14094. MarkPropertyChanged(AIndex);
  14095. end;
  14096. Procedure TMobileCarrier.Setid(AIndex : Integer; const AValue : String);
  14097. begin
  14098. If (Fid=AValue) then exit;
  14099. Fid:=AValue;
  14100. MarkPropertyChanged(AIndex);
  14101. end;
  14102. Procedure TMobileCarrier.Setkind(AIndex : Integer; const AValue : String);
  14103. begin
  14104. If (Fkind=AValue) then exit;
  14105. Fkind:=AValue;
  14106. MarkPropertyChanged(AIndex);
  14107. end;
  14108. Procedure TMobileCarrier.Setname(AIndex : Integer; const AValue : String);
  14109. begin
  14110. If (Fname=AValue) then exit;
  14111. Fname:=AValue;
  14112. MarkPropertyChanged(AIndex);
  14113. end;
  14114. { --------------------------------------------------------------------
  14115. TMobileCarriersListResponse
  14116. --------------------------------------------------------------------}
  14117. Procedure TMobileCarriersListResponse.Setkind(AIndex : Integer; const AValue : String);
  14118. begin
  14119. If (Fkind=AValue) then exit;
  14120. Fkind:=AValue;
  14121. MarkPropertyChanged(AIndex);
  14122. end;
  14123. Procedure TMobileCarriersListResponse.SetmobileCarriers(AIndex : Integer; const AValue : TMobileCarriersListResponseTypemobileCarriersArray);
  14124. begin
  14125. If (FmobileCarriers=AValue) then exit;
  14126. FmobileCarriers:=AValue;
  14127. MarkPropertyChanged(AIndex);
  14128. end;
  14129. //2.6.4. bug workaround
  14130. {$IFDEF VER2_6}
  14131. Procedure TMobileCarriersListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  14132. begin
  14133. Case AName of
  14134. 'mobilecarriers' : SetLength(FmobileCarriers,ALength);
  14135. else
  14136. Inherited SetArrayLength(AName,ALength);
  14137. end;
  14138. end;
  14139. {$ENDIF VER2_6}
  14140. { --------------------------------------------------------------------
  14141. TObjectFilter
  14142. --------------------------------------------------------------------}
  14143. Procedure TObjectFilter.Setkind(AIndex : Integer; const AValue : String);
  14144. begin
  14145. If (Fkind=AValue) then exit;
  14146. Fkind:=AValue;
  14147. MarkPropertyChanged(AIndex);
  14148. end;
  14149. Procedure TObjectFilter.SetobjectIds(AIndex : Integer; const AValue : TStringArray);
  14150. begin
  14151. If (FobjectIds=AValue) then exit;
  14152. FobjectIds:=AValue;
  14153. MarkPropertyChanged(AIndex);
  14154. end;
  14155. Procedure TObjectFilter.Setstatus(AIndex : Integer; const AValue : String);
  14156. begin
  14157. If (Fstatus=AValue) then exit;
  14158. Fstatus:=AValue;
  14159. MarkPropertyChanged(AIndex);
  14160. end;
  14161. //2.6.4. bug workaround
  14162. {$IFDEF VER2_6}
  14163. Procedure TObjectFilter.SetArrayLength(Const AName : String; ALength : Longint);
  14164. begin
  14165. Case AName of
  14166. 'objectids' : SetLength(FobjectIds,ALength);
  14167. else
  14168. Inherited SetArrayLength(AName,ALength);
  14169. end;
  14170. end;
  14171. {$ENDIF VER2_6}
  14172. { --------------------------------------------------------------------
  14173. TOffsetPosition
  14174. --------------------------------------------------------------------}
  14175. Procedure TOffsetPosition.Setleft(AIndex : Integer; const AValue : integer);
  14176. begin
  14177. If (Fleft=AValue) then exit;
  14178. Fleft:=AValue;
  14179. MarkPropertyChanged(AIndex);
  14180. end;
  14181. Procedure TOffsetPosition.Settop(AIndex : Integer; const AValue : integer);
  14182. begin
  14183. If (Ftop=AValue) then exit;
  14184. Ftop:=AValue;
  14185. MarkPropertyChanged(AIndex);
  14186. end;
  14187. { --------------------------------------------------------------------
  14188. TOmnitureSettings
  14189. --------------------------------------------------------------------}
  14190. Procedure TOmnitureSettings.SetomnitureCostDataEnabled(AIndex : Integer; const AValue : boolean);
  14191. begin
  14192. If (FomnitureCostDataEnabled=AValue) then exit;
  14193. FomnitureCostDataEnabled:=AValue;
  14194. MarkPropertyChanged(AIndex);
  14195. end;
  14196. Procedure TOmnitureSettings.SetomnitureIntegrationEnabled(AIndex : Integer; const AValue : boolean);
  14197. begin
  14198. If (FomnitureIntegrationEnabled=AValue) then exit;
  14199. FomnitureIntegrationEnabled:=AValue;
  14200. MarkPropertyChanged(AIndex);
  14201. end;
  14202. { --------------------------------------------------------------------
  14203. TOperatingSystem
  14204. --------------------------------------------------------------------}
  14205. Procedure TOperatingSystem.SetdartId(AIndex : Integer; const AValue : String);
  14206. begin
  14207. If (FdartId=AValue) then exit;
  14208. FdartId:=AValue;
  14209. MarkPropertyChanged(AIndex);
  14210. end;
  14211. Procedure TOperatingSystem.Setdesktop(AIndex : Integer; const AValue : boolean);
  14212. begin
  14213. If (Fdesktop=AValue) then exit;
  14214. Fdesktop:=AValue;
  14215. MarkPropertyChanged(AIndex);
  14216. end;
  14217. Procedure TOperatingSystem.Setkind(AIndex : Integer; const AValue : String);
  14218. begin
  14219. If (Fkind=AValue) then exit;
  14220. Fkind:=AValue;
  14221. MarkPropertyChanged(AIndex);
  14222. end;
  14223. Procedure TOperatingSystem.Setmobile(AIndex : Integer; const AValue : boolean);
  14224. begin
  14225. If (Fmobile=AValue) then exit;
  14226. Fmobile:=AValue;
  14227. MarkPropertyChanged(AIndex);
  14228. end;
  14229. Procedure TOperatingSystem.Setname(AIndex : Integer; const AValue : String);
  14230. begin
  14231. If (Fname=AValue) then exit;
  14232. Fname:=AValue;
  14233. MarkPropertyChanged(AIndex);
  14234. end;
  14235. { --------------------------------------------------------------------
  14236. TOperatingSystemVersion
  14237. --------------------------------------------------------------------}
  14238. Procedure TOperatingSystemVersion.Setid(AIndex : Integer; const AValue : String);
  14239. begin
  14240. If (Fid=AValue) then exit;
  14241. Fid:=AValue;
  14242. MarkPropertyChanged(AIndex);
  14243. end;
  14244. Procedure TOperatingSystemVersion.Setkind(AIndex : Integer; const AValue : String);
  14245. begin
  14246. If (Fkind=AValue) then exit;
  14247. Fkind:=AValue;
  14248. MarkPropertyChanged(AIndex);
  14249. end;
  14250. Procedure TOperatingSystemVersion.SetmajorVersion(AIndex : Integer; const AValue : String);
  14251. begin
  14252. If (FmajorVersion=AValue) then exit;
  14253. FmajorVersion:=AValue;
  14254. MarkPropertyChanged(AIndex);
  14255. end;
  14256. Procedure TOperatingSystemVersion.SetminorVersion(AIndex : Integer; const AValue : String);
  14257. begin
  14258. If (FminorVersion=AValue) then exit;
  14259. FminorVersion:=AValue;
  14260. MarkPropertyChanged(AIndex);
  14261. end;
  14262. Procedure TOperatingSystemVersion.Setname(AIndex : Integer; const AValue : String);
  14263. begin
  14264. If (Fname=AValue) then exit;
  14265. Fname:=AValue;
  14266. MarkPropertyChanged(AIndex);
  14267. end;
  14268. Procedure TOperatingSystemVersion.SetoperatingSystem(AIndex : Integer; const AValue : TOperatingSystem);
  14269. begin
  14270. If (FoperatingSystem=AValue) then exit;
  14271. FoperatingSystem:=AValue;
  14272. MarkPropertyChanged(AIndex);
  14273. end;
  14274. { --------------------------------------------------------------------
  14275. TOperatingSystemVersionsListResponse
  14276. --------------------------------------------------------------------}
  14277. Procedure TOperatingSystemVersionsListResponse.Setkind(AIndex : Integer; const AValue : String);
  14278. begin
  14279. If (Fkind=AValue) then exit;
  14280. Fkind:=AValue;
  14281. MarkPropertyChanged(AIndex);
  14282. end;
  14283. Procedure TOperatingSystemVersionsListResponse.SetoperatingSystemVersions(AIndex : Integer; const AValue : TOperatingSystemVersionsListResponseTypeoperatingSystemVersionsArray);
  14284. begin
  14285. If (FoperatingSystemVersions=AValue) then exit;
  14286. FoperatingSystemVersions:=AValue;
  14287. MarkPropertyChanged(AIndex);
  14288. end;
  14289. //2.6.4. bug workaround
  14290. {$IFDEF VER2_6}
  14291. Procedure TOperatingSystemVersionsListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  14292. begin
  14293. Case AName of
  14294. 'operatingsystemversions' : SetLength(FoperatingSystemVersions,ALength);
  14295. else
  14296. Inherited SetArrayLength(AName,ALength);
  14297. end;
  14298. end;
  14299. {$ENDIF VER2_6}
  14300. { --------------------------------------------------------------------
  14301. TOperatingSystemsListResponse
  14302. --------------------------------------------------------------------}
  14303. Procedure TOperatingSystemsListResponse.Setkind(AIndex : Integer; const AValue : String);
  14304. begin
  14305. If (Fkind=AValue) then exit;
  14306. Fkind:=AValue;
  14307. MarkPropertyChanged(AIndex);
  14308. end;
  14309. Procedure TOperatingSystemsListResponse.SetoperatingSystems(AIndex : Integer; const AValue : TOperatingSystemsListResponseTypeoperatingSystemsArray);
  14310. begin
  14311. If (FoperatingSystems=AValue) then exit;
  14312. FoperatingSystems:=AValue;
  14313. MarkPropertyChanged(AIndex);
  14314. end;
  14315. //2.6.4. bug workaround
  14316. {$IFDEF VER2_6}
  14317. Procedure TOperatingSystemsListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  14318. begin
  14319. Case AName of
  14320. 'operatingsystems' : SetLength(FoperatingSystems,ALength);
  14321. else
  14322. Inherited SetArrayLength(AName,ALength);
  14323. end;
  14324. end;
  14325. {$ENDIF VER2_6}
  14326. { --------------------------------------------------------------------
  14327. TOptimizationActivity
  14328. --------------------------------------------------------------------}
  14329. Procedure TOptimizationActivity.SetfloodlightActivityId(AIndex : Integer; const AValue : String);
  14330. begin
  14331. If (FfloodlightActivityId=AValue) then exit;
  14332. FfloodlightActivityId:=AValue;
  14333. MarkPropertyChanged(AIndex);
  14334. end;
  14335. Procedure TOptimizationActivity.SetfloodlightActivityIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue);
  14336. begin
  14337. If (FfloodlightActivityIdDimensionValue=AValue) then exit;
  14338. FfloodlightActivityIdDimensionValue:=AValue;
  14339. MarkPropertyChanged(AIndex);
  14340. end;
  14341. Procedure TOptimizationActivity.Setweight(AIndex : Integer; const AValue : integer);
  14342. begin
  14343. If (Fweight=AValue) then exit;
  14344. Fweight:=AValue;
  14345. MarkPropertyChanged(AIndex);
  14346. end;
  14347. { --------------------------------------------------------------------
  14348. TOrder
  14349. --------------------------------------------------------------------}
  14350. Procedure TOrder.SetaccountId(AIndex : Integer; const AValue : String);
  14351. begin
  14352. If (FaccountId=AValue) then exit;
  14353. FaccountId:=AValue;
  14354. MarkPropertyChanged(AIndex);
  14355. end;
  14356. Procedure TOrder.SetadvertiserId(AIndex : Integer; const AValue : String);
  14357. begin
  14358. If (FadvertiserId=AValue) then exit;
  14359. FadvertiserId:=AValue;
  14360. MarkPropertyChanged(AIndex);
  14361. end;
  14362. Procedure TOrder.SetapproverUserProfileIds(AIndex : Integer; const AValue : TStringArray);
  14363. begin
  14364. If (FapproverUserProfileIds=AValue) then exit;
  14365. FapproverUserProfileIds:=AValue;
  14366. MarkPropertyChanged(AIndex);
  14367. end;
  14368. Procedure TOrder.SetbuyerInvoiceId(AIndex : Integer; const AValue : String);
  14369. begin
  14370. If (FbuyerInvoiceId=AValue) then exit;
  14371. FbuyerInvoiceId:=AValue;
  14372. MarkPropertyChanged(AIndex);
  14373. end;
  14374. Procedure TOrder.SetbuyerOrganizationName(AIndex : Integer; const AValue : String);
  14375. begin
  14376. If (FbuyerOrganizationName=AValue) then exit;
  14377. FbuyerOrganizationName:=AValue;
  14378. MarkPropertyChanged(AIndex);
  14379. end;
  14380. Procedure TOrder.Setcomments(AIndex : Integer; const AValue : String);
  14381. begin
  14382. If (Fcomments=AValue) then exit;
  14383. Fcomments:=AValue;
  14384. MarkPropertyChanged(AIndex);
  14385. end;
  14386. Procedure TOrder.Setcontacts(AIndex : Integer; const AValue : TOrderTypecontactsArray);
  14387. begin
  14388. If (Fcontacts=AValue) then exit;
  14389. Fcontacts:=AValue;
  14390. MarkPropertyChanged(AIndex);
  14391. end;
  14392. Procedure TOrder.Setid(AIndex : Integer; const AValue : String);
  14393. begin
  14394. If (Fid=AValue) then exit;
  14395. Fid:=AValue;
  14396. MarkPropertyChanged(AIndex);
  14397. end;
  14398. Procedure TOrder.Setkind(AIndex : Integer; const AValue : String);
  14399. begin
  14400. If (Fkind=AValue) then exit;
  14401. Fkind:=AValue;
  14402. MarkPropertyChanged(AIndex);
  14403. end;
  14404. Procedure TOrder.SetlastModifiedInfo(AIndex : Integer; const AValue : TLastModifiedInfo);
  14405. begin
  14406. If (FlastModifiedInfo=AValue) then exit;
  14407. FlastModifiedInfo:=AValue;
  14408. MarkPropertyChanged(AIndex);
  14409. end;
  14410. Procedure TOrder.Setname(AIndex : Integer; const AValue : String);
  14411. begin
  14412. If (Fname=AValue) then exit;
  14413. Fname:=AValue;
  14414. MarkPropertyChanged(AIndex);
  14415. end;
  14416. Procedure TOrder.Setnotes(AIndex : Integer; const AValue : String);
  14417. begin
  14418. If (Fnotes=AValue) then exit;
  14419. Fnotes:=AValue;
  14420. MarkPropertyChanged(AIndex);
  14421. end;
  14422. Procedure TOrder.SetplanningTermId(AIndex : Integer; const AValue : String);
  14423. begin
  14424. If (FplanningTermId=AValue) then exit;
  14425. FplanningTermId:=AValue;
  14426. MarkPropertyChanged(AIndex);
  14427. end;
  14428. Procedure TOrder.SetprojectId(AIndex : Integer; const AValue : String);
  14429. begin
  14430. If (FprojectId=AValue) then exit;
  14431. FprojectId:=AValue;
  14432. MarkPropertyChanged(AIndex);
  14433. end;
  14434. Procedure TOrder.SetsellerOrderId(AIndex : Integer; const AValue : String);
  14435. begin
  14436. If (FsellerOrderId=AValue) then exit;
  14437. FsellerOrderId:=AValue;
  14438. MarkPropertyChanged(AIndex);
  14439. end;
  14440. Procedure TOrder.SetsellerOrganizationName(AIndex : Integer; const AValue : String);
  14441. begin
  14442. If (FsellerOrganizationName=AValue) then exit;
  14443. FsellerOrganizationName:=AValue;
  14444. MarkPropertyChanged(AIndex);
  14445. end;
  14446. Procedure TOrder.SetsiteId(AIndex : Integer; const AValue : TStringArray);
  14447. begin
  14448. If (FsiteId=AValue) then exit;
  14449. FsiteId:=AValue;
  14450. MarkPropertyChanged(AIndex);
  14451. end;
  14452. Procedure TOrder.SetsiteNames(AIndex : Integer; const AValue : TStringArray);
  14453. begin
  14454. If (FsiteNames=AValue) then exit;
  14455. FsiteNames:=AValue;
  14456. MarkPropertyChanged(AIndex);
  14457. end;
  14458. Procedure TOrder.SetsubaccountId(AIndex : Integer; const AValue : String);
  14459. begin
  14460. If (FsubaccountId=AValue) then exit;
  14461. FsubaccountId:=AValue;
  14462. MarkPropertyChanged(AIndex);
  14463. end;
  14464. Procedure TOrder.SettermsAndConditions(AIndex : Integer; const AValue : String);
  14465. begin
  14466. If (FtermsAndConditions=AValue) then exit;
  14467. FtermsAndConditions:=AValue;
  14468. MarkPropertyChanged(AIndex);
  14469. end;
  14470. //2.6.4. bug workaround
  14471. {$IFDEF VER2_6}
  14472. Procedure TOrder.SetArrayLength(Const AName : String; ALength : Longint);
  14473. begin
  14474. Case AName of
  14475. 'approveruserprofileids' : SetLength(FapproverUserProfileIds,ALength);
  14476. 'contacts' : SetLength(Fcontacts,ALength);
  14477. 'siteid' : SetLength(FsiteId,ALength);
  14478. 'sitenames' : SetLength(FsiteNames,ALength);
  14479. else
  14480. Inherited SetArrayLength(AName,ALength);
  14481. end;
  14482. end;
  14483. {$ENDIF VER2_6}
  14484. { --------------------------------------------------------------------
  14485. TOrderContact
  14486. --------------------------------------------------------------------}
  14487. Procedure TOrderContact.SetcontactInfo(AIndex : Integer; const AValue : String);
  14488. begin
  14489. If (FcontactInfo=AValue) then exit;
  14490. FcontactInfo:=AValue;
  14491. MarkPropertyChanged(AIndex);
  14492. end;
  14493. Procedure TOrderContact.SetcontactName(AIndex : Integer; const AValue : String);
  14494. begin
  14495. If (FcontactName=AValue) then exit;
  14496. FcontactName:=AValue;
  14497. MarkPropertyChanged(AIndex);
  14498. end;
  14499. Procedure TOrderContact.SetcontactTitle(AIndex : Integer; const AValue : String);
  14500. begin
  14501. If (FcontactTitle=AValue) then exit;
  14502. FcontactTitle:=AValue;
  14503. MarkPropertyChanged(AIndex);
  14504. end;
  14505. Procedure TOrderContact.SetcontactType(AIndex : Integer; const AValue : String);
  14506. begin
  14507. If (FcontactType=AValue) then exit;
  14508. FcontactType:=AValue;
  14509. MarkPropertyChanged(AIndex);
  14510. end;
  14511. Procedure TOrderContact.SetsignatureUserProfileId(AIndex : Integer; const AValue : String);
  14512. begin
  14513. If (FsignatureUserProfileId=AValue) then exit;
  14514. FsignatureUserProfileId:=AValue;
  14515. MarkPropertyChanged(AIndex);
  14516. end;
  14517. { --------------------------------------------------------------------
  14518. TOrderDocument
  14519. --------------------------------------------------------------------}
  14520. Procedure TOrderDocument.SetaccountId(AIndex : Integer; const AValue : String);
  14521. begin
  14522. If (FaccountId=AValue) then exit;
  14523. FaccountId:=AValue;
  14524. MarkPropertyChanged(AIndex);
  14525. end;
  14526. Procedure TOrderDocument.SetadvertiserId(AIndex : Integer; const AValue : String);
  14527. begin
  14528. If (FadvertiserId=AValue) then exit;
  14529. FadvertiserId:=AValue;
  14530. MarkPropertyChanged(AIndex);
  14531. end;
  14532. Procedure TOrderDocument.SetamendedOrderDocumentId(AIndex : Integer; const AValue : String);
  14533. begin
  14534. If (FamendedOrderDocumentId=AValue) then exit;
  14535. FamendedOrderDocumentId:=AValue;
  14536. MarkPropertyChanged(AIndex);
  14537. end;
  14538. Procedure TOrderDocument.SetapprovedByUserProfileIds(AIndex : Integer; const AValue : TStringArray);
  14539. begin
  14540. If (FapprovedByUserProfileIds=AValue) then exit;
  14541. FapprovedByUserProfileIds:=AValue;
  14542. MarkPropertyChanged(AIndex);
  14543. end;
  14544. Procedure TOrderDocument.Setcancelled(AIndex : Integer; const AValue : boolean);
  14545. begin
  14546. If (Fcancelled=AValue) then exit;
  14547. Fcancelled:=AValue;
  14548. MarkPropertyChanged(AIndex);
  14549. end;
  14550. Procedure TOrderDocument.SetcreatedInfo(AIndex : Integer; const AValue : TLastModifiedInfo);
  14551. begin
  14552. If (FcreatedInfo=AValue) then exit;
  14553. FcreatedInfo:=AValue;
  14554. MarkPropertyChanged(AIndex);
  14555. end;
  14556. Procedure TOrderDocument.SeteffectiveDate(AIndex : Integer; const AValue : TDate);
  14557. begin
  14558. If (FeffectiveDate=AValue) then exit;
  14559. FeffectiveDate:=AValue;
  14560. MarkPropertyChanged(AIndex);
  14561. end;
  14562. Procedure TOrderDocument.Setid(AIndex : Integer; const AValue : String);
  14563. begin
  14564. If (Fid=AValue) then exit;
  14565. Fid:=AValue;
  14566. MarkPropertyChanged(AIndex);
  14567. end;
  14568. Procedure TOrderDocument.Setkind(AIndex : Integer; const AValue : String);
  14569. begin
  14570. If (Fkind=AValue) then exit;
  14571. Fkind:=AValue;
  14572. MarkPropertyChanged(AIndex);
  14573. end;
  14574. Procedure TOrderDocument.SetlastSentRecipients(AIndex : Integer; const AValue : TStringArray);
  14575. begin
  14576. If (FlastSentRecipients=AValue) then exit;
  14577. FlastSentRecipients:=AValue;
  14578. MarkPropertyChanged(AIndex);
  14579. end;
  14580. Procedure TOrderDocument.SetlastSentTime(AIndex : Integer; const AValue : TDatetime);
  14581. begin
  14582. If (FlastSentTime=AValue) then exit;
  14583. FlastSentTime:=AValue;
  14584. MarkPropertyChanged(AIndex);
  14585. end;
  14586. Procedure TOrderDocument.SetorderId(AIndex : Integer; const AValue : String);
  14587. begin
  14588. If (ForderId=AValue) then exit;
  14589. ForderId:=AValue;
  14590. MarkPropertyChanged(AIndex);
  14591. end;
  14592. Procedure TOrderDocument.SetprojectId(AIndex : Integer; const AValue : String);
  14593. begin
  14594. If (FprojectId=AValue) then exit;
  14595. FprojectId:=AValue;
  14596. MarkPropertyChanged(AIndex);
  14597. end;
  14598. Procedure TOrderDocument.Setsigned(AIndex : Integer; const AValue : boolean);
  14599. begin
  14600. If (Fsigned=AValue) then exit;
  14601. Fsigned:=AValue;
  14602. MarkPropertyChanged(AIndex);
  14603. end;
  14604. Procedure TOrderDocument.SetsubaccountId(AIndex : Integer; const AValue : String);
  14605. begin
  14606. If (FsubaccountId=AValue) then exit;
  14607. FsubaccountId:=AValue;
  14608. MarkPropertyChanged(AIndex);
  14609. end;
  14610. Procedure TOrderDocument.Settitle(AIndex : Integer; const AValue : String);
  14611. begin
  14612. If (Ftitle=AValue) then exit;
  14613. Ftitle:=AValue;
  14614. MarkPropertyChanged(AIndex);
  14615. end;
  14616. Procedure TOrderDocument.Set_type(AIndex : Integer; const AValue : String);
  14617. begin
  14618. If (F_type=AValue) then exit;
  14619. F_type:=AValue;
  14620. MarkPropertyChanged(AIndex);
  14621. end;
  14622. Class Function TOrderDocument.ExportPropertyName(Const AName : String) :String;
  14623. begin
  14624. Case AName of
  14625. '_type' : Result:='type';
  14626. else
  14627. Result:=Inherited ExportPropertyName(AName);
  14628. end;
  14629. end;
  14630. //2.6.4. bug workaround
  14631. {$IFDEF VER2_6}
  14632. Procedure TOrderDocument.SetArrayLength(Const AName : String; ALength : Longint);
  14633. begin
  14634. Case AName of
  14635. 'approvedbyuserprofileids' : SetLength(FapprovedByUserProfileIds,ALength);
  14636. 'lastsentrecipients' : SetLength(FlastSentRecipients,ALength);
  14637. else
  14638. Inherited SetArrayLength(AName,ALength);
  14639. end;
  14640. end;
  14641. {$ENDIF VER2_6}
  14642. { --------------------------------------------------------------------
  14643. TOrderDocumentsListResponse
  14644. --------------------------------------------------------------------}
  14645. Procedure TOrderDocumentsListResponse.Setkind(AIndex : Integer; const AValue : String);
  14646. begin
  14647. If (Fkind=AValue) then exit;
  14648. Fkind:=AValue;
  14649. MarkPropertyChanged(AIndex);
  14650. end;
  14651. Procedure TOrderDocumentsListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  14652. begin
  14653. If (FnextPageToken=AValue) then exit;
  14654. FnextPageToken:=AValue;
  14655. MarkPropertyChanged(AIndex);
  14656. end;
  14657. Procedure TOrderDocumentsListResponse.SetorderDocuments(AIndex : Integer; const AValue : TOrderDocumentsListResponseTypeorderDocumentsArray);
  14658. begin
  14659. If (ForderDocuments=AValue) then exit;
  14660. ForderDocuments:=AValue;
  14661. MarkPropertyChanged(AIndex);
  14662. end;
  14663. //2.6.4. bug workaround
  14664. {$IFDEF VER2_6}
  14665. Procedure TOrderDocumentsListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  14666. begin
  14667. Case AName of
  14668. 'orderdocuments' : SetLength(ForderDocuments,ALength);
  14669. else
  14670. Inherited SetArrayLength(AName,ALength);
  14671. end;
  14672. end;
  14673. {$ENDIF VER2_6}
  14674. { --------------------------------------------------------------------
  14675. TOrdersListResponse
  14676. --------------------------------------------------------------------}
  14677. Procedure TOrdersListResponse.Setkind(AIndex : Integer; const AValue : String);
  14678. begin
  14679. If (Fkind=AValue) then exit;
  14680. Fkind:=AValue;
  14681. MarkPropertyChanged(AIndex);
  14682. end;
  14683. Procedure TOrdersListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  14684. begin
  14685. If (FnextPageToken=AValue) then exit;
  14686. FnextPageToken:=AValue;
  14687. MarkPropertyChanged(AIndex);
  14688. end;
  14689. Procedure TOrdersListResponse.Setorders(AIndex : Integer; const AValue : TOrdersListResponseTypeordersArray);
  14690. begin
  14691. If (Forders=AValue) then exit;
  14692. Forders:=AValue;
  14693. MarkPropertyChanged(AIndex);
  14694. end;
  14695. //2.6.4. bug workaround
  14696. {$IFDEF VER2_6}
  14697. Procedure TOrdersListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  14698. begin
  14699. Case AName of
  14700. 'orders' : SetLength(Forders,ALength);
  14701. else
  14702. Inherited SetArrayLength(AName,ALength);
  14703. end;
  14704. end;
  14705. {$ENDIF VER2_6}
  14706. { --------------------------------------------------------------------
  14707. TPathToConversionReportCompatibleFields
  14708. --------------------------------------------------------------------}
  14709. Procedure TPathToConversionReportCompatibleFields.SetconversionDimensions(AIndex : Integer; const AValue : TPathToConversionReportCompatibleFieldsTypeconversionDimensionsArray);
  14710. begin
  14711. If (FconversionDimensions=AValue) then exit;
  14712. FconversionDimensions:=AValue;
  14713. MarkPropertyChanged(AIndex);
  14714. end;
  14715. Procedure TPathToConversionReportCompatibleFields.SetcustomFloodlightVariables(AIndex : Integer; const AValue : TPathToConversionReportCompatibleFieldsTypecustomFloodlightVariablesArray);
  14716. begin
  14717. If (FcustomFloodlightVariables=AValue) then exit;
  14718. FcustomFloodlightVariables:=AValue;
  14719. MarkPropertyChanged(AIndex);
  14720. end;
  14721. Procedure TPathToConversionReportCompatibleFields.Setkind(AIndex : Integer; const AValue : String);
  14722. begin
  14723. If (Fkind=AValue) then exit;
  14724. Fkind:=AValue;
  14725. MarkPropertyChanged(AIndex);
  14726. end;
  14727. Procedure TPathToConversionReportCompatibleFields.Setmetrics(AIndex : Integer; const AValue : TPathToConversionReportCompatibleFieldsTypemetricsArray);
  14728. begin
  14729. If (Fmetrics=AValue) then exit;
  14730. Fmetrics:=AValue;
  14731. MarkPropertyChanged(AIndex);
  14732. end;
  14733. Procedure TPathToConversionReportCompatibleFields.SetperInteractionDimensions(AIndex : Integer; const AValue : TPathToConversionReportCompatibleFieldsTypeperInteractionDimensionsArray);
  14734. begin
  14735. If (FperInteractionDimensions=AValue) then exit;
  14736. FperInteractionDimensions:=AValue;
  14737. MarkPropertyChanged(AIndex);
  14738. end;
  14739. //2.6.4. bug workaround
  14740. {$IFDEF VER2_6}
  14741. Procedure TPathToConversionReportCompatibleFields.SetArrayLength(Const AName : String; ALength : Longint);
  14742. begin
  14743. Case AName of
  14744. 'conversiondimensions' : SetLength(FconversionDimensions,ALength);
  14745. 'customfloodlightvariables' : SetLength(FcustomFloodlightVariables,ALength);
  14746. 'metrics' : SetLength(Fmetrics,ALength);
  14747. 'perinteractiondimensions' : SetLength(FperInteractionDimensions,ALength);
  14748. else
  14749. Inherited SetArrayLength(AName,ALength);
  14750. end;
  14751. end;
  14752. {$ENDIF VER2_6}
  14753. { --------------------------------------------------------------------
  14754. TPlacement
  14755. --------------------------------------------------------------------}
  14756. Procedure TPlacement.SetaccountId(AIndex : Integer; const AValue : String);
  14757. begin
  14758. If (FaccountId=AValue) then exit;
  14759. FaccountId:=AValue;
  14760. MarkPropertyChanged(AIndex);
  14761. end;
  14762. Procedure TPlacement.SetadvertiserId(AIndex : Integer; const AValue : String);
  14763. begin
  14764. If (FadvertiserId=AValue) then exit;
  14765. FadvertiserId:=AValue;
  14766. MarkPropertyChanged(AIndex);
  14767. end;
  14768. Procedure TPlacement.SetadvertiserIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue);
  14769. begin
  14770. If (FadvertiserIdDimensionValue=AValue) then exit;
  14771. FadvertiserIdDimensionValue:=AValue;
  14772. MarkPropertyChanged(AIndex);
  14773. end;
  14774. Procedure TPlacement.Setarchived(AIndex : Integer; const AValue : boolean);
  14775. begin
  14776. If (Farchived=AValue) then exit;
  14777. Farchived:=AValue;
  14778. MarkPropertyChanged(AIndex);
  14779. end;
  14780. Procedure TPlacement.SetcampaignId(AIndex : Integer; const AValue : String);
  14781. begin
  14782. If (FcampaignId=AValue) then exit;
  14783. FcampaignId:=AValue;
  14784. MarkPropertyChanged(AIndex);
  14785. end;
  14786. Procedure TPlacement.SetcampaignIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue);
  14787. begin
  14788. If (FcampaignIdDimensionValue=AValue) then exit;
  14789. FcampaignIdDimensionValue:=AValue;
  14790. MarkPropertyChanged(AIndex);
  14791. end;
  14792. Procedure TPlacement.Setcomment(AIndex : Integer; const AValue : String);
  14793. begin
  14794. If (Fcomment=AValue) then exit;
  14795. Fcomment:=AValue;
  14796. MarkPropertyChanged(AIndex);
  14797. end;
  14798. Procedure TPlacement.Setcompatibility(AIndex : Integer; const AValue : String);
  14799. begin
  14800. If (Fcompatibility=AValue) then exit;
  14801. Fcompatibility:=AValue;
  14802. MarkPropertyChanged(AIndex);
  14803. end;
  14804. Procedure TPlacement.SetcontentCategoryId(AIndex : Integer; const AValue : String);
  14805. begin
  14806. If (FcontentCategoryId=AValue) then exit;
  14807. FcontentCategoryId:=AValue;
  14808. MarkPropertyChanged(AIndex);
  14809. end;
  14810. Procedure TPlacement.SetcreateInfo(AIndex : Integer; const AValue : TLastModifiedInfo);
  14811. begin
  14812. If (FcreateInfo=AValue) then exit;
  14813. FcreateInfo:=AValue;
  14814. MarkPropertyChanged(AIndex);
  14815. end;
  14816. Procedure TPlacement.SetdirectorySiteId(AIndex : Integer; const AValue : String);
  14817. begin
  14818. If (FdirectorySiteId=AValue) then exit;
  14819. FdirectorySiteId:=AValue;
  14820. MarkPropertyChanged(AIndex);
  14821. end;
  14822. Procedure TPlacement.SetdirectorySiteIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue);
  14823. begin
  14824. If (FdirectorySiteIdDimensionValue=AValue) then exit;
  14825. FdirectorySiteIdDimensionValue:=AValue;
  14826. MarkPropertyChanged(AIndex);
  14827. end;
  14828. Procedure TPlacement.SetexternalId(AIndex : Integer; const AValue : String);
  14829. begin
  14830. If (FexternalId=AValue) then exit;
  14831. FexternalId:=AValue;
  14832. MarkPropertyChanged(AIndex);
  14833. end;
  14834. Procedure TPlacement.Setid(AIndex : Integer; const AValue : String);
  14835. begin
  14836. If (Fid=AValue) then exit;
  14837. Fid:=AValue;
  14838. MarkPropertyChanged(AIndex);
  14839. end;
  14840. Procedure TPlacement.SetidDimensionValue(AIndex : Integer; const AValue : TDimensionValue);
  14841. begin
  14842. If (FidDimensionValue=AValue) then exit;
  14843. FidDimensionValue:=AValue;
  14844. MarkPropertyChanged(AIndex);
  14845. end;
  14846. Procedure TPlacement.SetkeyName(AIndex : Integer; const AValue : String);
  14847. begin
  14848. If (FkeyName=AValue) then exit;
  14849. FkeyName:=AValue;
  14850. MarkPropertyChanged(AIndex);
  14851. end;
  14852. Procedure TPlacement.Setkind(AIndex : Integer; const AValue : String);
  14853. begin
  14854. If (Fkind=AValue) then exit;
  14855. Fkind:=AValue;
  14856. MarkPropertyChanged(AIndex);
  14857. end;
  14858. Procedure TPlacement.SetlastModifiedInfo(AIndex : Integer; const AValue : TLastModifiedInfo);
  14859. begin
  14860. If (FlastModifiedInfo=AValue) then exit;
  14861. FlastModifiedInfo:=AValue;
  14862. MarkPropertyChanged(AIndex);
  14863. end;
  14864. Procedure TPlacement.SetlookbackConfiguration(AIndex : Integer; const AValue : TLookbackConfiguration);
  14865. begin
  14866. If (FlookbackConfiguration=AValue) then exit;
  14867. FlookbackConfiguration:=AValue;
  14868. MarkPropertyChanged(AIndex);
  14869. end;
  14870. Procedure TPlacement.Setname(AIndex : Integer; const AValue : String);
  14871. begin
  14872. If (Fname=AValue) then exit;
  14873. Fname:=AValue;
  14874. MarkPropertyChanged(AIndex);
  14875. end;
  14876. Procedure TPlacement.SetpaymentApproved(AIndex : Integer; const AValue : boolean);
  14877. begin
  14878. If (FpaymentApproved=AValue) then exit;
  14879. FpaymentApproved:=AValue;
  14880. MarkPropertyChanged(AIndex);
  14881. end;
  14882. Procedure TPlacement.SetpaymentSource(AIndex : Integer; const AValue : String);
  14883. begin
  14884. If (FpaymentSource=AValue) then exit;
  14885. FpaymentSource:=AValue;
  14886. MarkPropertyChanged(AIndex);
  14887. end;
  14888. Procedure TPlacement.SetplacementGroupId(AIndex : Integer; const AValue : String);
  14889. begin
  14890. If (FplacementGroupId=AValue) then exit;
  14891. FplacementGroupId:=AValue;
  14892. MarkPropertyChanged(AIndex);
  14893. end;
  14894. Procedure TPlacement.SetplacementGroupIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue);
  14895. begin
  14896. If (FplacementGroupIdDimensionValue=AValue) then exit;
  14897. FplacementGroupIdDimensionValue:=AValue;
  14898. MarkPropertyChanged(AIndex);
  14899. end;
  14900. Procedure TPlacement.SetplacementStrategyId(AIndex : Integer; const AValue : String);
  14901. begin
  14902. If (FplacementStrategyId=AValue) then exit;
  14903. FplacementStrategyId:=AValue;
  14904. MarkPropertyChanged(AIndex);
  14905. end;
  14906. Procedure TPlacement.SetpricingSchedule(AIndex : Integer; const AValue : TPricingSchedule);
  14907. begin
  14908. If (FpricingSchedule=AValue) then exit;
  14909. FpricingSchedule:=AValue;
  14910. MarkPropertyChanged(AIndex);
  14911. end;
  14912. Procedure TPlacement.Setprimary(AIndex : Integer; const AValue : boolean);
  14913. begin
  14914. If (Fprimary=AValue) then exit;
  14915. Fprimary:=AValue;
  14916. MarkPropertyChanged(AIndex);
  14917. end;
  14918. Procedure TPlacement.SetpublisherUpdateInfo(AIndex : Integer; const AValue : TLastModifiedInfo);
  14919. begin
  14920. If (FpublisherUpdateInfo=AValue) then exit;
  14921. FpublisherUpdateInfo:=AValue;
  14922. MarkPropertyChanged(AIndex);
  14923. end;
  14924. Procedure TPlacement.SetsiteId(AIndex : Integer; const AValue : String);
  14925. begin
  14926. If (FsiteId=AValue) then exit;
  14927. FsiteId:=AValue;
  14928. MarkPropertyChanged(AIndex);
  14929. end;
  14930. Procedure TPlacement.SetsiteIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue);
  14931. begin
  14932. If (FsiteIdDimensionValue=AValue) then exit;
  14933. FsiteIdDimensionValue:=AValue;
  14934. MarkPropertyChanged(AIndex);
  14935. end;
  14936. Procedure TPlacement.Setsize(AIndex : Integer; const AValue : TSize);
  14937. begin
  14938. If (Fsize=AValue) then exit;
  14939. Fsize:=AValue;
  14940. MarkPropertyChanged(AIndex);
  14941. end;
  14942. Procedure TPlacement.SetsslRequired(AIndex : Integer; const AValue : boolean);
  14943. begin
  14944. If (FsslRequired=AValue) then exit;
  14945. FsslRequired:=AValue;
  14946. MarkPropertyChanged(AIndex);
  14947. end;
  14948. Procedure TPlacement.Setstatus(AIndex : Integer; const AValue : String);
  14949. begin
  14950. If (Fstatus=AValue) then exit;
  14951. Fstatus:=AValue;
  14952. MarkPropertyChanged(AIndex);
  14953. end;
  14954. Procedure TPlacement.SetsubaccountId(AIndex : Integer; const AValue : String);
  14955. begin
  14956. If (FsubaccountId=AValue) then exit;
  14957. FsubaccountId:=AValue;
  14958. MarkPropertyChanged(AIndex);
  14959. end;
  14960. Procedure TPlacement.SettagFormats(AIndex : Integer; const AValue : TStringArray);
  14961. begin
  14962. If (FtagFormats=AValue) then exit;
  14963. FtagFormats:=AValue;
  14964. MarkPropertyChanged(AIndex);
  14965. end;
  14966. Procedure TPlacement.SettagSetting(AIndex : Integer; const AValue : TTagSetting);
  14967. begin
  14968. If (FtagSetting=AValue) then exit;
  14969. FtagSetting:=AValue;
  14970. MarkPropertyChanged(AIndex);
  14971. end;
  14972. //2.6.4. bug workaround
  14973. {$IFDEF VER2_6}
  14974. Procedure TPlacement.SetArrayLength(Const AName : String; ALength : Longint);
  14975. begin
  14976. Case AName of
  14977. 'tagformats' : SetLength(FtagFormats,ALength);
  14978. else
  14979. Inherited SetArrayLength(AName,ALength);
  14980. end;
  14981. end;
  14982. {$ENDIF VER2_6}
  14983. { --------------------------------------------------------------------
  14984. TPlacementAssignment
  14985. --------------------------------------------------------------------}
  14986. Procedure TPlacementAssignment.Setactive(AIndex : Integer; const AValue : boolean);
  14987. begin
  14988. If (Factive=AValue) then exit;
  14989. Factive:=AValue;
  14990. MarkPropertyChanged(AIndex);
  14991. end;
  14992. Procedure TPlacementAssignment.SetplacementId(AIndex : Integer; const AValue : String);
  14993. begin
  14994. If (FplacementId=AValue) then exit;
  14995. FplacementId:=AValue;
  14996. MarkPropertyChanged(AIndex);
  14997. end;
  14998. Procedure TPlacementAssignment.SetplacementIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue);
  14999. begin
  15000. If (FplacementIdDimensionValue=AValue) then exit;
  15001. FplacementIdDimensionValue:=AValue;
  15002. MarkPropertyChanged(AIndex);
  15003. end;
  15004. Procedure TPlacementAssignment.SetsslRequired(AIndex : Integer; const AValue : boolean);
  15005. begin
  15006. If (FsslRequired=AValue) then exit;
  15007. FsslRequired:=AValue;
  15008. MarkPropertyChanged(AIndex);
  15009. end;
  15010. { --------------------------------------------------------------------
  15011. TPlacementGroup
  15012. --------------------------------------------------------------------}
  15013. Procedure TPlacementGroup.SetaccountId(AIndex : Integer; const AValue : String);
  15014. begin
  15015. If (FaccountId=AValue) then exit;
  15016. FaccountId:=AValue;
  15017. MarkPropertyChanged(AIndex);
  15018. end;
  15019. Procedure TPlacementGroup.SetadvertiserId(AIndex : Integer; const AValue : String);
  15020. begin
  15021. If (FadvertiserId=AValue) then exit;
  15022. FadvertiserId:=AValue;
  15023. MarkPropertyChanged(AIndex);
  15024. end;
  15025. Procedure TPlacementGroup.SetadvertiserIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue);
  15026. begin
  15027. If (FadvertiserIdDimensionValue=AValue) then exit;
  15028. FadvertiserIdDimensionValue:=AValue;
  15029. MarkPropertyChanged(AIndex);
  15030. end;
  15031. Procedure TPlacementGroup.Setarchived(AIndex : Integer; const AValue : boolean);
  15032. begin
  15033. If (Farchived=AValue) then exit;
  15034. Farchived:=AValue;
  15035. MarkPropertyChanged(AIndex);
  15036. end;
  15037. Procedure TPlacementGroup.SetcampaignId(AIndex : Integer; const AValue : String);
  15038. begin
  15039. If (FcampaignId=AValue) then exit;
  15040. FcampaignId:=AValue;
  15041. MarkPropertyChanged(AIndex);
  15042. end;
  15043. Procedure TPlacementGroup.SetcampaignIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue);
  15044. begin
  15045. If (FcampaignIdDimensionValue=AValue) then exit;
  15046. FcampaignIdDimensionValue:=AValue;
  15047. MarkPropertyChanged(AIndex);
  15048. end;
  15049. Procedure TPlacementGroup.SetchildPlacementIds(AIndex : Integer; const AValue : TStringArray);
  15050. begin
  15051. If (FchildPlacementIds=AValue) then exit;
  15052. FchildPlacementIds:=AValue;
  15053. MarkPropertyChanged(AIndex);
  15054. end;
  15055. Procedure TPlacementGroup.Setcomment(AIndex : Integer; const AValue : String);
  15056. begin
  15057. If (Fcomment=AValue) then exit;
  15058. Fcomment:=AValue;
  15059. MarkPropertyChanged(AIndex);
  15060. end;
  15061. Procedure TPlacementGroup.SetcontentCategoryId(AIndex : Integer; const AValue : String);
  15062. begin
  15063. If (FcontentCategoryId=AValue) then exit;
  15064. FcontentCategoryId:=AValue;
  15065. MarkPropertyChanged(AIndex);
  15066. end;
  15067. Procedure TPlacementGroup.SetcreateInfo(AIndex : Integer; const AValue : TLastModifiedInfo);
  15068. begin
  15069. If (FcreateInfo=AValue) then exit;
  15070. FcreateInfo:=AValue;
  15071. MarkPropertyChanged(AIndex);
  15072. end;
  15073. Procedure TPlacementGroup.SetdirectorySiteId(AIndex : Integer; const AValue : String);
  15074. begin
  15075. If (FdirectorySiteId=AValue) then exit;
  15076. FdirectorySiteId:=AValue;
  15077. MarkPropertyChanged(AIndex);
  15078. end;
  15079. Procedure TPlacementGroup.SetdirectorySiteIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue);
  15080. begin
  15081. If (FdirectorySiteIdDimensionValue=AValue) then exit;
  15082. FdirectorySiteIdDimensionValue:=AValue;
  15083. MarkPropertyChanged(AIndex);
  15084. end;
  15085. Procedure TPlacementGroup.SetexternalId(AIndex : Integer; const AValue : String);
  15086. begin
  15087. If (FexternalId=AValue) then exit;
  15088. FexternalId:=AValue;
  15089. MarkPropertyChanged(AIndex);
  15090. end;
  15091. Procedure TPlacementGroup.Setid(AIndex : Integer; const AValue : String);
  15092. begin
  15093. If (Fid=AValue) then exit;
  15094. Fid:=AValue;
  15095. MarkPropertyChanged(AIndex);
  15096. end;
  15097. Procedure TPlacementGroup.SetidDimensionValue(AIndex : Integer; const AValue : TDimensionValue);
  15098. begin
  15099. If (FidDimensionValue=AValue) then exit;
  15100. FidDimensionValue:=AValue;
  15101. MarkPropertyChanged(AIndex);
  15102. end;
  15103. Procedure TPlacementGroup.Setkind(AIndex : Integer; const AValue : String);
  15104. begin
  15105. If (Fkind=AValue) then exit;
  15106. Fkind:=AValue;
  15107. MarkPropertyChanged(AIndex);
  15108. end;
  15109. Procedure TPlacementGroup.SetlastModifiedInfo(AIndex : Integer; const AValue : TLastModifiedInfo);
  15110. begin
  15111. If (FlastModifiedInfo=AValue) then exit;
  15112. FlastModifiedInfo:=AValue;
  15113. MarkPropertyChanged(AIndex);
  15114. end;
  15115. Procedure TPlacementGroup.Setname(AIndex : Integer; const AValue : String);
  15116. begin
  15117. If (Fname=AValue) then exit;
  15118. Fname:=AValue;
  15119. MarkPropertyChanged(AIndex);
  15120. end;
  15121. Procedure TPlacementGroup.SetplacementGroupType(AIndex : Integer; const AValue : String);
  15122. begin
  15123. If (FplacementGroupType=AValue) then exit;
  15124. FplacementGroupType:=AValue;
  15125. MarkPropertyChanged(AIndex);
  15126. end;
  15127. Procedure TPlacementGroup.SetplacementStrategyId(AIndex : Integer; const AValue : String);
  15128. begin
  15129. If (FplacementStrategyId=AValue) then exit;
  15130. FplacementStrategyId:=AValue;
  15131. MarkPropertyChanged(AIndex);
  15132. end;
  15133. Procedure TPlacementGroup.SetpricingSchedule(AIndex : Integer; const AValue : TPricingSchedule);
  15134. begin
  15135. If (FpricingSchedule=AValue) then exit;
  15136. FpricingSchedule:=AValue;
  15137. MarkPropertyChanged(AIndex);
  15138. end;
  15139. Procedure TPlacementGroup.SetprimaryPlacementId(AIndex : Integer; const AValue : String);
  15140. begin
  15141. If (FprimaryPlacementId=AValue) then exit;
  15142. FprimaryPlacementId:=AValue;
  15143. MarkPropertyChanged(AIndex);
  15144. end;
  15145. Procedure TPlacementGroup.SetprimaryPlacementIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue);
  15146. begin
  15147. If (FprimaryPlacementIdDimensionValue=AValue) then exit;
  15148. FprimaryPlacementIdDimensionValue:=AValue;
  15149. MarkPropertyChanged(AIndex);
  15150. end;
  15151. Procedure TPlacementGroup.SetsiteId(AIndex : Integer; const AValue : String);
  15152. begin
  15153. If (FsiteId=AValue) then exit;
  15154. FsiteId:=AValue;
  15155. MarkPropertyChanged(AIndex);
  15156. end;
  15157. Procedure TPlacementGroup.SetsiteIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue);
  15158. begin
  15159. If (FsiteIdDimensionValue=AValue) then exit;
  15160. FsiteIdDimensionValue:=AValue;
  15161. MarkPropertyChanged(AIndex);
  15162. end;
  15163. Procedure TPlacementGroup.SetsubaccountId(AIndex : Integer; const AValue : String);
  15164. begin
  15165. If (FsubaccountId=AValue) then exit;
  15166. FsubaccountId:=AValue;
  15167. MarkPropertyChanged(AIndex);
  15168. end;
  15169. //2.6.4. bug workaround
  15170. {$IFDEF VER2_6}
  15171. Procedure TPlacementGroup.SetArrayLength(Const AName : String; ALength : Longint);
  15172. begin
  15173. Case AName of
  15174. 'childplacementids' : SetLength(FchildPlacementIds,ALength);
  15175. else
  15176. Inherited SetArrayLength(AName,ALength);
  15177. end;
  15178. end;
  15179. {$ENDIF VER2_6}
  15180. { --------------------------------------------------------------------
  15181. TPlacementGroupsListResponse
  15182. --------------------------------------------------------------------}
  15183. Procedure TPlacementGroupsListResponse.Setkind(AIndex : Integer; const AValue : String);
  15184. begin
  15185. If (Fkind=AValue) then exit;
  15186. Fkind:=AValue;
  15187. MarkPropertyChanged(AIndex);
  15188. end;
  15189. Procedure TPlacementGroupsListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  15190. begin
  15191. If (FnextPageToken=AValue) then exit;
  15192. FnextPageToken:=AValue;
  15193. MarkPropertyChanged(AIndex);
  15194. end;
  15195. Procedure TPlacementGroupsListResponse.SetplacementGroups(AIndex : Integer; const AValue : TPlacementGroupsListResponseTypeplacementGroupsArray);
  15196. begin
  15197. If (FplacementGroups=AValue) then exit;
  15198. FplacementGroups:=AValue;
  15199. MarkPropertyChanged(AIndex);
  15200. end;
  15201. //2.6.4. bug workaround
  15202. {$IFDEF VER2_6}
  15203. Procedure TPlacementGroupsListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  15204. begin
  15205. Case AName of
  15206. 'placementgroups' : SetLength(FplacementGroups,ALength);
  15207. else
  15208. Inherited SetArrayLength(AName,ALength);
  15209. end;
  15210. end;
  15211. {$ENDIF VER2_6}
  15212. { --------------------------------------------------------------------
  15213. TPlacementStrategiesListResponse
  15214. --------------------------------------------------------------------}
  15215. Procedure TPlacementStrategiesListResponse.Setkind(AIndex : Integer; const AValue : String);
  15216. begin
  15217. If (Fkind=AValue) then exit;
  15218. Fkind:=AValue;
  15219. MarkPropertyChanged(AIndex);
  15220. end;
  15221. Procedure TPlacementStrategiesListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  15222. begin
  15223. If (FnextPageToken=AValue) then exit;
  15224. FnextPageToken:=AValue;
  15225. MarkPropertyChanged(AIndex);
  15226. end;
  15227. Procedure TPlacementStrategiesListResponse.SetplacementStrategies(AIndex : Integer; const AValue : TPlacementStrategiesListResponseTypeplacementStrategiesArray);
  15228. begin
  15229. If (FplacementStrategies=AValue) then exit;
  15230. FplacementStrategies:=AValue;
  15231. MarkPropertyChanged(AIndex);
  15232. end;
  15233. //2.6.4. bug workaround
  15234. {$IFDEF VER2_6}
  15235. Procedure TPlacementStrategiesListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  15236. begin
  15237. Case AName of
  15238. 'placementstrategies' : SetLength(FplacementStrategies,ALength);
  15239. else
  15240. Inherited SetArrayLength(AName,ALength);
  15241. end;
  15242. end;
  15243. {$ENDIF VER2_6}
  15244. { --------------------------------------------------------------------
  15245. TPlacementStrategy
  15246. --------------------------------------------------------------------}
  15247. Procedure TPlacementStrategy.SetaccountId(AIndex : Integer; const AValue : String);
  15248. begin
  15249. If (FaccountId=AValue) then exit;
  15250. FaccountId:=AValue;
  15251. MarkPropertyChanged(AIndex);
  15252. end;
  15253. Procedure TPlacementStrategy.Setid(AIndex : Integer; const AValue : String);
  15254. begin
  15255. If (Fid=AValue) then exit;
  15256. Fid:=AValue;
  15257. MarkPropertyChanged(AIndex);
  15258. end;
  15259. Procedure TPlacementStrategy.Setkind(AIndex : Integer; const AValue : String);
  15260. begin
  15261. If (Fkind=AValue) then exit;
  15262. Fkind:=AValue;
  15263. MarkPropertyChanged(AIndex);
  15264. end;
  15265. Procedure TPlacementStrategy.Setname(AIndex : Integer; const AValue : String);
  15266. begin
  15267. If (Fname=AValue) then exit;
  15268. Fname:=AValue;
  15269. MarkPropertyChanged(AIndex);
  15270. end;
  15271. { --------------------------------------------------------------------
  15272. TPlacementTag
  15273. --------------------------------------------------------------------}
  15274. Procedure TPlacementTag.SetplacementId(AIndex : Integer; const AValue : String);
  15275. begin
  15276. If (FplacementId=AValue) then exit;
  15277. FplacementId:=AValue;
  15278. MarkPropertyChanged(AIndex);
  15279. end;
  15280. Procedure TPlacementTag.SettagDatas(AIndex : Integer; const AValue : TPlacementTagTypetagDatasArray);
  15281. begin
  15282. If (FtagDatas=AValue) then exit;
  15283. FtagDatas:=AValue;
  15284. MarkPropertyChanged(AIndex);
  15285. end;
  15286. //2.6.4. bug workaround
  15287. {$IFDEF VER2_6}
  15288. Procedure TPlacementTag.SetArrayLength(Const AName : String; ALength : Longint);
  15289. begin
  15290. Case AName of
  15291. 'tagdatas' : SetLength(FtagDatas,ALength);
  15292. else
  15293. Inherited SetArrayLength(AName,ALength);
  15294. end;
  15295. end;
  15296. {$ENDIF VER2_6}
  15297. { --------------------------------------------------------------------
  15298. TPlacementsGenerateTagsResponse
  15299. --------------------------------------------------------------------}
  15300. Procedure TPlacementsGenerateTagsResponse.Setkind(AIndex : Integer; const AValue : String);
  15301. begin
  15302. If (Fkind=AValue) then exit;
  15303. Fkind:=AValue;
  15304. MarkPropertyChanged(AIndex);
  15305. end;
  15306. Procedure TPlacementsGenerateTagsResponse.SetplacementTags(AIndex : Integer; const AValue : TPlacementsGenerateTagsResponseTypeplacementTagsArray);
  15307. begin
  15308. If (FplacementTags=AValue) then exit;
  15309. FplacementTags:=AValue;
  15310. MarkPropertyChanged(AIndex);
  15311. end;
  15312. //2.6.4. bug workaround
  15313. {$IFDEF VER2_6}
  15314. Procedure TPlacementsGenerateTagsResponse.SetArrayLength(Const AName : String; ALength : Longint);
  15315. begin
  15316. Case AName of
  15317. 'placementtags' : SetLength(FplacementTags,ALength);
  15318. else
  15319. Inherited SetArrayLength(AName,ALength);
  15320. end;
  15321. end;
  15322. {$ENDIF VER2_6}
  15323. { --------------------------------------------------------------------
  15324. TPlacementsListResponse
  15325. --------------------------------------------------------------------}
  15326. Procedure TPlacementsListResponse.Setkind(AIndex : Integer; const AValue : String);
  15327. begin
  15328. If (Fkind=AValue) then exit;
  15329. Fkind:=AValue;
  15330. MarkPropertyChanged(AIndex);
  15331. end;
  15332. Procedure TPlacementsListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  15333. begin
  15334. If (FnextPageToken=AValue) then exit;
  15335. FnextPageToken:=AValue;
  15336. MarkPropertyChanged(AIndex);
  15337. end;
  15338. Procedure TPlacementsListResponse.Setplacements(AIndex : Integer; const AValue : TPlacementsListResponseTypeplacementsArray);
  15339. begin
  15340. If (Fplacements=AValue) then exit;
  15341. Fplacements:=AValue;
  15342. MarkPropertyChanged(AIndex);
  15343. end;
  15344. //2.6.4. bug workaround
  15345. {$IFDEF VER2_6}
  15346. Procedure TPlacementsListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  15347. begin
  15348. Case AName of
  15349. 'placements' : SetLength(Fplacements,ALength);
  15350. else
  15351. Inherited SetArrayLength(AName,ALength);
  15352. end;
  15353. end;
  15354. {$ENDIF VER2_6}
  15355. { --------------------------------------------------------------------
  15356. TPlatformType
  15357. --------------------------------------------------------------------}
  15358. Procedure TPlatformType.Setid(AIndex : Integer; const AValue : String);
  15359. begin
  15360. If (Fid=AValue) then exit;
  15361. Fid:=AValue;
  15362. MarkPropertyChanged(AIndex);
  15363. end;
  15364. Procedure TPlatformType.Setkind(AIndex : Integer; const AValue : String);
  15365. begin
  15366. If (Fkind=AValue) then exit;
  15367. Fkind:=AValue;
  15368. MarkPropertyChanged(AIndex);
  15369. end;
  15370. Procedure TPlatformType.Setname(AIndex : Integer; const AValue : String);
  15371. begin
  15372. If (Fname=AValue) then exit;
  15373. Fname:=AValue;
  15374. MarkPropertyChanged(AIndex);
  15375. end;
  15376. { --------------------------------------------------------------------
  15377. TPlatformTypesListResponse
  15378. --------------------------------------------------------------------}
  15379. Procedure TPlatformTypesListResponse.Setkind(AIndex : Integer; const AValue : String);
  15380. begin
  15381. If (Fkind=AValue) then exit;
  15382. Fkind:=AValue;
  15383. MarkPropertyChanged(AIndex);
  15384. end;
  15385. Procedure TPlatformTypesListResponse.SetplatformTypes(AIndex : Integer; const AValue : TPlatformTypesListResponseTypeplatformTypesArray);
  15386. begin
  15387. If (FplatformTypes=AValue) then exit;
  15388. FplatformTypes:=AValue;
  15389. MarkPropertyChanged(AIndex);
  15390. end;
  15391. //2.6.4. bug workaround
  15392. {$IFDEF VER2_6}
  15393. Procedure TPlatformTypesListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  15394. begin
  15395. Case AName of
  15396. 'platformtypes' : SetLength(FplatformTypes,ALength);
  15397. else
  15398. Inherited SetArrayLength(AName,ALength);
  15399. end;
  15400. end;
  15401. {$ENDIF VER2_6}
  15402. { --------------------------------------------------------------------
  15403. TPopupWindowProperties
  15404. --------------------------------------------------------------------}
  15405. Procedure TPopupWindowProperties.Setdimension(AIndex : Integer; const AValue : TSize);
  15406. begin
  15407. If (Fdimension=AValue) then exit;
  15408. Fdimension:=AValue;
  15409. MarkPropertyChanged(AIndex);
  15410. end;
  15411. Procedure TPopupWindowProperties.Setoffset(AIndex : Integer; const AValue : TOffsetPosition);
  15412. begin
  15413. If (Foffset=AValue) then exit;
  15414. Foffset:=AValue;
  15415. MarkPropertyChanged(AIndex);
  15416. end;
  15417. Procedure TPopupWindowProperties.SetpositionType(AIndex : Integer; const AValue : String);
  15418. begin
  15419. If (FpositionType=AValue) then exit;
  15420. FpositionType:=AValue;
  15421. MarkPropertyChanged(AIndex);
  15422. end;
  15423. Procedure TPopupWindowProperties.SetshowAddressBar(AIndex : Integer; const AValue : boolean);
  15424. begin
  15425. If (FshowAddressBar=AValue) then exit;
  15426. FshowAddressBar:=AValue;
  15427. MarkPropertyChanged(AIndex);
  15428. end;
  15429. Procedure TPopupWindowProperties.SetshowMenuBar(AIndex : Integer; const AValue : boolean);
  15430. begin
  15431. If (FshowMenuBar=AValue) then exit;
  15432. FshowMenuBar:=AValue;
  15433. MarkPropertyChanged(AIndex);
  15434. end;
  15435. Procedure TPopupWindowProperties.SetshowScrollBar(AIndex : Integer; const AValue : boolean);
  15436. begin
  15437. If (FshowScrollBar=AValue) then exit;
  15438. FshowScrollBar:=AValue;
  15439. MarkPropertyChanged(AIndex);
  15440. end;
  15441. Procedure TPopupWindowProperties.SetshowStatusBar(AIndex : Integer; const AValue : boolean);
  15442. begin
  15443. If (FshowStatusBar=AValue) then exit;
  15444. FshowStatusBar:=AValue;
  15445. MarkPropertyChanged(AIndex);
  15446. end;
  15447. Procedure TPopupWindowProperties.SetshowToolBar(AIndex : Integer; const AValue : boolean);
  15448. begin
  15449. If (FshowToolBar=AValue) then exit;
  15450. FshowToolBar:=AValue;
  15451. MarkPropertyChanged(AIndex);
  15452. end;
  15453. Procedure TPopupWindowProperties.Settitle(AIndex : Integer; const AValue : String);
  15454. begin
  15455. If (Ftitle=AValue) then exit;
  15456. Ftitle:=AValue;
  15457. MarkPropertyChanged(AIndex);
  15458. end;
  15459. { --------------------------------------------------------------------
  15460. TPostalCode
  15461. --------------------------------------------------------------------}
  15462. Procedure TPostalCode.Setcode(AIndex : Integer; const AValue : String);
  15463. begin
  15464. If (Fcode=AValue) then exit;
  15465. Fcode:=AValue;
  15466. MarkPropertyChanged(AIndex);
  15467. end;
  15468. Procedure TPostalCode.SetcountryCode(AIndex : Integer; const AValue : String);
  15469. begin
  15470. If (FcountryCode=AValue) then exit;
  15471. FcountryCode:=AValue;
  15472. MarkPropertyChanged(AIndex);
  15473. end;
  15474. Procedure TPostalCode.SetcountryDartId(AIndex : Integer; const AValue : String);
  15475. begin
  15476. If (FcountryDartId=AValue) then exit;
  15477. FcountryDartId:=AValue;
  15478. MarkPropertyChanged(AIndex);
  15479. end;
  15480. Procedure TPostalCode.Setid(AIndex : Integer; const AValue : String);
  15481. begin
  15482. If (Fid=AValue) then exit;
  15483. Fid:=AValue;
  15484. MarkPropertyChanged(AIndex);
  15485. end;
  15486. Procedure TPostalCode.Setkind(AIndex : Integer; const AValue : String);
  15487. begin
  15488. If (Fkind=AValue) then exit;
  15489. Fkind:=AValue;
  15490. MarkPropertyChanged(AIndex);
  15491. end;
  15492. { --------------------------------------------------------------------
  15493. TPostalCodesListResponse
  15494. --------------------------------------------------------------------}
  15495. Procedure TPostalCodesListResponse.Setkind(AIndex : Integer; const AValue : String);
  15496. begin
  15497. If (Fkind=AValue) then exit;
  15498. Fkind:=AValue;
  15499. MarkPropertyChanged(AIndex);
  15500. end;
  15501. Procedure TPostalCodesListResponse.SetpostalCodes(AIndex : Integer; const AValue : TPostalCodesListResponseTypepostalCodesArray);
  15502. begin
  15503. If (FpostalCodes=AValue) then exit;
  15504. FpostalCodes:=AValue;
  15505. MarkPropertyChanged(AIndex);
  15506. end;
  15507. //2.6.4. bug workaround
  15508. {$IFDEF VER2_6}
  15509. Procedure TPostalCodesListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  15510. begin
  15511. Case AName of
  15512. 'postalcodes' : SetLength(FpostalCodes,ALength);
  15513. else
  15514. Inherited SetArrayLength(AName,ALength);
  15515. end;
  15516. end;
  15517. {$ENDIF VER2_6}
  15518. { --------------------------------------------------------------------
  15519. TPricing
  15520. --------------------------------------------------------------------}
  15521. Procedure TPricing.SetcapCostType(AIndex : Integer; const AValue : String);
  15522. begin
  15523. If (FcapCostType=AValue) then exit;
  15524. FcapCostType:=AValue;
  15525. MarkPropertyChanged(AIndex);
  15526. end;
  15527. Procedure TPricing.SetendDate(AIndex : Integer; const AValue : TDate);
  15528. begin
  15529. If (FendDate=AValue) then exit;
  15530. FendDate:=AValue;
  15531. MarkPropertyChanged(AIndex);
  15532. end;
  15533. Procedure TPricing.Setflights(AIndex : Integer; const AValue : TPricingTypeflightsArray);
  15534. begin
  15535. If (Fflights=AValue) then exit;
  15536. Fflights:=AValue;
  15537. MarkPropertyChanged(AIndex);
  15538. end;
  15539. Procedure TPricing.SetgroupType(AIndex : Integer; const AValue : String);
  15540. begin
  15541. If (FgroupType=AValue) then exit;
  15542. FgroupType:=AValue;
  15543. MarkPropertyChanged(AIndex);
  15544. end;
  15545. Procedure TPricing.SetpricingType(AIndex : Integer; const AValue : String);
  15546. begin
  15547. If (FpricingType=AValue) then exit;
  15548. FpricingType:=AValue;
  15549. MarkPropertyChanged(AIndex);
  15550. end;
  15551. Procedure TPricing.SetstartDate(AIndex : Integer; const AValue : TDate);
  15552. begin
  15553. If (FstartDate=AValue) then exit;
  15554. FstartDate:=AValue;
  15555. MarkPropertyChanged(AIndex);
  15556. end;
  15557. //2.6.4. bug workaround
  15558. {$IFDEF VER2_6}
  15559. Procedure TPricing.SetArrayLength(Const AName : String; ALength : Longint);
  15560. begin
  15561. Case AName of
  15562. 'flights' : SetLength(Fflights,ALength);
  15563. else
  15564. Inherited SetArrayLength(AName,ALength);
  15565. end;
  15566. end;
  15567. {$ENDIF VER2_6}
  15568. { --------------------------------------------------------------------
  15569. TPricingSchedule
  15570. --------------------------------------------------------------------}
  15571. Procedure TPricingSchedule.SetcapCostOption(AIndex : Integer; const AValue : String);
  15572. begin
  15573. If (FcapCostOption=AValue) then exit;
  15574. FcapCostOption:=AValue;
  15575. MarkPropertyChanged(AIndex);
  15576. end;
  15577. Procedure TPricingSchedule.SetdisregardOverdelivery(AIndex : Integer; const AValue : boolean);
  15578. begin
  15579. If (FdisregardOverdelivery=AValue) then exit;
  15580. FdisregardOverdelivery:=AValue;
  15581. MarkPropertyChanged(AIndex);
  15582. end;
  15583. Procedure TPricingSchedule.SetendDate(AIndex : Integer; const AValue : TDate);
  15584. begin
  15585. If (FendDate=AValue) then exit;
  15586. FendDate:=AValue;
  15587. MarkPropertyChanged(AIndex);
  15588. end;
  15589. Procedure TPricingSchedule.Setflighted(AIndex : Integer; const AValue : boolean);
  15590. begin
  15591. If (Fflighted=AValue) then exit;
  15592. Fflighted:=AValue;
  15593. MarkPropertyChanged(AIndex);
  15594. end;
  15595. Procedure TPricingSchedule.SetfloodlightActivityId(AIndex : Integer; const AValue : String);
  15596. begin
  15597. If (FfloodlightActivityId=AValue) then exit;
  15598. FfloodlightActivityId:=AValue;
  15599. MarkPropertyChanged(AIndex);
  15600. end;
  15601. Procedure TPricingSchedule.SetpricingPeriods(AIndex : Integer; const AValue : TPricingScheduleTypepricingPeriodsArray);
  15602. begin
  15603. If (FpricingPeriods=AValue) then exit;
  15604. FpricingPeriods:=AValue;
  15605. MarkPropertyChanged(AIndex);
  15606. end;
  15607. Procedure TPricingSchedule.SetpricingType(AIndex : Integer; const AValue : String);
  15608. begin
  15609. If (FpricingType=AValue) then exit;
  15610. FpricingType:=AValue;
  15611. MarkPropertyChanged(AIndex);
  15612. end;
  15613. Procedure TPricingSchedule.SetstartDate(AIndex : Integer; const AValue : TDate);
  15614. begin
  15615. If (FstartDate=AValue) then exit;
  15616. FstartDate:=AValue;
  15617. MarkPropertyChanged(AIndex);
  15618. end;
  15619. Procedure TPricingSchedule.SettestingStartDate(AIndex : Integer; const AValue : TDate);
  15620. begin
  15621. If (FtestingStartDate=AValue) then exit;
  15622. FtestingStartDate:=AValue;
  15623. MarkPropertyChanged(AIndex);
  15624. end;
  15625. //2.6.4. bug workaround
  15626. {$IFDEF VER2_6}
  15627. Procedure TPricingSchedule.SetArrayLength(Const AName : String; ALength : Longint);
  15628. begin
  15629. Case AName of
  15630. 'pricingperiods' : SetLength(FpricingPeriods,ALength);
  15631. else
  15632. Inherited SetArrayLength(AName,ALength);
  15633. end;
  15634. end;
  15635. {$ENDIF VER2_6}
  15636. { --------------------------------------------------------------------
  15637. TPricingSchedulePricingPeriod
  15638. --------------------------------------------------------------------}
  15639. Procedure TPricingSchedulePricingPeriod.SetendDate(AIndex : Integer; const AValue : TDate);
  15640. begin
  15641. If (FendDate=AValue) then exit;
  15642. FendDate:=AValue;
  15643. MarkPropertyChanged(AIndex);
  15644. end;
  15645. Procedure TPricingSchedulePricingPeriod.SetpricingComment(AIndex : Integer; const AValue : String);
  15646. begin
  15647. If (FpricingComment=AValue) then exit;
  15648. FpricingComment:=AValue;
  15649. MarkPropertyChanged(AIndex);
  15650. end;
  15651. Procedure TPricingSchedulePricingPeriod.SetrateOrCostNanos(AIndex : Integer; const AValue : String);
  15652. begin
  15653. If (FrateOrCostNanos=AValue) then exit;
  15654. FrateOrCostNanos:=AValue;
  15655. MarkPropertyChanged(AIndex);
  15656. end;
  15657. Procedure TPricingSchedulePricingPeriod.SetstartDate(AIndex : Integer; const AValue : TDate);
  15658. begin
  15659. If (FstartDate=AValue) then exit;
  15660. FstartDate:=AValue;
  15661. MarkPropertyChanged(AIndex);
  15662. end;
  15663. Procedure TPricingSchedulePricingPeriod.Setunits(AIndex : Integer; const AValue : String);
  15664. begin
  15665. If (Funits=AValue) then exit;
  15666. Funits:=AValue;
  15667. MarkPropertyChanged(AIndex);
  15668. end;
  15669. { --------------------------------------------------------------------
  15670. TProject
  15671. --------------------------------------------------------------------}
  15672. Procedure TProject.SetaccountId(AIndex : Integer; const AValue : String);
  15673. begin
  15674. If (FaccountId=AValue) then exit;
  15675. FaccountId:=AValue;
  15676. MarkPropertyChanged(AIndex);
  15677. end;
  15678. Procedure TProject.SetadvertiserId(AIndex : Integer; const AValue : String);
  15679. begin
  15680. If (FadvertiserId=AValue) then exit;
  15681. FadvertiserId:=AValue;
  15682. MarkPropertyChanged(AIndex);
  15683. end;
  15684. Procedure TProject.SetaudienceAgeGroup(AIndex : Integer; const AValue : String);
  15685. begin
  15686. If (FaudienceAgeGroup=AValue) then exit;
  15687. FaudienceAgeGroup:=AValue;
  15688. MarkPropertyChanged(AIndex);
  15689. end;
  15690. Procedure TProject.SetaudienceGender(AIndex : Integer; const AValue : String);
  15691. begin
  15692. If (FaudienceGender=AValue) then exit;
  15693. FaudienceGender:=AValue;
  15694. MarkPropertyChanged(AIndex);
  15695. end;
  15696. Procedure TProject.Setbudget(AIndex : Integer; const AValue : String);
  15697. begin
  15698. If (Fbudget=AValue) then exit;
  15699. Fbudget:=AValue;
  15700. MarkPropertyChanged(AIndex);
  15701. end;
  15702. Procedure TProject.SetclientBillingCode(AIndex : Integer; const AValue : String);
  15703. begin
  15704. If (FclientBillingCode=AValue) then exit;
  15705. FclientBillingCode:=AValue;
  15706. MarkPropertyChanged(AIndex);
  15707. end;
  15708. Procedure TProject.SetclientName(AIndex : Integer; const AValue : String);
  15709. begin
  15710. If (FclientName=AValue) then exit;
  15711. FclientName:=AValue;
  15712. MarkPropertyChanged(AIndex);
  15713. end;
  15714. Procedure TProject.SetendDate(AIndex : Integer; const AValue : TDate);
  15715. begin
  15716. If (FendDate=AValue) then exit;
  15717. FendDate:=AValue;
  15718. MarkPropertyChanged(AIndex);
  15719. end;
  15720. Procedure TProject.Setid(AIndex : Integer; const AValue : String);
  15721. begin
  15722. If (Fid=AValue) then exit;
  15723. Fid:=AValue;
  15724. MarkPropertyChanged(AIndex);
  15725. end;
  15726. Procedure TProject.Setkind(AIndex : Integer; const AValue : String);
  15727. begin
  15728. If (Fkind=AValue) then exit;
  15729. Fkind:=AValue;
  15730. MarkPropertyChanged(AIndex);
  15731. end;
  15732. Procedure TProject.SetlastModifiedInfo(AIndex : Integer; const AValue : TLastModifiedInfo);
  15733. begin
  15734. If (FlastModifiedInfo=AValue) then exit;
  15735. FlastModifiedInfo:=AValue;
  15736. MarkPropertyChanged(AIndex);
  15737. end;
  15738. Procedure TProject.Setname(AIndex : Integer; const AValue : String);
  15739. begin
  15740. If (Fname=AValue) then exit;
  15741. Fname:=AValue;
  15742. MarkPropertyChanged(AIndex);
  15743. end;
  15744. Procedure TProject.Setoverview(AIndex : Integer; const AValue : String);
  15745. begin
  15746. If (Foverview=AValue) then exit;
  15747. Foverview:=AValue;
  15748. MarkPropertyChanged(AIndex);
  15749. end;
  15750. Procedure TProject.SetstartDate(AIndex : Integer; const AValue : TDate);
  15751. begin
  15752. If (FstartDate=AValue) then exit;
  15753. FstartDate:=AValue;
  15754. MarkPropertyChanged(AIndex);
  15755. end;
  15756. Procedure TProject.SetsubaccountId(AIndex : Integer; const AValue : String);
  15757. begin
  15758. If (FsubaccountId=AValue) then exit;
  15759. FsubaccountId:=AValue;
  15760. MarkPropertyChanged(AIndex);
  15761. end;
  15762. Procedure TProject.SettargetClicks(AIndex : Integer; const AValue : String);
  15763. begin
  15764. If (FtargetClicks=AValue) then exit;
  15765. FtargetClicks:=AValue;
  15766. MarkPropertyChanged(AIndex);
  15767. end;
  15768. Procedure TProject.SettargetConversions(AIndex : Integer; const AValue : String);
  15769. begin
  15770. If (FtargetConversions=AValue) then exit;
  15771. FtargetConversions:=AValue;
  15772. MarkPropertyChanged(AIndex);
  15773. end;
  15774. Procedure TProject.SettargetCpaNanos(AIndex : Integer; const AValue : String);
  15775. begin
  15776. If (FtargetCpaNanos=AValue) then exit;
  15777. FtargetCpaNanos:=AValue;
  15778. MarkPropertyChanged(AIndex);
  15779. end;
  15780. Procedure TProject.SettargetCpcNanos(AIndex : Integer; const AValue : String);
  15781. begin
  15782. If (FtargetCpcNanos=AValue) then exit;
  15783. FtargetCpcNanos:=AValue;
  15784. MarkPropertyChanged(AIndex);
  15785. end;
  15786. Procedure TProject.SettargetCpmNanos(AIndex : Integer; const AValue : String);
  15787. begin
  15788. If (FtargetCpmNanos=AValue) then exit;
  15789. FtargetCpmNanos:=AValue;
  15790. MarkPropertyChanged(AIndex);
  15791. end;
  15792. Procedure TProject.SettargetImpressions(AIndex : Integer; const AValue : String);
  15793. begin
  15794. If (FtargetImpressions=AValue) then exit;
  15795. FtargetImpressions:=AValue;
  15796. MarkPropertyChanged(AIndex);
  15797. end;
  15798. { --------------------------------------------------------------------
  15799. TProjectsListResponse
  15800. --------------------------------------------------------------------}
  15801. Procedure TProjectsListResponse.Setkind(AIndex : Integer; const AValue : String);
  15802. begin
  15803. If (Fkind=AValue) then exit;
  15804. Fkind:=AValue;
  15805. MarkPropertyChanged(AIndex);
  15806. end;
  15807. Procedure TProjectsListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  15808. begin
  15809. If (FnextPageToken=AValue) then exit;
  15810. FnextPageToken:=AValue;
  15811. MarkPropertyChanged(AIndex);
  15812. end;
  15813. Procedure TProjectsListResponse.Setprojects(AIndex : Integer; const AValue : TProjectsListResponseTypeprojectsArray);
  15814. begin
  15815. If (Fprojects=AValue) then exit;
  15816. Fprojects:=AValue;
  15817. MarkPropertyChanged(AIndex);
  15818. end;
  15819. //2.6.4. bug workaround
  15820. {$IFDEF VER2_6}
  15821. Procedure TProjectsListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  15822. begin
  15823. Case AName of
  15824. 'projects' : SetLength(Fprojects,ALength);
  15825. else
  15826. Inherited SetArrayLength(AName,ALength);
  15827. end;
  15828. end;
  15829. {$ENDIF VER2_6}
  15830. { --------------------------------------------------------------------
  15831. TReachReportCompatibleFields
  15832. --------------------------------------------------------------------}
  15833. Procedure TReachReportCompatibleFields.SetdimensionFilters(AIndex : Integer; const AValue : TReachReportCompatibleFieldsTypedimensionFiltersArray);
  15834. begin
  15835. If (FdimensionFilters=AValue) then exit;
  15836. FdimensionFilters:=AValue;
  15837. MarkPropertyChanged(AIndex);
  15838. end;
  15839. Procedure TReachReportCompatibleFields.Setdimensions(AIndex : Integer; const AValue : TReachReportCompatibleFieldsTypedimensionsArray);
  15840. begin
  15841. If (Fdimensions=AValue) then exit;
  15842. Fdimensions:=AValue;
  15843. MarkPropertyChanged(AIndex);
  15844. end;
  15845. Procedure TReachReportCompatibleFields.Setkind(AIndex : Integer; const AValue : String);
  15846. begin
  15847. If (Fkind=AValue) then exit;
  15848. Fkind:=AValue;
  15849. MarkPropertyChanged(AIndex);
  15850. end;
  15851. Procedure TReachReportCompatibleFields.Setmetrics(AIndex : Integer; const AValue : TReachReportCompatibleFieldsTypemetricsArray);
  15852. begin
  15853. If (Fmetrics=AValue) then exit;
  15854. Fmetrics:=AValue;
  15855. MarkPropertyChanged(AIndex);
  15856. end;
  15857. Procedure TReachReportCompatibleFields.SetpivotedActivityMetrics(AIndex : Integer; const AValue : TReachReportCompatibleFieldsTypepivotedActivityMetricsArray);
  15858. begin
  15859. If (FpivotedActivityMetrics=AValue) then exit;
  15860. FpivotedActivityMetrics:=AValue;
  15861. MarkPropertyChanged(AIndex);
  15862. end;
  15863. Procedure TReachReportCompatibleFields.SetreachByFrequencyMetrics(AIndex : Integer; const AValue : TReachReportCompatibleFieldsTypereachByFrequencyMetricsArray);
  15864. begin
  15865. If (FreachByFrequencyMetrics=AValue) then exit;
  15866. FreachByFrequencyMetrics:=AValue;
  15867. MarkPropertyChanged(AIndex);
  15868. end;
  15869. //2.6.4. bug workaround
  15870. {$IFDEF VER2_6}
  15871. Procedure TReachReportCompatibleFields.SetArrayLength(Const AName : String; ALength : Longint);
  15872. begin
  15873. Case AName of
  15874. 'dimensionfilters' : SetLength(FdimensionFilters,ALength);
  15875. 'dimensions' : SetLength(Fdimensions,ALength);
  15876. 'metrics' : SetLength(Fmetrics,ALength);
  15877. 'pivotedactivitymetrics' : SetLength(FpivotedActivityMetrics,ALength);
  15878. 'reachbyfrequencymetrics' : SetLength(FreachByFrequencyMetrics,ALength);
  15879. else
  15880. Inherited SetArrayLength(AName,ALength);
  15881. end;
  15882. end;
  15883. {$ENDIF VER2_6}
  15884. { --------------------------------------------------------------------
  15885. TRecipient
  15886. --------------------------------------------------------------------}
  15887. Procedure TRecipient.SetdeliveryType(AIndex : Integer; const AValue : String);
  15888. begin
  15889. If (FdeliveryType=AValue) then exit;
  15890. FdeliveryType:=AValue;
  15891. MarkPropertyChanged(AIndex);
  15892. end;
  15893. Procedure TRecipient.Setemail(AIndex : Integer; const AValue : String);
  15894. begin
  15895. If (Femail=AValue) then exit;
  15896. Femail:=AValue;
  15897. MarkPropertyChanged(AIndex);
  15898. end;
  15899. Procedure TRecipient.Setkind(AIndex : Integer; const AValue : String);
  15900. begin
  15901. If (Fkind=AValue) then exit;
  15902. Fkind:=AValue;
  15903. MarkPropertyChanged(AIndex);
  15904. end;
  15905. { --------------------------------------------------------------------
  15906. TRegion
  15907. --------------------------------------------------------------------}
  15908. Procedure TRegion.SetcountryCode(AIndex : Integer; const AValue : String);
  15909. begin
  15910. If (FcountryCode=AValue) then exit;
  15911. FcountryCode:=AValue;
  15912. MarkPropertyChanged(AIndex);
  15913. end;
  15914. Procedure TRegion.SetcountryDartId(AIndex : Integer; const AValue : String);
  15915. begin
  15916. If (FcountryDartId=AValue) then exit;
  15917. FcountryDartId:=AValue;
  15918. MarkPropertyChanged(AIndex);
  15919. end;
  15920. Procedure TRegion.SetdartId(AIndex : Integer; const AValue : String);
  15921. begin
  15922. If (FdartId=AValue) then exit;
  15923. FdartId:=AValue;
  15924. MarkPropertyChanged(AIndex);
  15925. end;
  15926. Procedure TRegion.Setkind(AIndex : Integer; const AValue : String);
  15927. begin
  15928. If (Fkind=AValue) then exit;
  15929. Fkind:=AValue;
  15930. MarkPropertyChanged(AIndex);
  15931. end;
  15932. Procedure TRegion.Setname(AIndex : Integer; const AValue : String);
  15933. begin
  15934. If (Fname=AValue) then exit;
  15935. Fname:=AValue;
  15936. MarkPropertyChanged(AIndex);
  15937. end;
  15938. Procedure TRegion.SetregionCode(AIndex : Integer; const AValue : String);
  15939. begin
  15940. If (FregionCode=AValue) then exit;
  15941. FregionCode:=AValue;
  15942. MarkPropertyChanged(AIndex);
  15943. end;
  15944. { --------------------------------------------------------------------
  15945. TRegionsListResponse
  15946. --------------------------------------------------------------------}
  15947. Procedure TRegionsListResponse.Setkind(AIndex : Integer; const AValue : String);
  15948. begin
  15949. If (Fkind=AValue) then exit;
  15950. Fkind:=AValue;
  15951. MarkPropertyChanged(AIndex);
  15952. end;
  15953. Procedure TRegionsListResponse.Setregions(AIndex : Integer; const AValue : TRegionsListResponseTyperegionsArray);
  15954. begin
  15955. If (Fregions=AValue) then exit;
  15956. Fregions:=AValue;
  15957. MarkPropertyChanged(AIndex);
  15958. end;
  15959. //2.6.4. bug workaround
  15960. {$IFDEF VER2_6}
  15961. Procedure TRegionsListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  15962. begin
  15963. Case AName of
  15964. 'regions' : SetLength(Fregions,ALength);
  15965. else
  15966. Inherited SetArrayLength(AName,ALength);
  15967. end;
  15968. end;
  15969. {$ENDIF VER2_6}
  15970. { --------------------------------------------------------------------
  15971. TRemarketingList
  15972. --------------------------------------------------------------------}
  15973. Procedure TRemarketingList.SetaccountId(AIndex : Integer; const AValue : String);
  15974. begin
  15975. If (FaccountId=AValue) then exit;
  15976. FaccountId:=AValue;
  15977. MarkPropertyChanged(AIndex);
  15978. end;
  15979. Procedure TRemarketingList.Setactive(AIndex : Integer; const AValue : boolean);
  15980. begin
  15981. If (Factive=AValue) then exit;
  15982. Factive:=AValue;
  15983. MarkPropertyChanged(AIndex);
  15984. end;
  15985. Procedure TRemarketingList.SetadvertiserId(AIndex : Integer; const AValue : String);
  15986. begin
  15987. If (FadvertiserId=AValue) then exit;
  15988. FadvertiserId:=AValue;
  15989. MarkPropertyChanged(AIndex);
  15990. end;
  15991. Procedure TRemarketingList.SetadvertiserIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue);
  15992. begin
  15993. If (FadvertiserIdDimensionValue=AValue) then exit;
  15994. FadvertiserIdDimensionValue:=AValue;
  15995. MarkPropertyChanged(AIndex);
  15996. end;
  15997. Procedure TRemarketingList.Setdescription(AIndex : Integer; const AValue : String);
  15998. begin
  15999. If (Fdescription=AValue) then exit;
  16000. Fdescription:=AValue;
  16001. MarkPropertyChanged(AIndex);
  16002. end;
  16003. Procedure TRemarketingList.Setid(AIndex : Integer; const AValue : String);
  16004. begin
  16005. If (Fid=AValue) then exit;
  16006. Fid:=AValue;
  16007. MarkPropertyChanged(AIndex);
  16008. end;
  16009. Procedure TRemarketingList.Setkind(AIndex : Integer; const AValue : String);
  16010. begin
  16011. If (Fkind=AValue) then exit;
  16012. Fkind:=AValue;
  16013. MarkPropertyChanged(AIndex);
  16014. end;
  16015. Procedure TRemarketingList.SetlifeSpan(AIndex : Integer; const AValue : String);
  16016. begin
  16017. If (FlifeSpan=AValue) then exit;
  16018. FlifeSpan:=AValue;
  16019. MarkPropertyChanged(AIndex);
  16020. end;
  16021. Procedure TRemarketingList.SetlistPopulationRule(AIndex : Integer; const AValue : TListPopulationRule);
  16022. begin
  16023. If (FlistPopulationRule=AValue) then exit;
  16024. FlistPopulationRule:=AValue;
  16025. MarkPropertyChanged(AIndex);
  16026. end;
  16027. Procedure TRemarketingList.SetlistSize(AIndex : Integer; const AValue : String);
  16028. begin
  16029. If (FlistSize=AValue) then exit;
  16030. FlistSize:=AValue;
  16031. MarkPropertyChanged(AIndex);
  16032. end;
  16033. Procedure TRemarketingList.SetlistSource(AIndex : Integer; const AValue : String);
  16034. begin
  16035. If (FlistSource=AValue) then exit;
  16036. FlistSource:=AValue;
  16037. MarkPropertyChanged(AIndex);
  16038. end;
  16039. Procedure TRemarketingList.Setname(AIndex : Integer; const AValue : String);
  16040. begin
  16041. If (Fname=AValue) then exit;
  16042. Fname:=AValue;
  16043. MarkPropertyChanged(AIndex);
  16044. end;
  16045. Procedure TRemarketingList.SetsubaccountId(AIndex : Integer; const AValue : String);
  16046. begin
  16047. If (FsubaccountId=AValue) then exit;
  16048. FsubaccountId:=AValue;
  16049. MarkPropertyChanged(AIndex);
  16050. end;
  16051. { --------------------------------------------------------------------
  16052. TRemarketingListShare
  16053. --------------------------------------------------------------------}
  16054. Procedure TRemarketingListShare.Setkind(AIndex : Integer; const AValue : String);
  16055. begin
  16056. If (Fkind=AValue) then exit;
  16057. Fkind:=AValue;
  16058. MarkPropertyChanged(AIndex);
  16059. end;
  16060. Procedure TRemarketingListShare.SetremarketingListId(AIndex : Integer; const AValue : String);
  16061. begin
  16062. If (FremarketingListId=AValue) then exit;
  16063. FremarketingListId:=AValue;
  16064. MarkPropertyChanged(AIndex);
  16065. end;
  16066. Procedure TRemarketingListShare.SetsharedAccountIds(AIndex : Integer; const AValue : TStringArray);
  16067. begin
  16068. If (FsharedAccountIds=AValue) then exit;
  16069. FsharedAccountIds:=AValue;
  16070. MarkPropertyChanged(AIndex);
  16071. end;
  16072. Procedure TRemarketingListShare.SetsharedAdvertiserIds(AIndex : Integer; const AValue : TStringArray);
  16073. begin
  16074. If (FsharedAdvertiserIds=AValue) then exit;
  16075. FsharedAdvertiserIds:=AValue;
  16076. MarkPropertyChanged(AIndex);
  16077. end;
  16078. //2.6.4. bug workaround
  16079. {$IFDEF VER2_6}
  16080. Procedure TRemarketingListShare.SetArrayLength(Const AName : String; ALength : Longint);
  16081. begin
  16082. Case AName of
  16083. 'sharedaccountids' : SetLength(FsharedAccountIds,ALength);
  16084. 'sharedadvertiserids' : SetLength(FsharedAdvertiserIds,ALength);
  16085. else
  16086. Inherited SetArrayLength(AName,ALength);
  16087. end;
  16088. end;
  16089. {$ENDIF VER2_6}
  16090. { --------------------------------------------------------------------
  16091. TRemarketingListsListResponse
  16092. --------------------------------------------------------------------}
  16093. Procedure TRemarketingListsListResponse.Setkind(AIndex : Integer; const AValue : String);
  16094. begin
  16095. If (Fkind=AValue) then exit;
  16096. Fkind:=AValue;
  16097. MarkPropertyChanged(AIndex);
  16098. end;
  16099. Procedure TRemarketingListsListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  16100. begin
  16101. If (FnextPageToken=AValue) then exit;
  16102. FnextPageToken:=AValue;
  16103. MarkPropertyChanged(AIndex);
  16104. end;
  16105. Procedure TRemarketingListsListResponse.SetremarketingLists(AIndex : Integer; const AValue : TRemarketingListsListResponseTyperemarketingListsArray);
  16106. begin
  16107. If (FremarketingLists=AValue) then exit;
  16108. FremarketingLists:=AValue;
  16109. MarkPropertyChanged(AIndex);
  16110. end;
  16111. //2.6.4. bug workaround
  16112. {$IFDEF VER2_6}
  16113. Procedure TRemarketingListsListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  16114. begin
  16115. Case AName of
  16116. 'remarketinglists' : SetLength(FremarketingLists,ALength);
  16117. else
  16118. Inherited SetArrayLength(AName,ALength);
  16119. end;
  16120. end;
  16121. {$ENDIF VER2_6}
  16122. { --------------------------------------------------------------------
  16123. TReportTypecriteria
  16124. --------------------------------------------------------------------}
  16125. Procedure TReportTypecriteria.Setactivities(AIndex : Integer; const AValue : TActivities);
  16126. begin
  16127. If (Factivities=AValue) then exit;
  16128. Factivities:=AValue;
  16129. MarkPropertyChanged(AIndex);
  16130. end;
  16131. Procedure TReportTypecriteria.SetcustomRichMediaEvents(AIndex : Integer; const AValue : TCustomRichMediaEvents);
  16132. begin
  16133. If (FcustomRichMediaEvents=AValue) then exit;
  16134. FcustomRichMediaEvents:=AValue;
  16135. MarkPropertyChanged(AIndex);
  16136. end;
  16137. Procedure TReportTypecriteria.SetdateRange(AIndex : Integer; const AValue : TDateRange);
  16138. begin
  16139. If (FdateRange=AValue) then exit;
  16140. FdateRange:=AValue;
  16141. MarkPropertyChanged(AIndex);
  16142. end;
  16143. Procedure TReportTypecriteria.SetdimensionFilters(AIndex : Integer; const AValue : TReportTypecriteriaTypedimensionFiltersArray);
  16144. begin
  16145. If (FdimensionFilters=AValue) then exit;
  16146. FdimensionFilters:=AValue;
  16147. MarkPropertyChanged(AIndex);
  16148. end;
  16149. Procedure TReportTypecriteria.Setdimensions(AIndex : Integer; const AValue : TReportTypecriteriaTypedimensionsArray);
  16150. begin
  16151. If (Fdimensions=AValue) then exit;
  16152. Fdimensions:=AValue;
  16153. MarkPropertyChanged(AIndex);
  16154. end;
  16155. Procedure TReportTypecriteria.SetmetricNames(AIndex : Integer; const AValue : TStringArray);
  16156. begin
  16157. If (FmetricNames=AValue) then exit;
  16158. FmetricNames:=AValue;
  16159. MarkPropertyChanged(AIndex);
  16160. end;
  16161. //2.6.4. bug workaround
  16162. {$IFDEF VER2_6}
  16163. Procedure TReportTypecriteria.SetArrayLength(Const AName : String; ALength : Longint);
  16164. begin
  16165. Case AName of
  16166. 'dimensionfilters' : SetLength(FdimensionFilters,ALength);
  16167. 'dimensions' : SetLength(Fdimensions,ALength);
  16168. 'metricnames' : SetLength(FmetricNames,ALength);
  16169. else
  16170. Inherited SetArrayLength(AName,ALength);
  16171. end;
  16172. end;
  16173. {$ENDIF VER2_6}
  16174. { --------------------------------------------------------------------
  16175. TReportTypecrossDimensionReachCriteria
  16176. --------------------------------------------------------------------}
  16177. Procedure TReportTypecrossDimensionReachCriteria.Setbreakdown(AIndex : Integer; const AValue : TReportTypecrossDimensionReachCriteriaTypebreakdownArray);
  16178. begin
  16179. If (Fbreakdown=AValue) then exit;
  16180. Fbreakdown:=AValue;
  16181. MarkPropertyChanged(AIndex);
  16182. end;
  16183. Procedure TReportTypecrossDimensionReachCriteria.SetdateRange(AIndex : Integer; const AValue : TDateRange);
  16184. begin
  16185. If (FdateRange=AValue) then exit;
  16186. FdateRange:=AValue;
  16187. MarkPropertyChanged(AIndex);
  16188. end;
  16189. Procedure TReportTypecrossDimensionReachCriteria.Setdimension(AIndex : Integer; const AValue : String);
  16190. begin
  16191. If (Fdimension=AValue) then exit;
  16192. Fdimension:=AValue;
  16193. MarkPropertyChanged(AIndex);
  16194. end;
  16195. Procedure TReportTypecrossDimensionReachCriteria.SetdimensionFilters(AIndex : Integer; const AValue : TReportTypecrossDimensionReachCriteriaTypedimensionFiltersArray);
  16196. begin
  16197. If (FdimensionFilters=AValue) then exit;
  16198. FdimensionFilters:=AValue;
  16199. MarkPropertyChanged(AIndex);
  16200. end;
  16201. Procedure TReportTypecrossDimensionReachCriteria.SetmetricNames(AIndex : Integer; const AValue : TStringArray);
  16202. begin
  16203. If (FmetricNames=AValue) then exit;
  16204. FmetricNames:=AValue;
  16205. MarkPropertyChanged(AIndex);
  16206. end;
  16207. Procedure TReportTypecrossDimensionReachCriteria.SetoverlapMetricNames(AIndex : Integer; const AValue : TStringArray);
  16208. begin
  16209. If (FoverlapMetricNames=AValue) then exit;
  16210. FoverlapMetricNames:=AValue;
  16211. MarkPropertyChanged(AIndex);
  16212. end;
  16213. Procedure TReportTypecrossDimensionReachCriteria.Setpivoted(AIndex : Integer; const AValue : boolean);
  16214. begin
  16215. If (Fpivoted=AValue) then exit;
  16216. Fpivoted:=AValue;
  16217. MarkPropertyChanged(AIndex);
  16218. end;
  16219. //2.6.4. bug workaround
  16220. {$IFDEF VER2_6}
  16221. Procedure TReportTypecrossDimensionReachCriteria.SetArrayLength(Const AName : String; ALength : Longint);
  16222. begin
  16223. Case AName of
  16224. 'breakdown' : SetLength(Fbreakdown,ALength);
  16225. 'dimensionfilters' : SetLength(FdimensionFilters,ALength);
  16226. 'metricnames' : SetLength(FmetricNames,ALength);
  16227. 'overlapmetricnames' : SetLength(FoverlapMetricNames,ALength);
  16228. else
  16229. Inherited SetArrayLength(AName,ALength);
  16230. end;
  16231. end;
  16232. {$ENDIF VER2_6}
  16233. { --------------------------------------------------------------------
  16234. TReportTypedelivery
  16235. --------------------------------------------------------------------}
  16236. Procedure TReportTypedelivery.SetemailOwner(AIndex : Integer; const AValue : boolean);
  16237. begin
  16238. If (FemailOwner=AValue) then exit;
  16239. FemailOwner:=AValue;
  16240. MarkPropertyChanged(AIndex);
  16241. end;
  16242. Procedure TReportTypedelivery.SetemailOwnerDeliveryType(AIndex : Integer; const AValue : String);
  16243. begin
  16244. If (FemailOwnerDeliveryType=AValue) then exit;
  16245. FemailOwnerDeliveryType:=AValue;
  16246. MarkPropertyChanged(AIndex);
  16247. end;
  16248. Procedure TReportTypedelivery.Setmessage(AIndex : Integer; const AValue : String);
  16249. begin
  16250. If (Fmessage=AValue) then exit;
  16251. Fmessage:=AValue;
  16252. MarkPropertyChanged(AIndex);
  16253. end;
  16254. Procedure TReportTypedelivery.Setrecipients(AIndex : Integer; const AValue : TReportTypedeliveryTyperecipientsArray);
  16255. begin
  16256. If (Frecipients=AValue) then exit;
  16257. Frecipients:=AValue;
  16258. MarkPropertyChanged(AIndex);
  16259. end;
  16260. //2.6.4. bug workaround
  16261. {$IFDEF VER2_6}
  16262. Procedure TReportTypedelivery.SetArrayLength(Const AName : String; ALength : Longint);
  16263. begin
  16264. Case AName of
  16265. 'recipients' : SetLength(Frecipients,ALength);
  16266. else
  16267. Inherited SetArrayLength(AName,ALength);
  16268. end;
  16269. end;
  16270. {$ENDIF VER2_6}
  16271. { --------------------------------------------------------------------
  16272. TReportTypefloodlightCriteriaTypereportProperties
  16273. --------------------------------------------------------------------}
  16274. Procedure TReportTypefloodlightCriteriaTypereportProperties.SetincludeAttributedIPConversions(AIndex : Integer; const AValue : boolean);
  16275. begin
  16276. If (FincludeAttributedIPConversions=AValue) then exit;
  16277. FincludeAttributedIPConversions:=AValue;
  16278. MarkPropertyChanged(AIndex);
  16279. end;
  16280. Procedure TReportTypefloodlightCriteriaTypereportProperties.SetincludeUnattributedCookieConversions(AIndex : Integer; const AValue : boolean);
  16281. begin
  16282. If (FincludeUnattributedCookieConversions=AValue) then exit;
  16283. FincludeUnattributedCookieConversions:=AValue;
  16284. MarkPropertyChanged(AIndex);
  16285. end;
  16286. Procedure TReportTypefloodlightCriteriaTypereportProperties.SetincludeUnattributedIPConversions(AIndex : Integer; const AValue : boolean);
  16287. begin
  16288. If (FincludeUnattributedIPConversions=AValue) then exit;
  16289. FincludeUnattributedIPConversions:=AValue;
  16290. MarkPropertyChanged(AIndex);
  16291. end;
  16292. { --------------------------------------------------------------------
  16293. TReportTypefloodlightCriteria
  16294. --------------------------------------------------------------------}
  16295. Procedure TReportTypefloodlightCriteria.SetcustomRichMediaEvents(AIndex : Integer; const AValue : TReportTypefloodlightCriteriaTypecustomRichMediaEventsArray);
  16296. begin
  16297. If (FcustomRichMediaEvents=AValue) then exit;
  16298. FcustomRichMediaEvents:=AValue;
  16299. MarkPropertyChanged(AIndex);
  16300. end;
  16301. Procedure TReportTypefloodlightCriteria.SetdateRange(AIndex : Integer; const AValue : TDateRange);
  16302. begin
  16303. If (FdateRange=AValue) then exit;
  16304. FdateRange:=AValue;
  16305. MarkPropertyChanged(AIndex);
  16306. end;
  16307. Procedure TReportTypefloodlightCriteria.SetdimensionFilters(AIndex : Integer; const AValue : TReportTypefloodlightCriteriaTypedimensionFiltersArray);
  16308. begin
  16309. If (FdimensionFilters=AValue) then exit;
  16310. FdimensionFilters:=AValue;
  16311. MarkPropertyChanged(AIndex);
  16312. end;
  16313. Procedure TReportTypefloodlightCriteria.Setdimensions(AIndex : Integer; const AValue : TReportTypefloodlightCriteriaTypedimensionsArray);
  16314. begin
  16315. If (Fdimensions=AValue) then exit;
  16316. Fdimensions:=AValue;
  16317. MarkPropertyChanged(AIndex);
  16318. end;
  16319. Procedure TReportTypefloodlightCriteria.SetfloodlightConfigId(AIndex : Integer; const AValue : TDimensionValue);
  16320. begin
  16321. If (FfloodlightConfigId=AValue) then exit;
  16322. FfloodlightConfigId:=AValue;
  16323. MarkPropertyChanged(AIndex);
  16324. end;
  16325. Procedure TReportTypefloodlightCriteria.SetmetricNames(AIndex : Integer; const AValue : TStringArray);
  16326. begin
  16327. If (FmetricNames=AValue) then exit;
  16328. FmetricNames:=AValue;
  16329. MarkPropertyChanged(AIndex);
  16330. end;
  16331. Procedure TReportTypefloodlightCriteria.SetreportProperties(AIndex : Integer; const AValue : TReportTypefloodlightCriteriaTypereportProperties);
  16332. begin
  16333. If (FreportProperties=AValue) then exit;
  16334. FreportProperties:=AValue;
  16335. MarkPropertyChanged(AIndex);
  16336. end;
  16337. //2.6.4. bug workaround
  16338. {$IFDEF VER2_6}
  16339. Procedure TReportTypefloodlightCriteria.SetArrayLength(Const AName : String; ALength : Longint);
  16340. begin
  16341. Case AName of
  16342. 'customrichmediaevents' : SetLength(FcustomRichMediaEvents,ALength);
  16343. 'dimensionfilters' : SetLength(FdimensionFilters,ALength);
  16344. 'dimensions' : SetLength(Fdimensions,ALength);
  16345. 'metricnames' : SetLength(FmetricNames,ALength);
  16346. else
  16347. Inherited SetArrayLength(AName,ALength);
  16348. end;
  16349. end;
  16350. {$ENDIF VER2_6}
  16351. { --------------------------------------------------------------------
  16352. TReportTypepathToConversionCriteriaTypereportProperties
  16353. --------------------------------------------------------------------}
  16354. Procedure TReportTypepathToConversionCriteriaTypereportProperties.SetclicksLookbackWindow(AIndex : Integer; const AValue : integer);
  16355. begin
  16356. If (FclicksLookbackWindow=AValue) then exit;
  16357. FclicksLookbackWindow:=AValue;
  16358. MarkPropertyChanged(AIndex);
  16359. end;
  16360. Procedure TReportTypepathToConversionCriteriaTypereportProperties.SetimpressionsLookbackWindow(AIndex : Integer; const AValue : integer);
  16361. begin
  16362. If (FimpressionsLookbackWindow=AValue) then exit;
  16363. FimpressionsLookbackWindow:=AValue;
  16364. MarkPropertyChanged(AIndex);
  16365. end;
  16366. Procedure TReportTypepathToConversionCriteriaTypereportProperties.SetincludeAttributedIPConversions(AIndex : Integer; const AValue : boolean);
  16367. begin
  16368. If (FincludeAttributedIPConversions=AValue) then exit;
  16369. FincludeAttributedIPConversions:=AValue;
  16370. MarkPropertyChanged(AIndex);
  16371. end;
  16372. Procedure TReportTypepathToConversionCriteriaTypereportProperties.SetincludeUnattributedCookieConversions(AIndex : Integer; const AValue : boolean);
  16373. begin
  16374. If (FincludeUnattributedCookieConversions=AValue) then exit;
  16375. FincludeUnattributedCookieConversions:=AValue;
  16376. MarkPropertyChanged(AIndex);
  16377. end;
  16378. Procedure TReportTypepathToConversionCriteriaTypereportProperties.SetincludeUnattributedIPConversions(AIndex : Integer; const AValue : boolean);
  16379. begin
  16380. If (FincludeUnattributedIPConversions=AValue) then exit;
  16381. FincludeUnattributedIPConversions:=AValue;
  16382. MarkPropertyChanged(AIndex);
  16383. end;
  16384. Procedure TReportTypepathToConversionCriteriaTypereportProperties.SetmaximumClickInteractions(AIndex : Integer; const AValue : integer);
  16385. begin
  16386. If (FmaximumClickInteractions=AValue) then exit;
  16387. FmaximumClickInteractions:=AValue;
  16388. MarkPropertyChanged(AIndex);
  16389. end;
  16390. Procedure TReportTypepathToConversionCriteriaTypereportProperties.SetmaximumImpressionInteractions(AIndex : Integer; const AValue : integer);
  16391. begin
  16392. If (FmaximumImpressionInteractions=AValue) then exit;
  16393. FmaximumImpressionInteractions:=AValue;
  16394. MarkPropertyChanged(AIndex);
  16395. end;
  16396. Procedure TReportTypepathToConversionCriteriaTypereportProperties.SetmaximumInteractionGap(AIndex : Integer; const AValue : integer);
  16397. begin
  16398. If (FmaximumInteractionGap=AValue) then exit;
  16399. FmaximumInteractionGap:=AValue;
  16400. MarkPropertyChanged(AIndex);
  16401. end;
  16402. Procedure TReportTypepathToConversionCriteriaTypereportProperties.SetpivotOnInteractionPath(AIndex : Integer; const AValue : boolean);
  16403. begin
  16404. If (FpivotOnInteractionPath=AValue) then exit;
  16405. FpivotOnInteractionPath:=AValue;
  16406. MarkPropertyChanged(AIndex);
  16407. end;
  16408. { --------------------------------------------------------------------
  16409. TReportTypepathToConversionCriteria
  16410. --------------------------------------------------------------------}
  16411. Procedure TReportTypepathToConversionCriteria.SetactivityFilters(AIndex : Integer; const AValue : TReportTypepathToConversionCriteriaTypeactivityFiltersArray);
  16412. begin
  16413. If (FactivityFilters=AValue) then exit;
  16414. FactivityFilters:=AValue;
  16415. MarkPropertyChanged(AIndex);
  16416. end;
  16417. Procedure TReportTypepathToConversionCriteria.SetconversionDimensions(AIndex : Integer; const AValue : TReportTypepathToConversionCriteriaTypeconversionDimensionsArray);
  16418. begin
  16419. If (FconversionDimensions=AValue) then exit;
  16420. FconversionDimensions:=AValue;
  16421. MarkPropertyChanged(AIndex);
  16422. end;
  16423. Procedure TReportTypepathToConversionCriteria.SetcustomFloodlightVariables(AIndex : Integer; const AValue : TReportTypepathToConversionCriteriaTypecustomFloodlightVariablesArray);
  16424. begin
  16425. If (FcustomFloodlightVariables=AValue) then exit;
  16426. FcustomFloodlightVariables:=AValue;
  16427. MarkPropertyChanged(AIndex);
  16428. end;
  16429. Procedure TReportTypepathToConversionCriteria.SetcustomRichMediaEvents(AIndex : Integer; const AValue : TReportTypepathToConversionCriteriaTypecustomRichMediaEventsArray);
  16430. begin
  16431. If (FcustomRichMediaEvents=AValue) then exit;
  16432. FcustomRichMediaEvents:=AValue;
  16433. MarkPropertyChanged(AIndex);
  16434. end;
  16435. Procedure TReportTypepathToConversionCriteria.SetdateRange(AIndex : Integer; const AValue : TDateRange);
  16436. begin
  16437. If (FdateRange=AValue) then exit;
  16438. FdateRange:=AValue;
  16439. MarkPropertyChanged(AIndex);
  16440. end;
  16441. Procedure TReportTypepathToConversionCriteria.SetfloodlightConfigId(AIndex : Integer; const AValue : TDimensionValue);
  16442. begin
  16443. If (FfloodlightConfigId=AValue) then exit;
  16444. FfloodlightConfigId:=AValue;
  16445. MarkPropertyChanged(AIndex);
  16446. end;
  16447. Procedure TReportTypepathToConversionCriteria.SetmetricNames(AIndex : Integer; const AValue : TStringArray);
  16448. begin
  16449. If (FmetricNames=AValue) then exit;
  16450. FmetricNames:=AValue;
  16451. MarkPropertyChanged(AIndex);
  16452. end;
  16453. Procedure TReportTypepathToConversionCriteria.SetperInteractionDimensions(AIndex : Integer; const AValue : TReportTypepathToConversionCriteriaTypeperInteractionDimensionsArray);
  16454. begin
  16455. If (FperInteractionDimensions=AValue) then exit;
  16456. FperInteractionDimensions:=AValue;
  16457. MarkPropertyChanged(AIndex);
  16458. end;
  16459. Procedure TReportTypepathToConversionCriteria.SetreportProperties(AIndex : Integer; const AValue : TReportTypepathToConversionCriteriaTypereportProperties);
  16460. begin
  16461. If (FreportProperties=AValue) then exit;
  16462. FreportProperties:=AValue;
  16463. MarkPropertyChanged(AIndex);
  16464. end;
  16465. //2.6.4. bug workaround
  16466. {$IFDEF VER2_6}
  16467. Procedure TReportTypepathToConversionCriteria.SetArrayLength(Const AName : String; ALength : Longint);
  16468. begin
  16469. Case AName of
  16470. 'activityfilters' : SetLength(FactivityFilters,ALength);
  16471. 'conversiondimensions' : SetLength(FconversionDimensions,ALength);
  16472. 'customfloodlightvariables' : SetLength(FcustomFloodlightVariables,ALength);
  16473. 'customrichmediaevents' : SetLength(FcustomRichMediaEvents,ALength);
  16474. 'metricnames' : SetLength(FmetricNames,ALength);
  16475. 'perinteractiondimensions' : SetLength(FperInteractionDimensions,ALength);
  16476. else
  16477. Inherited SetArrayLength(AName,ALength);
  16478. end;
  16479. end;
  16480. {$ENDIF VER2_6}
  16481. { --------------------------------------------------------------------
  16482. TReportTypereachCriteria
  16483. --------------------------------------------------------------------}
  16484. Procedure TReportTypereachCriteria.Setactivities(AIndex : Integer; const AValue : TActivities);
  16485. begin
  16486. If (Factivities=AValue) then exit;
  16487. Factivities:=AValue;
  16488. MarkPropertyChanged(AIndex);
  16489. end;
  16490. Procedure TReportTypereachCriteria.SetcustomRichMediaEvents(AIndex : Integer; const AValue : TCustomRichMediaEvents);
  16491. begin
  16492. If (FcustomRichMediaEvents=AValue) then exit;
  16493. FcustomRichMediaEvents:=AValue;
  16494. MarkPropertyChanged(AIndex);
  16495. end;
  16496. Procedure TReportTypereachCriteria.SetdateRange(AIndex : Integer; const AValue : TDateRange);
  16497. begin
  16498. If (FdateRange=AValue) then exit;
  16499. FdateRange:=AValue;
  16500. MarkPropertyChanged(AIndex);
  16501. end;
  16502. Procedure TReportTypereachCriteria.SetdimensionFilters(AIndex : Integer; const AValue : TReportTypereachCriteriaTypedimensionFiltersArray);
  16503. begin
  16504. If (FdimensionFilters=AValue) then exit;
  16505. FdimensionFilters:=AValue;
  16506. MarkPropertyChanged(AIndex);
  16507. end;
  16508. Procedure TReportTypereachCriteria.Setdimensions(AIndex : Integer; const AValue : TReportTypereachCriteriaTypedimensionsArray);
  16509. begin
  16510. If (Fdimensions=AValue) then exit;
  16511. Fdimensions:=AValue;
  16512. MarkPropertyChanged(AIndex);
  16513. end;
  16514. Procedure TReportTypereachCriteria.SetenableAllDimensionCombinations(AIndex : Integer; const AValue : boolean);
  16515. begin
  16516. If (FenableAllDimensionCombinations=AValue) then exit;
  16517. FenableAllDimensionCombinations:=AValue;
  16518. MarkPropertyChanged(AIndex);
  16519. end;
  16520. Procedure TReportTypereachCriteria.SetmetricNames(AIndex : Integer; const AValue : TStringArray);
  16521. begin
  16522. If (FmetricNames=AValue) then exit;
  16523. FmetricNames:=AValue;
  16524. MarkPropertyChanged(AIndex);
  16525. end;
  16526. Procedure TReportTypereachCriteria.SetreachByFrequencyMetricNames(AIndex : Integer; const AValue : TStringArray);
  16527. begin
  16528. If (FreachByFrequencyMetricNames=AValue) then exit;
  16529. FreachByFrequencyMetricNames:=AValue;
  16530. MarkPropertyChanged(AIndex);
  16531. end;
  16532. //2.6.4. bug workaround
  16533. {$IFDEF VER2_6}
  16534. Procedure TReportTypereachCriteria.SetArrayLength(Const AName : String; ALength : Longint);
  16535. begin
  16536. Case AName of
  16537. 'dimensionfilters' : SetLength(FdimensionFilters,ALength);
  16538. 'dimensions' : SetLength(Fdimensions,ALength);
  16539. 'metricnames' : SetLength(FmetricNames,ALength);
  16540. 'reachbyfrequencymetricnames' : SetLength(FreachByFrequencyMetricNames,ALength);
  16541. else
  16542. Inherited SetArrayLength(AName,ALength);
  16543. end;
  16544. end;
  16545. {$ENDIF VER2_6}
  16546. { --------------------------------------------------------------------
  16547. TReportTypeschedule
  16548. --------------------------------------------------------------------}
  16549. Procedure TReportTypeschedule.Setactive(AIndex : Integer; const AValue : boolean);
  16550. begin
  16551. If (Factive=AValue) then exit;
  16552. Factive:=AValue;
  16553. MarkPropertyChanged(AIndex);
  16554. end;
  16555. Procedure TReportTypeschedule.Setevery(AIndex : Integer; const AValue : integer);
  16556. begin
  16557. If (Fevery=AValue) then exit;
  16558. Fevery:=AValue;
  16559. MarkPropertyChanged(AIndex);
  16560. end;
  16561. Procedure TReportTypeschedule.SetexpirationDate(AIndex : Integer; const AValue : TDate);
  16562. begin
  16563. If (FexpirationDate=AValue) then exit;
  16564. FexpirationDate:=AValue;
  16565. MarkPropertyChanged(AIndex);
  16566. end;
  16567. Procedure TReportTypeschedule.Setrepeats(AIndex : Integer; const AValue : String);
  16568. begin
  16569. If (Frepeats=AValue) then exit;
  16570. Frepeats:=AValue;
  16571. MarkPropertyChanged(AIndex);
  16572. end;
  16573. Procedure TReportTypeschedule.SetrepeatsOnWeekDays(AIndex : Integer; const AValue : TStringArray);
  16574. begin
  16575. If (FrepeatsOnWeekDays=AValue) then exit;
  16576. FrepeatsOnWeekDays:=AValue;
  16577. MarkPropertyChanged(AIndex);
  16578. end;
  16579. Procedure TReportTypeschedule.SetrunsOnDayOfMonth(AIndex : Integer; const AValue : String);
  16580. begin
  16581. If (FrunsOnDayOfMonth=AValue) then exit;
  16582. FrunsOnDayOfMonth:=AValue;
  16583. MarkPropertyChanged(AIndex);
  16584. end;
  16585. Procedure TReportTypeschedule.SetstartDate(AIndex : Integer; const AValue : TDate);
  16586. begin
  16587. If (FstartDate=AValue) then exit;
  16588. FstartDate:=AValue;
  16589. MarkPropertyChanged(AIndex);
  16590. end;
  16591. //2.6.4. bug workaround
  16592. {$IFDEF VER2_6}
  16593. Procedure TReportTypeschedule.SetArrayLength(Const AName : String; ALength : Longint);
  16594. begin
  16595. Case AName of
  16596. 'repeatsonweekdays' : SetLength(FrepeatsOnWeekDays,ALength);
  16597. else
  16598. Inherited SetArrayLength(AName,ALength);
  16599. end;
  16600. end;
  16601. {$ENDIF VER2_6}
  16602. { --------------------------------------------------------------------
  16603. TReport
  16604. --------------------------------------------------------------------}
  16605. Procedure TReport.SetaccountId(AIndex : Integer; const AValue : String);
  16606. begin
  16607. If (FaccountId=AValue) then exit;
  16608. FaccountId:=AValue;
  16609. MarkPropertyChanged(AIndex);
  16610. end;
  16611. Procedure TReport.Setcriteria(AIndex : Integer; const AValue : TReportTypecriteria);
  16612. begin
  16613. If (Fcriteria=AValue) then exit;
  16614. Fcriteria:=AValue;
  16615. MarkPropertyChanged(AIndex);
  16616. end;
  16617. Procedure TReport.SetcrossDimensionReachCriteria(AIndex : Integer; const AValue : TReportTypecrossDimensionReachCriteria);
  16618. begin
  16619. If (FcrossDimensionReachCriteria=AValue) then exit;
  16620. FcrossDimensionReachCriteria:=AValue;
  16621. MarkPropertyChanged(AIndex);
  16622. end;
  16623. Procedure TReport.Setdelivery(AIndex : Integer; const AValue : TReportTypedelivery);
  16624. begin
  16625. If (Fdelivery=AValue) then exit;
  16626. Fdelivery:=AValue;
  16627. MarkPropertyChanged(AIndex);
  16628. end;
  16629. Procedure TReport.Setetag(AIndex : Integer; const AValue : String);
  16630. begin
  16631. If (Fetag=AValue) then exit;
  16632. Fetag:=AValue;
  16633. MarkPropertyChanged(AIndex);
  16634. end;
  16635. Procedure TReport.SetfileName(AIndex : Integer; const AValue : String);
  16636. begin
  16637. If (FfileName=AValue) then exit;
  16638. FfileName:=AValue;
  16639. MarkPropertyChanged(AIndex);
  16640. end;
  16641. Procedure TReport.SetfloodlightCriteria(AIndex : Integer; const AValue : TReportTypefloodlightCriteria);
  16642. begin
  16643. If (FfloodlightCriteria=AValue) then exit;
  16644. FfloodlightCriteria:=AValue;
  16645. MarkPropertyChanged(AIndex);
  16646. end;
  16647. Procedure TReport.Setformat(AIndex : Integer; const AValue : String);
  16648. begin
  16649. If (Fformat=AValue) then exit;
  16650. Fformat:=AValue;
  16651. MarkPropertyChanged(AIndex);
  16652. end;
  16653. Procedure TReport.Setid(AIndex : Integer; const AValue : String);
  16654. begin
  16655. If (Fid=AValue) then exit;
  16656. Fid:=AValue;
  16657. MarkPropertyChanged(AIndex);
  16658. end;
  16659. Procedure TReport.Setkind(AIndex : Integer; const AValue : String);
  16660. begin
  16661. If (Fkind=AValue) then exit;
  16662. Fkind:=AValue;
  16663. MarkPropertyChanged(AIndex);
  16664. end;
  16665. Procedure TReport.SetlastModifiedTime(AIndex : Integer; const AValue : String);
  16666. begin
  16667. If (FlastModifiedTime=AValue) then exit;
  16668. FlastModifiedTime:=AValue;
  16669. MarkPropertyChanged(AIndex);
  16670. end;
  16671. Procedure TReport.Setname(AIndex : Integer; const AValue : String);
  16672. begin
  16673. If (Fname=AValue) then exit;
  16674. Fname:=AValue;
  16675. MarkPropertyChanged(AIndex);
  16676. end;
  16677. Procedure TReport.SetownerProfileId(AIndex : Integer; const AValue : String);
  16678. begin
  16679. If (FownerProfileId=AValue) then exit;
  16680. FownerProfileId:=AValue;
  16681. MarkPropertyChanged(AIndex);
  16682. end;
  16683. Procedure TReport.SetpathToConversionCriteria(AIndex : Integer; const AValue : TReportTypepathToConversionCriteria);
  16684. begin
  16685. If (FpathToConversionCriteria=AValue) then exit;
  16686. FpathToConversionCriteria:=AValue;
  16687. MarkPropertyChanged(AIndex);
  16688. end;
  16689. Procedure TReport.SetreachCriteria(AIndex : Integer; const AValue : TReportTypereachCriteria);
  16690. begin
  16691. If (FreachCriteria=AValue) then exit;
  16692. FreachCriteria:=AValue;
  16693. MarkPropertyChanged(AIndex);
  16694. end;
  16695. Procedure TReport.Setschedule(AIndex : Integer; const AValue : TReportTypeschedule);
  16696. begin
  16697. If (Fschedule=AValue) then exit;
  16698. Fschedule:=AValue;
  16699. MarkPropertyChanged(AIndex);
  16700. end;
  16701. Procedure TReport.SetsubAccountId(AIndex : Integer; const AValue : String);
  16702. begin
  16703. If (FsubAccountId=AValue) then exit;
  16704. FsubAccountId:=AValue;
  16705. MarkPropertyChanged(AIndex);
  16706. end;
  16707. Procedure TReport.Set_type(AIndex : Integer; const AValue : String);
  16708. begin
  16709. If (F_type=AValue) then exit;
  16710. F_type:=AValue;
  16711. MarkPropertyChanged(AIndex);
  16712. end;
  16713. Class Function TReport.ExportPropertyName(Const AName : String) :String;
  16714. begin
  16715. Case AName of
  16716. '_type' : Result:='type';
  16717. else
  16718. Result:=Inherited ExportPropertyName(AName);
  16719. end;
  16720. end;
  16721. { --------------------------------------------------------------------
  16722. TReportCompatibleFields
  16723. --------------------------------------------------------------------}
  16724. Procedure TReportCompatibleFields.SetdimensionFilters(AIndex : Integer; const AValue : TReportCompatibleFieldsTypedimensionFiltersArray);
  16725. begin
  16726. If (FdimensionFilters=AValue) then exit;
  16727. FdimensionFilters:=AValue;
  16728. MarkPropertyChanged(AIndex);
  16729. end;
  16730. Procedure TReportCompatibleFields.Setdimensions(AIndex : Integer; const AValue : TReportCompatibleFieldsTypedimensionsArray);
  16731. begin
  16732. If (Fdimensions=AValue) then exit;
  16733. Fdimensions:=AValue;
  16734. MarkPropertyChanged(AIndex);
  16735. end;
  16736. Procedure TReportCompatibleFields.Setkind(AIndex : Integer; const AValue : String);
  16737. begin
  16738. If (Fkind=AValue) then exit;
  16739. Fkind:=AValue;
  16740. MarkPropertyChanged(AIndex);
  16741. end;
  16742. Procedure TReportCompatibleFields.Setmetrics(AIndex : Integer; const AValue : TReportCompatibleFieldsTypemetricsArray);
  16743. begin
  16744. If (Fmetrics=AValue) then exit;
  16745. Fmetrics:=AValue;
  16746. MarkPropertyChanged(AIndex);
  16747. end;
  16748. Procedure TReportCompatibleFields.SetpivotedActivityMetrics(AIndex : Integer; const AValue : TReportCompatibleFieldsTypepivotedActivityMetricsArray);
  16749. begin
  16750. If (FpivotedActivityMetrics=AValue) then exit;
  16751. FpivotedActivityMetrics:=AValue;
  16752. MarkPropertyChanged(AIndex);
  16753. end;
  16754. //2.6.4. bug workaround
  16755. {$IFDEF VER2_6}
  16756. Procedure TReportCompatibleFields.SetArrayLength(Const AName : String; ALength : Longint);
  16757. begin
  16758. Case AName of
  16759. 'dimensionfilters' : SetLength(FdimensionFilters,ALength);
  16760. 'dimensions' : SetLength(Fdimensions,ALength);
  16761. 'metrics' : SetLength(Fmetrics,ALength);
  16762. 'pivotedactivitymetrics' : SetLength(FpivotedActivityMetrics,ALength);
  16763. else
  16764. Inherited SetArrayLength(AName,ALength);
  16765. end;
  16766. end;
  16767. {$ENDIF VER2_6}
  16768. { --------------------------------------------------------------------
  16769. TReportList
  16770. --------------------------------------------------------------------}
  16771. Procedure TReportList.Setetag(AIndex : Integer; const AValue : String);
  16772. begin
  16773. If (Fetag=AValue) then exit;
  16774. Fetag:=AValue;
  16775. MarkPropertyChanged(AIndex);
  16776. end;
  16777. Procedure TReportList.Setitems(AIndex : Integer; const AValue : TReportListTypeitemsArray);
  16778. begin
  16779. If (Fitems=AValue) then exit;
  16780. Fitems:=AValue;
  16781. MarkPropertyChanged(AIndex);
  16782. end;
  16783. Procedure TReportList.Setkind(AIndex : Integer; const AValue : String);
  16784. begin
  16785. If (Fkind=AValue) then exit;
  16786. Fkind:=AValue;
  16787. MarkPropertyChanged(AIndex);
  16788. end;
  16789. Procedure TReportList.SetnextPageToken(AIndex : Integer; const AValue : String);
  16790. begin
  16791. If (FnextPageToken=AValue) then exit;
  16792. FnextPageToken:=AValue;
  16793. MarkPropertyChanged(AIndex);
  16794. end;
  16795. //2.6.4. bug workaround
  16796. {$IFDEF VER2_6}
  16797. Procedure TReportList.SetArrayLength(Const AName : String; ALength : Longint);
  16798. begin
  16799. Case AName of
  16800. 'items' : SetLength(Fitems,ALength);
  16801. else
  16802. Inherited SetArrayLength(AName,ALength);
  16803. end;
  16804. end;
  16805. {$ENDIF VER2_6}
  16806. { --------------------------------------------------------------------
  16807. TReportsConfiguration
  16808. --------------------------------------------------------------------}
  16809. Procedure TReportsConfiguration.SetexposureToConversionEnabled(AIndex : Integer; const AValue : boolean);
  16810. begin
  16811. If (FexposureToConversionEnabled=AValue) then exit;
  16812. FexposureToConversionEnabled:=AValue;
  16813. MarkPropertyChanged(AIndex);
  16814. end;
  16815. Procedure TReportsConfiguration.SetlookbackConfiguration(AIndex : Integer; const AValue : TLookbackConfiguration);
  16816. begin
  16817. If (FlookbackConfiguration=AValue) then exit;
  16818. FlookbackConfiguration:=AValue;
  16819. MarkPropertyChanged(AIndex);
  16820. end;
  16821. Procedure TReportsConfiguration.SetreportGenerationTimeZoneId(AIndex : Integer; const AValue : String);
  16822. begin
  16823. If (FreportGenerationTimeZoneId=AValue) then exit;
  16824. FreportGenerationTimeZoneId:=AValue;
  16825. MarkPropertyChanged(AIndex);
  16826. end;
  16827. { --------------------------------------------------------------------
  16828. TRichMediaExitOverride
  16829. --------------------------------------------------------------------}
  16830. Procedure TRichMediaExitOverride.SetcustomExitUrl(AIndex : Integer; const AValue : String);
  16831. begin
  16832. If (FcustomExitUrl=AValue) then exit;
  16833. FcustomExitUrl:=AValue;
  16834. MarkPropertyChanged(AIndex);
  16835. end;
  16836. Procedure TRichMediaExitOverride.SetexitId(AIndex : Integer; const AValue : String);
  16837. begin
  16838. If (FexitId=AValue) then exit;
  16839. FexitId:=AValue;
  16840. MarkPropertyChanged(AIndex);
  16841. end;
  16842. Procedure TRichMediaExitOverride.SetuseCustomExitUrl(AIndex : Integer; const AValue : boolean);
  16843. begin
  16844. If (FuseCustomExitUrl=AValue) then exit;
  16845. FuseCustomExitUrl:=AValue;
  16846. MarkPropertyChanged(AIndex);
  16847. end;
  16848. { --------------------------------------------------------------------
  16849. TSite
  16850. --------------------------------------------------------------------}
  16851. Procedure TSite.SetaccountId(AIndex : Integer; const AValue : String);
  16852. begin
  16853. If (FaccountId=AValue) then exit;
  16854. FaccountId:=AValue;
  16855. MarkPropertyChanged(AIndex);
  16856. end;
  16857. Procedure TSite.Setapproved(AIndex : Integer; const AValue : boolean);
  16858. begin
  16859. If (Fapproved=AValue) then exit;
  16860. Fapproved:=AValue;
  16861. MarkPropertyChanged(AIndex);
  16862. end;
  16863. Procedure TSite.SetdirectorySiteId(AIndex : Integer; const AValue : String);
  16864. begin
  16865. If (FdirectorySiteId=AValue) then exit;
  16866. FdirectorySiteId:=AValue;
  16867. MarkPropertyChanged(AIndex);
  16868. end;
  16869. Procedure TSite.SetdirectorySiteIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue);
  16870. begin
  16871. If (FdirectorySiteIdDimensionValue=AValue) then exit;
  16872. FdirectorySiteIdDimensionValue:=AValue;
  16873. MarkPropertyChanged(AIndex);
  16874. end;
  16875. Procedure TSite.Setid(AIndex : Integer; const AValue : String);
  16876. begin
  16877. If (Fid=AValue) then exit;
  16878. Fid:=AValue;
  16879. MarkPropertyChanged(AIndex);
  16880. end;
  16881. Procedure TSite.SetidDimensionValue(AIndex : Integer; const AValue : TDimensionValue);
  16882. begin
  16883. If (FidDimensionValue=AValue) then exit;
  16884. FidDimensionValue:=AValue;
  16885. MarkPropertyChanged(AIndex);
  16886. end;
  16887. Procedure TSite.SetkeyName(AIndex : Integer; const AValue : String);
  16888. begin
  16889. If (FkeyName=AValue) then exit;
  16890. FkeyName:=AValue;
  16891. MarkPropertyChanged(AIndex);
  16892. end;
  16893. Procedure TSite.Setkind(AIndex : Integer; const AValue : String);
  16894. begin
  16895. If (Fkind=AValue) then exit;
  16896. Fkind:=AValue;
  16897. MarkPropertyChanged(AIndex);
  16898. end;
  16899. Procedure TSite.Setname(AIndex : Integer; const AValue : String);
  16900. begin
  16901. If (Fname=AValue) then exit;
  16902. Fname:=AValue;
  16903. MarkPropertyChanged(AIndex);
  16904. end;
  16905. Procedure TSite.SetsiteContacts(AIndex : Integer; const AValue : TSiteTypesiteContactsArray);
  16906. begin
  16907. If (FsiteContacts=AValue) then exit;
  16908. FsiteContacts:=AValue;
  16909. MarkPropertyChanged(AIndex);
  16910. end;
  16911. Procedure TSite.SetsiteSettings(AIndex : Integer; const AValue : TSiteSettings);
  16912. begin
  16913. If (FsiteSettings=AValue) then exit;
  16914. FsiteSettings:=AValue;
  16915. MarkPropertyChanged(AIndex);
  16916. end;
  16917. Procedure TSite.SetsubaccountId(AIndex : Integer; const AValue : String);
  16918. begin
  16919. If (FsubaccountId=AValue) then exit;
  16920. FsubaccountId:=AValue;
  16921. MarkPropertyChanged(AIndex);
  16922. end;
  16923. //2.6.4. bug workaround
  16924. {$IFDEF VER2_6}
  16925. Procedure TSite.SetArrayLength(Const AName : String; ALength : Longint);
  16926. begin
  16927. Case AName of
  16928. 'sitecontacts' : SetLength(FsiteContacts,ALength);
  16929. else
  16930. Inherited SetArrayLength(AName,ALength);
  16931. end;
  16932. end;
  16933. {$ENDIF VER2_6}
  16934. { --------------------------------------------------------------------
  16935. TSiteContact
  16936. --------------------------------------------------------------------}
  16937. Procedure TSiteContact.Setaddress(AIndex : Integer; const AValue : String);
  16938. begin
  16939. If (Faddress=AValue) then exit;
  16940. Faddress:=AValue;
  16941. MarkPropertyChanged(AIndex);
  16942. end;
  16943. Procedure TSiteContact.SetcontactType(AIndex : Integer; const AValue : String);
  16944. begin
  16945. If (FcontactType=AValue) then exit;
  16946. FcontactType:=AValue;
  16947. MarkPropertyChanged(AIndex);
  16948. end;
  16949. Procedure TSiteContact.Setemail(AIndex : Integer; const AValue : String);
  16950. begin
  16951. If (Femail=AValue) then exit;
  16952. Femail:=AValue;
  16953. MarkPropertyChanged(AIndex);
  16954. end;
  16955. Procedure TSiteContact.SetfirstName(AIndex : Integer; const AValue : String);
  16956. begin
  16957. If (FfirstName=AValue) then exit;
  16958. FfirstName:=AValue;
  16959. MarkPropertyChanged(AIndex);
  16960. end;
  16961. Procedure TSiteContact.Setid(AIndex : Integer; const AValue : String);
  16962. begin
  16963. If (Fid=AValue) then exit;
  16964. Fid:=AValue;
  16965. MarkPropertyChanged(AIndex);
  16966. end;
  16967. Procedure TSiteContact.SetlastName(AIndex : Integer; const AValue : String);
  16968. begin
  16969. If (FlastName=AValue) then exit;
  16970. FlastName:=AValue;
  16971. MarkPropertyChanged(AIndex);
  16972. end;
  16973. Procedure TSiteContact.Setphone(AIndex : Integer; const AValue : String);
  16974. begin
  16975. If (Fphone=AValue) then exit;
  16976. Fphone:=AValue;
  16977. MarkPropertyChanged(AIndex);
  16978. end;
  16979. Procedure TSiteContact.Settitle(AIndex : Integer; const AValue : String);
  16980. begin
  16981. If (Ftitle=AValue) then exit;
  16982. Ftitle:=AValue;
  16983. MarkPropertyChanged(AIndex);
  16984. end;
  16985. { --------------------------------------------------------------------
  16986. TSiteSettings
  16987. --------------------------------------------------------------------}
  16988. Procedure TSiteSettings.SetactiveViewOptOut(AIndex : Integer; const AValue : boolean);
  16989. begin
  16990. If (FactiveViewOptOut=AValue) then exit;
  16991. FactiveViewOptOut:=AValue;
  16992. MarkPropertyChanged(AIndex);
  16993. end;
  16994. Procedure TSiteSettings.SetcreativeSettings(AIndex : Integer; const AValue : TCreativeSettings);
  16995. begin
  16996. If (FcreativeSettings=AValue) then exit;
  16997. FcreativeSettings:=AValue;
  16998. MarkPropertyChanged(AIndex);
  16999. end;
  17000. Procedure TSiteSettings.SetdisableBrandSafeAds(AIndex : Integer; const AValue : boolean);
  17001. begin
  17002. If (FdisableBrandSafeAds=AValue) then exit;
  17003. FdisableBrandSafeAds:=AValue;
  17004. MarkPropertyChanged(AIndex);
  17005. end;
  17006. Procedure TSiteSettings.SetdisableNewCookie(AIndex : Integer; const AValue : boolean);
  17007. begin
  17008. If (FdisableNewCookie=AValue) then exit;
  17009. FdisableNewCookie:=AValue;
  17010. MarkPropertyChanged(AIndex);
  17011. end;
  17012. Procedure TSiteSettings.SetlookbackConfiguration(AIndex : Integer; const AValue : TLookbackConfiguration);
  17013. begin
  17014. If (FlookbackConfiguration=AValue) then exit;
  17015. FlookbackConfiguration:=AValue;
  17016. MarkPropertyChanged(AIndex);
  17017. end;
  17018. Procedure TSiteSettings.SettagSetting(AIndex : Integer; const AValue : TTagSetting);
  17019. begin
  17020. If (FtagSetting=AValue) then exit;
  17021. FtagSetting:=AValue;
  17022. MarkPropertyChanged(AIndex);
  17023. end;
  17024. Procedure TSiteSettings.SetvideoActiveViewOptOut(AIndex : Integer; const AValue : boolean);
  17025. begin
  17026. If (FvideoActiveViewOptOut=AValue) then exit;
  17027. FvideoActiveViewOptOut:=AValue;
  17028. MarkPropertyChanged(AIndex);
  17029. end;
  17030. { --------------------------------------------------------------------
  17031. TSitesListResponse
  17032. --------------------------------------------------------------------}
  17033. Procedure TSitesListResponse.Setkind(AIndex : Integer; const AValue : String);
  17034. begin
  17035. If (Fkind=AValue) then exit;
  17036. Fkind:=AValue;
  17037. MarkPropertyChanged(AIndex);
  17038. end;
  17039. Procedure TSitesListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  17040. begin
  17041. If (FnextPageToken=AValue) then exit;
  17042. FnextPageToken:=AValue;
  17043. MarkPropertyChanged(AIndex);
  17044. end;
  17045. Procedure TSitesListResponse.Setsites(AIndex : Integer; const AValue : TSitesListResponseTypesitesArray);
  17046. begin
  17047. If (Fsites=AValue) then exit;
  17048. Fsites:=AValue;
  17049. MarkPropertyChanged(AIndex);
  17050. end;
  17051. //2.6.4. bug workaround
  17052. {$IFDEF VER2_6}
  17053. Procedure TSitesListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  17054. begin
  17055. Case AName of
  17056. 'sites' : SetLength(Fsites,ALength);
  17057. else
  17058. Inherited SetArrayLength(AName,ALength);
  17059. end;
  17060. end;
  17061. {$ENDIF VER2_6}
  17062. { --------------------------------------------------------------------
  17063. TSize
  17064. --------------------------------------------------------------------}
  17065. Procedure TSize.Setheight(AIndex : Integer; const AValue : integer);
  17066. begin
  17067. If (Fheight=AValue) then exit;
  17068. Fheight:=AValue;
  17069. MarkPropertyChanged(AIndex);
  17070. end;
  17071. Procedure TSize.Setiab(AIndex : Integer; const AValue : boolean);
  17072. begin
  17073. If (Fiab=AValue) then exit;
  17074. Fiab:=AValue;
  17075. MarkPropertyChanged(AIndex);
  17076. end;
  17077. Procedure TSize.Setid(AIndex : Integer; const AValue : String);
  17078. begin
  17079. If (Fid=AValue) then exit;
  17080. Fid:=AValue;
  17081. MarkPropertyChanged(AIndex);
  17082. end;
  17083. Procedure TSize.Setkind(AIndex : Integer; const AValue : String);
  17084. begin
  17085. If (Fkind=AValue) then exit;
  17086. Fkind:=AValue;
  17087. MarkPropertyChanged(AIndex);
  17088. end;
  17089. Procedure TSize.Setwidth(AIndex : Integer; const AValue : integer);
  17090. begin
  17091. If (Fwidth=AValue) then exit;
  17092. Fwidth:=AValue;
  17093. MarkPropertyChanged(AIndex);
  17094. end;
  17095. { --------------------------------------------------------------------
  17096. TSizesListResponse
  17097. --------------------------------------------------------------------}
  17098. Procedure TSizesListResponse.Setkind(AIndex : Integer; const AValue : String);
  17099. begin
  17100. If (Fkind=AValue) then exit;
  17101. Fkind:=AValue;
  17102. MarkPropertyChanged(AIndex);
  17103. end;
  17104. Procedure TSizesListResponse.Setsizes(AIndex : Integer; const AValue : TSizesListResponseTypesizesArray);
  17105. begin
  17106. If (Fsizes=AValue) then exit;
  17107. Fsizes:=AValue;
  17108. MarkPropertyChanged(AIndex);
  17109. end;
  17110. //2.6.4. bug workaround
  17111. {$IFDEF VER2_6}
  17112. Procedure TSizesListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  17113. begin
  17114. Case AName of
  17115. 'sizes' : SetLength(Fsizes,ALength);
  17116. else
  17117. Inherited SetArrayLength(AName,ALength);
  17118. end;
  17119. end;
  17120. {$ENDIF VER2_6}
  17121. { --------------------------------------------------------------------
  17122. TSortedDimension
  17123. --------------------------------------------------------------------}
  17124. Procedure TSortedDimension.Setkind(AIndex : Integer; const AValue : String);
  17125. begin
  17126. If (Fkind=AValue) then exit;
  17127. Fkind:=AValue;
  17128. MarkPropertyChanged(AIndex);
  17129. end;
  17130. Procedure TSortedDimension.Setname(AIndex : Integer; const AValue : String);
  17131. begin
  17132. If (Fname=AValue) then exit;
  17133. Fname:=AValue;
  17134. MarkPropertyChanged(AIndex);
  17135. end;
  17136. Procedure TSortedDimension.SetsortOrder(AIndex : Integer; const AValue : String);
  17137. begin
  17138. If (FsortOrder=AValue) then exit;
  17139. FsortOrder:=AValue;
  17140. MarkPropertyChanged(AIndex);
  17141. end;
  17142. { --------------------------------------------------------------------
  17143. TSubaccount
  17144. --------------------------------------------------------------------}
  17145. Procedure TSubaccount.SetaccountId(AIndex : Integer; const AValue : String);
  17146. begin
  17147. If (FaccountId=AValue) then exit;
  17148. FaccountId:=AValue;
  17149. MarkPropertyChanged(AIndex);
  17150. end;
  17151. Procedure TSubaccount.SetavailablePermissionIds(AIndex : Integer; const AValue : TStringArray);
  17152. begin
  17153. If (FavailablePermissionIds=AValue) then exit;
  17154. FavailablePermissionIds:=AValue;
  17155. MarkPropertyChanged(AIndex);
  17156. end;
  17157. Procedure TSubaccount.Setid(AIndex : Integer; const AValue : String);
  17158. begin
  17159. If (Fid=AValue) then exit;
  17160. Fid:=AValue;
  17161. MarkPropertyChanged(AIndex);
  17162. end;
  17163. Procedure TSubaccount.Setkind(AIndex : Integer; const AValue : String);
  17164. begin
  17165. If (Fkind=AValue) then exit;
  17166. Fkind:=AValue;
  17167. MarkPropertyChanged(AIndex);
  17168. end;
  17169. Procedure TSubaccount.Setname(AIndex : Integer; const AValue : String);
  17170. begin
  17171. If (Fname=AValue) then exit;
  17172. Fname:=AValue;
  17173. MarkPropertyChanged(AIndex);
  17174. end;
  17175. //2.6.4. bug workaround
  17176. {$IFDEF VER2_6}
  17177. Procedure TSubaccount.SetArrayLength(Const AName : String; ALength : Longint);
  17178. begin
  17179. Case AName of
  17180. 'availablepermissionids' : SetLength(FavailablePermissionIds,ALength);
  17181. else
  17182. Inherited SetArrayLength(AName,ALength);
  17183. end;
  17184. end;
  17185. {$ENDIF VER2_6}
  17186. { --------------------------------------------------------------------
  17187. TSubaccountsListResponse
  17188. --------------------------------------------------------------------}
  17189. Procedure TSubaccountsListResponse.Setkind(AIndex : Integer; const AValue : String);
  17190. begin
  17191. If (Fkind=AValue) then exit;
  17192. Fkind:=AValue;
  17193. MarkPropertyChanged(AIndex);
  17194. end;
  17195. Procedure TSubaccountsListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  17196. begin
  17197. If (FnextPageToken=AValue) then exit;
  17198. FnextPageToken:=AValue;
  17199. MarkPropertyChanged(AIndex);
  17200. end;
  17201. Procedure TSubaccountsListResponse.Setsubaccounts(AIndex : Integer; const AValue : TSubaccountsListResponseTypesubaccountsArray);
  17202. begin
  17203. If (Fsubaccounts=AValue) then exit;
  17204. Fsubaccounts:=AValue;
  17205. MarkPropertyChanged(AIndex);
  17206. end;
  17207. //2.6.4. bug workaround
  17208. {$IFDEF VER2_6}
  17209. Procedure TSubaccountsListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  17210. begin
  17211. Case AName of
  17212. 'subaccounts' : SetLength(Fsubaccounts,ALength);
  17213. else
  17214. Inherited SetArrayLength(AName,ALength);
  17215. end;
  17216. end;
  17217. {$ENDIF VER2_6}
  17218. { --------------------------------------------------------------------
  17219. TTagData
  17220. --------------------------------------------------------------------}
  17221. Procedure TTagData.SetadId(AIndex : Integer; const AValue : String);
  17222. begin
  17223. If (FadId=AValue) then exit;
  17224. FadId:=AValue;
  17225. MarkPropertyChanged(AIndex);
  17226. end;
  17227. Procedure TTagData.SetclickTag(AIndex : Integer; const AValue : String);
  17228. begin
  17229. If (FclickTag=AValue) then exit;
  17230. FclickTag:=AValue;
  17231. MarkPropertyChanged(AIndex);
  17232. end;
  17233. Procedure TTagData.SetcreativeId(AIndex : Integer; const AValue : String);
  17234. begin
  17235. If (FcreativeId=AValue) then exit;
  17236. FcreativeId:=AValue;
  17237. MarkPropertyChanged(AIndex);
  17238. end;
  17239. Procedure TTagData.Setformat(AIndex : Integer; const AValue : String);
  17240. begin
  17241. If (Fformat=AValue) then exit;
  17242. Fformat:=AValue;
  17243. MarkPropertyChanged(AIndex);
  17244. end;
  17245. Procedure TTagData.SetimpressionTag(AIndex : Integer; const AValue : String);
  17246. begin
  17247. If (FimpressionTag=AValue) then exit;
  17248. FimpressionTag:=AValue;
  17249. MarkPropertyChanged(AIndex);
  17250. end;
  17251. { --------------------------------------------------------------------
  17252. TTagSetting
  17253. --------------------------------------------------------------------}
  17254. Procedure TTagSetting.SetadditionalKeyValues(AIndex : Integer; const AValue : String);
  17255. begin
  17256. If (FadditionalKeyValues=AValue) then exit;
  17257. FadditionalKeyValues:=AValue;
  17258. MarkPropertyChanged(AIndex);
  17259. end;
  17260. Procedure TTagSetting.SetincludeClickThroughUrls(AIndex : Integer; const AValue : boolean);
  17261. begin
  17262. If (FincludeClickThroughUrls=AValue) then exit;
  17263. FincludeClickThroughUrls:=AValue;
  17264. MarkPropertyChanged(AIndex);
  17265. end;
  17266. Procedure TTagSetting.SetincludeClickTracking(AIndex : Integer; const AValue : boolean);
  17267. begin
  17268. If (FincludeClickTracking=AValue) then exit;
  17269. FincludeClickTracking:=AValue;
  17270. MarkPropertyChanged(AIndex);
  17271. end;
  17272. Procedure TTagSetting.SetkeywordOption(AIndex : Integer; const AValue : String);
  17273. begin
  17274. If (FkeywordOption=AValue) then exit;
  17275. FkeywordOption:=AValue;
  17276. MarkPropertyChanged(AIndex);
  17277. end;
  17278. { --------------------------------------------------------------------
  17279. TTagSettings
  17280. --------------------------------------------------------------------}
  17281. Procedure TTagSettings.SetdynamicTagEnabled(AIndex : Integer; const AValue : boolean);
  17282. begin
  17283. If (FdynamicTagEnabled=AValue) then exit;
  17284. FdynamicTagEnabled:=AValue;
  17285. MarkPropertyChanged(AIndex);
  17286. end;
  17287. Procedure TTagSettings.SetimageTagEnabled(AIndex : Integer; const AValue : boolean);
  17288. begin
  17289. If (FimageTagEnabled=AValue) then exit;
  17290. FimageTagEnabled:=AValue;
  17291. MarkPropertyChanged(AIndex);
  17292. end;
  17293. { --------------------------------------------------------------------
  17294. TTargetWindow
  17295. --------------------------------------------------------------------}
  17296. Procedure TTargetWindow.SetcustomHtml(AIndex : Integer; const AValue : String);
  17297. begin
  17298. If (FcustomHtml=AValue) then exit;
  17299. FcustomHtml:=AValue;
  17300. MarkPropertyChanged(AIndex);
  17301. end;
  17302. Procedure TTargetWindow.SettargetWindowOption(AIndex : Integer; const AValue : String);
  17303. begin
  17304. If (FtargetWindowOption=AValue) then exit;
  17305. FtargetWindowOption:=AValue;
  17306. MarkPropertyChanged(AIndex);
  17307. end;
  17308. { --------------------------------------------------------------------
  17309. TTargetableRemarketingList
  17310. --------------------------------------------------------------------}
  17311. Procedure TTargetableRemarketingList.SetaccountId(AIndex : Integer; const AValue : String);
  17312. begin
  17313. If (FaccountId=AValue) then exit;
  17314. FaccountId:=AValue;
  17315. MarkPropertyChanged(AIndex);
  17316. end;
  17317. Procedure TTargetableRemarketingList.Setactive(AIndex : Integer; const AValue : boolean);
  17318. begin
  17319. If (Factive=AValue) then exit;
  17320. Factive:=AValue;
  17321. MarkPropertyChanged(AIndex);
  17322. end;
  17323. Procedure TTargetableRemarketingList.SetadvertiserId(AIndex : Integer; const AValue : String);
  17324. begin
  17325. If (FadvertiserId=AValue) then exit;
  17326. FadvertiserId:=AValue;
  17327. MarkPropertyChanged(AIndex);
  17328. end;
  17329. Procedure TTargetableRemarketingList.SetadvertiserIdDimensionValue(AIndex : Integer; const AValue : TDimensionValue);
  17330. begin
  17331. If (FadvertiserIdDimensionValue=AValue) then exit;
  17332. FadvertiserIdDimensionValue:=AValue;
  17333. MarkPropertyChanged(AIndex);
  17334. end;
  17335. Procedure TTargetableRemarketingList.Setdescription(AIndex : Integer; const AValue : String);
  17336. begin
  17337. If (Fdescription=AValue) then exit;
  17338. Fdescription:=AValue;
  17339. MarkPropertyChanged(AIndex);
  17340. end;
  17341. Procedure TTargetableRemarketingList.Setid(AIndex : Integer; const AValue : String);
  17342. begin
  17343. If (Fid=AValue) then exit;
  17344. Fid:=AValue;
  17345. MarkPropertyChanged(AIndex);
  17346. end;
  17347. Procedure TTargetableRemarketingList.Setkind(AIndex : Integer; const AValue : String);
  17348. begin
  17349. If (Fkind=AValue) then exit;
  17350. Fkind:=AValue;
  17351. MarkPropertyChanged(AIndex);
  17352. end;
  17353. Procedure TTargetableRemarketingList.SetlifeSpan(AIndex : Integer; const AValue : String);
  17354. begin
  17355. If (FlifeSpan=AValue) then exit;
  17356. FlifeSpan:=AValue;
  17357. MarkPropertyChanged(AIndex);
  17358. end;
  17359. Procedure TTargetableRemarketingList.SetlistSize(AIndex : Integer; const AValue : String);
  17360. begin
  17361. If (FlistSize=AValue) then exit;
  17362. FlistSize:=AValue;
  17363. MarkPropertyChanged(AIndex);
  17364. end;
  17365. Procedure TTargetableRemarketingList.SetlistSource(AIndex : Integer; const AValue : String);
  17366. begin
  17367. If (FlistSource=AValue) then exit;
  17368. FlistSource:=AValue;
  17369. MarkPropertyChanged(AIndex);
  17370. end;
  17371. Procedure TTargetableRemarketingList.Setname(AIndex : Integer; const AValue : String);
  17372. begin
  17373. If (Fname=AValue) then exit;
  17374. Fname:=AValue;
  17375. MarkPropertyChanged(AIndex);
  17376. end;
  17377. Procedure TTargetableRemarketingList.SetsubaccountId(AIndex : Integer; const AValue : String);
  17378. begin
  17379. If (FsubaccountId=AValue) then exit;
  17380. FsubaccountId:=AValue;
  17381. MarkPropertyChanged(AIndex);
  17382. end;
  17383. { --------------------------------------------------------------------
  17384. TTargetableRemarketingListsListResponse
  17385. --------------------------------------------------------------------}
  17386. Procedure TTargetableRemarketingListsListResponse.Setkind(AIndex : Integer; const AValue : String);
  17387. begin
  17388. If (Fkind=AValue) then exit;
  17389. Fkind:=AValue;
  17390. MarkPropertyChanged(AIndex);
  17391. end;
  17392. Procedure TTargetableRemarketingListsListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  17393. begin
  17394. If (FnextPageToken=AValue) then exit;
  17395. FnextPageToken:=AValue;
  17396. MarkPropertyChanged(AIndex);
  17397. end;
  17398. Procedure TTargetableRemarketingListsListResponse.SettargetableRemarketingLists(AIndex : Integer; const AValue : TTargetableRemarketingListsListResponseTypetargetableRemarketingListsArray);
  17399. begin
  17400. If (FtargetableRemarketingLists=AValue) then exit;
  17401. FtargetableRemarketingLists:=AValue;
  17402. MarkPropertyChanged(AIndex);
  17403. end;
  17404. //2.6.4. bug workaround
  17405. {$IFDEF VER2_6}
  17406. Procedure TTargetableRemarketingListsListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  17407. begin
  17408. Case AName of
  17409. 'targetableremarketinglists' : SetLength(FtargetableRemarketingLists,ALength);
  17410. else
  17411. Inherited SetArrayLength(AName,ALength);
  17412. end;
  17413. end;
  17414. {$ENDIF VER2_6}
  17415. { --------------------------------------------------------------------
  17416. TTechnologyTargeting
  17417. --------------------------------------------------------------------}
  17418. Procedure TTechnologyTargeting.Setbrowsers(AIndex : Integer; const AValue : TTechnologyTargetingTypebrowsersArray);
  17419. begin
  17420. If (Fbrowsers=AValue) then exit;
  17421. Fbrowsers:=AValue;
  17422. MarkPropertyChanged(AIndex);
  17423. end;
  17424. Procedure TTechnologyTargeting.SetconnectionTypes(AIndex : Integer; const AValue : TTechnologyTargetingTypeconnectionTypesArray);
  17425. begin
  17426. If (FconnectionTypes=AValue) then exit;
  17427. FconnectionTypes:=AValue;
  17428. MarkPropertyChanged(AIndex);
  17429. end;
  17430. Procedure TTechnologyTargeting.SetmobileCarriers(AIndex : Integer; const AValue : TTechnologyTargetingTypemobileCarriersArray);
  17431. begin
  17432. If (FmobileCarriers=AValue) then exit;
  17433. FmobileCarriers:=AValue;
  17434. MarkPropertyChanged(AIndex);
  17435. end;
  17436. Procedure TTechnologyTargeting.SetoperatingSystemVersions(AIndex : Integer; const AValue : TTechnologyTargetingTypeoperatingSystemVersionsArray);
  17437. begin
  17438. If (FoperatingSystemVersions=AValue) then exit;
  17439. FoperatingSystemVersions:=AValue;
  17440. MarkPropertyChanged(AIndex);
  17441. end;
  17442. Procedure TTechnologyTargeting.SetoperatingSystems(AIndex : Integer; const AValue : TTechnologyTargetingTypeoperatingSystemsArray);
  17443. begin
  17444. If (FoperatingSystems=AValue) then exit;
  17445. FoperatingSystems:=AValue;
  17446. MarkPropertyChanged(AIndex);
  17447. end;
  17448. Procedure TTechnologyTargeting.SetplatformTypes(AIndex : Integer; const AValue : TTechnologyTargetingTypeplatformTypesArray);
  17449. begin
  17450. If (FplatformTypes=AValue) then exit;
  17451. FplatformTypes:=AValue;
  17452. MarkPropertyChanged(AIndex);
  17453. end;
  17454. //2.6.4. bug workaround
  17455. {$IFDEF VER2_6}
  17456. Procedure TTechnologyTargeting.SetArrayLength(Const AName : String; ALength : Longint);
  17457. begin
  17458. Case AName of
  17459. 'browsers' : SetLength(Fbrowsers,ALength);
  17460. 'connectiontypes' : SetLength(FconnectionTypes,ALength);
  17461. 'mobilecarriers' : SetLength(FmobileCarriers,ALength);
  17462. 'operatingsystemversions' : SetLength(FoperatingSystemVersions,ALength);
  17463. 'operatingsystems' : SetLength(FoperatingSystems,ALength);
  17464. 'platformtypes' : SetLength(FplatformTypes,ALength);
  17465. else
  17466. Inherited SetArrayLength(AName,ALength);
  17467. end;
  17468. end;
  17469. {$ENDIF VER2_6}
  17470. { --------------------------------------------------------------------
  17471. TThirdPartyAuthenticationToken
  17472. --------------------------------------------------------------------}
  17473. Procedure TThirdPartyAuthenticationToken.Setname(AIndex : Integer; const AValue : String);
  17474. begin
  17475. If (Fname=AValue) then exit;
  17476. Fname:=AValue;
  17477. MarkPropertyChanged(AIndex);
  17478. end;
  17479. Procedure TThirdPartyAuthenticationToken.Setvalue(AIndex : Integer; const AValue : String);
  17480. begin
  17481. If (Fvalue=AValue) then exit;
  17482. Fvalue:=AValue;
  17483. MarkPropertyChanged(AIndex);
  17484. end;
  17485. { --------------------------------------------------------------------
  17486. TThirdPartyTrackingUrl
  17487. --------------------------------------------------------------------}
  17488. Procedure TThirdPartyTrackingUrl.SetthirdPartyUrlType(AIndex : Integer; const AValue : String);
  17489. begin
  17490. If (FthirdPartyUrlType=AValue) then exit;
  17491. FthirdPartyUrlType:=AValue;
  17492. MarkPropertyChanged(AIndex);
  17493. end;
  17494. Procedure TThirdPartyTrackingUrl.Seturl(AIndex : Integer; const AValue : String);
  17495. begin
  17496. If (Furl=AValue) then exit;
  17497. Furl:=AValue;
  17498. MarkPropertyChanged(AIndex);
  17499. end;
  17500. { --------------------------------------------------------------------
  17501. TUserDefinedVariableConfiguration
  17502. --------------------------------------------------------------------}
  17503. Procedure TUserDefinedVariableConfiguration.SetdataType(AIndex : Integer; const AValue : String);
  17504. begin
  17505. If (FdataType=AValue) then exit;
  17506. FdataType:=AValue;
  17507. MarkPropertyChanged(AIndex);
  17508. end;
  17509. Procedure TUserDefinedVariableConfiguration.SetreportName(AIndex : Integer; const AValue : String);
  17510. begin
  17511. If (FreportName=AValue) then exit;
  17512. FreportName:=AValue;
  17513. MarkPropertyChanged(AIndex);
  17514. end;
  17515. Procedure TUserDefinedVariableConfiguration.SetvariableType(AIndex : Integer; const AValue : String);
  17516. begin
  17517. If (FvariableType=AValue) then exit;
  17518. FvariableType:=AValue;
  17519. MarkPropertyChanged(AIndex);
  17520. end;
  17521. { --------------------------------------------------------------------
  17522. TUserProfile
  17523. --------------------------------------------------------------------}
  17524. Procedure TUserProfile.SetaccountId(AIndex : Integer; const AValue : String);
  17525. begin
  17526. If (FaccountId=AValue) then exit;
  17527. FaccountId:=AValue;
  17528. MarkPropertyChanged(AIndex);
  17529. end;
  17530. Procedure TUserProfile.SetaccountName(AIndex : Integer; const AValue : String);
  17531. begin
  17532. If (FaccountName=AValue) then exit;
  17533. FaccountName:=AValue;
  17534. MarkPropertyChanged(AIndex);
  17535. end;
  17536. Procedure TUserProfile.Setetag(AIndex : Integer; const AValue : String);
  17537. begin
  17538. If (Fetag=AValue) then exit;
  17539. Fetag:=AValue;
  17540. MarkPropertyChanged(AIndex);
  17541. end;
  17542. Procedure TUserProfile.Setkind(AIndex : Integer; const AValue : String);
  17543. begin
  17544. If (Fkind=AValue) then exit;
  17545. Fkind:=AValue;
  17546. MarkPropertyChanged(AIndex);
  17547. end;
  17548. Procedure TUserProfile.SetprofileId(AIndex : Integer; const AValue : String);
  17549. begin
  17550. If (FprofileId=AValue) then exit;
  17551. FprofileId:=AValue;
  17552. MarkPropertyChanged(AIndex);
  17553. end;
  17554. Procedure TUserProfile.SetsubAccountId(AIndex : Integer; const AValue : String);
  17555. begin
  17556. If (FsubAccountId=AValue) then exit;
  17557. FsubAccountId:=AValue;
  17558. MarkPropertyChanged(AIndex);
  17559. end;
  17560. Procedure TUserProfile.SetsubAccountName(AIndex : Integer; const AValue : String);
  17561. begin
  17562. If (FsubAccountName=AValue) then exit;
  17563. FsubAccountName:=AValue;
  17564. MarkPropertyChanged(AIndex);
  17565. end;
  17566. Procedure TUserProfile.SetuserName(AIndex : Integer; const AValue : String);
  17567. begin
  17568. If (FuserName=AValue) then exit;
  17569. FuserName:=AValue;
  17570. MarkPropertyChanged(AIndex);
  17571. end;
  17572. { --------------------------------------------------------------------
  17573. TUserProfileList
  17574. --------------------------------------------------------------------}
  17575. Procedure TUserProfileList.Setetag(AIndex : Integer; const AValue : String);
  17576. begin
  17577. If (Fetag=AValue) then exit;
  17578. Fetag:=AValue;
  17579. MarkPropertyChanged(AIndex);
  17580. end;
  17581. Procedure TUserProfileList.Setitems(AIndex : Integer; const AValue : TUserProfileListTypeitemsArray);
  17582. begin
  17583. If (Fitems=AValue) then exit;
  17584. Fitems:=AValue;
  17585. MarkPropertyChanged(AIndex);
  17586. end;
  17587. Procedure TUserProfileList.Setkind(AIndex : Integer; const AValue : String);
  17588. begin
  17589. If (Fkind=AValue) then exit;
  17590. Fkind:=AValue;
  17591. MarkPropertyChanged(AIndex);
  17592. end;
  17593. //2.6.4. bug workaround
  17594. {$IFDEF VER2_6}
  17595. Procedure TUserProfileList.SetArrayLength(Const AName : String; ALength : Longint);
  17596. begin
  17597. Case AName of
  17598. 'items' : SetLength(Fitems,ALength);
  17599. else
  17600. Inherited SetArrayLength(AName,ALength);
  17601. end;
  17602. end;
  17603. {$ENDIF VER2_6}
  17604. { --------------------------------------------------------------------
  17605. TUserRole
  17606. --------------------------------------------------------------------}
  17607. Procedure TUserRole.SetaccountId(AIndex : Integer; const AValue : String);
  17608. begin
  17609. If (FaccountId=AValue) then exit;
  17610. FaccountId:=AValue;
  17611. MarkPropertyChanged(AIndex);
  17612. end;
  17613. Procedure TUserRole.SetdefaultUserRole(AIndex : Integer; const AValue : boolean);
  17614. begin
  17615. If (FdefaultUserRole=AValue) then exit;
  17616. FdefaultUserRole:=AValue;
  17617. MarkPropertyChanged(AIndex);
  17618. end;
  17619. Procedure TUserRole.Setid(AIndex : Integer; const AValue : String);
  17620. begin
  17621. If (Fid=AValue) then exit;
  17622. Fid:=AValue;
  17623. MarkPropertyChanged(AIndex);
  17624. end;
  17625. Procedure TUserRole.Setkind(AIndex : Integer; const AValue : String);
  17626. begin
  17627. If (Fkind=AValue) then exit;
  17628. Fkind:=AValue;
  17629. MarkPropertyChanged(AIndex);
  17630. end;
  17631. Procedure TUserRole.Setname(AIndex : Integer; const AValue : String);
  17632. begin
  17633. If (Fname=AValue) then exit;
  17634. Fname:=AValue;
  17635. MarkPropertyChanged(AIndex);
  17636. end;
  17637. Procedure TUserRole.SetparentUserRoleId(AIndex : Integer; const AValue : String);
  17638. begin
  17639. If (FparentUserRoleId=AValue) then exit;
  17640. FparentUserRoleId:=AValue;
  17641. MarkPropertyChanged(AIndex);
  17642. end;
  17643. Procedure TUserRole.Setpermissions(AIndex : Integer; const AValue : TUserRoleTypepermissionsArray);
  17644. begin
  17645. If (Fpermissions=AValue) then exit;
  17646. Fpermissions:=AValue;
  17647. MarkPropertyChanged(AIndex);
  17648. end;
  17649. Procedure TUserRole.SetsubaccountId(AIndex : Integer; const AValue : String);
  17650. begin
  17651. If (FsubaccountId=AValue) then exit;
  17652. FsubaccountId:=AValue;
  17653. MarkPropertyChanged(AIndex);
  17654. end;
  17655. //2.6.4. bug workaround
  17656. {$IFDEF VER2_6}
  17657. Procedure TUserRole.SetArrayLength(Const AName : String; ALength : Longint);
  17658. begin
  17659. Case AName of
  17660. 'permissions' : SetLength(Fpermissions,ALength);
  17661. else
  17662. Inherited SetArrayLength(AName,ALength);
  17663. end;
  17664. end;
  17665. {$ENDIF VER2_6}
  17666. { --------------------------------------------------------------------
  17667. TUserRolePermission
  17668. --------------------------------------------------------------------}
  17669. Procedure TUserRolePermission.Setavailability(AIndex : Integer; const AValue : String);
  17670. begin
  17671. If (Favailability=AValue) then exit;
  17672. Favailability:=AValue;
  17673. MarkPropertyChanged(AIndex);
  17674. end;
  17675. Procedure TUserRolePermission.Setid(AIndex : Integer; const AValue : String);
  17676. begin
  17677. If (Fid=AValue) then exit;
  17678. Fid:=AValue;
  17679. MarkPropertyChanged(AIndex);
  17680. end;
  17681. Procedure TUserRolePermission.Setkind(AIndex : Integer; const AValue : String);
  17682. begin
  17683. If (Fkind=AValue) then exit;
  17684. Fkind:=AValue;
  17685. MarkPropertyChanged(AIndex);
  17686. end;
  17687. Procedure TUserRolePermission.Setname(AIndex : Integer; const AValue : String);
  17688. begin
  17689. If (Fname=AValue) then exit;
  17690. Fname:=AValue;
  17691. MarkPropertyChanged(AIndex);
  17692. end;
  17693. Procedure TUserRolePermission.SetpermissionGroupId(AIndex : Integer; const AValue : String);
  17694. begin
  17695. If (FpermissionGroupId=AValue) then exit;
  17696. FpermissionGroupId:=AValue;
  17697. MarkPropertyChanged(AIndex);
  17698. end;
  17699. { --------------------------------------------------------------------
  17700. TUserRolePermissionGroup
  17701. --------------------------------------------------------------------}
  17702. Procedure TUserRolePermissionGroup.Setid(AIndex : Integer; const AValue : String);
  17703. begin
  17704. If (Fid=AValue) then exit;
  17705. Fid:=AValue;
  17706. MarkPropertyChanged(AIndex);
  17707. end;
  17708. Procedure TUserRolePermissionGroup.Setkind(AIndex : Integer; const AValue : String);
  17709. begin
  17710. If (Fkind=AValue) then exit;
  17711. Fkind:=AValue;
  17712. MarkPropertyChanged(AIndex);
  17713. end;
  17714. Procedure TUserRolePermissionGroup.Setname(AIndex : Integer; const AValue : String);
  17715. begin
  17716. If (Fname=AValue) then exit;
  17717. Fname:=AValue;
  17718. MarkPropertyChanged(AIndex);
  17719. end;
  17720. { --------------------------------------------------------------------
  17721. TUserRolePermissionGroupsListResponse
  17722. --------------------------------------------------------------------}
  17723. Procedure TUserRolePermissionGroupsListResponse.Setkind(AIndex : Integer; const AValue : String);
  17724. begin
  17725. If (Fkind=AValue) then exit;
  17726. Fkind:=AValue;
  17727. MarkPropertyChanged(AIndex);
  17728. end;
  17729. Procedure TUserRolePermissionGroupsListResponse.SetuserRolePermissionGroups(AIndex : Integer; const AValue : TUserRolePermissionGroupsListResponseTypeuserRolePermissionGroupsArray);
  17730. begin
  17731. If (FuserRolePermissionGroups=AValue) then exit;
  17732. FuserRolePermissionGroups:=AValue;
  17733. MarkPropertyChanged(AIndex);
  17734. end;
  17735. //2.6.4. bug workaround
  17736. {$IFDEF VER2_6}
  17737. Procedure TUserRolePermissionGroupsListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  17738. begin
  17739. Case AName of
  17740. 'userrolepermissiongroups' : SetLength(FuserRolePermissionGroups,ALength);
  17741. else
  17742. Inherited SetArrayLength(AName,ALength);
  17743. end;
  17744. end;
  17745. {$ENDIF VER2_6}
  17746. { --------------------------------------------------------------------
  17747. TUserRolePermissionsListResponse
  17748. --------------------------------------------------------------------}
  17749. Procedure TUserRolePermissionsListResponse.Setkind(AIndex : Integer; const AValue : String);
  17750. begin
  17751. If (Fkind=AValue) then exit;
  17752. Fkind:=AValue;
  17753. MarkPropertyChanged(AIndex);
  17754. end;
  17755. Procedure TUserRolePermissionsListResponse.SetuserRolePermissions(AIndex : Integer; const AValue : TUserRolePermissionsListResponseTypeuserRolePermissionsArray);
  17756. begin
  17757. If (FuserRolePermissions=AValue) then exit;
  17758. FuserRolePermissions:=AValue;
  17759. MarkPropertyChanged(AIndex);
  17760. end;
  17761. //2.6.4. bug workaround
  17762. {$IFDEF VER2_6}
  17763. Procedure TUserRolePermissionsListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  17764. begin
  17765. Case AName of
  17766. 'userrolepermissions' : SetLength(FuserRolePermissions,ALength);
  17767. else
  17768. Inherited SetArrayLength(AName,ALength);
  17769. end;
  17770. end;
  17771. {$ENDIF VER2_6}
  17772. { --------------------------------------------------------------------
  17773. TUserRolesListResponse
  17774. --------------------------------------------------------------------}
  17775. Procedure TUserRolesListResponse.Setkind(AIndex : Integer; const AValue : String);
  17776. begin
  17777. If (Fkind=AValue) then exit;
  17778. Fkind:=AValue;
  17779. MarkPropertyChanged(AIndex);
  17780. end;
  17781. Procedure TUserRolesListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  17782. begin
  17783. If (FnextPageToken=AValue) then exit;
  17784. FnextPageToken:=AValue;
  17785. MarkPropertyChanged(AIndex);
  17786. end;
  17787. Procedure TUserRolesListResponse.SetuserRoles(AIndex : Integer; const AValue : TUserRolesListResponseTypeuserRolesArray);
  17788. begin
  17789. If (FuserRoles=AValue) then exit;
  17790. FuserRoles:=AValue;
  17791. MarkPropertyChanged(AIndex);
  17792. end;
  17793. //2.6.4. bug workaround
  17794. {$IFDEF VER2_6}
  17795. Procedure TUserRolesListResponse.SetArrayLength(Const AName : String; ALength : Longint);
  17796. begin
  17797. Case AName of
  17798. 'userroles' : SetLength(FuserRoles,ALength);
  17799. else
  17800. Inherited SetArrayLength(AName,ALength);
  17801. end;
  17802. end;
  17803. {$ENDIF VER2_6}
  17804. { --------------------------------------------------------------------
  17805. TAccountActiveAdSummariesResource
  17806. --------------------------------------------------------------------}
  17807. Class Function TAccountActiveAdSummariesResource.ResourceName : String;
  17808. begin
  17809. Result:='accountActiveAdSummaries';
  17810. end;
  17811. Class Function TAccountActiveAdSummariesResource.DefaultAPI : TGoogleAPIClass;
  17812. begin
  17813. Result:=TdfareportingAPI;
  17814. end;
  17815. Function TAccountActiveAdSummariesResource.Get(profileId: string; summaryAccountId: string) : TAccountActiveAdSummary;
  17816. Const
  17817. _HTTPMethod = 'GET';
  17818. _Path = 'userprofiles/{profileId}/accountActiveAdSummaries/{summaryAccountId}';
  17819. _Methodid = 'dfareporting.accountActiveAdSummaries.get';
  17820. Var
  17821. _P : String;
  17822. begin
  17823. _P:=SubstitutePath(_Path,['profileId',profileId,'summaryAccountId',summaryAccountId]);
  17824. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TAccountActiveAdSummary) as TAccountActiveAdSummary;
  17825. end;
  17826. { --------------------------------------------------------------------
  17827. TAccountPermissionGroupsResource
  17828. --------------------------------------------------------------------}
  17829. Class Function TAccountPermissionGroupsResource.ResourceName : String;
  17830. begin
  17831. Result:='accountPermissionGroups';
  17832. end;
  17833. Class Function TAccountPermissionGroupsResource.DefaultAPI : TGoogleAPIClass;
  17834. begin
  17835. Result:=TdfareportingAPI;
  17836. end;
  17837. Function TAccountPermissionGroupsResource.Get(id: string; profileId: string) : TAccountPermissionGroup;
  17838. Const
  17839. _HTTPMethod = 'GET';
  17840. _Path = 'userprofiles/{profileId}/accountPermissionGroups/{id}';
  17841. _Methodid = 'dfareporting.accountPermissionGroups.get';
  17842. Var
  17843. _P : String;
  17844. begin
  17845. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId]);
  17846. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TAccountPermissionGroup) as TAccountPermissionGroup;
  17847. end;
  17848. Function TAccountPermissionGroupsResource.List(profileId: string) : TAccountPermissionGroupsListResponse;
  17849. Const
  17850. _HTTPMethod = 'GET';
  17851. _Path = 'userprofiles/{profileId}/accountPermissionGroups';
  17852. _Methodid = 'dfareporting.accountPermissionGroups.list';
  17853. Var
  17854. _P : String;
  17855. begin
  17856. _P:=SubstitutePath(_Path,['profileId',profileId]);
  17857. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TAccountPermissionGroupsListResponse) as TAccountPermissionGroupsListResponse;
  17858. end;
  17859. { --------------------------------------------------------------------
  17860. TAccountPermissionsResource
  17861. --------------------------------------------------------------------}
  17862. Class Function TAccountPermissionsResource.ResourceName : String;
  17863. begin
  17864. Result:='accountPermissions';
  17865. end;
  17866. Class Function TAccountPermissionsResource.DefaultAPI : TGoogleAPIClass;
  17867. begin
  17868. Result:=TdfareportingAPI;
  17869. end;
  17870. Function TAccountPermissionsResource.Get(id: string; profileId: string) : TAccountPermission;
  17871. Const
  17872. _HTTPMethod = 'GET';
  17873. _Path = 'userprofiles/{profileId}/accountPermissions/{id}';
  17874. _Methodid = 'dfareporting.accountPermissions.get';
  17875. Var
  17876. _P : String;
  17877. begin
  17878. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId]);
  17879. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TAccountPermission) as TAccountPermission;
  17880. end;
  17881. Function TAccountPermissionsResource.List(profileId: string) : TAccountPermissionsListResponse;
  17882. Const
  17883. _HTTPMethod = 'GET';
  17884. _Path = 'userprofiles/{profileId}/accountPermissions';
  17885. _Methodid = 'dfareporting.accountPermissions.list';
  17886. Var
  17887. _P : String;
  17888. begin
  17889. _P:=SubstitutePath(_Path,['profileId',profileId]);
  17890. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TAccountPermissionsListResponse) as TAccountPermissionsListResponse;
  17891. end;
  17892. { --------------------------------------------------------------------
  17893. TAccountUserProfilesResource
  17894. --------------------------------------------------------------------}
  17895. Class Function TAccountUserProfilesResource.ResourceName : String;
  17896. begin
  17897. Result:='accountUserProfiles';
  17898. end;
  17899. Class Function TAccountUserProfilesResource.DefaultAPI : TGoogleAPIClass;
  17900. begin
  17901. Result:=TdfareportingAPI;
  17902. end;
  17903. Function TAccountUserProfilesResource.Get(id: string; profileId: string) : TAccountUserProfile;
  17904. Const
  17905. _HTTPMethod = 'GET';
  17906. _Path = 'userprofiles/{profileId}/accountUserProfiles/{id}';
  17907. _Methodid = 'dfareporting.accountUserProfiles.get';
  17908. Var
  17909. _P : String;
  17910. begin
  17911. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId]);
  17912. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TAccountUserProfile) as TAccountUserProfile;
  17913. end;
  17914. Function TAccountUserProfilesResource.Insert(profileId: string; aAccountUserProfile : TAccountUserProfile) : TAccountUserProfile;
  17915. Const
  17916. _HTTPMethod = 'POST';
  17917. _Path = 'userprofiles/{profileId}/accountUserProfiles';
  17918. _Methodid = 'dfareporting.accountUserProfiles.insert';
  17919. Var
  17920. _P : String;
  17921. begin
  17922. _P:=SubstitutePath(_Path,['profileId',profileId]);
  17923. Result:=ServiceCall(_HTTPMethod,_P,'',aAccountUserProfile,TAccountUserProfile) as TAccountUserProfile;
  17924. end;
  17925. Function TAccountUserProfilesResource.List(profileId: string; AQuery : string = '') : TAccountUserProfilesListResponse;
  17926. Const
  17927. _HTTPMethod = 'GET';
  17928. _Path = 'userprofiles/{profileId}/accountUserProfiles';
  17929. _Methodid = 'dfareporting.accountUserProfiles.list';
  17930. Var
  17931. _P : String;
  17932. begin
  17933. _P:=SubstitutePath(_Path,['profileId',profileId]);
  17934. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TAccountUserProfilesListResponse) as TAccountUserProfilesListResponse;
  17935. end;
  17936. Function TAccountUserProfilesResource.List(profileId: string; AQuery : TAccountUserProfileslistOptions) : TAccountUserProfilesListResponse;
  17937. Var
  17938. _Q : String;
  17939. begin
  17940. _Q:='';
  17941. AddToQuery(_Q,'active',AQuery.active);
  17942. AddToQuery(_Q,'ids',AQuery.ids);
  17943. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  17944. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  17945. AddToQuery(_Q,'searchString',AQuery.searchString);
  17946. AddToQuery(_Q,'sortField',AQuery.sortField);
  17947. AddToQuery(_Q,'sortOrder',AQuery.sortOrder);
  17948. AddToQuery(_Q,'subaccountId',AQuery.subaccountId);
  17949. AddToQuery(_Q,'userRoleId',AQuery.userRoleId);
  17950. Result:=List(profileId,_Q);
  17951. end;
  17952. Function TAccountUserProfilesResource.Patch(profileId: string; aAccountUserProfile : TAccountUserProfile; AQuery : string = '') : TAccountUserProfile;
  17953. Const
  17954. _HTTPMethod = 'PATCH';
  17955. _Path = 'userprofiles/{profileId}/accountUserProfiles';
  17956. _Methodid = 'dfareporting.accountUserProfiles.patch';
  17957. Var
  17958. _P : String;
  17959. begin
  17960. _P:=SubstitutePath(_Path,['profileId',profileId]);
  17961. Result:=ServiceCall(_HTTPMethod,_P,AQuery,aAccountUserProfile,TAccountUserProfile) as TAccountUserProfile;
  17962. end;
  17963. Function TAccountUserProfilesResource.Patch(profileId: string; aAccountUserProfile : TAccountUserProfile; AQuery : TAccountUserProfilespatchOptions) : TAccountUserProfile;
  17964. Var
  17965. _Q : String;
  17966. begin
  17967. _Q:='';
  17968. AddToQuery(_Q,'id',AQuery.id);
  17969. Result:=Patch(profileId,aAccountUserProfile,_Q);
  17970. end;
  17971. Function TAccountUserProfilesResource.Update(profileId: string; aAccountUserProfile : TAccountUserProfile) : TAccountUserProfile;
  17972. Const
  17973. _HTTPMethod = 'PUT';
  17974. _Path = 'userprofiles/{profileId}/accountUserProfiles';
  17975. _Methodid = 'dfareporting.accountUserProfiles.update';
  17976. Var
  17977. _P : String;
  17978. begin
  17979. _P:=SubstitutePath(_Path,['profileId',profileId]);
  17980. Result:=ServiceCall(_HTTPMethod,_P,'',aAccountUserProfile,TAccountUserProfile) as TAccountUserProfile;
  17981. end;
  17982. { --------------------------------------------------------------------
  17983. TAccountsResource
  17984. --------------------------------------------------------------------}
  17985. Class Function TAccountsResource.ResourceName : String;
  17986. begin
  17987. Result:='accounts';
  17988. end;
  17989. Class Function TAccountsResource.DefaultAPI : TGoogleAPIClass;
  17990. begin
  17991. Result:=TdfareportingAPI;
  17992. end;
  17993. Function TAccountsResource.Get(id: string; profileId: string) : TAccount;
  17994. Const
  17995. _HTTPMethod = 'GET';
  17996. _Path = 'userprofiles/{profileId}/accounts/{id}';
  17997. _Methodid = 'dfareporting.accounts.get';
  17998. Var
  17999. _P : String;
  18000. begin
  18001. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId]);
  18002. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TAccount) as TAccount;
  18003. end;
  18004. Function TAccountsResource.List(profileId: string; AQuery : string = '') : TAccountsListResponse;
  18005. Const
  18006. _HTTPMethod = 'GET';
  18007. _Path = 'userprofiles/{profileId}/accounts';
  18008. _Methodid = 'dfareporting.accounts.list';
  18009. Var
  18010. _P : String;
  18011. begin
  18012. _P:=SubstitutePath(_Path,['profileId',profileId]);
  18013. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TAccountsListResponse) as TAccountsListResponse;
  18014. end;
  18015. Function TAccountsResource.List(profileId: string; AQuery : TAccountslistOptions) : TAccountsListResponse;
  18016. Var
  18017. _Q : String;
  18018. begin
  18019. _Q:='';
  18020. AddToQuery(_Q,'active',AQuery.active);
  18021. AddToQuery(_Q,'ids',AQuery.ids);
  18022. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  18023. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  18024. AddToQuery(_Q,'searchString',AQuery.searchString);
  18025. AddToQuery(_Q,'sortField',AQuery.sortField);
  18026. AddToQuery(_Q,'sortOrder',AQuery.sortOrder);
  18027. Result:=List(profileId,_Q);
  18028. end;
  18029. Function TAccountsResource.Patch(profileId: string; aAccount : TAccount; AQuery : string = '') : TAccount;
  18030. Const
  18031. _HTTPMethod = 'PATCH';
  18032. _Path = 'userprofiles/{profileId}/accounts';
  18033. _Methodid = 'dfareporting.accounts.patch';
  18034. Var
  18035. _P : String;
  18036. begin
  18037. _P:=SubstitutePath(_Path,['profileId',profileId]);
  18038. Result:=ServiceCall(_HTTPMethod,_P,AQuery,aAccount,TAccount) as TAccount;
  18039. end;
  18040. Function TAccountsResource.Patch(profileId: string; aAccount : TAccount; AQuery : TAccountspatchOptions) : TAccount;
  18041. Var
  18042. _Q : String;
  18043. begin
  18044. _Q:='';
  18045. AddToQuery(_Q,'id',AQuery.id);
  18046. Result:=Patch(profileId,aAccount,_Q);
  18047. end;
  18048. Function TAccountsResource.Update(profileId: string; aAccount : TAccount) : TAccount;
  18049. Const
  18050. _HTTPMethod = 'PUT';
  18051. _Path = 'userprofiles/{profileId}/accounts';
  18052. _Methodid = 'dfareporting.accounts.update';
  18053. Var
  18054. _P : String;
  18055. begin
  18056. _P:=SubstitutePath(_Path,['profileId',profileId]);
  18057. Result:=ServiceCall(_HTTPMethod,_P,'',aAccount,TAccount) as TAccount;
  18058. end;
  18059. { --------------------------------------------------------------------
  18060. TAdsResource
  18061. --------------------------------------------------------------------}
  18062. Class Function TAdsResource.ResourceName : String;
  18063. begin
  18064. Result:='ads';
  18065. end;
  18066. Class Function TAdsResource.DefaultAPI : TGoogleAPIClass;
  18067. begin
  18068. Result:=TdfareportingAPI;
  18069. end;
  18070. Function TAdsResource.Get(id: string; profileId: string) : TAd;
  18071. Const
  18072. _HTTPMethod = 'GET';
  18073. _Path = 'userprofiles/{profileId}/ads/{id}';
  18074. _Methodid = 'dfareporting.ads.get';
  18075. Var
  18076. _P : String;
  18077. begin
  18078. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId]);
  18079. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TAd) as TAd;
  18080. end;
  18081. Function TAdsResource.Insert(profileId: string; aAd : TAd) : TAd;
  18082. Const
  18083. _HTTPMethod = 'POST';
  18084. _Path = 'userprofiles/{profileId}/ads';
  18085. _Methodid = 'dfareporting.ads.insert';
  18086. Var
  18087. _P : String;
  18088. begin
  18089. _P:=SubstitutePath(_Path,['profileId',profileId]);
  18090. Result:=ServiceCall(_HTTPMethod,_P,'',aAd,TAd) as TAd;
  18091. end;
  18092. Function TAdsResource.List(profileId: string; AQuery : string = '') : TAdsListResponse;
  18093. Const
  18094. _HTTPMethod = 'GET';
  18095. _Path = 'userprofiles/{profileId}/ads';
  18096. _Methodid = 'dfareporting.ads.list';
  18097. Var
  18098. _P : String;
  18099. begin
  18100. _P:=SubstitutePath(_Path,['profileId',profileId]);
  18101. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TAdsListResponse) as TAdsListResponse;
  18102. end;
  18103. Function TAdsResource.List(profileId: string; AQuery : TAdslistOptions) : TAdsListResponse;
  18104. Var
  18105. _Q : String;
  18106. begin
  18107. _Q:='';
  18108. AddToQuery(_Q,'active',AQuery.active);
  18109. AddToQuery(_Q,'advertiserId',AQuery.advertiserId);
  18110. AddToQuery(_Q,'archived',AQuery.archived);
  18111. AddToQuery(_Q,'audienceSegmentIds',AQuery.audienceSegmentIds);
  18112. AddToQuery(_Q,'campaignIds',AQuery.campaignIds);
  18113. AddToQuery(_Q,'compatibility',AQuery.compatibility);
  18114. AddToQuery(_Q,'creativeIds',AQuery.creativeIds);
  18115. AddToQuery(_Q,'creativeOptimizationConfigurationIds',AQuery.creativeOptimizationConfigurationIds);
  18116. AddToQuery(_Q,'creativeType',AQuery.creativeType);
  18117. AddToQuery(_Q,'dynamicClickTracker',AQuery.dynamicClickTracker);
  18118. AddToQuery(_Q,'ids',AQuery.ids);
  18119. AddToQuery(_Q,'landingPageIds',AQuery.landingPageIds);
  18120. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  18121. AddToQuery(_Q,'overriddenEventTagId',AQuery.overriddenEventTagId);
  18122. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  18123. AddToQuery(_Q,'placementIds',AQuery.placementIds);
  18124. AddToQuery(_Q,'remarketingListIds',AQuery.remarketingListIds);
  18125. AddToQuery(_Q,'searchString',AQuery.searchString);
  18126. AddToQuery(_Q,'sizeIds',AQuery.sizeIds);
  18127. AddToQuery(_Q,'sortField',AQuery.sortField);
  18128. AddToQuery(_Q,'sortOrder',AQuery.sortOrder);
  18129. AddToQuery(_Q,'sslCompliant',AQuery.sslCompliant);
  18130. AddToQuery(_Q,'sslRequired',AQuery.sslRequired);
  18131. AddToQuery(_Q,'type',AQuery._type);
  18132. Result:=List(profileId,_Q);
  18133. end;
  18134. Function TAdsResource.Patch(profileId: string; aAd : TAd; AQuery : string = '') : TAd;
  18135. Const
  18136. _HTTPMethod = 'PATCH';
  18137. _Path = 'userprofiles/{profileId}/ads';
  18138. _Methodid = 'dfareporting.ads.patch';
  18139. Var
  18140. _P : String;
  18141. begin
  18142. _P:=SubstitutePath(_Path,['profileId',profileId]);
  18143. Result:=ServiceCall(_HTTPMethod,_P,AQuery,aAd,TAd) as TAd;
  18144. end;
  18145. Function TAdsResource.Patch(profileId: string; aAd : TAd; AQuery : TAdspatchOptions) : TAd;
  18146. Var
  18147. _Q : String;
  18148. begin
  18149. _Q:='';
  18150. AddToQuery(_Q,'id',AQuery.id);
  18151. Result:=Patch(profileId,aAd,_Q);
  18152. end;
  18153. Function TAdsResource.Update(profileId: string; aAd : TAd) : TAd;
  18154. Const
  18155. _HTTPMethod = 'PUT';
  18156. _Path = 'userprofiles/{profileId}/ads';
  18157. _Methodid = 'dfareporting.ads.update';
  18158. Var
  18159. _P : String;
  18160. begin
  18161. _P:=SubstitutePath(_Path,['profileId',profileId]);
  18162. Result:=ServiceCall(_HTTPMethod,_P,'',aAd,TAd) as TAd;
  18163. end;
  18164. { --------------------------------------------------------------------
  18165. TAdvertiserGroupsResource
  18166. --------------------------------------------------------------------}
  18167. Class Function TAdvertiserGroupsResource.ResourceName : String;
  18168. begin
  18169. Result:='advertiserGroups';
  18170. end;
  18171. Class Function TAdvertiserGroupsResource.DefaultAPI : TGoogleAPIClass;
  18172. begin
  18173. Result:=TdfareportingAPI;
  18174. end;
  18175. Procedure TAdvertiserGroupsResource.Delete(id: string; profileId: string);
  18176. Const
  18177. _HTTPMethod = 'DELETE';
  18178. _Path = 'userprofiles/{profileId}/advertiserGroups/{id}';
  18179. _Methodid = 'dfareporting.advertiserGroups.delete';
  18180. Var
  18181. _P : String;
  18182. begin
  18183. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId]);
  18184. ServiceCall(_HTTPMethod,_P,'',Nil,Nil);
  18185. end;
  18186. Function TAdvertiserGroupsResource.Get(id: string; profileId: string) : TAdvertiserGroup;
  18187. Const
  18188. _HTTPMethod = 'GET';
  18189. _Path = 'userprofiles/{profileId}/advertiserGroups/{id}';
  18190. _Methodid = 'dfareporting.advertiserGroups.get';
  18191. Var
  18192. _P : String;
  18193. begin
  18194. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId]);
  18195. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TAdvertiserGroup) as TAdvertiserGroup;
  18196. end;
  18197. Function TAdvertiserGroupsResource.Insert(profileId: string; aAdvertiserGroup : TAdvertiserGroup) : TAdvertiserGroup;
  18198. Const
  18199. _HTTPMethod = 'POST';
  18200. _Path = 'userprofiles/{profileId}/advertiserGroups';
  18201. _Methodid = 'dfareporting.advertiserGroups.insert';
  18202. Var
  18203. _P : String;
  18204. begin
  18205. _P:=SubstitutePath(_Path,['profileId',profileId]);
  18206. Result:=ServiceCall(_HTTPMethod,_P,'',aAdvertiserGroup,TAdvertiserGroup) as TAdvertiserGroup;
  18207. end;
  18208. Function TAdvertiserGroupsResource.List(profileId: string; AQuery : string = '') : TAdvertiserGroupsListResponse;
  18209. Const
  18210. _HTTPMethod = 'GET';
  18211. _Path = 'userprofiles/{profileId}/advertiserGroups';
  18212. _Methodid = 'dfareporting.advertiserGroups.list';
  18213. Var
  18214. _P : String;
  18215. begin
  18216. _P:=SubstitutePath(_Path,['profileId',profileId]);
  18217. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TAdvertiserGroupsListResponse) as TAdvertiserGroupsListResponse;
  18218. end;
  18219. Function TAdvertiserGroupsResource.List(profileId: string; AQuery : TAdvertiserGroupslistOptions) : TAdvertiserGroupsListResponse;
  18220. Var
  18221. _Q : String;
  18222. begin
  18223. _Q:='';
  18224. AddToQuery(_Q,'ids',AQuery.ids);
  18225. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  18226. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  18227. AddToQuery(_Q,'searchString',AQuery.searchString);
  18228. AddToQuery(_Q,'sortField',AQuery.sortField);
  18229. AddToQuery(_Q,'sortOrder',AQuery.sortOrder);
  18230. Result:=List(profileId,_Q);
  18231. end;
  18232. Function TAdvertiserGroupsResource.Patch(profileId: string; aAdvertiserGroup : TAdvertiserGroup; AQuery : string = '') : TAdvertiserGroup;
  18233. Const
  18234. _HTTPMethod = 'PATCH';
  18235. _Path = 'userprofiles/{profileId}/advertiserGroups';
  18236. _Methodid = 'dfareporting.advertiserGroups.patch';
  18237. Var
  18238. _P : String;
  18239. begin
  18240. _P:=SubstitutePath(_Path,['profileId',profileId]);
  18241. Result:=ServiceCall(_HTTPMethod,_P,AQuery,aAdvertiserGroup,TAdvertiserGroup) as TAdvertiserGroup;
  18242. end;
  18243. Function TAdvertiserGroupsResource.Patch(profileId: string; aAdvertiserGroup : TAdvertiserGroup; AQuery : TAdvertiserGroupspatchOptions) : TAdvertiserGroup;
  18244. Var
  18245. _Q : String;
  18246. begin
  18247. _Q:='';
  18248. AddToQuery(_Q,'id',AQuery.id);
  18249. Result:=Patch(profileId,aAdvertiserGroup,_Q);
  18250. end;
  18251. Function TAdvertiserGroupsResource.Update(profileId: string; aAdvertiserGroup : TAdvertiserGroup) : TAdvertiserGroup;
  18252. Const
  18253. _HTTPMethod = 'PUT';
  18254. _Path = 'userprofiles/{profileId}/advertiserGroups';
  18255. _Methodid = 'dfareporting.advertiserGroups.update';
  18256. Var
  18257. _P : String;
  18258. begin
  18259. _P:=SubstitutePath(_Path,['profileId',profileId]);
  18260. Result:=ServiceCall(_HTTPMethod,_P,'',aAdvertiserGroup,TAdvertiserGroup) as TAdvertiserGroup;
  18261. end;
  18262. { --------------------------------------------------------------------
  18263. TAdvertisersResource
  18264. --------------------------------------------------------------------}
  18265. Class Function TAdvertisersResource.ResourceName : String;
  18266. begin
  18267. Result:='advertisers';
  18268. end;
  18269. Class Function TAdvertisersResource.DefaultAPI : TGoogleAPIClass;
  18270. begin
  18271. Result:=TdfareportingAPI;
  18272. end;
  18273. Function TAdvertisersResource.Get(id: string; profileId: string) : TAdvertiser;
  18274. Const
  18275. _HTTPMethod = 'GET';
  18276. _Path = 'userprofiles/{profileId}/advertisers/{id}';
  18277. _Methodid = 'dfareporting.advertisers.get';
  18278. Var
  18279. _P : String;
  18280. begin
  18281. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId]);
  18282. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TAdvertiser) as TAdvertiser;
  18283. end;
  18284. Function TAdvertisersResource.Insert(profileId: string; aAdvertiser : TAdvertiser) : TAdvertiser;
  18285. Const
  18286. _HTTPMethod = 'POST';
  18287. _Path = 'userprofiles/{profileId}/advertisers';
  18288. _Methodid = 'dfareporting.advertisers.insert';
  18289. Var
  18290. _P : String;
  18291. begin
  18292. _P:=SubstitutePath(_Path,['profileId',profileId]);
  18293. Result:=ServiceCall(_HTTPMethod,_P,'',aAdvertiser,TAdvertiser) as TAdvertiser;
  18294. end;
  18295. Function TAdvertisersResource.List(profileId: string; AQuery : string = '') : TAdvertisersListResponse;
  18296. Const
  18297. _HTTPMethod = 'GET';
  18298. _Path = 'userprofiles/{profileId}/advertisers';
  18299. _Methodid = 'dfareporting.advertisers.list';
  18300. Var
  18301. _P : String;
  18302. begin
  18303. _P:=SubstitutePath(_Path,['profileId',profileId]);
  18304. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TAdvertisersListResponse) as TAdvertisersListResponse;
  18305. end;
  18306. Function TAdvertisersResource.List(profileId: string; AQuery : TAdvertiserslistOptions) : TAdvertisersListResponse;
  18307. Var
  18308. _Q : String;
  18309. begin
  18310. _Q:='';
  18311. AddToQuery(_Q,'advertiserGroupIds',AQuery.advertiserGroupIds);
  18312. AddToQuery(_Q,'floodlightConfigurationIds',AQuery.floodlightConfigurationIds);
  18313. AddToQuery(_Q,'ids',AQuery.ids);
  18314. AddToQuery(_Q,'includeAdvertisersWithoutGroupsOnly',AQuery.includeAdvertisersWithoutGroupsOnly);
  18315. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  18316. AddToQuery(_Q,'onlyParent',AQuery.onlyParent);
  18317. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  18318. AddToQuery(_Q,'searchString',AQuery.searchString);
  18319. AddToQuery(_Q,'sortField',AQuery.sortField);
  18320. AddToQuery(_Q,'sortOrder',AQuery.sortOrder);
  18321. AddToQuery(_Q,'status',AQuery.status);
  18322. AddToQuery(_Q,'subaccountId',AQuery.subaccountId);
  18323. Result:=List(profileId,_Q);
  18324. end;
  18325. Function TAdvertisersResource.Patch(profileId: string; aAdvertiser : TAdvertiser; AQuery : string = '') : TAdvertiser;
  18326. Const
  18327. _HTTPMethod = 'PATCH';
  18328. _Path = 'userprofiles/{profileId}/advertisers';
  18329. _Methodid = 'dfareporting.advertisers.patch';
  18330. Var
  18331. _P : String;
  18332. begin
  18333. _P:=SubstitutePath(_Path,['profileId',profileId]);
  18334. Result:=ServiceCall(_HTTPMethod,_P,AQuery,aAdvertiser,TAdvertiser) as TAdvertiser;
  18335. end;
  18336. Function TAdvertisersResource.Patch(profileId: string; aAdvertiser : TAdvertiser; AQuery : TAdvertiserspatchOptions) : TAdvertiser;
  18337. Var
  18338. _Q : String;
  18339. begin
  18340. _Q:='';
  18341. AddToQuery(_Q,'id',AQuery.id);
  18342. Result:=Patch(profileId,aAdvertiser,_Q);
  18343. end;
  18344. Function TAdvertisersResource.Update(profileId: string; aAdvertiser : TAdvertiser) : TAdvertiser;
  18345. Const
  18346. _HTTPMethod = 'PUT';
  18347. _Path = 'userprofiles/{profileId}/advertisers';
  18348. _Methodid = 'dfareporting.advertisers.update';
  18349. Var
  18350. _P : String;
  18351. begin
  18352. _P:=SubstitutePath(_Path,['profileId',profileId]);
  18353. Result:=ServiceCall(_HTTPMethod,_P,'',aAdvertiser,TAdvertiser) as TAdvertiser;
  18354. end;
  18355. { --------------------------------------------------------------------
  18356. TBrowsersResource
  18357. --------------------------------------------------------------------}
  18358. Class Function TBrowsersResource.ResourceName : String;
  18359. begin
  18360. Result:='browsers';
  18361. end;
  18362. Class Function TBrowsersResource.DefaultAPI : TGoogleAPIClass;
  18363. begin
  18364. Result:=TdfareportingAPI;
  18365. end;
  18366. Function TBrowsersResource.List(profileId: string) : TBrowsersListResponse;
  18367. Const
  18368. _HTTPMethod = 'GET';
  18369. _Path = 'userprofiles/{profileId}/browsers';
  18370. _Methodid = 'dfareporting.browsers.list';
  18371. Var
  18372. _P : String;
  18373. begin
  18374. _P:=SubstitutePath(_Path,['profileId',profileId]);
  18375. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TBrowsersListResponse) as TBrowsersListResponse;
  18376. end;
  18377. { --------------------------------------------------------------------
  18378. TCampaignCreativeAssociationsResource
  18379. --------------------------------------------------------------------}
  18380. Class Function TCampaignCreativeAssociationsResource.ResourceName : String;
  18381. begin
  18382. Result:='campaignCreativeAssociations';
  18383. end;
  18384. Class Function TCampaignCreativeAssociationsResource.DefaultAPI : TGoogleAPIClass;
  18385. begin
  18386. Result:=TdfareportingAPI;
  18387. end;
  18388. Function TCampaignCreativeAssociationsResource.Insert(campaignId: string; profileId: string; aCampaignCreativeAssociation : TCampaignCreativeAssociation) : TCampaignCreativeAssociation;
  18389. Const
  18390. _HTTPMethod = 'POST';
  18391. _Path = 'userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations';
  18392. _Methodid = 'dfareporting.campaignCreativeAssociations.insert';
  18393. Var
  18394. _P : String;
  18395. begin
  18396. _P:=SubstitutePath(_Path,['campaignId',campaignId,'profileId',profileId]);
  18397. Result:=ServiceCall(_HTTPMethod,_P,'',aCampaignCreativeAssociation,TCampaignCreativeAssociation) as TCampaignCreativeAssociation;
  18398. end;
  18399. Function TCampaignCreativeAssociationsResource.List(campaignId: string; profileId: string; AQuery : string = '') : TCampaignCreativeAssociationsListResponse;
  18400. Const
  18401. _HTTPMethod = 'GET';
  18402. _Path = 'userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations';
  18403. _Methodid = 'dfareporting.campaignCreativeAssociations.list';
  18404. Var
  18405. _P : String;
  18406. begin
  18407. _P:=SubstitutePath(_Path,['campaignId',campaignId,'profileId',profileId]);
  18408. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TCampaignCreativeAssociationsListResponse) as TCampaignCreativeAssociationsListResponse;
  18409. end;
  18410. Function TCampaignCreativeAssociationsResource.List(campaignId: string; profileId: string; AQuery : TCampaignCreativeAssociationslistOptions) : TCampaignCreativeAssociationsListResponse;
  18411. Var
  18412. _Q : String;
  18413. begin
  18414. _Q:='';
  18415. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  18416. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  18417. AddToQuery(_Q,'sortOrder',AQuery.sortOrder);
  18418. Result:=List(campaignId,profileId,_Q);
  18419. end;
  18420. { --------------------------------------------------------------------
  18421. TCampaignsResource
  18422. --------------------------------------------------------------------}
  18423. Class Function TCampaignsResource.ResourceName : String;
  18424. begin
  18425. Result:='campaigns';
  18426. end;
  18427. Class Function TCampaignsResource.DefaultAPI : TGoogleAPIClass;
  18428. begin
  18429. Result:=TdfareportingAPI;
  18430. end;
  18431. Function TCampaignsResource.Get(id: string; profileId: string) : TCampaign;
  18432. Const
  18433. _HTTPMethod = 'GET';
  18434. _Path = 'userprofiles/{profileId}/campaigns/{id}';
  18435. _Methodid = 'dfareporting.campaigns.get';
  18436. Var
  18437. _P : String;
  18438. begin
  18439. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId]);
  18440. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TCampaign) as TCampaign;
  18441. end;
  18442. Function TCampaignsResource.Insert(profileId: string; aCampaign : TCampaign; AQuery : string = '') : TCampaign;
  18443. Const
  18444. _HTTPMethod = 'POST';
  18445. _Path = 'userprofiles/{profileId}/campaigns';
  18446. _Methodid = 'dfareporting.campaigns.insert';
  18447. Var
  18448. _P : String;
  18449. begin
  18450. _P:=SubstitutePath(_Path,['profileId',profileId]);
  18451. Result:=ServiceCall(_HTTPMethod,_P,AQuery,aCampaign,TCampaign) as TCampaign;
  18452. end;
  18453. Function TCampaignsResource.Insert(profileId: string; aCampaign : TCampaign; AQuery : TCampaignsinsertOptions) : TCampaign;
  18454. Var
  18455. _Q : String;
  18456. begin
  18457. _Q:='';
  18458. AddToQuery(_Q,'defaultLandingPageName',AQuery.defaultLandingPageName);
  18459. AddToQuery(_Q,'defaultLandingPageUrl',AQuery.defaultLandingPageUrl);
  18460. Result:=Insert(profileId,aCampaign,_Q);
  18461. end;
  18462. Function TCampaignsResource.List(profileId: string; AQuery : string = '') : TCampaignsListResponse;
  18463. Const
  18464. _HTTPMethod = 'GET';
  18465. _Path = 'userprofiles/{profileId}/campaigns';
  18466. _Methodid = 'dfareporting.campaigns.list';
  18467. Var
  18468. _P : String;
  18469. begin
  18470. _P:=SubstitutePath(_Path,['profileId',profileId]);
  18471. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TCampaignsListResponse) as TCampaignsListResponse;
  18472. end;
  18473. Function TCampaignsResource.List(profileId: string; AQuery : TCampaignslistOptions) : TCampaignsListResponse;
  18474. Var
  18475. _Q : String;
  18476. begin
  18477. _Q:='';
  18478. AddToQuery(_Q,'advertiserGroupIds',AQuery.advertiserGroupIds);
  18479. AddToQuery(_Q,'advertiserIds',AQuery.advertiserIds);
  18480. AddToQuery(_Q,'archived',AQuery.archived);
  18481. AddToQuery(_Q,'atLeastOneOptimizationActivity',AQuery.atLeastOneOptimizationActivity);
  18482. AddToQuery(_Q,'excludedIds',AQuery.excludedIds);
  18483. AddToQuery(_Q,'ids',AQuery.ids);
  18484. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  18485. AddToQuery(_Q,'overriddenEventTagId',AQuery.overriddenEventTagId);
  18486. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  18487. AddToQuery(_Q,'searchString',AQuery.searchString);
  18488. AddToQuery(_Q,'sortField',AQuery.sortField);
  18489. AddToQuery(_Q,'sortOrder',AQuery.sortOrder);
  18490. AddToQuery(_Q,'subaccountId',AQuery.subaccountId);
  18491. Result:=List(profileId,_Q);
  18492. end;
  18493. Function TCampaignsResource.Patch(profileId: string; aCampaign : TCampaign; AQuery : string = '') : TCampaign;
  18494. Const
  18495. _HTTPMethod = 'PATCH';
  18496. _Path = 'userprofiles/{profileId}/campaigns';
  18497. _Methodid = 'dfareporting.campaigns.patch';
  18498. Var
  18499. _P : String;
  18500. begin
  18501. _P:=SubstitutePath(_Path,['profileId',profileId]);
  18502. Result:=ServiceCall(_HTTPMethod,_P,AQuery,aCampaign,TCampaign) as TCampaign;
  18503. end;
  18504. Function TCampaignsResource.Patch(profileId: string; aCampaign : TCampaign; AQuery : TCampaignspatchOptions) : TCampaign;
  18505. Var
  18506. _Q : String;
  18507. begin
  18508. _Q:='';
  18509. AddToQuery(_Q,'id',AQuery.id);
  18510. Result:=Patch(profileId,aCampaign,_Q);
  18511. end;
  18512. Function TCampaignsResource.Update(profileId: string; aCampaign : TCampaign) : TCampaign;
  18513. Const
  18514. _HTTPMethod = 'PUT';
  18515. _Path = 'userprofiles/{profileId}/campaigns';
  18516. _Methodid = 'dfareporting.campaigns.update';
  18517. Var
  18518. _P : String;
  18519. begin
  18520. _P:=SubstitutePath(_Path,['profileId',profileId]);
  18521. Result:=ServiceCall(_HTTPMethod,_P,'',aCampaign,TCampaign) as TCampaign;
  18522. end;
  18523. { --------------------------------------------------------------------
  18524. TChangeLogsResource
  18525. --------------------------------------------------------------------}
  18526. Class Function TChangeLogsResource.ResourceName : String;
  18527. begin
  18528. Result:='changeLogs';
  18529. end;
  18530. Class Function TChangeLogsResource.DefaultAPI : TGoogleAPIClass;
  18531. begin
  18532. Result:=TdfareportingAPI;
  18533. end;
  18534. Function TChangeLogsResource.Get(id: string; profileId: string) : TChangeLog;
  18535. Const
  18536. _HTTPMethod = 'GET';
  18537. _Path = 'userprofiles/{profileId}/changeLogs/{id}';
  18538. _Methodid = 'dfareporting.changeLogs.get';
  18539. Var
  18540. _P : String;
  18541. begin
  18542. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId]);
  18543. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TChangeLog) as TChangeLog;
  18544. end;
  18545. Function TChangeLogsResource.List(profileId: string; AQuery : string = '') : TChangeLogsListResponse;
  18546. Const
  18547. _HTTPMethod = 'GET';
  18548. _Path = 'userprofiles/{profileId}/changeLogs';
  18549. _Methodid = 'dfareporting.changeLogs.list';
  18550. Var
  18551. _P : String;
  18552. begin
  18553. _P:=SubstitutePath(_Path,['profileId',profileId]);
  18554. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TChangeLogsListResponse) as TChangeLogsListResponse;
  18555. end;
  18556. Function TChangeLogsResource.List(profileId: string; AQuery : TChangeLogslistOptions) : TChangeLogsListResponse;
  18557. Var
  18558. _Q : String;
  18559. begin
  18560. _Q:='';
  18561. AddToQuery(_Q,'action',AQuery.action);
  18562. AddToQuery(_Q,'ids',AQuery.ids);
  18563. AddToQuery(_Q,'maxChangeTime',AQuery.maxChangeTime);
  18564. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  18565. AddToQuery(_Q,'minChangeTime',AQuery.minChangeTime);
  18566. AddToQuery(_Q,'objectIds',AQuery.objectIds);
  18567. AddToQuery(_Q,'objectType',AQuery.objectType);
  18568. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  18569. AddToQuery(_Q,'searchString',AQuery.searchString);
  18570. AddToQuery(_Q,'userProfileIds',AQuery.userProfileIds);
  18571. Result:=List(profileId,_Q);
  18572. end;
  18573. { --------------------------------------------------------------------
  18574. TCitiesResource
  18575. --------------------------------------------------------------------}
  18576. Class Function TCitiesResource.ResourceName : String;
  18577. begin
  18578. Result:='cities';
  18579. end;
  18580. Class Function TCitiesResource.DefaultAPI : TGoogleAPIClass;
  18581. begin
  18582. Result:=TdfareportingAPI;
  18583. end;
  18584. Function TCitiesResource.List(profileId: string; AQuery : string = '') : TCitiesListResponse;
  18585. Const
  18586. _HTTPMethod = 'GET';
  18587. _Path = 'userprofiles/{profileId}/cities';
  18588. _Methodid = 'dfareporting.cities.list';
  18589. Var
  18590. _P : String;
  18591. begin
  18592. _P:=SubstitutePath(_Path,['profileId',profileId]);
  18593. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TCitiesListResponse) as TCitiesListResponse;
  18594. end;
  18595. Function TCitiesResource.List(profileId: string; AQuery : TCitieslistOptions) : TCitiesListResponse;
  18596. Var
  18597. _Q : String;
  18598. begin
  18599. _Q:='';
  18600. AddToQuery(_Q,'countryDartIds',AQuery.countryDartIds);
  18601. AddToQuery(_Q,'dartIds',AQuery.dartIds);
  18602. AddToQuery(_Q,'namePrefix',AQuery.namePrefix);
  18603. AddToQuery(_Q,'regionDartIds',AQuery.regionDartIds);
  18604. Result:=List(profileId,_Q);
  18605. end;
  18606. { --------------------------------------------------------------------
  18607. TConnectionTypesResource
  18608. --------------------------------------------------------------------}
  18609. Class Function TConnectionTypesResource.ResourceName : String;
  18610. begin
  18611. Result:='connectionTypes';
  18612. end;
  18613. Class Function TConnectionTypesResource.DefaultAPI : TGoogleAPIClass;
  18614. begin
  18615. Result:=TdfareportingAPI;
  18616. end;
  18617. Function TConnectionTypesResource.Get(id: string; profileId: string) : TConnectionType;
  18618. Const
  18619. _HTTPMethod = 'GET';
  18620. _Path = 'userprofiles/{profileId}/connectionTypes/{id}';
  18621. _Methodid = 'dfareporting.connectionTypes.get';
  18622. Var
  18623. _P : String;
  18624. begin
  18625. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId]);
  18626. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TConnectionType) as TConnectionType;
  18627. end;
  18628. Function TConnectionTypesResource.List(profileId: string) : TConnectionTypesListResponse;
  18629. Const
  18630. _HTTPMethod = 'GET';
  18631. _Path = 'userprofiles/{profileId}/connectionTypes';
  18632. _Methodid = 'dfareporting.connectionTypes.list';
  18633. Var
  18634. _P : String;
  18635. begin
  18636. _P:=SubstitutePath(_Path,['profileId',profileId]);
  18637. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TConnectionTypesListResponse) as TConnectionTypesListResponse;
  18638. end;
  18639. { --------------------------------------------------------------------
  18640. TContentCategoriesResource
  18641. --------------------------------------------------------------------}
  18642. Class Function TContentCategoriesResource.ResourceName : String;
  18643. begin
  18644. Result:='contentCategories';
  18645. end;
  18646. Class Function TContentCategoriesResource.DefaultAPI : TGoogleAPIClass;
  18647. begin
  18648. Result:=TdfareportingAPI;
  18649. end;
  18650. Procedure TContentCategoriesResource.Delete(id: string; profileId: string);
  18651. Const
  18652. _HTTPMethod = 'DELETE';
  18653. _Path = 'userprofiles/{profileId}/contentCategories/{id}';
  18654. _Methodid = 'dfareporting.contentCategories.delete';
  18655. Var
  18656. _P : String;
  18657. begin
  18658. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId]);
  18659. ServiceCall(_HTTPMethod,_P,'',Nil,Nil);
  18660. end;
  18661. Function TContentCategoriesResource.Get(id: string; profileId: string) : TContentCategory;
  18662. Const
  18663. _HTTPMethod = 'GET';
  18664. _Path = 'userprofiles/{profileId}/contentCategories/{id}';
  18665. _Methodid = 'dfareporting.contentCategories.get';
  18666. Var
  18667. _P : String;
  18668. begin
  18669. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId]);
  18670. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TContentCategory) as TContentCategory;
  18671. end;
  18672. Function TContentCategoriesResource.Insert(profileId: string; aContentCategory : TContentCategory) : TContentCategory;
  18673. Const
  18674. _HTTPMethod = 'POST';
  18675. _Path = 'userprofiles/{profileId}/contentCategories';
  18676. _Methodid = 'dfareporting.contentCategories.insert';
  18677. Var
  18678. _P : String;
  18679. begin
  18680. _P:=SubstitutePath(_Path,['profileId',profileId]);
  18681. Result:=ServiceCall(_HTTPMethod,_P,'',aContentCategory,TContentCategory) as TContentCategory;
  18682. end;
  18683. Function TContentCategoriesResource.List(profileId: string; AQuery : string = '') : TContentCategoriesListResponse;
  18684. Const
  18685. _HTTPMethod = 'GET';
  18686. _Path = 'userprofiles/{profileId}/contentCategories';
  18687. _Methodid = 'dfareporting.contentCategories.list';
  18688. Var
  18689. _P : String;
  18690. begin
  18691. _P:=SubstitutePath(_Path,['profileId',profileId]);
  18692. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TContentCategoriesListResponse) as TContentCategoriesListResponse;
  18693. end;
  18694. Function TContentCategoriesResource.List(profileId: string; AQuery : TContentCategorieslistOptions) : TContentCategoriesListResponse;
  18695. Var
  18696. _Q : String;
  18697. begin
  18698. _Q:='';
  18699. AddToQuery(_Q,'ids',AQuery.ids);
  18700. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  18701. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  18702. AddToQuery(_Q,'searchString',AQuery.searchString);
  18703. AddToQuery(_Q,'sortField',AQuery.sortField);
  18704. AddToQuery(_Q,'sortOrder',AQuery.sortOrder);
  18705. Result:=List(profileId,_Q);
  18706. end;
  18707. Function TContentCategoriesResource.Patch(profileId: string; aContentCategory : TContentCategory; AQuery : string = '') : TContentCategory;
  18708. Const
  18709. _HTTPMethod = 'PATCH';
  18710. _Path = 'userprofiles/{profileId}/contentCategories';
  18711. _Methodid = 'dfareporting.contentCategories.patch';
  18712. Var
  18713. _P : String;
  18714. begin
  18715. _P:=SubstitutePath(_Path,['profileId',profileId]);
  18716. Result:=ServiceCall(_HTTPMethod,_P,AQuery,aContentCategory,TContentCategory) as TContentCategory;
  18717. end;
  18718. Function TContentCategoriesResource.Patch(profileId: string; aContentCategory : TContentCategory; AQuery : TContentCategoriespatchOptions) : TContentCategory;
  18719. Var
  18720. _Q : String;
  18721. begin
  18722. _Q:='';
  18723. AddToQuery(_Q,'id',AQuery.id);
  18724. Result:=Patch(profileId,aContentCategory,_Q);
  18725. end;
  18726. Function TContentCategoriesResource.Update(profileId: string; aContentCategory : TContentCategory) : TContentCategory;
  18727. Const
  18728. _HTTPMethod = 'PUT';
  18729. _Path = 'userprofiles/{profileId}/contentCategories';
  18730. _Methodid = 'dfareporting.contentCategories.update';
  18731. Var
  18732. _P : String;
  18733. begin
  18734. _P:=SubstitutePath(_Path,['profileId',profileId]);
  18735. Result:=ServiceCall(_HTTPMethod,_P,'',aContentCategory,TContentCategory) as TContentCategory;
  18736. end;
  18737. { --------------------------------------------------------------------
  18738. TConversionsResource
  18739. --------------------------------------------------------------------}
  18740. Class Function TConversionsResource.ResourceName : String;
  18741. begin
  18742. Result:='conversions';
  18743. end;
  18744. Class Function TConversionsResource.DefaultAPI : TGoogleAPIClass;
  18745. begin
  18746. Result:=TdfareportingAPI;
  18747. end;
  18748. Function TConversionsResource.Batchinsert(profileId: string; aConversionsBatchInsertRequest : TConversionsBatchInsertRequest) : TConversionsBatchInsertResponse;
  18749. Const
  18750. _HTTPMethod = 'POST';
  18751. _Path = 'userprofiles/{profileId}/conversions/batchinsert';
  18752. _Methodid = 'dfareporting.conversions.batchinsert';
  18753. Var
  18754. _P : String;
  18755. begin
  18756. _P:=SubstitutePath(_Path,['profileId',profileId]);
  18757. Result:=ServiceCall(_HTTPMethod,_P,'',aConversionsBatchInsertRequest,TConversionsBatchInsertResponse) as TConversionsBatchInsertResponse;
  18758. end;
  18759. { --------------------------------------------------------------------
  18760. TCountriesResource
  18761. --------------------------------------------------------------------}
  18762. Class Function TCountriesResource.ResourceName : String;
  18763. begin
  18764. Result:='countries';
  18765. end;
  18766. Class Function TCountriesResource.DefaultAPI : TGoogleAPIClass;
  18767. begin
  18768. Result:=TdfareportingAPI;
  18769. end;
  18770. Function TCountriesResource.Get(dartId: string; profileId: string) : TCountry;
  18771. Const
  18772. _HTTPMethod = 'GET';
  18773. _Path = 'userprofiles/{profileId}/countries/{dartId}';
  18774. _Methodid = 'dfareporting.countries.get';
  18775. Var
  18776. _P : String;
  18777. begin
  18778. _P:=SubstitutePath(_Path,['dartId',dartId,'profileId',profileId]);
  18779. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TCountry) as TCountry;
  18780. end;
  18781. Function TCountriesResource.List(profileId: string) : TCountriesListResponse;
  18782. Const
  18783. _HTTPMethod = 'GET';
  18784. _Path = 'userprofiles/{profileId}/countries';
  18785. _Methodid = 'dfareporting.countries.list';
  18786. Var
  18787. _P : String;
  18788. begin
  18789. _P:=SubstitutePath(_Path,['profileId',profileId]);
  18790. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TCountriesListResponse) as TCountriesListResponse;
  18791. end;
  18792. { --------------------------------------------------------------------
  18793. TCreativeAssetsResource
  18794. --------------------------------------------------------------------}
  18795. Class Function TCreativeAssetsResource.ResourceName : String;
  18796. begin
  18797. Result:='creativeAssets';
  18798. end;
  18799. Class Function TCreativeAssetsResource.DefaultAPI : TGoogleAPIClass;
  18800. begin
  18801. Result:=TdfareportingAPI;
  18802. end;
  18803. Function TCreativeAssetsResource.Insert(advertiserId: string; profileId: string; aCreativeAssetMetadata : TCreativeAssetMetadata) : TCreativeAssetMetadata;
  18804. Const
  18805. _HTTPMethod = 'POST';
  18806. _Path = 'userprofiles/{profileId}/creativeAssets/{advertiserId}/creativeAssets';
  18807. _Methodid = 'dfareporting.creativeAssets.insert';
  18808. Var
  18809. _P : String;
  18810. begin
  18811. _P:=SubstitutePath(_Path,['advertiserId',advertiserId,'profileId',profileId]);
  18812. Result:=ServiceCall(_HTTPMethod,_P,'',aCreativeAssetMetadata,TCreativeAssetMetadata) as TCreativeAssetMetadata;
  18813. end;
  18814. { --------------------------------------------------------------------
  18815. TCreativeFieldValuesResource
  18816. --------------------------------------------------------------------}
  18817. Class Function TCreativeFieldValuesResource.ResourceName : String;
  18818. begin
  18819. Result:='creativeFieldValues';
  18820. end;
  18821. Class Function TCreativeFieldValuesResource.DefaultAPI : TGoogleAPIClass;
  18822. begin
  18823. Result:=TdfareportingAPI;
  18824. end;
  18825. Procedure TCreativeFieldValuesResource.Delete(creativeFieldId: string; id: string; profileId: string);
  18826. Const
  18827. _HTTPMethod = 'DELETE';
  18828. _Path = 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues/{id}';
  18829. _Methodid = 'dfareporting.creativeFieldValues.delete';
  18830. Var
  18831. _P : String;
  18832. begin
  18833. _P:=SubstitutePath(_Path,['creativeFieldId',creativeFieldId,'id',id,'profileId',profileId]);
  18834. ServiceCall(_HTTPMethod,_P,'',Nil,Nil);
  18835. end;
  18836. Function TCreativeFieldValuesResource.Get(creativeFieldId: string; id: string; profileId: string) : TCreativeFieldValue;
  18837. Const
  18838. _HTTPMethod = 'GET';
  18839. _Path = 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues/{id}';
  18840. _Methodid = 'dfareporting.creativeFieldValues.get';
  18841. Var
  18842. _P : String;
  18843. begin
  18844. _P:=SubstitutePath(_Path,['creativeFieldId',creativeFieldId,'id',id,'profileId',profileId]);
  18845. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TCreativeFieldValue) as TCreativeFieldValue;
  18846. end;
  18847. Function TCreativeFieldValuesResource.Insert(creativeFieldId: string; profileId: string; aCreativeFieldValue : TCreativeFieldValue) : TCreativeFieldValue;
  18848. Const
  18849. _HTTPMethod = 'POST';
  18850. _Path = 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues';
  18851. _Methodid = 'dfareporting.creativeFieldValues.insert';
  18852. Var
  18853. _P : String;
  18854. begin
  18855. _P:=SubstitutePath(_Path,['creativeFieldId',creativeFieldId,'profileId',profileId]);
  18856. Result:=ServiceCall(_HTTPMethod,_P,'',aCreativeFieldValue,TCreativeFieldValue) as TCreativeFieldValue;
  18857. end;
  18858. Function TCreativeFieldValuesResource.List(creativeFieldId: string; profileId: string; AQuery : string = '') : TCreativeFieldValuesListResponse;
  18859. Const
  18860. _HTTPMethod = 'GET';
  18861. _Path = 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues';
  18862. _Methodid = 'dfareporting.creativeFieldValues.list';
  18863. Var
  18864. _P : String;
  18865. begin
  18866. _P:=SubstitutePath(_Path,['creativeFieldId',creativeFieldId,'profileId',profileId]);
  18867. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TCreativeFieldValuesListResponse) as TCreativeFieldValuesListResponse;
  18868. end;
  18869. Function TCreativeFieldValuesResource.List(creativeFieldId: string; profileId: string; AQuery : TCreativeFieldValueslistOptions) : TCreativeFieldValuesListResponse;
  18870. Var
  18871. _Q : String;
  18872. begin
  18873. _Q:='';
  18874. AddToQuery(_Q,'ids',AQuery.ids);
  18875. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  18876. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  18877. AddToQuery(_Q,'searchString',AQuery.searchString);
  18878. AddToQuery(_Q,'sortField',AQuery.sortField);
  18879. AddToQuery(_Q,'sortOrder',AQuery.sortOrder);
  18880. Result:=List(creativeFieldId,profileId,_Q);
  18881. end;
  18882. Function TCreativeFieldValuesResource.Patch(creativeFieldId: string; profileId: string; aCreativeFieldValue : TCreativeFieldValue; AQuery : string = '') : TCreativeFieldValue;
  18883. Const
  18884. _HTTPMethod = 'PATCH';
  18885. _Path = 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues';
  18886. _Methodid = 'dfareporting.creativeFieldValues.patch';
  18887. Var
  18888. _P : String;
  18889. begin
  18890. _P:=SubstitutePath(_Path,['creativeFieldId',creativeFieldId,'profileId',profileId]);
  18891. Result:=ServiceCall(_HTTPMethod,_P,AQuery,aCreativeFieldValue,TCreativeFieldValue) as TCreativeFieldValue;
  18892. end;
  18893. Function TCreativeFieldValuesResource.Patch(creativeFieldId: string; profileId: string; aCreativeFieldValue : TCreativeFieldValue; AQuery : TCreativeFieldValuespatchOptions) : TCreativeFieldValue;
  18894. Var
  18895. _Q : String;
  18896. begin
  18897. _Q:='';
  18898. AddToQuery(_Q,'id',AQuery.id);
  18899. Result:=Patch(creativeFieldId,profileId,aCreativeFieldValue,_Q);
  18900. end;
  18901. Function TCreativeFieldValuesResource.Update(creativeFieldId: string; profileId: string; aCreativeFieldValue : TCreativeFieldValue) : TCreativeFieldValue;
  18902. Const
  18903. _HTTPMethod = 'PUT';
  18904. _Path = 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues';
  18905. _Methodid = 'dfareporting.creativeFieldValues.update';
  18906. Var
  18907. _P : String;
  18908. begin
  18909. _P:=SubstitutePath(_Path,['creativeFieldId',creativeFieldId,'profileId',profileId]);
  18910. Result:=ServiceCall(_HTTPMethod,_P,'',aCreativeFieldValue,TCreativeFieldValue) as TCreativeFieldValue;
  18911. end;
  18912. { --------------------------------------------------------------------
  18913. TCreativeFieldsResource
  18914. --------------------------------------------------------------------}
  18915. Class Function TCreativeFieldsResource.ResourceName : String;
  18916. begin
  18917. Result:='creativeFields';
  18918. end;
  18919. Class Function TCreativeFieldsResource.DefaultAPI : TGoogleAPIClass;
  18920. begin
  18921. Result:=TdfareportingAPI;
  18922. end;
  18923. Procedure TCreativeFieldsResource.Delete(id: string; profileId: string);
  18924. Const
  18925. _HTTPMethod = 'DELETE';
  18926. _Path = 'userprofiles/{profileId}/creativeFields/{id}';
  18927. _Methodid = 'dfareporting.creativeFields.delete';
  18928. Var
  18929. _P : String;
  18930. begin
  18931. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId]);
  18932. ServiceCall(_HTTPMethod,_P,'',Nil,Nil);
  18933. end;
  18934. Function TCreativeFieldsResource.Get(id: string; profileId: string) : TCreativeField;
  18935. Const
  18936. _HTTPMethod = 'GET';
  18937. _Path = 'userprofiles/{profileId}/creativeFields/{id}';
  18938. _Methodid = 'dfareporting.creativeFields.get';
  18939. Var
  18940. _P : String;
  18941. begin
  18942. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId]);
  18943. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TCreativeField) as TCreativeField;
  18944. end;
  18945. Function TCreativeFieldsResource.Insert(profileId: string; aCreativeField : TCreativeField) : TCreativeField;
  18946. Const
  18947. _HTTPMethod = 'POST';
  18948. _Path = 'userprofiles/{profileId}/creativeFields';
  18949. _Methodid = 'dfareporting.creativeFields.insert';
  18950. Var
  18951. _P : String;
  18952. begin
  18953. _P:=SubstitutePath(_Path,['profileId',profileId]);
  18954. Result:=ServiceCall(_HTTPMethod,_P,'',aCreativeField,TCreativeField) as TCreativeField;
  18955. end;
  18956. Function TCreativeFieldsResource.List(profileId: string; AQuery : string = '') : TCreativeFieldsListResponse;
  18957. Const
  18958. _HTTPMethod = 'GET';
  18959. _Path = 'userprofiles/{profileId}/creativeFields';
  18960. _Methodid = 'dfareporting.creativeFields.list';
  18961. Var
  18962. _P : String;
  18963. begin
  18964. _P:=SubstitutePath(_Path,['profileId',profileId]);
  18965. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TCreativeFieldsListResponse) as TCreativeFieldsListResponse;
  18966. end;
  18967. Function TCreativeFieldsResource.List(profileId: string; AQuery : TCreativeFieldslistOptions) : TCreativeFieldsListResponse;
  18968. Var
  18969. _Q : String;
  18970. begin
  18971. _Q:='';
  18972. AddToQuery(_Q,'advertiserIds',AQuery.advertiserIds);
  18973. AddToQuery(_Q,'ids',AQuery.ids);
  18974. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  18975. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  18976. AddToQuery(_Q,'searchString',AQuery.searchString);
  18977. AddToQuery(_Q,'sortField',AQuery.sortField);
  18978. AddToQuery(_Q,'sortOrder',AQuery.sortOrder);
  18979. Result:=List(profileId,_Q);
  18980. end;
  18981. Function TCreativeFieldsResource.Patch(profileId: string; aCreativeField : TCreativeField; AQuery : string = '') : TCreativeField;
  18982. Const
  18983. _HTTPMethod = 'PATCH';
  18984. _Path = 'userprofiles/{profileId}/creativeFields';
  18985. _Methodid = 'dfareporting.creativeFields.patch';
  18986. Var
  18987. _P : String;
  18988. begin
  18989. _P:=SubstitutePath(_Path,['profileId',profileId]);
  18990. Result:=ServiceCall(_HTTPMethod,_P,AQuery,aCreativeField,TCreativeField) as TCreativeField;
  18991. end;
  18992. Function TCreativeFieldsResource.Patch(profileId: string; aCreativeField : TCreativeField; AQuery : TCreativeFieldspatchOptions) : TCreativeField;
  18993. Var
  18994. _Q : String;
  18995. begin
  18996. _Q:='';
  18997. AddToQuery(_Q,'id',AQuery.id);
  18998. Result:=Patch(profileId,aCreativeField,_Q);
  18999. end;
  19000. Function TCreativeFieldsResource.Update(profileId: string; aCreativeField : TCreativeField) : TCreativeField;
  19001. Const
  19002. _HTTPMethod = 'PUT';
  19003. _Path = 'userprofiles/{profileId}/creativeFields';
  19004. _Methodid = 'dfareporting.creativeFields.update';
  19005. Var
  19006. _P : String;
  19007. begin
  19008. _P:=SubstitutePath(_Path,['profileId',profileId]);
  19009. Result:=ServiceCall(_HTTPMethod,_P,'',aCreativeField,TCreativeField) as TCreativeField;
  19010. end;
  19011. { --------------------------------------------------------------------
  19012. TCreativeGroupsResource
  19013. --------------------------------------------------------------------}
  19014. Class Function TCreativeGroupsResource.ResourceName : String;
  19015. begin
  19016. Result:='creativeGroups';
  19017. end;
  19018. Class Function TCreativeGroupsResource.DefaultAPI : TGoogleAPIClass;
  19019. begin
  19020. Result:=TdfareportingAPI;
  19021. end;
  19022. Function TCreativeGroupsResource.Get(id: string; profileId: string) : TCreativeGroup;
  19023. Const
  19024. _HTTPMethod = 'GET';
  19025. _Path = 'userprofiles/{profileId}/creativeGroups/{id}';
  19026. _Methodid = 'dfareporting.creativeGroups.get';
  19027. Var
  19028. _P : String;
  19029. begin
  19030. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId]);
  19031. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TCreativeGroup) as TCreativeGroup;
  19032. end;
  19033. Function TCreativeGroupsResource.Insert(profileId: string; aCreativeGroup : TCreativeGroup) : TCreativeGroup;
  19034. Const
  19035. _HTTPMethod = 'POST';
  19036. _Path = 'userprofiles/{profileId}/creativeGroups';
  19037. _Methodid = 'dfareporting.creativeGroups.insert';
  19038. Var
  19039. _P : String;
  19040. begin
  19041. _P:=SubstitutePath(_Path,['profileId',profileId]);
  19042. Result:=ServiceCall(_HTTPMethod,_P,'',aCreativeGroup,TCreativeGroup) as TCreativeGroup;
  19043. end;
  19044. Function TCreativeGroupsResource.List(profileId: string; AQuery : string = '') : TCreativeGroupsListResponse;
  19045. Const
  19046. _HTTPMethod = 'GET';
  19047. _Path = 'userprofiles/{profileId}/creativeGroups';
  19048. _Methodid = 'dfareporting.creativeGroups.list';
  19049. Var
  19050. _P : String;
  19051. begin
  19052. _P:=SubstitutePath(_Path,['profileId',profileId]);
  19053. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TCreativeGroupsListResponse) as TCreativeGroupsListResponse;
  19054. end;
  19055. Function TCreativeGroupsResource.List(profileId: string; AQuery : TCreativeGroupslistOptions) : TCreativeGroupsListResponse;
  19056. Var
  19057. _Q : String;
  19058. begin
  19059. _Q:='';
  19060. AddToQuery(_Q,'advertiserIds',AQuery.advertiserIds);
  19061. AddToQuery(_Q,'groupNumber',AQuery.groupNumber);
  19062. AddToQuery(_Q,'ids',AQuery.ids);
  19063. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  19064. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  19065. AddToQuery(_Q,'searchString',AQuery.searchString);
  19066. AddToQuery(_Q,'sortField',AQuery.sortField);
  19067. AddToQuery(_Q,'sortOrder',AQuery.sortOrder);
  19068. Result:=List(profileId,_Q);
  19069. end;
  19070. Function TCreativeGroupsResource.Patch(profileId: string; aCreativeGroup : TCreativeGroup; AQuery : string = '') : TCreativeGroup;
  19071. Const
  19072. _HTTPMethod = 'PATCH';
  19073. _Path = 'userprofiles/{profileId}/creativeGroups';
  19074. _Methodid = 'dfareporting.creativeGroups.patch';
  19075. Var
  19076. _P : String;
  19077. begin
  19078. _P:=SubstitutePath(_Path,['profileId',profileId]);
  19079. Result:=ServiceCall(_HTTPMethod,_P,AQuery,aCreativeGroup,TCreativeGroup) as TCreativeGroup;
  19080. end;
  19081. Function TCreativeGroupsResource.Patch(profileId: string; aCreativeGroup : TCreativeGroup; AQuery : TCreativeGroupspatchOptions) : TCreativeGroup;
  19082. Var
  19083. _Q : String;
  19084. begin
  19085. _Q:='';
  19086. AddToQuery(_Q,'id',AQuery.id);
  19087. Result:=Patch(profileId,aCreativeGroup,_Q);
  19088. end;
  19089. Function TCreativeGroupsResource.Update(profileId: string; aCreativeGroup : TCreativeGroup) : TCreativeGroup;
  19090. Const
  19091. _HTTPMethod = 'PUT';
  19092. _Path = 'userprofiles/{profileId}/creativeGroups';
  19093. _Methodid = 'dfareporting.creativeGroups.update';
  19094. Var
  19095. _P : String;
  19096. begin
  19097. _P:=SubstitutePath(_Path,['profileId',profileId]);
  19098. Result:=ServiceCall(_HTTPMethod,_P,'',aCreativeGroup,TCreativeGroup) as TCreativeGroup;
  19099. end;
  19100. { --------------------------------------------------------------------
  19101. TCreativesResource
  19102. --------------------------------------------------------------------}
  19103. Class Function TCreativesResource.ResourceName : String;
  19104. begin
  19105. Result:='creatives';
  19106. end;
  19107. Class Function TCreativesResource.DefaultAPI : TGoogleAPIClass;
  19108. begin
  19109. Result:=TdfareportingAPI;
  19110. end;
  19111. Function TCreativesResource.Get(id: string; profileId: string) : TCreative;
  19112. Const
  19113. _HTTPMethod = 'GET';
  19114. _Path = 'userprofiles/{profileId}/creatives/{id}';
  19115. _Methodid = 'dfareporting.creatives.get';
  19116. Var
  19117. _P : String;
  19118. begin
  19119. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId]);
  19120. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TCreative) as TCreative;
  19121. end;
  19122. Function TCreativesResource.Insert(profileId: string; aCreative : TCreative) : TCreative;
  19123. Const
  19124. _HTTPMethod = 'POST';
  19125. _Path = 'userprofiles/{profileId}/creatives';
  19126. _Methodid = 'dfareporting.creatives.insert';
  19127. Var
  19128. _P : String;
  19129. begin
  19130. _P:=SubstitutePath(_Path,['profileId',profileId]);
  19131. Result:=ServiceCall(_HTTPMethod,_P,'',aCreative,TCreative) as TCreative;
  19132. end;
  19133. Function TCreativesResource.List(profileId: string; AQuery : string = '') : TCreativesListResponse;
  19134. Const
  19135. _HTTPMethod = 'GET';
  19136. _Path = 'userprofiles/{profileId}/creatives';
  19137. _Methodid = 'dfareporting.creatives.list';
  19138. Var
  19139. _P : String;
  19140. begin
  19141. _P:=SubstitutePath(_Path,['profileId',profileId]);
  19142. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TCreativesListResponse) as TCreativesListResponse;
  19143. end;
  19144. Function TCreativesResource.List(profileId: string; AQuery : TCreativeslistOptions) : TCreativesListResponse;
  19145. Var
  19146. _Q : String;
  19147. begin
  19148. _Q:='';
  19149. AddToQuery(_Q,'active',AQuery.active);
  19150. AddToQuery(_Q,'advertiserId',AQuery.advertiserId);
  19151. AddToQuery(_Q,'archived',AQuery.archived);
  19152. AddToQuery(_Q,'campaignId',AQuery.campaignId);
  19153. AddToQuery(_Q,'companionCreativeIds',AQuery.companionCreativeIds);
  19154. AddToQuery(_Q,'creativeFieldIds',AQuery.creativeFieldIds);
  19155. AddToQuery(_Q,'ids',AQuery.ids);
  19156. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  19157. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  19158. AddToQuery(_Q,'renderingIds',AQuery.renderingIds);
  19159. AddToQuery(_Q,'searchString',AQuery.searchString);
  19160. AddToQuery(_Q,'sizeIds',AQuery.sizeIds);
  19161. AddToQuery(_Q,'sortField',AQuery.sortField);
  19162. AddToQuery(_Q,'sortOrder',AQuery.sortOrder);
  19163. AddToQuery(_Q,'studioCreativeId',AQuery.studioCreativeId);
  19164. AddToQuery(_Q,'types',AQuery.types);
  19165. Result:=List(profileId,_Q);
  19166. end;
  19167. Function TCreativesResource.Patch(profileId: string; aCreative : TCreative; AQuery : string = '') : TCreative;
  19168. Const
  19169. _HTTPMethod = 'PATCH';
  19170. _Path = 'userprofiles/{profileId}/creatives';
  19171. _Methodid = 'dfareporting.creatives.patch';
  19172. Var
  19173. _P : String;
  19174. begin
  19175. _P:=SubstitutePath(_Path,['profileId',profileId]);
  19176. Result:=ServiceCall(_HTTPMethod,_P,AQuery,aCreative,TCreative) as TCreative;
  19177. end;
  19178. Function TCreativesResource.Patch(profileId: string; aCreative : TCreative; AQuery : TCreativespatchOptions) : TCreative;
  19179. Var
  19180. _Q : String;
  19181. begin
  19182. _Q:='';
  19183. AddToQuery(_Q,'id',AQuery.id);
  19184. Result:=Patch(profileId,aCreative,_Q);
  19185. end;
  19186. Function TCreativesResource.Update(profileId: string; aCreative : TCreative) : TCreative;
  19187. Const
  19188. _HTTPMethod = 'PUT';
  19189. _Path = 'userprofiles/{profileId}/creatives';
  19190. _Methodid = 'dfareporting.creatives.update';
  19191. Var
  19192. _P : String;
  19193. begin
  19194. _P:=SubstitutePath(_Path,['profileId',profileId]);
  19195. Result:=ServiceCall(_HTTPMethod,_P,'',aCreative,TCreative) as TCreative;
  19196. end;
  19197. { --------------------------------------------------------------------
  19198. TDimensionValuesResource
  19199. --------------------------------------------------------------------}
  19200. Class Function TDimensionValuesResource.ResourceName : String;
  19201. begin
  19202. Result:='dimensionValues';
  19203. end;
  19204. Class Function TDimensionValuesResource.DefaultAPI : TGoogleAPIClass;
  19205. begin
  19206. Result:=TdfareportingAPI;
  19207. end;
  19208. Function TDimensionValuesResource.Query(profileId: string; aDimensionValueRequest : TDimensionValueRequest; AQuery : string = '') : TDimensionValueList;
  19209. Const
  19210. _HTTPMethod = 'POST';
  19211. _Path = 'userprofiles/{profileId}/dimensionvalues/query';
  19212. _Methodid = 'dfareporting.dimensionValues.query';
  19213. Var
  19214. _P : String;
  19215. begin
  19216. _P:=SubstitutePath(_Path,['profileId',profileId]);
  19217. Result:=ServiceCall(_HTTPMethod,_P,AQuery,aDimensionValueRequest,TDimensionValueList) as TDimensionValueList;
  19218. end;
  19219. Function TDimensionValuesResource.Query(profileId: string; aDimensionValueRequest : TDimensionValueRequest; AQuery : TDimensionValuesqueryOptions) : TDimensionValueList;
  19220. Var
  19221. _Q : String;
  19222. begin
  19223. _Q:='';
  19224. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  19225. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  19226. Result:=Query(profileId,aDimensionValueRequest,_Q);
  19227. end;
  19228. { --------------------------------------------------------------------
  19229. TDirectorySiteContactsResource
  19230. --------------------------------------------------------------------}
  19231. Class Function TDirectorySiteContactsResource.ResourceName : String;
  19232. begin
  19233. Result:='directorySiteContacts';
  19234. end;
  19235. Class Function TDirectorySiteContactsResource.DefaultAPI : TGoogleAPIClass;
  19236. begin
  19237. Result:=TdfareportingAPI;
  19238. end;
  19239. Function TDirectorySiteContactsResource.Get(id: string; profileId: string) : TDirectorySiteContact;
  19240. Const
  19241. _HTTPMethod = 'GET';
  19242. _Path = 'userprofiles/{profileId}/directorySiteContacts/{id}';
  19243. _Methodid = 'dfareporting.directorySiteContacts.get';
  19244. Var
  19245. _P : String;
  19246. begin
  19247. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId]);
  19248. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TDirectorySiteContact) as TDirectorySiteContact;
  19249. end;
  19250. Function TDirectorySiteContactsResource.List(profileId: string; AQuery : string = '') : TDirectorySiteContactsListResponse;
  19251. Const
  19252. _HTTPMethod = 'GET';
  19253. _Path = 'userprofiles/{profileId}/directorySiteContacts';
  19254. _Methodid = 'dfareporting.directorySiteContacts.list';
  19255. Var
  19256. _P : String;
  19257. begin
  19258. _P:=SubstitutePath(_Path,['profileId',profileId]);
  19259. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TDirectorySiteContactsListResponse) as TDirectorySiteContactsListResponse;
  19260. end;
  19261. Function TDirectorySiteContactsResource.List(profileId: string; AQuery : TDirectorySiteContactslistOptions) : TDirectorySiteContactsListResponse;
  19262. Var
  19263. _Q : String;
  19264. begin
  19265. _Q:='';
  19266. AddToQuery(_Q,'directorySiteIds',AQuery.directorySiteIds);
  19267. AddToQuery(_Q,'ids',AQuery.ids);
  19268. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  19269. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  19270. AddToQuery(_Q,'searchString',AQuery.searchString);
  19271. AddToQuery(_Q,'sortField',AQuery.sortField);
  19272. AddToQuery(_Q,'sortOrder',AQuery.sortOrder);
  19273. Result:=List(profileId,_Q);
  19274. end;
  19275. { --------------------------------------------------------------------
  19276. TDirectorySitesResource
  19277. --------------------------------------------------------------------}
  19278. Class Function TDirectorySitesResource.ResourceName : String;
  19279. begin
  19280. Result:='directorySites';
  19281. end;
  19282. Class Function TDirectorySitesResource.DefaultAPI : TGoogleAPIClass;
  19283. begin
  19284. Result:=TdfareportingAPI;
  19285. end;
  19286. Function TDirectorySitesResource.Get(id: string; profileId: string) : TDirectorySite;
  19287. Const
  19288. _HTTPMethod = 'GET';
  19289. _Path = 'userprofiles/{profileId}/directorySites/{id}';
  19290. _Methodid = 'dfareporting.directorySites.get';
  19291. Var
  19292. _P : String;
  19293. begin
  19294. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId]);
  19295. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TDirectorySite) as TDirectorySite;
  19296. end;
  19297. Function TDirectorySitesResource.Insert(profileId: string; aDirectorySite : TDirectorySite) : TDirectorySite;
  19298. Const
  19299. _HTTPMethod = 'POST';
  19300. _Path = 'userprofiles/{profileId}/directorySites';
  19301. _Methodid = 'dfareporting.directorySites.insert';
  19302. Var
  19303. _P : String;
  19304. begin
  19305. _P:=SubstitutePath(_Path,['profileId',profileId]);
  19306. Result:=ServiceCall(_HTTPMethod,_P,'',aDirectorySite,TDirectorySite) as TDirectorySite;
  19307. end;
  19308. Function TDirectorySitesResource.List(profileId: string; AQuery : string = '') : TDirectorySitesListResponse;
  19309. Const
  19310. _HTTPMethod = 'GET';
  19311. _Path = 'userprofiles/{profileId}/directorySites';
  19312. _Methodid = 'dfareporting.directorySites.list';
  19313. Var
  19314. _P : String;
  19315. begin
  19316. _P:=SubstitutePath(_Path,['profileId',profileId]);
  19317. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TDirectorySitesListResponse) as TDirectorySitesListResponse;
  19318. end;
  19319. Function TDirectorySitesResource.List(profileId: string; AQuery : TDirectorySiteslistOptions) : TDirectorySitesListResponse;
  19320. Var
  19321. _Q : String;
  19322. begin
  19323. _Q:='';
  19324. AddToQuery(_Q,'acceptsInStreamVideoPlacements',AQuery.acceptsInStreamVideoPlacements);
  19325. AddToQuery(_Q,'acceptsInterstitialPlacements',AQuery.acceptsInterstitialPlacements);
  19326. AddToQuery(_Q,'acceptsPublisherPaidPlacements',AQuery.acceptsPublisherPaidPlacements);
  19327. AddToQuery(_Q,'active',AQuery.active);
  19328. AddToQuery(_Q,'countryId',AQuery.countryId);
  19329. AddToQuery(_Q,'dfp_network_code',AQuery.dfp_network_code);
  19330. AddToQuery(_Q,'ids',AQuery.ids);
  19331. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  19332. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  19333. AddToQuery(_Q,'parentId',AQuery.parentId);
  19334. AddToQuery(_Q,'searchString',AQuery.searchString);
  19335. AddToQuery(_Q,'sortField',AQuery.sortField);
  19336. AddToQuery(_Q,'sortOrder',AQuery.sortOrder);
  19337. Result:=List(profileId,_Q);
  19338. end;
  19339. { --------------------------------------------------------------------
  19340. TDynamicTargetingKeysResource
  19341. --------------------------------------------------------------------}
  19342. Class Function TDynamicTargetingKeysResource.ResourceName : String;
  19343. begin
  19344. Result:='dynamicTargetingKeys';
  19345. end;
  19346. Class Function TDynamicTargetingKeysResource.DefaultAPI : TGoogleAPIClass;
  19347. begin
  19348. Result:=TdfareportingAPI;
  19349. end;
  19350. Procedure TDynamicTargetingKeysResource.Delete(objectId: string; profileId: string; AQuery : string = '');
  19351. Const
  19352. _HTTPMethod = 'DELETE';
  19353. _Path = 'userprofiles/{profileId}/dynamicTargetingKeys/{objectId}';
  19354. _Methodid = 'dfareporting.dynamicTargetingKeys.delete';
  19355. Var
  19356. _P : String;
  19357. begin
  19358. _P:=SubstitutePath(_Path,['objectId',objectId,'profileId',profileId]);
  19359. ServiceCall(_HTTPMethod,_P,AQuery,Nil,Nil);
  19360. end;
  19361. Procedure TDynamicTargetingKeysResource.Delete(objectId: string; profileId: string; AQuery : TDynamicTargetingKeysdeleteOptions);
  19362. Var
  19363. _Q : String;
  19364. begin
  19365. _Q:='';
  19366. AddToQuery(_Q,'name',AQuery._name);
  19367. AddToQuery(_Q,'objectType',AQuery.objectType);
  19368. Delete(objectId,profileId,_Q);
  19369. end;
  19370. Function TDynamicTargetingKeysResource.Insert(profileId: string; aDynamicTargetingKey : TDynamicTargetingKey) : TDynamicTargetingKey;
  19371. Const
  19372. _HTTPMethod = 'POST';
  19373. _Path = 'userprofiles/{profileId}/dynamicTargetingKeys';
  19374. _Methodid = 'dfareporting.dynamicTargetingKeys.insert';
  19375. Var
  19376. _P : String;
  19377. begin
  19378. _P:=SubstitutePath(_Path,['profileId',profileId]);
  19379. Result:=ServiceCall(_HTTPMethod,_P,'',aDynamicTargetingKey,TDynamicTargetingKey) as TDynamicTargetingKey;
  19380. end;
  19381. Function TDynamicTargetingKeysResource.List(profileId: string; AQuery : string = '') : TDynamicTargetingKeysListResponse;
  19382. Const
  19383. _HTTPMethod = 'GET';
  19384. _Path = 'userprofiles/{profileId}/dynamicTargetingKeys';
  19385. _Methodid = 'dfareporting.dynamicTargetingKeys.list';
  19386. Var
  19387. _P : String;
  19388. begin
  19389. _P:=SubstitutePath(_Path,['profileId',profileId]);
  19390. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TDynamicTargetingKeysListResponse) as TDynamicTargetingKeysListResponse;
  19391. end;
  19392. Function TDynamicTargetingKeysResource.List(profileId: string; AQuery : TDynamicTargetingKeyslistOptions) : TDynamicTargetingKeysListResponse;
  19393. Var
  19394. _Q : String;
  19395. begin
  19396. _Q:='';
  19397. AddToQuery(_Q,'advertiserId',AQuery.advertiserId);
  19398. AddToQuery(_Q,'names',AQuery.names);
  19399. AddToQuery(_Q,'objectId',AQuery.objectId);
  19400. AddToQuery(_Q,'objectType',AQuery.objectType);
  19401. Result:=List(profileId,_Q);
  19402. end;
  19403. { --------------------------------------------------------------------
  19404. TEventTagsResource
  19405. --------------------------------------------------------------------}
  19406. Class Function TEventTagsResource.ResourceName : String;
  19407. begin
  19408. Result:='eventTags';
  19409. end;
  19410. Class Function TEventTagsResource.DefaultAPI : TGoogleAPIClass;
  19411. begin
  19412. Result:=TdfareportingAPI;
  19413. end;
  19414. Procedure TEventTagsResource.Delete(id: string; profileId: string);
  19415. Const
  19416. _HTTPMethod = 'DELETE';
  19417. _Path = 'userprofiles/{profileId}/eventTags/{id}';
  19418. _Methodid = 'dfareporting.eventTags.delete';
  19419. Var
  19420. _P : String;
  19421. begin
  19422. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId]);
  19423. ServiceCall(_HTTPMethod,_P,'',Nil,Nil);
  19424. end;
  19425. Function TEventTagsResource.Get(id: string; profileId: string) : TEventTag;
  19426. Const
  19427. _HTTPMethod = 'GET';
  19428. _Path = 'userprofiles/{profileId}/eventTags/{id}';
  19429. _Methodid = 'dfareporting.eventTags.get';
  19430. Var
  19431. _P : String;
  19432. begin
  19433. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId]);
  19434. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TEventTag) as TEventTag;
  19435. end;
  19436. Function TEventTagsResource.Insert(profileId: string; aEventTag : TEventTag) : TEventTag;
  19437. Const
  19438. _HTTPMethod = 'POST';
  19439. _Path = 'userprofiles/{profileId}/eventTags';
  19440. _Methodid = 'dfareporting.eventTags.insert';
  19441. Var
  19442. _P : String;
  19443. begin
  19444. _P:=SubstitutePath(_Path,['profileId',profileId]);
  19445. Result:=ServiceCall(_HTTPMethod,_P,'',aEventTag,TEventTag) as TEventTag;
  19446. end;
  19447. Function TEventTagsResource.List(profileId: string; AQuery : string = '') : TEventTagsListResponse;
  19448. Const
  19449. _HTTPMethod = 'GET';
  19450. _Path = 'userprofiles/{profileId}/eventTags';
  19451. _Methodid = 'dfareporting.eventTags.list';
  19452. Var
  19453. _P : String;
  19454. begin
  19455. _P:=SubstitutePath(_Path,['profileId',profileId]);
  19456. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TEventTagsListResponse) as TEventTagsListResponse;
  19457. end;
  19458. Function TEventTagsResource.List(profileId: string; AQuery : TEventTagslistOptions) : TEventTagsListResponse;
  19459. Var
  19460. _Q : String;
  19461. begin
  19462. _Q:='';
  19463. AddToQuery(_Q,'adId',AQuery.adId);
  19464. AddToQuery(_Q,'advertiserId',AQuery.advertiserId);
  19465. AddToQuery(_Q,'campaignId',AQuery.campaignId);
  19466. AddToQuery(_Q,'definitionsOnly',AQuery.definitionsOnly);
  19467. AddToQuery(_Q,'enabled',AQuery.enabled);
  19468. AddToQuery(_Q,'eventTagTypes',AQuery.eventTagTypes);
  19469. AddToQuery(_Q,'ids',AQuery.ids);
  19470. AddToQuery(_Q,'searchString',AQuery.searchString);
  19471. AddToQuery(_Q,'sortField',AQuery.sortField);
  19472. AddToQuery(_Q,'sortOrder',AQuery.sortOrder);
  19473. Result:=List(profileId,_Q);
  19474. end;
  19475. Function TEventTagsResource.Patch(profileId: string; aEventTag : TEventTag; AQuery : string = '') : TEventTag;
  19476. Const
  19477. _HTTPMethod = 'PATCH';
  19478. _Path = 'userprofiles/{profileId}/eventTags';
  19479. _Methodid = 'dfareporting.eventTags.patch';
  19480. Var
  19481. _P : String;
  19482. begin
  19483. _P:=SubstitutePath(_Path,['profileId',profileId]);
  19484. Result:=ServiceCall(_HTTPMethod,_P,AQuery,aEventTag,TEventTag) as TEventTag;
  19485. end;
  19486. Function TEventTagsResource.Patch(profileId: string; aEventTag : TEventTag; AQuery : TEventTagspatchOptions) : TEventTag;
  19487. Var
  19488. _Q : String;
  19489. begin
  19490. _Q:='';
  19491. AddToQuery(_Q,'id',AQuery.id);
  19492. Result:=Patch(profileId,aEventTag,_Q);
  19493. end;
  19494. Function TEventTagsResource.Update(profileId: string; aEventTag : TEventTag) : TEventTag;
  19495. Const
  19496. _HTTPMethod = 'PUT';
  19497. _Path = 'userprofiles/{profileId}/eventTags';
  19498. _Methodid = 'dfareporting.eventTags.update';
  19499. Var
  19500. _P : String;
  19501. begin
  19502. _P:=SubstitutePath(_Path,['profileId',profileId]);
  19503. Result:=ServiceCall(_HTTPMethod,_P,'',aEventTag,TEventTag) as TEventTag;
  19504. end;
  19505. { --------------------------------------------------------------------
  19506. TFilesResource
  19507. --------------------------------------------------------------------}
  19508. Class Function TFilesResource.ResourceName : String;
  19509. begin
  19510. Result:='files';
  19511. end;
  19512. Class Function TFilesResource.DefaultAPI : TGoogleAPIClass;
  19513. begin
  19514. Result:=TdfareportingAPI;
  19515. end;
  19516. Function TFilesResource.Get(fileId: string; reportId: string) : TFile;
  19517. Const
  19518. _HTTPMethod = 'GET';
  19519. _Path = 'reports/{reportId}/files/{fileId}';
  19520. _Methodid = 'dfareporting.files.get';
  19521. Var
  19522. _P : String;
  19523. begin
  19524. _P:=SubstitutePath(_Path,['fileId',fileId,'reportId',reportId]);
  19525. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TFile) as TFile;
  19526. end;
  19527. Function TFilesResource.List(profileId: string; AQuery : string = '') : TFileList;
  19528. Const
  19529. _HTTPMethod = 'GET';
  19530. _Path = 'userprofiles/{profileId}/files';
  19531. _Methodid = 'dfareporting.files.list';
  19532. Var
  19533. _P : String;
  19534. begin
  19535. _P:=SubstitutePath(_Path,['profileId',profileId]);
  19536. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TFileList) as TFileList;
  19537. end;
  19538. Function TFilesResource.List(profileId: string; AQuery : TFileslistOptions) : TFileList;
  19539. Var
  19540. _Q : String;
  19541. begin
  19542. _Q:='';
  19543. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  19544. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  19545. AddToQuery(_Q,'scope',AQuery.scope);
  19546. AddToQuery(_Q,'sortField',AQuery.sortField);
  19547. AddToQuery(_Q,'sortOrder',AQuery.sortOrder);
  19548. Result:=List(profileId,_Q);
  19549. end;
  19550. { --------------------------------------------------------------------
  19551. TFloodlightActivitiesResource
  19552. --------------------------------------------------------------------}
  19553. Class Function TFloodlightActivitiesResource.ResourceName : String;
  19554. begin
  19555. Result:='floodlightActivities';
  19556. end;
  19557. Class Function TFloodlightActivitiesResource.DefaultAPI : TGoogleAPIClass;
  19558. begin
  19559. Result:=TdfareportingAPI;
  19560. end;
  19561. Procedure TFloodlightActivitiesResource.Delete(id: string; profileId: string);
  19562. Const
  19563. _HTTPMethod = 'DELETE';
  19564. _Path = 'userprofiles/{profileId}/floodlightActivities/{id}';
  19565. _Methodid = 'dfareporting.floodlightActivities.delete';
  19566. Var
  19567. _P : String;
  19568. begin
  19569. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId]);
  19570. ServiceCall(_HTTPMethod,_P,'',Nil,Nil);
  19571. end;
  19572. Function TFloodlightActivitiesResource.Generatetag(profileId: string; AQuery : string = '') : TFloodlightActivitiesGenerateTagResponse;
  19573. Const
  19574. _HTTPMethod = 'POST';
  19575. _Path = 'userprofiles/{profileId}/floodlightActivities/generatetag';
  19576. _Methodid = 'dfareporting.floodlightActivities.generatetag';
  19577. Var
  19578. _P : String;
  19579. begin
  19580. _P:=SubstitutePath(_Path,['profileId',profileId]);
  19581. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TFloodlightActivitiesGenerateTagResponse) as TFloodlightActivitiesGenerateTagResponse;
  19582. end;
  19583. Function TFloodlightActivitiesResource.Generatetag(profileId: string; AQuery : TFloodlightActivitiesgeneratetagOptions) : TFloodlightActivitiesGenerateTagResponse;
  19584. Var
  19585. _Q : String;
  19586. begin
  19587. _Q:='';
  19588. AddToQuery(_Q,'floodlightActivityId',AQuery.floodlightActivityId);
  19589. Result:=Generatetag(profileId,_Q);
  19590. end;
  19591. Function TFloodlightActivitiesResource.Get(id: string; profileId: string) : TFloodlightActivity;
  19592. Const
  19593. _HTTPMethod = 'GET';
  19594. _Path = 'userprofiles/{profileId}/floodlightActivities/{id}';
  19595. _Methodid = 'dfareporting.floodlightActivities.get';
  19596. Var
  19597. _P : String;
  19598. begin
  19599. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId]);
  19600. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TFloodlightActivity) as TFloodlightActivity;
  19601. end;
  19602. Function TFloodlightActivitiesResource.Insert(profileId: string; aFloodlightActivity : TFloodlightActivity) : TFloodlightActivity;
  19603. Const
  19604. _HTTPMethod = 'POST';
  19605. _Path = 'userprofiles/{profileId}/floodlightActivities';
  19606. _Methodid = 'dfareporting.floodlightActivities.insert';
  19607. Var
  19608. _P : String;
  19609. begin
  19610. _P:=SubstitutePath(_Path,['profileId',profileId]);
  19611. Result:=ServiceCall(_HTTPMethod,_P,'',aFloodlightActivity,TFloodlightActivity) as TFloodlightActivity;
  19612. end;
  19613. Function TFloodlightActivitiesResource.List(profileId: string; AQuery : string = '') : TFloodlightActivitiesListResponse;
  19614. Const
  19615. _HTTPMethod = 'GET';
  19616. _Path = 'userprofiles/{profileId}/floodlightActivities';
  19617. _Methodid = 'dfareporting.floodlightActivities.list';
  19618. Var
  19619. _P : String;
  19620. begin
  19621. _P:=SubstitutePath(_Path,['profileId',profileId]);
  19622. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TFloodlightActivitiesListResponse) as TFloodlightActivitiesListResponse;
  19623. end;
  19624. Function TFloodlightActivitiesResource.List(profileId: string; AQuery : TFloodlightActivitieslistOptions) : TFloodlightActivitiesListResponse;
  19625. Var
  19626. _Q : String;
  19627. begin
  19628. _Q:='';
  19629. AddToQuery(_Q,'advertiserId',AQuery.advertiserId);
  19630. AddToQuery(_Q,'floodlightActivityGroupIds',AQuery.floodlightActivityGroupIds);
  19631. AddToQuery(_Q,'floodlightActivityGroupName',AQuery.floodlightActivityGroupName);
  19632. AddToQuery(_Q,'floodlightActivityGroupTagString',AQuery.floodlightActivityGroupTagString);
  19633. AddToQuery(_Q,'floodlightActivityGroupType',AQuery.floodlightActivityGroupType);
  19634. AddToQuery(_Q,'floodlightConfigurationId',AQuery.floodlightConfigurationId);
  19635. AddToQuery(_Q,'ids',AQuery.ids);
  19636. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  19637. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  19638. AddToQuery(_Q,'searchString',AQuery.searchString);
  19639. AddToQuery(_Q,'sortField',AQuery.sortField);
  19640. AddToQuery(_Q,'sortOrder',AQuery.sortOrder);
  19641. AddToQuery(_Q,'tagString',AQuery.tagString);
  19642. Result:=List(profileId,_Q);
  19643. end;
  19644. Function TFloodlightActivitiesResource.Patch(profileId: string; aFloodlightActivity : TFloodlightActivity; AQuery : string = '') : TFloodlightActivity;
  19645. Const
  19646. _HTTPMethod = 'PATCH';
  19647. _Path = 'userprofiles/{profileId}/floodlightActivities';
  19648. _Methodid = 'dfareporting.floodlightActivities.patch';
  19649. Var
  19650. _P : String;
  19651. begin
  19652. _P:=SubstitutePath(_Path,['profileId',profileId]);
  19653. Result:=ServiceCall(_HTTPMethod,_P,AQuery,aFloodlightActivity,TFloodlightActivity) as TFloodlightActivity;
  19654. end;
  19655. Function TFloodlightActivitiesResource.Patch(profileId: string; aFloodlightActivity : TFloodlightActivity; AQuery : TFloodlightActivitiespatchOptions) : TFloodlightActivity;
  19656. Var
  19657. _Q : String;
  19658. begin
  19659. _Q:='';
  19660. AddToQuery(_Q,'id',AQuery.id);
  19661. Result:=Patch(profileId,aFloodlightActivity,_Q);
  19662. end;
  19663. Function TFloodlightActivitiesResource.Update(profileId: string; aFloodlightActivity : TFloodlightActivity) : TFloodlightActivity;
  19664. Const
  19665. _HTTPMethod = 'PUT';
  19666. _Path = 'userprofiles/{profileId}/floodlightActivities';
  19667. _Methodid = 'dfareporting.floodlightActivities.update';
  19668. Var
  19669. _P : String;
  19670. begin
  19671. _P:=SubstitutePath(_Path,['profileId',profileId]);
  19672. Result:=ServiceCall(_HTTPMethod,_P,'',aFloodlightActivity,TFloodlightActivity) as TFloodlightActivity;
  19673. end;
  19674. { --------------------------------------------------------------------
  19675. TFloodlightActivityGroupsResource
  19676. --------------------------------------------------------------------}
  19677. Class Function TFloodlightActivityGroupsResource.ResourceName : String;
  19678. begin
  19679. Result:='floodlightActivityGroups';
  19680. end;
  19681. Class Function TFloodlightActivityGroupsResource.DefaultAPI : TGoogleAPIClass;
  19682. begin
  19683. Result:=TdfareportingAPI;
  19684. end;
  19685. Function TFloodlightActivityGroupsResource.Get(id: string; profileId: string) : TFloodlightActivityGroup;
  19686. Const
  19687. _HTTPMethod = 'GET';
  19688. _Path = 'userprofiles/{profileId}/floodlightActivityGroups/{id}';
  19689. _Methodid = 'dfareporting.floodlightActivityGroups.get';
  19690. Var
  19691. _P : String;
  19692. begin
  19693. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId]);
  19694. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TFloodlightActivityGroup) as TFloodlightActivityGroup;
  19695. end;
  19696. Function TFloodlightActivityGroupsResource.Insert(profileId: string; aFloodlightActivityGroup : TFloodlightActivityGroup) : TFloodlightActivityGroup;
  19697. Const
  19698. _HTTPMethod = 'POST';
  19699. _Path = 'userprofiles/{profileId}/floodlightActivityGroups';
  19700. _Methodid = 'dfareporting.floodlightActivityGroups.insert';
  19701. Var
  19702. _P : String;
  19703. begin
  19704. _P:=SubstitutePath(_Path,['profileId',profileId]);
  19705. Result:=ServiceCall(_HTTPMethod,_P,'',aFloodlightActivityGroup,TFloodlightActivityGroup) as TFloodlightActivityGroup;
  19706. end;
  19707. Function TFloodlightActivityGroupsResource.List(profileId: string; AQuery : string = '') : TFloodlightActivityGroupsListResponse;
  19708. Const
  19709. _HTTPMethod = 'GET';
  19710. _Path = 'userprofiles/{profileId}/floodlightActivityGroups';
  19711. _Methodid = 'dfareporting.floodlightActivityGroups.list';
  19712. Var
  19713. _P : String;
  19714. begin
  19715. _P:=SubstitutePath(_Path,['profileId',profileId]);
  19716. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TFloodlightActivityGroupsListResponse) as TFloodlightActivityGroupsListResponse;
  19717. end;
  19718. Function TFloodlightActivityGroupsResource.List(profileId: string; AQuery : TFloodlightActivityGroupslistOptions) : TFloodlightActivityGroupsListResponse;
  19719. Var
  19720. _Q : String;
  19721. begin
  19722. _Q:='';
  19723. AddToQuery(_Q,'advertiserId',AQuery.advertiserId);
  19724. AddToQuery(_Q,'floodlightConfigurationId',AQuery.floodlightConfigurationId);
  19725. AddToQuery(_Q,'ids',AQuery.ids);
  19726. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  19727. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  19728. AddToQuery(_Q,'searchString',AQuery.searchString);
  19729. AddToQuery(_Q,'sortField',AQuery.sortField);
  19730. AddToQuery(_Q,'sortOrder',AQuery.sortOrder);
  19731. AddToQuery(_Q,'type',AQuery._type);
  19732. Result:=List(profileId,_Q);
  19733. end;
  19734. Function TFloodlightActivityGroupsResource.Patch(profileId: string; aFloodlightActivityGroup : TFloodlightActivityGroup; AQuery : string = '') : TFloodlightActivityGroup;
  19735. Const
  19736. _HTTPMethod = 'PATCH';
  19737. _Path = 'userprofiles/{profileId}/floodlightActivityGroups';
  19738. _Methodid = 'dfareporting.floodlightActivityGroups.patch';
  19739. Var
  19740. _P : String;
  19741. begin
  19742. _P:=SubstitutePath(_Path,['profileId',profileId]);
  19743. Result:=ServiceCall(_HTTPMethod,_P,AQuery,aFloodlightActivityGroup,TFloodlightActivityGroup) as TFloodlightActivityGroup;
  19744. end;
  19745. Function TFloodlightActivityGroupsResource.Patch(profileId: string; aFloodlightActivityGroup : TFloodlightActivityGroup; AQuery : TFloodlightActivityGroupspatchOptions) : TFloodlightActivityGroup;
  19746. Var
  19747. _Q : String;
  19748. begin
  19749. _Q:='';
  19750. AddToQuery(_Q,'id',AQuery.id);
  19751. Result:=Patch(profileId,aFloodlightActivityGroup,_Q);
  19752. end;
  19753. Function TFloodlightActivityGroupsResource.Update(profileId: string; aFloodlightActivityGroup : TFloodlightActivityGroup) : TFloodlightActivityGroup;
  19754. Const
  19755. _HTTPMethod = 'PUT';
  19756. _Path = 'userprofiles/{profileId}/floodlightActivityGroups';
  19757. _Methodid = 'dfareporting.floodlightActivityGroups.update';
  19758. Var
  19759. _P : String;
  19760. begin
  19761. _P:=SubstitutePath(_Path,['profileId',profileId]);
  19762. Result:=ServiceCall(_HTTPMethod,_P,'',aFloodlightActivityGroup,TFloodlightActivityGroup) as TFloodlightActivityGroup;
  19763. end;
  19764. { --------------------------------------------------------------------
  19765. TFloodlightConfigurationsResource
  19766. --------------------------------------------------------------------}
  19767. Class Function TFloodlightConfigurationsResource.ResourceName : String;
  19768. begin
  19769. Result:='floodlightConfigurations';
  19770. end;
  19771. Class Function TFloodlightConfigurationsResource.DefaultAPI : TGoogleAPIClass;
  19772. begin
  19773. Result:=TdfareportingAPI;
  19774. end;
  19775. Function TFloodlightConfigurationsResource.Get(id: string; profileId: string) : TFloodlightConfiguration;
  19776. Const
  19777. _HTTPMethod = 'GET';
  19778. _Path = 'userprofiles/{profileId}/floodlightConfigurations/{id}';
  19779. _Methodid = 'dfareporting.floodlightConfigurations.get';
  19780. Var
  19781. _P : String;
  19782. begin
  19783. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId]);
  19784. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TFloodlightConfiguration) as TFloodlightConfiguration;
  19785. end;
  19786. Function TFloodlightConfigurationsResource.List(profileId: string; AQuery : string = '') : TFloodlightConfigurationsListResponse;
  19787. Const
  19788. _HTTPMethod = 'GET';
  19789. _Path = 'userprofiles/{profileId}/floodlightConfigurations';
  19790. _Methodid = 'dfareporting.floodlightConfigurations.list';
  19791. Var
  19792. _P : String;
  19793. begin
  19794. _P:=SubstitutePath(_Path,['profileId',profileId]);
  19795. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TFloodlightConfigurationsListResponse) as TFloodlightConfigurationsListResponse;
  19796. end;
  19797. Function TFloodlightConfigurationsResource.List(profileId: string; AQuery : TFloodlightConfigurationslistOptions) : TFloodlightConfigurationsListResponse;
  19798. Var
  19799. _Q : String;
  19800. begin
  19801. _Q:='';
  19802. AddToQuery(_Q,'ids',AQuery.ids);
  19803. Result:=List(profileId,_Q);
  19804. end;
  19805. Function TFloodlightConfigurationsResource.Patch(profileId: string; aFloodlightConfiguration : TFloodlightConfiguration; AQuery : string = '') : TFloodlightConfiguration;
  19806. Const
  19807. _HTTPMethod = 'PATCH';
  19808. _Path = 'userprofiles/{profileId}/floodlightConfigurations';
  19809. _Methodid = 'dfareporting.floodlightConfigurations.patch';
  19810. Var
  19811. _P : String;
  19812. begin
  19813. _P:=SubstitutePath(_Path,['profileId',profileId]);
  19814. Result:=ServiceCall(_HTTPMethod,_P,AQuery,aFloodlightConfiguration,TFloodlightConfiguration) as TFloodlightConfiguration;
  19815. end;
  19816. Function TFloodlightConfigurationsResource.Patch(profileId: string; aFloodlightConfiguration : TFloodlightConfiguration; AQuery : TFloodlightConfigurationspatchOptions) : TFloodlightConfiguration;
  19817. Var
  19818. _Q : String;
  19819. begin
  19820. _Q:='';
  19821. AddToQuery(_Q,'id',AQuery.id);
  19822. Result:=Patch(profileId,aFloodlightConfiguration,_Q);
  19823. end;
  19824. Function TFloodlightConfigurationsResource.Update(profileId: string; aFloodlightConfiguration : TFloodlightConfiguration) : TFloodlightConfiguration;
  19825. Const
  19826. _HTTPMethod = 'PUT';
  19827. _Path = 'userprofiles/{profileId}/floodlightConfigurations';
  19828. _Methodid = 'dfareporting.floodlightConfigurations.update';
  19829. Var
  19830. _P : String;
  19831. begin
  19832. _P:=SubstitutePath(_Path,['profileId',profileId]);
  19833. Result:=ServiceCall(_HTTPMethod,_P,'',aFloodlightConfiguration,TFloodlightConfiguration) as TFloodlightConfiguration;
  19834. end;
  19835. { --------------------------------------------------------------------
  19836. TInventoryItemsResource
  19837. --------------------------------------------------------------------}
  19838. Class Function TInventoryItemsResource.ResourceName : String;
  19839. begin
  19840. Result:='inventoryItems';
  19841. end;
  19842. Class Function TInventoryItemsResource.DefaultAPI : TGoogleAPIClass;
  19843. begin
  19844. Result:=TdfareportingAPI;
  19845. end;
  19846. Function TInventoryItemsResource.Get(id: string; profileId: string; projectId: string) : TInventoryItem;
  19847. Const
  19848. _HTTPMethod = 'GET';
  19849. _Path = 'userprofiles/{profileId}/projects/{projectId}/inventoryItems/{id}';
  19850. _Methodid = 'dfareporting.inventoryItems.get';
  19851. Var
  19852. _P : String;
  19853. begin
  19854. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId,'projectId',projectId]);
  19855. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TInventoryItem) as TInventoryItem;
  19856. end;
  19857. Function TInventoryItemsResource.List(profileId: string; projectId: string; AQuery : string = '') : TInventoryItemsListResponse;
  19858. Const
  19859. _HTTPMethod = 'GET';
  19860. _Path = 'userprofiles/{profileId}/projects/{projectId}/inventoryItems';
  19861. _Methodid = 'dfareporting.inventoryItems.list';
  19862. Var
  19863. _P : String;
  19864. begin
  19865. _P:=SubstitutePath(_Path,['profileId',profileId,'projectId',projectId]);
  19866. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TInventoryItemsListResponse) as TInventoryItemsListResponse;
  19867. end;
  19868. Function TInventoryItemsResource.List(profileId: string; projectId: string; AQuery : TInventoryItemslistOptions) : TInventoryItemsListResponse;
  19869. Var
  19870. _Q : String;
  19871. begin
  19872. _Q:='';
  19873. AddToQuery(_Q,'ids',AQuery.ids);
  19874. AddToQuery(_Q,'inPlan',AQuery.inPlan);
  19875. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  19876. AddToQuery(_Q,'orderId',AQuery.orderId);
  19877. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  19878. AddToQuery(_Q,'siteId',AQuery.siteId);
  19879. AddToQuery(_Q,'sortField',AQuery.sortField);
  19880. AddToQuery(_Q,'sortOrder',AQuery.sortOrder);
  19881. AddToQuery(_Q,'type',AQuery._type);
  19882. Result:=List(profileId,projectId,_Q);
  19883. end;
  19884. { --------------------------------------------------------------------
  19885. TLandingPagesResource
  19886. --------------------------------------------------------------------}
  19887. Class Function TLandingPagesResource.ResourceName : String;
  19888. begin
  19889. Result:='landingPages';
  19890. end;
  19891. Class Function TLandingPagesResource.DefaultAPI : TGoogleAPIClass;
  19892. begin
  19893. Result:=TdfareportingAPI;
  19894. end;
  19895. Procedure TLandingPagesResource.Delete(campaignId: string; id: string; profileId: string);
  19896. Const
  19897. _HTTPMethod = 'DELETE';
  19898. _Path = 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages/{id}';
  19899. _Methodid = 'dfareporting.landingPages.delete';
  19900. Var
  19901. _P : String;
  19902. begin
  19903. _P:=SubstitutePath(_Path,['campaignId',campaignId,'id',id,'profileId',profileId]);
  19904. ServiceCall(_HTTPMethod,_P,'',Nil,Nil);
  19905. end;
  19906. Function TLandingPagesResource.Get(campaignId: string; id: string; profileId: string) : TLandingPage;
  19907. Const
  19908. _HTTPMethod = 'GET';
  19909. _Path = 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages/{id}';
  19910. _Methodid = 'dfareporting.landingPages.get';
  19911. Var
  19912. _P : String;
  19913. begin
  19914. _P:=SubstitutePath(_Path,['campaignId',campaignId,'id',id,'profileId',profileId]);
  19915. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TLandingPage) as TLandingPage;
  19916. end;
  19917. Function TLandingPagesResource.Insert(campaignId: string; profileId: string; aLandingPage : TLandingPage) : TLandingPage;
  19918. Const
  19919. _HTTPMethod = 'POST';
  19920. _Path = 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages';
  19921. _Methodid = 'dfareporting.landingPages.insert';
  19922. Var
  19923. _P : String;
  19924. begin
  19925. _P:=SubstitutePath(_Path,['campaignId',campaignId,'profileId',profileId]);
  19926. Result:=ServiceCall(_HTTPMethod,_P,'',aLandingPage,TLandingPage) as TLandingPage;
  19927. end;
  19928. Function TLandingPagesResource.List(campaignId: string; profileId: string) : TLandingPagesListResponse;
  19929. Const
  19930. _HTTPMethod = 'GET';
  19931. _Path = 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages';
  19932. _Methodid = 'dfareporting.landingPages.list';
  19933. Var
  19934. _P : String;
  19935. begin
  19936. _P:=SubstitutePath(_Path,['campaignId',campaignId,'profileId',profileId]);
  19937. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TLandingPagesListResponse) as TLandingPagesListResponse;
  19938. end;
  19939. Function TLandingPagesResource.Patch(campaignId: string; profileId: string; aLandingPage : TLandingPage; AQuery : string = '') : TLandingPage;
  19940. Const
  19941. _HTTPMethod = 'PATCH';
  19942. _Path = 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages';
  19943. _Methodid = 'dfareporting.landingPages.patch';
  19944. Var
  19945. _P : String;
  19946. begin
  19947. _P:=SubstitutePath(_Path,['campaignId',campaignId,'profileId',profileId]);
  19948. Result:=ServiceCall(_HTTPMethod,_P,AQuery,aLandingPage,TLandingPage) as TLandingPage;
  19949. end;
  19950. Function TLandingPagesResource.Patch(campaignId: string; profileId: string; aLandingPage : TLandingPage; AQuery : TLandingPagespatchOptions) : TLandingPage;
  19951. Var
  19952. _Q : String;
  19953. begin
  19954. _Q:='';
  19955. AddToQuery(_Q,'id',AQuery.id);
  19956. Result:=Patch(campaignId,profileId,aLandingPage,_Q);
  19957. end;
  19958. Function TLandingPagesResource.Update(campaignId: string; profileId: string; aLandingPage : TLandingPage) : TLandingPage;
  19959. Const
  19960. _HTTPMethod = 'PUT';
  19961. _Path = 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages';
  19962. _Methodid = 'dfareporting.landingPages.update';
  19963. Var
  19964. _P : String;
  19965. begin
  19966. _P:=SubstitutePath(_Path,['campaignId',campaignId,'profileId',profileId]);
  19967. Result:=ServiceCall(_HTTPMethod,_P,'',aLandingPage,TLandingPage) as TLandingPage;
  19968. end;
  19969. { --------------------------------------------------------------------
  19970. TMetrosResource
  19971. --------------------------------------------------------------------}
  19972. Class Function TMetrosResource.ResourceName : String;
  19973. begin
  19974. Result:='metros';
  19975. end;
  19976. Class Function TMetrosResource.DefaultAPI : TGoogleAPIClass;
  19977. begin
  19978. Result:=TdfareportingAPI;
  19979. end;
  19980. Function TMetrosResource.List(profileId: string) : TMetrosListResponse;
  19981. Const
  19982. _HTTPMethod = 'GET';
  19983. _Path = 'userprofiles/{profileId}/metros';
  19984. _Methodid = 'dfareporting.metros.list';
  19985. Var
  19986. _P : String;
  19987. begin
  19988. _P:=SubstitutePath(_Path,['profileId',profileId]);
  19989. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TMetrosListResponse) as TMetrosListResponse;
  19990. end;
  19991. { --------------------------------------------------------------------
  19992. TMobileCarriersResource
  19993. --------------------------------------------------------------------}
  19994. Class Function TMobileCarriersResource.ResourceName : String;
  19995. begin
  19996. Result:='mobileCarriers';
  19997. end;
  19998. Class Function TMobileCarriersResource.DefaultAPI : TGoogleAPIClass;
  19999. begin
  20000. Result:=TdfareportingAPI;
  20001. end;
  20002. Function TMobileCarriersResource.Get(id: string; profileId: string) : TMobileCarrier;
  20003. Const
  20004. _HTTPMethod = 'GET';
  20005. _Path = 'userprofiles/{profileId}/mobileCarriers/{id}';
  20006. _Methodid = 'dfareporting.mobileCarriers.get';
  20007. Var
  20008. _P : String;
  20009. begin
  20010. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId]);
  20011. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TMobileCarrier) as TMobileCarrier;
  20012. end;
  20013. Function TMobileCarriersResource.List(profileId: string) : TMobileCarriersListResponse;
  20014. Const
  20015. _HTTPMethod = 'GET';
  20016. _Path = 'userprofiles/{profileId}/mobileCarriers';
  20017. _Methodid = 'dfareporting.mobileCarriers.list';
  20018. Var
  20019. _P : String;
  20020. begin
  20021. _P:=SubstitutePath(_Path,['profileId',profileId]);
  20022. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TMobileCarriersListResponse) as TMobileCarriersListResponse;
  20023. end;
  20024. { --------------------------------------------------------------------
  20025. TOperatingSystemVersionsResource
  20026. --------------------------------------------------------------------}
  20027. Class Function TOperatingSystemVersionsResource.ResourceName : String;
  20028. begin
  20029. Result:='operatingSystemVersions';
  20030. end;
  20031. Class Function TOperatingSystemVersionsResource.DefaultAPI : TGoogleAPIClass;
  20032. begin
  20033. Result:=TdfareportingAPI;
  20034. end;
  20035. Function TOperatingSystemVersionsResource.Get(id: string; profileId: string) : TOperatingSystemVersion;
  20036. Const
  20037. _HTTPMethod = 'GET';
  20038. _Path = 'userprofiles/{profileId}/operatingSystemVersions/{id}';
  20039. _Methodid = 'dfareporting.operatingSystemVersions.get';
  20040. Var
  20041. _P : String;
  20042. begin
  20043. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId]);
  20044. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TOperatingSystemVersion) as TOperatingSystemVersion;
  20045. end;
  20046. Function TOperatingSystemVersionsResource.List(profileId: string) : TOperatingSystemVersionsListResponse;
  20047. Const
  20048. _HTTPMethod = 'GET';
  20049. _Path = 'userprofiles/{profileId}/operatingSystemVersions';
  20050. _Methodid = 'dfareporting.operatingSystemVersions.list';
  20051. Var
  20052. _P : String;
  20053. begin
  20054. _P:=SubstitutePath(_Path,['profileId',profileId]);
  20055. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TOperatingSystemVersionsListResponse) as TOperatingSystemVersionsListResponse;
  20056. end;
  20057. { --------------------------------------------------------------------
  20058. TOperatingSystemsResource
  20059. --------------------------------------------------------------------}
  20060. Class Function TOperatingSystemsResource.ResourceName : String;
  20061. begin
  20062. Result:='operatingSystems';
  20063. end;
  20064. Class Function TOperatingSystemsResource.DefaultAPI : TGoogleAPIClass;
  20065. begin
  20066. Result:=TdfareportingAPI;
  20067. end;
  20068. Function TOperatingSystemsResource.Get(dartId: string; profileId: string) : TOperatingSystem;
  20069. Const
  20070. _HTTPMethod = 'GET';
  20071. _Path = 'userprofiles/{profileId}/operatingSystems/{dartId}';
  20072. _Methodid = 'dfareporting.operatingSystems.get';
  20073. Var
  20074. _P : String;
  20075. begin
  20076. _P:=SubstitutePath(_Path,['dartId',dartId,'profileId',profileId]);
  20077. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TOperatingSystem) as TOperatingSystem;
  20078. end;
  20079. Function TOperatingSystemsResource.List(profileId: string) : TOperatingSystemsListResponse;
  20080. Const
  20081. _HTTPMethod = 'GET';
  20082. _Path = 'userprofiles/{profileId}/operatingSystems';
  20083. _Methodid = 'dfareporting.operatingSystems.list';
  20084. Var
  20085. _P : String;
  20086. begin
  20087. _P:=SubstitutePath(_Path,['profileId',profileId]);
  20088. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TOperatingSystemsListResponse) as TOperatingSystemsListResponse;
  20089. end;
  20090. { --------------------------------------------------------------------
  20091. TOrderDocumentsResource
  20092. --------------------------------------------------------------------}
  20093. Class Function TOrderDocumentsResource.ResourceName : String;
  20094. begin
  20095. Result:='orderDocuments';
  20096. end;
  20097. Class Function TOrderDocumentsResource.DefaultAPI : TGoogleAPIClass;
  20098. begin
  20099. Result:=TdfareportingAPI;
  20100. end;
  20101. Function TOrderDocumentsResource.Get(id: string; profileId: string; projectId: string) : TOrderDocument;
  20102. Const
  20103. _HTTPMethod = 'GET';
  20104. _Path = 'userprofiles/{profileId}/projects/{projectId}/orderDocuments/{id}';
  20105. _Methodid = 'dfareporting.orderDocuments.get';
  20106. Var
  20107. _P : String;
  20108. begin
  20109. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId,'projectId',projectId]);
  20110. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TOrderDocument) as TOrderDocument;
  20111. end;
  20112. Function TOrderDocumentsResource.List(profileId: string; projectId: string; AQuery : string = '') : TOrderDocumentsListResponse;
  20113. Const
  20114. _HTTPMethod = 'GET';
  20115. _Path = 'userprofiles/{profileId}/projects/{projectId}/orderDocuments';
  20116. _Methodid = 'dfareporting.orderDocuments.list';
  20117. Var
  20118. _P : String;
  20119. begin
  20120. _P:=SubstitutePath(_Path,['profileId',profileId,'projectId',projectId]);
  20121. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TOrderDocumentsListResponse) as TOrderDocumentsListResponse;
  20122. end;
  20123. Function TOrderDocumentsResource.List(profileId: string; projectId: string; AQuery : TOrderDocumentslistOptions) : TOrderDocumentsListResponse;
  20124. Var
  20125. _Q : String;
  20126. begin
  20127. _Q:='';
  20128. AddToQuery(_Q,'approved',AQuery.approved);
  20129. AddToQuery(_Q,'ids',AQuery.ids);
  20130. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  20131. AddToQuery(_Q,'orderId',AQuery.orderId);
  20132. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  20133. AddToQuery(_Q,'searchString',AQuery.searchString);
  20134. AddToQuery(_Q,'siteId',AQuery.siteId);
  20135. AddToQuery(_Q,'sortField',AQuery.sortField);
  20136. AddToQuery(_Q,'sortOrder',AQuery.sortOrder);
  20137. Result:=List(profileId,projectId,_Q);
  20138. end;
  20139. { --------------------------------------------------------------------
  20140. TOrdersResource
  20141. --------------------------------------------------------------------}
  20142. Class Function TOrdersResource.ResourceName : String;
  20143. begin
  20144. Result:='orders';
  20145. end;
  20146. Class Function TOrdersResource.DefaultAPI : TGoogleAPIClass;
  20147. begin
  20148. Result:=TdfareportingAPI;
  20149. end;
  20150. Function TOrdersResource.Get(id: string; profileId: string; projectId: string) : TOrder;
  20151. Const
  20152. _HTTPMethod = 'GET';
  20153. _Path = 'userprofiles/{profileId}/projects/{projectId}/orders/{id}';
  20154. _Methodid = 'dfareporting.orders.get';
  20155. Var
  20156. _P : String;
  20157. begin
  20158. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId,'projectId',projectId]);
  20159. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TOrder) as TOrder;
  20160. end;
  20161. Function TOrdersResource.List(profileId: string; projectId: string; AQuery : string = '') : TOrdersListResponse;
  20162. Const
  20163. _HTTPMethod = 'GET';
  20164. _Path = 'userprofiles/{profileId}/projects/{projectId}/orders';
  20165. _Methodid = 'dfareporting.orders.list';
  20166. Var
  20167. _P : String;
  20168. begin
  20169. _P:=SubstitutePath(_Path,['profileId',profileId,'projectId',projectId]);
  20170. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TOrdersListResponse) as TOrdersListResponse;
  20171. end;
  20172. Function TOrdersResource.List(profileId: string; projectId: string; AQuery : TOrderslistOptions) : TOrdersListResponse;
  20173. Var
  20174. _Q : String;
  20175. begin
  20176. _Q:='';
  20177. AddToQuery(_Q,'ids',AQuery.ids);
  20178. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  20179. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  20180. AddToQuery(_Q,'searchString',AQuery.searchString);
  20181. AddToQuery(_Q,'siteId',AQuery.siteId);
  20182. AddToQuery(_Q,'sortField',AQuery.sortField);
  20183. AddToQuery(_Q,'sortOrder',AQuery.sortOrder);
  20184. Result:=List(profileId,projectId,_Q);
  20185. end;
  20186. { --------------------------------------------------------------------
  20187. TPlacementGroupsResource
  20188. --------------------------------------------------------------------}
  20189. Class Function TPlacementGroupsResource.ResourceName : String;
  20190. begin
  20191. Result:='placementGroups';
  20192. end;
  20193. Class Function TPlacementGroupsResource.DefaultAPI : TGoogleAPIClass;
  20194. begin
  20195. Result:=TdfareportingAPI;
  20196. end;
  20197. Function TPlacementGroupsResource.Get(id: string; profileId: string) : TPlacementGroup;
  20198. Const
  20199. _HTTPMethod = 'GET';
  20200. _Path = 'userprofiles/{profileId}/placementGroups/{id}';
  20201. _Methodid = 'dfareporting.placementGroups.get';
  20202. Var
  20203. _P : String;
  20204. begin
  20205. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId]);
  20206. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TPlacementGroup) as TPlacementGroup;
  20207. end;
  20208. Function TPlacementGroupsResource.Insert(profileId: string; aPlacementGroup : TPlacementGroup) : TPlacementGroup;
  20209. Const
  20210. _HTTPMethod = 'POST';
  20211. _Path = 'userprofiles/{profileId}/placementGroups';
  20212. _Methodid = 'dfareporting.placementGroups.insert';
  20213. Var
  20214. _P : String;
  20215. begin
  20216. _P:=SubstitutePath(_Path,['profileId',profileId]);
  20217. Result:=ServiceCall(_HTTPMethod,_P,'',aPlacementGroup,TPlacementGroup) as TPlacementGroup;
  20218. end;
  20219. Function TPlacementGroupsResource.List(profileId: string; AQuery : string = '') : TPlacementGroupsListResponse;
  20220. Const
  20221. _HTTPMethod = 'GET';
  20222. _Path = 'userprofiles/{profileId}/placementGroups';
  20223. _Methodid = 'dfareporting.placementGroups.list';
  20224. Var
  20225. _P : String;
  20226. begin
  20227. _P:=SubstitutePath(_Path,['profileId',profileId]);
  20228. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TPlacementGroupsListResponse) as TPlacementGroupsListResponse;
  20229. end;
  20230. Function TPlacementGroupsResource.List(profileId: string; AQuery : TPlacementGroupslistOptions) : TPlacementGroupsListResponse;
  20231. Var
  20232. _Q : String;
  20233. begin
  20234. _Q:='';
  20235. AddToQuery(_Q,'advertiserIds',AQuery.advertiserIds);
  20236. AddToQuery(_Q,'archived',AQuery.archived);
  20237. AddToQuery(_Q,'campaignIds',AQuery.campaignIds);
  20238. AddToQuery(_Q,'contentCategoryIds',AQuery.contentCategoryIds);
  20239. AddToQuery(_Q,'directorySiteIds',AQuery.directorySiteIds);
  20240. AddToQuery(_Q,'ids',AQuery.ids);
  20241. AddToQuery(_Q,'maxEndDate',AQuery.maxEndDate);
  20242. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  20243. AddToQuery(_Q,'maxStartDate',AQuery.maxStartDate);
  20244. AddToQuery(_Q,'minEndDate',AQuery.minEndDate);
  20245. AddToQuery(_Q,'minStartDate',AQuery.minStartDate);
  20246. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  20247. AddToQuery(_Q,'placementGroupType',AQuery.placementGroupType);
  20248. AddToQuery(_Q,'placementStrategyIds',AQuery.placementStrategyIds);
  20249. AddToQuery(_Q,'pricingTypes',AQuery.pricingTypes);
  20250. AddToQuery(_Q,'searchString',AQuery.searchString);
  20251. AddToQuery(_Q,'siteIds',AQuery.siteIds);
  20252. AddToQuery(_Q,'sortField',AQuery.sortField);
  20253. AddToQuery(_Q,'sortOrder',AQuery.sortOrder);
  20254. Result:=List(profileId,_Q);
  20255. end;
  20256. Function TPlacementGroupsResource.Patch(profileId: string; aPlacementGroup : TPlacementGroup; AQuery : string = '') : TPlacementGroup;
  20257. Const
  20258. _HTTPMethod = 'PATCH';
  20259. _Path = 'userprofiles/{profileId}/placementGroups';
  20260. _Methodid = 'dfareporting.placementGroups.patch';
  20261. Var
  20262. _P : String;
  20263. begin
  20264. _P:=SubstitutePath(_Path,['profileId',profileId]);
  20265. Result:=ServiceCall(_HTTPMethod,_P,AQuery,aPlacementGroup,TPlacementGroup) as TPlacementGroup;
  20266. end;
  20267. Function TPlacementGroupsResource.Patch(profileId: string; aPlacementGroup : TPlacementGroup; AQuery : TPlacementGroupspatchOptions) : TPlacementGroup;
  20268. Var
  20269. _Q : String;
  20270. begin
  20271. _Q:='';
  20272. AddToQuery(_Q,'id',AQuery.id);
  20273. Result:=Patch(profileId,aPlacementGroup,_Q);
  20274. end;
  20275. Function TPlacementGroupsResource.Update(profileId: string; aPlacementGroup : TPlacementGroup) : TPlacementGroup;
  20276. Const
  20277. _HTTPMethod = 'PUT';
  20278. _Path = 'userprofiles/{profileId}/placementGroups';
  20279. _Methodid = 'dfareporting.placementGroups.update';
  20280. Var
  20281. _P : String;
  20282. begin
  20283. _P:=SubstitutePath(_Path,['profileId',profileId]);
  20284. Result:=ServiceCall(_HTTPMethod,_P,'',aPlacementGroup,TPlacementGroup) as TPlacementGroup;
  20285. end;
  20286. { --------------------------------------------------------------------
  20287. TPlacementStrategiesResource
  20288. --------------------------------------------------------------------}
  20289. Class Function TPlacementStrategiesResource.ResourceName : String;
  20290. begin
  20291. Result:='placementStrategies';
  20292. end;
  20293. Class Function TPlacementStrategiesResource.DefaultAPI : TGoogleAPIClass;
  20294. begin
  20295. Result:=TdfareportingAPI;
  20296. end;
  20297. Procedure TPlacementStrategiesResource.Delete(id: string; profileId: string);
  20298. Const
  20299. _HTTPMethod = 'DELETE';
  20300. _Path = 'userprofiles/{profileId}/placementStrategies/{id}';
  20301. _Methodid = 'dfareporting.placementStrategies.delete';
  20302. Var
  20303. _P : String;
  20304. begin
  20305. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId]);
  20306. ServiceCall(_HTTPMethod,_P,'',Nil,Nil);
  20307. end;
  20308. Function TPlacementStrategiesResource.Get(id: string; profileId: string) : TPlacementStrategy;
  20309. Const
  20310. _HTTPMethod = 'GET';
  20311. _Path = 'userprofiles/{profileId}/placementStrategies/{id}';
  20312. _Methodid = 'dfareporting.placementStrategies.get';
  20313. Var
  20314. _P : String;
  20315. begin
  20316. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId]);
  20317. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TPlacementStrategy) as TPlacementStrategy;
  20318. end;
  20319. Function TPlacementStrategiesResource.Insert(profileId: string; aPlacementStrategy : TPlacementStrategy) : TPlacementStrategy;
  20320. Const
  20321. _HTTPMethod = 'POST';
  20322. _Path = 'userprofiles/{profileId}/placementStrategies';
  20323. _Methodid = 'dfareporting.placementStrategies.insert';
  20324. Var
  20325. _P : String;
  20326. begin
  20327. _P:=SubstitutePath(_Path,['profileId',profileId]);
  20328. Result:=ServiceCall(_HTTPMethod,_P,'',aPlacementStrategy,TPlacementStrategy) as TPlacementStrategy;
  20329. end;
  20330. Function TPlacementStrategiesResource.List(profileId: string; AQuery : string = '') : TPlacementStrategiesListResponse;
  20331. Const
  20332. _HTTPMethod = 'GET';
  20333. _Path = 'userprofiles/{profileId}/placementStrategies';
  20334. _Methodid = 'dfareporting.placementStrategies.list';
  20335. Var
  20336. _P : String;
  20337. begin
  20338. _P:=SubstitutePath(_Path,['profileId',profileId]);
  20339. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TPlacementStrategiesListResponse) as TPlacementStrategiesListResponse;
  20340. end;
  20341. Function TPlacementStrategiesResource.List(profileId: string; AQuery : TPlacementStrategieslistOptions) : TPlacementStrategiesListResponse;
  20342. Var
  20343. _Q : String;
  20344. begin
  20345. _Q:='';
  20346. AddToQuery(_Q,'ids',AQuery.ids);
  20347. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  20348. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  20349. AddToQuery(_Q,'searchString',AQuery.searchString);
  20350. AddToQuery(_Q,'sortField',AQuery.sortField);
  20351. AddToQuery(_Q,'sortOrder',AQuery.sortOrder);
  20352. Result:=List(profileId,_Q);
  20353. end;
  20354. Function TPlacementStrategiesResource.Patch(profileId: string; aPlacementStrategy : TPlacementStrategy; AQuery : string = '') : TPlacementStrategy;
  20355. Const
  20356. _HTTPMethod = 'PATCH';
  20357. _Path = 'userprofiles/{profileId}/placementStrategies';
  20358. _Methodid = 'dfareporting.placementStrategies.patch';
  20359. Var
  20360. _P : String;
  20361. begin
  20362. _P:=SubstitutePath(_Path,['profileId',profileId]);
  20363. Result:=ServiceCall(_HTTPMethod,_P,AQuery,aPlacementStrategy,TPlacementStrategy) as TPlacementStrategy;
  20364. end;
  20365. Function TPlacementStrategiesResource.Patch(profileId: string; aPlacementStrategy : TPlacementStrategy; AQuery : TPlacementStrategiespatchOptions) : TPlacementStrategy;
  20366. Var
  20367. _Q : String;
  20368. begin
  20369. _Q:='';
  20370. AddToQuery(_Q,'id',AQuery.id);
  20371. Result:=Patch(profileId,aPlacementStrategy,_Q);
  20372. end;
  20373. Function TPlacementStrategiesResource.Update(profileId: string; aPlacementStrategy : TPlacementStrategy) : TPlacementStrategy;
  20374. Const
  20375. _HTTPMethod = 'PUT';
  20376. _Path = 'userprofiles/{profileId}/placementStrategies';
  20377. _Methodid = 'dfareporting.placementStrategies.update';
  20378. Var
  20379. _P : String;
  20380. begin
  20381. _P:=SubstitutePath(_Path,['profileId',profileId]);
  20382. Result:=ServiceCall(_HTTPMethod,_P,'',aPlacementStrategy,TPlacementStrategy) as TPlacementStrategy;
  20383. end;
  20384. { --------------------------------------------------------------------
  20385. TPlacementsResource
  20386. --------------------------------------------------------------------}
  20387. Class Function TPlacementsResource.ResourceName : String;
  20388. begin
  20389. Result:='placements';
  20390. end;
  20391. Class Function TPlacementsResource.DefaultAPI : TGoogleAPIClass;
  20392. begin
  20393. Result:=TdfareportingAPI;
  20394. end;
  20395. Function TPlacementsResource.Generatetags(profileId: string; AQuery : string = '') : TPlacementsGenerateTagsResponse;
  20396. Const
  20397. _HTTPMethod = 'POST';
  20398. _Path = 'userprofiles/{profileId}/placements/generatetags';
  20399. _Methodid = 'dfareporting.placements.generatetags';
  20400. Var
  20401. _P : String;
  20402. begin
  20403. _P:=SubstitutePath(_Path,['profileId',profileId]);
  20404. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TPlacementsGenerateTagsResponse) as TPlacementsGenerateTagsResponse;
  20405. end;
  20406. Function TPlacementsResource.Generatetags(profileId: string; AQuery : TPlacementsgeneratetagsOptions) : TPlacementsGenerateTagsResponse;
  20407. Var
  20408. _Q : String;
  20409. begin
  20410. _Q:='';
  20411. AddToQuery(_Q,'campaignId',AQuery.campaignId);
  20412. AddToQuery(_Q,'placementIds',AQuery.placementIds);
  20413. AddToQuery(_Q,'tagFormats',AQuery.tagFormats);
  20414. Result:=Generatetags(profileId,_Q);
  20415. end;
  20416. Function TPlacementsResource.Get(id: string; profileId: string) : TPlacement;
  20417. Const
  20418. _HTTPMethod = 'GET';
  20419. _Path = 'userprofiles/{profileId}/placements/{id}';
  20420. _Methodid = 'dfareporting.placements.get';
  20421. Var
  20422. _P : String;
  20423. begin
  20424. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId]);
  20425. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TPlacement) as TPlacement;
  20426. end;
  20427. Function TPlacementsResource.Insert(profileId: string; aPlacement : TPlacement) : TPlacement;
  20428. Const
  20429. _HTTPMethod = 'POST';
  20430. _Path = 'userprofiles/{profileId}/placements';
  20431. _Methodid = 'dfareporting.placements.insert';
  20432. Var
  20433. _P : String;
  20434. begin
  20435. _P:=SubstitutePath(_Path,['profileId',profileId]);
  20436. Result:=ServiceCall(_HTTPMethod,_P,'',aPlacement,TPlacement) as TPlacement;
  20437. end;
  20438. Function TPlacementsResource.List(profileId: string; AQuery : string = '') : TPlacementsListResponse;
  20439. Const
  20440. _HTTPMethod = 'GET';
  20441. _Path = 'userprofiles/{profileId}/placements';
  20442. _Methodid = 'dfareporting.placements.list';
  20443. Var
  20444. _P : String;
  20445. begin
  20446. _P:=SubstitutePath(_Path,['profileId',profileId]);
  20447. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TPlacementsListResponse) as TPlacementsListResponse;
  20448. end;
  20449. Function TPlacementsResource.List(profileId: string; AQuery : TPlacementslistOptions) : TPlacementsListResponse;
  20450. Var
  20451. _Q : String;
  20452. begin
  20453. _Q:='';
  20454. AddToQuery(_Q,'advertiserIds',AQuery.advertiserIds);
  20455. AddToQuery(_Q,'archived',AQuery.archived);
  20456. AddToQuery(_Q,'campaignIds',AQuery.campaignIds);
  20457. AddToQuery(_Q,'compatibilities',AQuery.compatibilities);
  20458. AddToQuery(_Q,'contentCategoryIds',AQuery.contentCategoryIds);
  20459. AddToQuery(_Q,'directorySiteIds',AQuery.directorySiteIds);
  20460. AddToQuery(_Q,'groupIds',AQuery.groupIds);
  20461. AddToQuery(_Q,'ids',AQuery.ids);
  20462. AddToQuery(_Q,'maxEndDate',AQuery.maxEndDate);
  20463. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  20464. AddToQuery(_Q,'maxStartDate',AQuery.maxStartDate);
  20465. AddToQuery(_Q,'minEndDate',AQuery.minEndDate);
  20466. AddToQuery(_Q,'minStartDate',AQuery.minStartDate);
  20467. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  20468. AddToQuery(_Q,'paymentSource',AQuery.paymentSource);
  20469. AddToQuery(_Q,'placementStrategyIds',AQuery.placementStrategyIds);
  20470. AddToQuery(_Q,'pricingTypes',AQuery.pricingTypes);
  20471. AddToQuery(_Q,'searchString',AQuery.searchString);
  20472. AddToQuery(_Q,'siteIds',AQuery.siteIds);
  20473. AddToQuery(_Q,'sizeIds',AQuery.sizeIds);
  20474. AddToQuery(_Q,'sortField',AQuery.sortField);
  20475. AddToQuery(_Q,'sortOrder',AQuery.sortOrder);
  20476. Result:=List(profileId,_Q);
  20477. end;
  20478. Function TPlacementsResource.Patch(profileId: string; aPlacement : TPlacement; AQuery : string = '') : TPlacement;
  20479. Const
  20480. _HTTPMethod = 'PATCH';
  20481. _Path = 'userprofiles/{profileId}/placements';
  20482. _Methodid = 'dfareporting.placements.patch';
  20483. Var
  20484. _P : String;
  20485. begin
  20486. _P:=SubstitutePath(_Path,['profileId',profileId]);
  20487. Result:=ServiceCall(_HTTPMethod,_P,AQuery,aPlacement,TPlacement) as TPlacement;
  20488. end;
  20489. Function TPlacementsResource.Patch(profileId: string; aPlacement : TPlacement; AQuery : TPlacementspatchOptions) : TPlacement;
  20490. Var
  20491. _Q : String;
  20492. begin
  20493. _Q:='';
  20494. AddToQuery(_Q,'id',AQuery.id);
  20495. Result:=Patch(profileId,aPlacement,_Q);
  20496. end;
  20497. Function TPlacementsResource.Update(profileId: string; aPlacement : TPlacement) : TPlacement;
  20498. Const
  20499. _HTTPMethod = 'PUT';
  20500. _Path = 'userprofiles/{profileId}/placements';
  20501. _Methodid = 'dfareporting.placements.update';
  20502. Var
  20503. _P : String;
  20504. begin
  20505. _P:=SubstitutePath(_Path,['profileId',profileId]);
  20506. Result:=ServiceCall(_HTTPMethod,_P,'',aPlacement,TPlacement) as TPlacement;
  20507. end;
  20508. { --------------------------------------------------------------------
  20509. TPlatformTypesResource
  20510. --------------------------------------------------------------------}
  20511. Class Function TPlatformTypesResource.ResourceName : String;
  20512. begin
  20513. Result:='platformTypes';
  20514. end;
  20515. Class Function TPlatformTypesResource.DefaultAPI : TGoogleAPIClass;
  20516. begin
  20517. Result:=TdfareportingAPI;
  20518. end;
  20519. Function TPlatformTypesResource.Get(id: string; profileId: string) : TPlatformType;
  20520. Const
  20521. _HTTPMethod = 'GET';
  20522. _Path = 'userprofiles/{profileId}/platformTypes/{id}';
  20523. _Methodid = 'dfareporting.platformTypes.get';
  20524. Var
  20525. _P : String;
  20526. begin
  20527. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId]);
  20528. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TPlatformType) as TPlatformType;
  20529. end;
  20530. Function TPlatformTypesResource.List(profileId: string) : TPlatformTypesListResponse;
  20531. Const
  20532. _HTTPMethod = 'GET';
  20533. _Path = 'userprofiles/{profileId}/platformTypes';
  20534. _Methodid = 'dfareporting.platformTypes.list';
  20535. Var
  20536. _P : String;
  20537. begin
  20538. _P:=SubstitutePath(_Path,['profileId',profileId]);
  20539. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TPlatformTypesListResponse) as TPlatformTypesListResponse;
  20540. end;
  20541. { --------------------------------------------------------------------
  20542. TPostalCodesResource
  20543. --------------------------------------------------------------------}
  20544. Class Function TPostalCodesResource.ResourceName : String;
  20545. begin
  20546. Result:='postalCodes';
  20547. end;
  20548. Class Function TPostalCodesResource.DefaultAPI : TGoogleAPIClass;
  20549. begin
  20550. Result:=TdfareportingAPI;
  20551. end;
  20552. Function TPostalCodesResource.Get(code: string; profileId: string) : TPostalCode;
  20553. Const
  20554. _HTTPMethod = 'GET';
  20555. _Path = 'userprofiles/{profileId}/postalCodes/{code}';
  20556. _Methodid = 'dfareporting.postalCodes.get';
  20557. Var
  20558. _P : String;
  20559. begin
  20560. _P:=SubstitutePath(_Path,['code',code,'profileId',profileId]);
  20561. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TPostalCode) as TPostalCode;
  20562. end;
  20563. Function TPostalCodesResource.List(profileId: string) : TPostalCodesListResponse;
  20564. Const
  20565. _HTTPMethod = 'GET';
  20566. _Path = 'userprofiles/{profileId}/postalCodes';
  20567. _Methodid = 'dfareporting.postalCodes.list';
  20568. Var
  20569. _P : String;
  20570. begin
  20571. _P:=SubstitutePath(_Path,['profileId',profileId]);
  20572. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TPostalCodesListResponse) as TPostalCodesListResponse;
  20573. end;
  20574. { --------------------------------------------------------------------
  20575. TProjectsResource
  20576. --------------------------------------------------------------------}
  20577. Class Function TProjectsResource.ResourceName : String;
  20578. begin
  20579. Result:='projects';
  20580. end;
  20581. Class Function TProjectsResource.DefaultAPI : TGoogleAPIClass;
  20582. begin
  20583. Result:=TdfareportingAPI;
  20584. end;
  20585. Function TProjectsResource.Get(id: string; profileId: string) : TProject;
  20586. Const
  20587. _HTTPMethod = 'GET';
  20588. _Path = 'userprofiles/{profileId}/projects/{id}';
  20589. _Methodid = 'dfareporting.projects.get';
  20590. Var
  20591. _P : String;
  20592. begin
  20593. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId]);
  20594. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TProject) as TProject;
  20595. end;
  20596. Function TProjectsResource.List(profileId: string; AQuery : string = '') : TProjectsListResponse;
  20597. Const
  20598. _HTTPMethod = 'GET';
  20599. _Path = 'userprofiles/{profileId}/projects';
  20600. _Methodid = 'dfareporting.projects.list';
  20601. Var
  20602. _P : String;
  20603. begin
  20604. _P:=SubstitutePath(_Path,['profileId',profileId]);
  20605. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TProjectsListResponse) as TProjectsListResponse;
  20606. end;
  20607. Function TProjectsResource.List(profileId: string; AQuery : TProjectslistOptions) : TProjectsListResponse;
  20608. Var
  20609. _Q : String;
  20610. begin
  20611. _Q:='';
  20612. AddToQuery(_Q,'advertiserIds',AQuery.advertiserIds);
  20613. AddToQuery(_Q,'ids',AQuery.ids);
  20614. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  20615. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  20616. AddToQuery(_Q,'searchString',AQuery.searchString);
  20617. AddToQuery(_Q,'sortField',AQuery.sortField);
  20618. AddToQuery(_Q,'sortOrder',AQuery.sortOrder);
  20619. Result:=List(profileId,_Q);
  20620. end;
  20621. { --------------------------------------------------------------------
  20622. TRegionsResource
  20623. --------------------------------------------------------------------}
  20624. Class Function TRegionsResource.ResourceName : String;
  20625. begin
  20626. Result:='regions';
  20627. end;
  20628. Class Function TRegionsResource.DefaultAPI : TGoogleAPIClass;
  20629. begin
  20630. Result:=TdfareportingAPI;
  20631. end;
  20632. Function TRegionsResource.List(profileId: string) : TRegionsListResponse;
  20633. Const
  20634. _HTTPMethod = 'GET';
  20635. _Path = 'userprofiles/{profileId}/regions';
  20636. _Methodid = 'dfareporting.regions.list';
  20637. Var
  20638. _P : String;
  20639. begin
  20640. _P:=SubstitutePath(_Path,['profileId',profileId]);
  20641. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TRegionsListResponse) as TRegionsListResponse;
  20642. end;
  20643. { --------------------------------------------------------------------
  20644. TRemarketingListSharesResource
  20645. --------------------------------------------------------------------}
  20646. Class Function TRemarketingListSharesResource.ResourceName : String;
  20647. begin
  20648. Result:='remarketingListShares';
  20649. end;
  20650. Class Function TRemarketingListSharesResource.DefaultAPI : TGoogleAPIClass;
  20651. begin
  20652. Result:=TdfareportingAPI;
  20653. end;
  20654. Function TRemarketingListSharesResource.Get(profileId: string; remarketingListId: string) : TRemarketingListShare;
  20655. Const
  20656. _HTTPMethod = 'GET';
  20657. _Path = 'userprofiles/{profileId}/remarketingListShares/{remarketingListId}';
  20658. _Methodid = 'dfareporting.remarketingListShares.get';
  20659. Var
  20660. _P : String;
  20661. begin
  20662. _P:=SubstitutePath(_Path,['profileId',profileId,'remarketingListId',remarketingListId]);
  20663. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TRemarketingListShare) as TRemarketingListShare;
  20664. end;
  20665. Function TRemarketingListSharesResource.Patch(profileId: string; aRemarketingListShare : TRemarketingListShare; AQuery : string = '') : TRemarketingListShare;
  20666. Const
  20667. _HTTPMethod = 'PATCH';
  20668. _Path = 'userprofiles/{profileId}/remarketingListShares';
  20669. _Methodid = 'dfareporting.remarketingListShares.patch';
  20670. Var
  20671. _P : String;
  20672. begin
  20673. _P:=SubstitutePath(_Path,['profileId',profileId]);
  20674. Result:=ServiceCall(_HTTPMethod,_P,AQuery,aRemarketingListShare,TRemarketingListShare) as TRemarketingListShare;
  20675. end;
  20676. Function TRemarketingListSharesResource.Patch(profileId: string; aRemarketingListShare : TRemarketingListShare; AQuery : TRemarketingListSharespatchOptions) : TRemarketingListShare;
  20677. Var
  20678. _Q : String;
  20679. begin
  20680. _Q:='';
  20681. AddToQuery(_Q,'remarketingListId',AQuery.remarketingListId);
  20682. Result:=Patch(profileId,aRemarketingListShare,_Q);
  20683. end;
  20684. Function TRemarketingListSharesResource.Update(profileId: string; aRemarketingListShare : TRemarketingListShare) : TRemarketingListShare;
  20685. Const
  20686. _HTTPMethod = 'PUT';
  20687. _Path = 'userprofiles/{profileId}/remarketingListShares';
  20688. _Methodid = 'dfareporting.remarketingListShares.update';
  20689. Var
  20690. _P : String;
  20691. begin
  20692. _P:=SubstitutePath(_Path,['profileId',profileId]);
  20693. Result:=ServiceCall(_HTTPMethod,_P,'',aRemarketingListShare,TRemarketingListShare) as TRemarketingListShare;
  20694. end;
  20695. { --------------------------------------------------------------------
  20696. TRemarketingListsResource
  20697. --------------------------------------------------------------------}
  20698. Class Function TRemarketingListsResource.ResourceName : String;
  20699. begin
  20700. Result:='remarketingLists';
  20701. end;
  20702. Class Function TRemarketingListsResource.DefaultAPI : TGoogleAPIClass;
  20703. begin
  20704. Result:=TdfareportingAPI;
  20705. end;
  20706. Function TRemarketingListsResource.Get(id: string; profileId: string) : TRemarketingList;
  20707. Const
  20708. _HTTPMethod = 'GET';
  20709. _Path = 'userprofiles/{profileId}/remarketingLists/{id}';
  20710. _Methodid = 'dfareporting.remarketingLists.get';
  20711. Var
  20712. _P : String;
  20713. begin
  20714. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId]);
  20715. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TRemarketingList) as TRemarketingList;
  20716. end;
  20717. Function TRemarketingListsResource.Insert(profileId: string; aRemarketingList : TRemarketingList) : TRemarketingList;
  20718. Const
  20719. _HTTPMethod = 'POST';
  20720. _Path = 'userprofiles/{profileId}/remarketingLists';
  20721. _Methodid = 'dfareporting.remarketingLists.insert';
  20722. Var
  20723. _P : String;
  20724. begin
  20725. _P:=SubstitutePath(_Path,['profileId',profileId]);
  20726. Result:=ServiceCall(_HTTPMethod,_P,'',aRemarketingList,TRemarketingList) as TRemarketingList;
  20727. end;
  20728. Function TRemarketingListsResource.List(profileId: string; AQuery : string = '') : TRemarketingListsListResponse;
  20729. Const
  20730. _HTTPMethod = 'GET';
  20731. _Path = 'userprofiles/{profileId}/remarketingLists';
  20732. _Methodid = 'dfareporting.remarketingLists.list';
  20733. Var
  20734. _P : String;
  20735. begin
  20736. _P:=SubstitutePath(_Path,['profileId',profileId]);
  20737. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TRemarketingListsListResponse) as TRemarketingListsListResponse;
  20738. end;
  20739. Function TRemarketingListsResource.List(profileId: string; AQuery : TRemarketingListslistOptions) : TRemarketingListsListResponse;
  20740. Var
  20741. _Q : String;
  20742. begin
  20743. _Q:='';
  20744. AddToQuery(_Q,'active',AQuery.active);
  20745. AddToQuery(_Q,'advertiserId',AQuery.advertiserId);
  20746. AddToQuery(_Q,'floodlightActivityId',AQuery.floodlightActivityId);
  20747. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  20748. AddToQuery(_Q,'name',AQuery._name);
  20749. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  20750. AddToQuery(_Q,'sortField',AQuery.sortField);
  20751. AddToQuery(_Q,'sortOrder',AQuery.sortOrder);
  20752. Result:=List(profileId,_Q);
  20753. end;
  20754. Function TRemarketingListsResource.Patch(profileId: string; aRemarketingList : TRemarketingList; AQuery : string = '') : TRemarketingList;
  20755. Const
  20756. _HTTPMethod = 'PATCH';
  20757. _Path = 'userprofiles/{profileId}/remarketingLists';
  20758. _Methodid = 'dfareporting.remarketingLists.patch';
  20759. Var
  20760. _P : String;
  20761. begin
  20762. _P:=SubstitutePath(_Path,['profileId',profileId]);
  20763. Result:=ServiceCall(_HTTPMethod,_P,AQuery,aRemarketingList,TRemarketingList) as TRemarketingList;
  20764. end;
  20765. Function TRemarketingListsResource.Patch(profileId: string; aRemarketingList : TRemarketingList; AQuery : TRemarketingListspatchOptions) : TRemarketingList;
  20766. Var
  20767. _Q : String;
  20768. begin
  20769. _Q:='';
  20770. AddToQuery(_Q,'id',AQuery.id);
  20771. Result:=Patch(profileId,aRemarketingList,_Q);
  20772. end;
  20773. Function TRemarketingListsResource.Update(profileId: string; aRemarketingList : TRemarketingList) : TRemarketingList;
  20774. Const
  20775. _HTTPMethod = 'PUT';
  20776. _Path = 'userprofiles/{profileId}/remarketingLists';
  20777. _Methodid = 'dfareporting.remarketingLists.update';
  20778. Var
  20779. _P : String;
  20780. begin
  20781. _P:=SubstitutePath(_Path,['profileId',profileId]);
  20782. Result:=ServiceCall(_HTTPMethod,_P,'',aRemarketingList,TRemarketingList) as TRemarketingList;
  20783. end;
  20784. { --------------------------------------------------------------------
  20785. TReportsCompatibleFieldsResource
  20786. --------------------------------------------------------------------}
  20787. Class Function TReportsCompatibleFieldsResource.ResourceName : String;
  20788. begin
  20789. Result:='compatibleFields';
  20790. end;
  20791. Class Function TReportsCompatibleFieldsResource.DefaultAPI : TGoogleAPIClass;
  20792. begin
  20793. Result:=TdfareportingAPI;
  20794. end;
  20795. Function TReportsCompatibleFieldsResource.Query(profileId: string; aReport : TReport) : TCompatibleFields;
  20796. Const
  20797. _HTTPMethod = 'POST';
  20798. _Path = 'userprofiles/{profileId}/reports/compatiblefields/query';
  20799. _Methodid = 'dfareporting.reports.compatibleFields.query';
  20800. Var
  20801. _P : String;
  20802. begin
  20803. _P:=SubstitutePath(_Path,['profileId',profileId]);
  20804. Result:=ServiceCall(_HTTPMethod,_P,'',aReport,TCompatibleFields) as TCompatibleFields;
  20805. end;
  20806. { --------------------------------------------------------------------
  20807. TReportsFilesResource
  20808. --------------------------------------------------------------------}
  20809. Class Function TReportsFilesResource.ResourceName : String;
  20810. begin
  20811. Result:='files';
  20812. end;
  20813. Class Function TReportsFilesResource.DefaultAPI : TGoogleAPIClass;
  20814. begin
  20815. Result:=TdfareportingAPI;
  20816. end;
  20817. Function TReportsFilesResource.Get(fileId: string; profileId: string; reportId: string) : TFile;
  20818. Const
  20819. _HTTPMethod = 'GET';
  20820. _Path = 'userprofiles/{profileId}/reports/{reportId}/files/{fileId}';
  20821. _Methodid = 'dfareporting.reports.files.get';
  20822. Var
  20823. _P : String;
  20824. begin
  20825. _P:=SubstitutePath(_Path,['fileId',fileId,'profileId',profileId,'reportId',reportId]);
  20826. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TFile) as TFile;
  20827. end;
  20828. Function TReportsFilesResource.List(profileId: string; reportId: string; AQuery : string = '') : TFileList;
  20829. Const
  20830. _HTTPMethod = 'GET';
  20831. _Path = 'userprofiles/{profileId}/reports/{reportId}/files';
  20832. _Methodid = 'dfareporting.reports.files.list';
  20833. Var
  20834. _P : String;
  20835. begin
  20836. _P:=SubstitutePath(_Path,['profileId',profileId,'reportId',reportId]);
  20837. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TFileList) as TFileList;
  20838. end;
  20839. Function TReportsFilesResource.List(profileId: string; reportId: string; AQuery : TReportsFileslistOptions) : TFileList;
  20840. Var
  20841. _Q : String;
  20842. begin
  20843. _Q:='';
  20844. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  20845. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  20846. AddToQuery(_Q,'sortField',AQuery.sortField);
  20847. AddToQuery(_Q,'sortOrder',AQuery.sortOrder);
  20848. Result:=List(profileId,reportId,_Q);
  20849. end;
  20850. { --------------------------------------------------------------------
  20851. TReportsResource
  20852. --------------------------------------------------------------------}
  20853. Class Function TReportsResource.ResourceName : String;
  20854. begin
  20855. Result:='reports';
  20856. end;
  20857. Class Function TReportsResource.DefaultAPI : TGoogleAPIClass;
  20858. begin
  20859. Result:=TdfareportingAPI;
  20860. end;
  20861. Procedure TReportsResource.Delete(profileId: string; reportId: string);
  20862. Const
  20863. _HTTPMethod = 'DELETE';
  20864. _Path = 'userprofiles/{profileId}/reports/{reportId}';
  20865. _Methodid = 'dfareporting.reports.delete';
  20866. Var
  20867. _P : String;
  20868. begin
  20869. _P:=SubstitutePath(_Path,['profileId',profileId,'reportId',reportId]);
  20870. ServiceCall(_HTTPMethod,_P,'',Nil,Nil);
  20871. end;
  20872. Function TReportsResource.Get(profileId: string; reportId: string) : TReport;
  20873. Const
  20874. _HTTPMethod = 'GET';
  20875. _Path = 'userprofiles/{profileId}/reports/{reportId}';
  20876. _Methodid = 'dfareporting.reports.get';
  20877. Var
  20878. _P : String;
  20879. begin
  20880. _P:=SubstitutePath(_Path,['profileId',profileId,'reportId',reportId]);
  20881. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TReport) as TReport;
  20882. end;
  20883. Function TReportsResource.Insert(profileId: string; aReport : TReport) : TReport;
  20884. Const
  20885. _HTTPMethod = 'POST';
  20886. _Path = 'userprofiles/{profileId}/reports';
  20887. _Methodid = 'dfareporting.reports.insert';
  20888. Var
  20889. _P : String;
  20890. begin
  20891. _P:=SubstitutePath(_Path,['profileId',profileId]);
  20892. Result:=ServiceCall(_HTTPMethod,_P,'',aReport,TReport) as TReport;
  20893. end;
  20894. Function TReportsResource.List(profileId: string; AQuery : string = '') : TReportList;
  20895. Const
  20896. _HTTPMethod = 'GET';
  20897. _Path = 'userprofiles/{profileId}/reports';
  20898. _Methodid = 'dfareporting.reports.list';
  20899. Var
  20900. _P : String;
  20901. begin
  20902. _P:=SubstitutePath(_Path,['profileId',profileId]);
  20903. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TReportList) as TReportList;
  20904. end;
  20905. Function TReportsResource.List(profileId: string; AQuery : TReportslistOptions) : TReportList;
  20906. Var
  20907. _Q : String;
  20908. begin
  20909. _Q:='';
  20910. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  20911. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  20912. AddToQuery(_Q,'scope',AQuery.scope);
  20913. AddToQuery(_Q,'sortField',AQuery.sortField);
  20914. AddToQuery(_Q,'sortOrder',AQuery.sortOrder);
  20915. Result:=List(profileId,_Q);
  20916. end;
  20917. Function TReportsResource.Patch(profileId: string; reportId: string; aReport : TReport) : TReport;
  20918. Const
  20919. _HTTPMethod = 'PATCH';
  20920. _Path = 'userprofiles/{profileId}/reports/{reportId}';
  20921. _Methodid = 'dfareporting.reports.patch';
  20922. Var
  20923. _P : String;
  20924. begin
  20925. _P:=SubstitutePath(_Path,['profileId',profileId,'reportId',reportId]);
  20926. Result:=ServiceCall(_HTTPMethod,_P,'',aReport,TReport) as TReport;
  20927. end;
  20928. Function TReportsResource.Run(profileId: string; reportId: string; AQuery : string = '') : TFile;
  20929. Const
  20930. _HTTPMethod = 'POST';
  20931. _Path = 'userprofiles/{profileId}/reports/{reportId}/run';
  20932. _Methodid = 'dfareporting.reports.run';
  20933. Var
  20934. _P : String;
  20935. begin
  20936. _P:=SubstitutePath(_Path,['profileId',profileId,'reportId',reportId]);
  20937. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TFile) as TFile;
  20938. end;
  20939. Function TReportsResource.Run(profileId: string; reportId: string; AQuery : TReportsrunOptions) : TFile;
  20940. Var
  20941. _Q : String;
  20942. begin
  20943. _Q:='';
  20944. AddToQuery(_Q,'synchronous',AQuery.synchronous);
  20945. Result:=Run(profileId,reportId,_Q);
  20946. end;
  20947. Function TReportsResource.Update(profileId: string; reportId: string; aReport : TReport) : TReport;
  20948. Const
  20949. _HTTPMethod = 'PUT';
  20950. _Path = 'userprofiles/{profileId}/reports/{reportId}';
  20951. _Methodid = 'dfareporting.reports.update';
  20952. Var
  20953. _P : String;
  20954. begin
  20955. _P:=SubstitutePath(_Path,['profileId',profileId,'reportId',reportId]);
  20956. Result:=ServiceCall(_HTTPMethod,_P,'',aReport,TReport) as TReport;
  20957. end;
  20958. Function TReportsResource.GetCompatibleFieldsInstance : TReportsCompatibleFieldsResource;
  20959. begin
  20960. if (FCompatibleFieldsInstance=Nil) then
  20961. FCompatibleFieldsInstance:=CreateCompatibleFieldsResource;
  20962. Result:=FCompatibleFieldsInstance;
  20963. end;
  20964. Function TReportsResource.CreateCompatibleFieldsResource : TReportsCompatibleFieldsResource;
  20965. begin
  20966. Result:=CreateCompatibleFieldsResource(Self);
  20967. end;
  20968. Function TReportsResource.CreateCompatibleFieldsResource(AOwner : TComponent) : TReportsCompatibleFieldsResource;
  20969. begin
  20970. Result:=TReportsCompatibleFieldsResource.Create(AOwner);
  20971. Result.API:=Self.API;
  20972. end;
  20973. Function TReportsResource.GetFilesInstance : TReportsFilesResource;
  20974. begin
  20975. if (FFilesInstance=Nil) then
  20976. FFilesInstance:=CreateFilesResource;
  20977. Result:=FFilesInstance;
  20978. end;
  20979. Function TReportsResource.CreateFilesResource : TReportsFilesResource;
  20980. begin
  20981. Result:=CreateFilesResource(Self);
  20982. end;
  20983. Function TReportsResource.CreateFilesResource(AOwner : TComponent) : TReportsFilesResource;
  20984. begin
  20985. Result:=TReportsFilesResource.Create(AOwner);
  20986. Result.API:=Self.API;
  20987. end;
  20988. { --------------------------------------------------------------------
  20989. TSitesResource
  20990. --------------------------------------------------------------------}
  20991. Class Function TSitesResource.ResourceName : String;
  20992. begin
  20993. Result:='sites';
  20994. end;
  20995. Class Function TSitesResource.DefaultAPI : TGoogleAPIClass;
  20996. begin
  20997. Result:=TdfareportingAPI;
  20998. end;
  20999. Function TSitesResource.Get(id: string; profileId: string) : TSite;
  21000. Const
  21001. _HTTPMethod = 'GET';
  21002. _Path = 'userprofiles/{profileId}/sites/{id}';
  21003. _Methodid = 'dfareporting.sites.get';
  21004. Var
  21005. _P : String;
  21006. begin
  21007. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId]);
  21008. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TSite) as TSite;
  21009. end;
  21010. Function TSitesResource.Insert(profileId: string; aSite : TSite) : TSite;
  21011. Const
  21012. _HTTPMethod = 'POST';
  21013. _Path = 'userprofiles/{profileId}/sites';
  21014. _Methodid = 'dfareporting.sites.insert';
  21015. Var
  21016. _P : String;
  21017. begin
  21018. _P:=SubstitutePath(_Path,['profileId',profileId]);
  21019. Result:=ServiceCall(_HTTPMethod,_P,'',aSite,TSite) as TSite;
  21020. end;
  21021. Function TSitesResource.List(profileId: string; AQuery : string = '') : TSitesListResponse;
  21022. Const
  21023. _HTTPMethod = 'GET';
  21024. _Path = 'userprofiles/{profileId}/sites';
  21025. _Methodid = 'dfareporting.sites.list';
  21026. Var
  21027. _P : String;
  21028. begin
  21029. _P:=SubstitutePath(_Path,['profileId',profileId]);
  21030. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TSitesListResponse) as TSitesListResponse;
  21031. end;
  21032. Function TSitesResource.List(profileId: string; AQuery : TSiteslistOptions) : TSitesListResponse;
  21033. Var
  21034. _Q : String;
  21035. begin
  21036. _Q:='';
  21037. AddToQuery(_Q,'acceptsInStreamVideoPlacements',AQuery.acceptsInStreamVideoPlacements);
  21038. AddToQuery(_Q,'acceptsInterstitialPlacements',AQuery.acceptsInterstitialPlacements);
  21039. AddToQuery(_Q,'acceptsPublisherPaidPlacements',AQuery.acceptsPublisherPaidPlacements);
  21040. AddToQuery(_Q,'adWordsSite',AQuery.adWordsSite);
  21041. AddToQuery(_Q,'approved',AQuery.approved);
  21042. AddToQuery(_Q,'campaignIds',AQuery.campaignIds);
  21043. AddToQuery(_Q,'directorySiteIds',AQuery.directorySiteIds);
  21044. AddToQuery(_Q,'ids',AQuery.ids);
  21045. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  21046. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  21047. AddToQuery(_Q,'searchString',AQuery.searchString);
  21048. AddToQuery(_Q,'sortField',AQuery.sortField);
  21049. AddToQuery(_Q,'sortOrder',AQuery.sortOrder);
  21050. AddToQuery(_Q,'subaccountId',AQuery.subaccountId);
  21051. AddToQuery(_Q,'unmappedSite',AQuery.unmappedSite);
  21052. Result:=List(profileId,_Q);
  21053. end;
  21054. Function TSitesResource.Patch(profileId: string; aSite : TSite; AQuery : string = '') : TSite;
  21055. Const
  21056. _HTTPMethod = 'PATCH';
  21057. _Path = 'userprofiles/{profileId}/sites';
  21058. _Methodid = 'dfareporting.sites.patch';
  21059. Var
  21060. _P : String;
  21061. begin
  21062. _P:=SubstitutePath(_Path,['profileId',profileId]);
  21063. Result:=ServiceCall(_HTTPMethod,_P,AQuery,aSite,TSite) as TSite;
  21064. end;
  21065. Function TSitesResource.Patch(profileId: string; aSite : TSite; AQuery : TSitespatchOptions) : TSite;
  21066. Var
  21067. _Q : String;
  21068. begin
  21069. _Q:='';
  21070. AddToQuery(_Q,'id',AQuery.id);
  21071. Result:=Patch(profileId,aSite,_Q);
  21072. end;
  21073. Function TSitesResource.Update(profileId: string; aSite : TSite) : TSite;
  21074. Const
  21075. _HTTPMethod = 'PUT';
  21076. _Path = 'userprofiles/{profileId}/sites';
  21077. _Methodid = 'dfareporting.sites.update';
  21078. Var
  21079. _P : String;
  21080. begin
  21081. _P:=SubstitutePath(_Path,['profileId',profileId]);
  21082. Result:=ServiceCall(_HTTPMethod,_P,'',aSite,TSite) as TSite;
  21083. end;
  21084. { --------------------------------------------------------------------
  21085. TSizesResource
  21086. --------------------------------------------------------------------}
  21087. Class Function TSizesResource.ResourceName : String;
  21088. begin
  21089. Result:='sizes';
  21090. end;
  21091. Class Function TSizesResource.DefaultAPI : TGoogleAPIClass;
  21092. begin
  21093. Result:=TdfareportingAPI;
  21094. end;
  21095. Function TSizesResource.Get(id: string; profileId: string) : TSize;
  21096. Const
  21097. _HTTPMethod = 'GET';
  21098. _Path = 'userprofiles/{profileId}/sizes/{id}';
  21099. _Methodid = 'dfareporting.sizes.get';
  21100. Var
  21101. _P : String;
  21102. begin
  21103. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId]);
  21104. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TSize) as TSize;
  21105. end;
  21106. Function TSizesResource.Insert(profileId: string; aSize : TSize) : TSize;
  21107. Const
  21108. _HTTPMethod = 'POST';
  21109. _Path = 'userprofiles/{profileId}/sizes';
  21110. _Methodid = 'dfareporting.sizes.insert';
  21111. Var
  21112. _P : String;
  21113. begin
  21114. _P:=SubstitutePath(_Path,['profileId',profileId]);
  21115. Result:=ServiceCall(_HTTPMethod,_P,'',aSize,TSize) as TSize;
  21116. end;
  21117. Function TSizesResource.List(profileId: string; AQuery : string = '') : TSizesListResponse;
  21118. Const
  21119. _HTTPMethod = 'GET';
  21120. _Path = 'userprofiles/{profileId}/sizes';
  21121. _Methodid = 'dfareporting.sizes.list';
  21122. Var
  21123. _P : String;
  21124. begin
  21125. _P:=SubstitutePath(_Path,['profileId',profileId]);
  21126. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TSizesListResponse) as TSizesListResponse;
  21127. end;
  21128. Function TSizesResource.List(profileId: string; AQuery : TSizeslistOptions) : TSizesListResponse;
  21129. Var
  21130. _Q : String;
  21131. begin
  21132. _Q:='';
  21133. AddToQuery(_Q,'height',AQuery.height);
  21134. AddToQuery(_Q,'iabStandard',AQuery.iabStandard);
  21135. AddToQuery(_Q,'ids',AQuery.ids);
  21136. AddToQuery(_Q,'width',AQuery.width);
  21137. Result:=List(profileId,_Q);
  21138. end;
  21139. { --------------------------------------------------------------------
  21140. TSubaccountsResource
  21141. --------------------------------------------------------------------}
  21142. Class Function TSubaccountsResource.ResourceName : String;
  21143. begin
  21144. Result:='subaccounts';
  21145. end;
  21146. Class Function TSubaccountsResource.DefaultAPI : TGoogleAPIClass;
  21147. begin
  21148. Result:=TdfareportingAPI;
  21149. end;
  21150. Function TSubaccountsResource.Get(id: string; profileId: string) : TSubaccount;
  21151. Const
  21152. _HTTPMethod = 'GET';
  21153. _Path = 'userprofiles/{profileId}/subaccounts/{id}';
  21154. _Methodid = 'dfareporting.subaccounts.get';
  21155. Var
  21156. _P : String;
  21157. begin
  21158. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId]);
  21159. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TSubaccount) as TSubaccount;
  21160. end;
  21161. Function TSubaccountsResource.Insert(profileId: string; aSubaccount : TSubaccount) : TSubaccount;
  21162. Const
  21163. _HTTPMethod = 'POST';
  21164. _Path = 'userprofiles/{profileId}/subaccounts';
  21165. _Methodid = 'dfareporting.subaccounts.insert';
  21166. Var
  21167. _P : String;
  21168. begin
  21169. _P:=SubstitutePath(_Path,['profileId',profileId]);
  21170. Result:=ServiceCall(_HTTPMethod,_P,'',aSubaccount,TSubaccount) as TSubaccount;
  21171. end;
  21172. Function TSubaccountsResource.List(profileId: string; AQuery : string = '') : TSubaccountsListResponse;
  21173. Const
  21174. _HTTPMethod = 'GET';
  21175. _Path = 'userprofiles/{profileId}/subaccounts';
  21176. _Methodid = 'dfareporting.subaccounts.list';
  21177. Var
  21178. _P : String;
  21179. begin
  21180. _P:=SubstitutePath(_Path,['profileId',profileId]);
  21181. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TSubaccountsListResponse) as TSubaccountsListResponse;
  21182. end;
  21183. Function TSubaccountsResource.List(profileId: string; AQuery : TSubaccountslistOptions) : TSubaccountsListResponse;
  21184. Var
  21185. _Q : String;
  21186. begin
  21187. _Q:='';
  21188. AddToQuery(_Q,'ids',AQuery.ids);
  21189. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  21190. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  21191. AddToQuery(_Q,'searchString',AQuery.searchString);
  21192. AddToQuery(_Q,'sortField',AQuery.sortField);
  21193. AddToQuery(_Q,'sortOrder',AQuery.sortOrder);
  21194. Result:=List(profileId,_Q);
  21195. end;
  21196. Function TSubaccountsResource.Patch(profileId: string; aSubaccount : TSubaccount; AQuery : string = '') : TSubaccount;
  21197. Const
  21198. _HTTPMethod = 'PATCH';
  21199. _Path = 'userprofiles/{profileId}/subaccounts';
  21200. _Methodid = 'dfareporting.subaccounts.patch';
  21201. Var
  21202. _P : String;
  21203. begin
  21204. _P:=SubstitutePath(_Path,['profileId',profileId]);
  21205. Result:=ServiceCall(_HTTPMethod,_P,AQuery,aSubaccount,TSubaccount) as TSubaccount;
  21206. end;
  21207. Function TSubaccountsResource.Patch(profileId: string; aSubaccount : TSubaccount; AQuery : TSubaccountspatchOptions) : TSubaccount;
  21208. Var
  21209. _Q : String;
  21210. begin
  21211. _Q:='';
  21212. AddToQuery(_Q,'id',AQuery.id);
  21213. Result:=Patch(profileId,aSubaccount,_Q);
  21214. end;
  21215. Function TSubaccountsResource.Update(profileId: string; aSubaccount : TSubaccount) : TSubaccount;
  21216. Const
  21217. _HTTPMethod = 'PUT';
  21218. _Path = 'userprofiles/{profileId}/subaccounts';
  21219. _Methodid = 'dfareporting.subaccounts.update';
  21220. Var
  21221. _P : String;
  21222. begin
  21223. _P:=SubstitutePath(_Path,['profileId',profileId]);
  21224. Result:=ServiceCall(_HTTPMethod,_P,'',aSubaccount,TSubaccount) as TSubaccount;
  21225. end;
  21226. { --------------------------------------------------------------------
  21227. TTargetableRemarketingListsResource
  21228. --------------------------------------------------------------------}
  21229. Class Function TTargetableRemarketingListsResource.ResourceName : String;
  21230. begin
  21231. Result:='targetableRemarketingLists';
  21232. end;
  21233. Class Function TTargetableRemarketingListsResource.DefaultAPI : TGoogleAPIClass;
  21234. begin
  21235. Result:=TdfareportingAPI;
  21236. end;
  21237. Function TTargetableRemarketingListsResource.Get(id: string; profileId: string) : TTargetableRemarketingList;
  21238. Const
  21239. _HTTPMethod = 'GET';
  21240. _Path = 'userprofiles/{profileId}/targetableRemarketingLists/{id}';
  21241. _Methodid = 'dfareporting.targetableRemarketingLists.get';
  21242. Var
  21243. _P : String;
  21244. begin
  21245. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId]);
  21246. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TTargetableRemarketingList) as TTargetableRemarketingList;
  21247. end;
  21248. Function TTargetableRemarketingListsResource.List(profileId: string; AQuery : string = '') : TTargetableRemarketingListsListResponse;
  21249. Const
  21250. _HTTPMethod = 'GET';
  21251. _Path = 'userprofiles/{profileId}/targetableRemarketingLists';
  21252. _Methodid = 'dfareporting.targetableRemarketingLists.list';
  21253. Var
  21254. _P : String;
  21255. begin
  21256. _P:=SubstitutePath(_Path,['profileId',profileId]);
  21257. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TTargetableRemarketingListsListResponse) as TTargetableRemarketingListsListResponse;
  21258. end;
  21259. Function TTargetableRemarketingListsResource.List(profileId: string; AQuery : TTargetableRemarketingListslistOptions) : TTargetableRemarketingListsListResponse;
  21260. Var
  21261. _Q : String;
  21262. begin
  21263. _Q:='';
  21264. AddToQuery(_Q,'active',AQuery.active);
  21265. AddToQuery(_Q,'advertiserId',AQuery.advertiserId);
  21266. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  21267. AddToQuery(_Q,'name',AQuery._name);
  21268. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  21269. AddToQuery(_Q,'sortField',AQuery.sortField);
  21270. AddToQuery(_Q,'sortOrder',AQuery.sortOrder);
  21271. Result:=List(profileId,_Q);
  21272. end;
  21273. { --------------------------------------------------------------------
  21274. TUserProfilesResource
  21275. --------------------------------------------------------------------}
  21276. Class Function TUserProfilesResource.ResourceName : String;
  21277. begin
  21278. Result:='userProfiles';
  21279. end;
  21280. Class Function TUserProfilesResource.DefaultAPI : TGoogleAPIClass;
  21281. begin
  21282. Result:=TdfareportingAPI;
  21283. end;
  21284. Function TUserProfilesResource.Get(profileId: string) : TUserProfile;
  21285. Const
  21286. _HTTPMethod = 'GET';
  21287. _Path = 'userprofiles/{profileId}';
  21288. _Methodid = 'dfareporting.userProfiles.get';
  21289. Var
  21290. _P : String;
  21291. begin
  21292. _P:=SubstitutePath(_Path,['profileId',profileId]);
  21293. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TUserProfile) as TUserProfile;
  21294. end;
  21295. Function TUserProfilesResource.List : TUserProfileList;
  21296. Const
  21297. _HTTPMethod = 'GET';
  21298. _Path = 'userprofiles';
  21299. _Methodid = 'dfareporting.userProfiles.list';
  21300. begin
  21301. Result:=ServiceCall(_HTTPMethod,_Path,'',Nil,TUserProfileList) as TUserProfileList;
  21302. end;
  21303. { --------------------------------------------------------------------
  21304. TUserRolePermissionGroupsResource
  21305. --------------------------------------------------------------------}
  21306. Class Function TUserRolePermissionGroupsResource.ResourceName : String;
  21307. begin
  21308. Result:='userRolePermissionGroups';
  21309. end;
  21310. Class Function TUserRolePermissionGroupsResource.DefaultAPI : TGoogleAPIClass;
  21311. begin
  21312. Result:=TdfareportingAPI;
  21313. end;
  21314. Function TUserRolePermissionGroupsResource.Get(id: string; profileId: string) : TUserRolePermissionGroup;
  21315. Const
  21316. _HTTPMethod = 'GET';
  21317. _Path = 'userprofiles/{profileId}/userRolePermissionGroups/{id}';
  21318. _Methodid = 'dfareporting.userRolePermissionGroups.get';
  21319. Var
  21320. _P : String;
  21321. begin
  21322. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId]);
  21323. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TUserRolePermissionGroup) as TUserRolePermissionGroup;
  21324. end;
  21325. Function TUserRolePermissionGroupsResource.List(profileId: string) : TUserRolePermissionGroupsListResponse;
  21326. Const
  21327. _HTTPMethod = 'GET';
  21328. _Path = 'userprofiles/{profileId}/userRolePermissionGroups';
  21329. _Methodid = 'dfareporting.userRolePermissionGroups.list';
  21330. Var
  21331. _P : String;
  21332. begin
  21333. _P:=SubstitutePath(_Path,['profileId',profileId]);
  21334. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TUserRolePermissionGroupsListResponse) as TUserRolePermissionGroupsListResponse;
  21335. end;
  21336. { --------------------------------------------------------------------
  21337. TUserRolePermissionsResource
  21338. --------------------------------------------------------------------}
  21339. Class Function TUserRolePermissionsResource.ResourceName : String;
  21340. begin
  21341. Result:='userRolePermissions';
  21342. end;
  21343. Class Function TUserRolePermissionsResource.DefaultAPI : TGoogleAPIClass;
  21344. begin
  21345. Result:=TdfareportingAPI;
  21346. end;
  21347. Function TUserRolePermissionsResource.Get(id: string; profileId: string) : TUserRolePermission;
  21348. Const
  21349. _HTTPMethod = 'GET';
  21350. _Path = 'userprofiles/{profileId}/userRolePermissions/{id}';
  21351. _Methodid = 'dfareporting.userRolePermissions.get';
  21352. Var
  21353. _P : String;
  21354. begin
  21355. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId]);
  21356. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TUserRolePermission) as TUserRolePermission;
  21357. end;
  21358. Function TUserRolePermissionsResource.List(profileId: string; AQuery : string = '') : TUserRolePermissionsListResponse;
  21359. Const
  21360. _HTTPMethod = 'GET';
  21361. _Path = 'userprofiles/{profileId}/userRolePermissions';
  21362. _Methodid = 'dfareporting.userRolePermissions.list';
  21363. Var
  21364. _P : String;
  21365. begin
  21366. _P:=SubstitutePath(_Path,['profileId',profileId]);
  21367. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TUserRolePermissionsListResponse) as TUserRolePermissionsListResponse;
  21368. end;
  21369. Function TUserRolePermissionsResource.List(profileId: string; AQuery : TUserRolePermissionslistOptions) : TUserRolePermissionsListResponse;
  21370. Var
  21371. _Q : String;
  21372. begin
  21373. _Q:='';
  21374. AddToQuery(_Q,'ids',AQuery.ids);
  21375. Result:=List(profileId,_Q);
  21376. end;
  21377. { --------------------------------------------------------------------
  21378. TUserRolesResource
  21379. --------------------------------------------------------------------}
  21380. Class Function TUserRolesResource.ResourceName : String;
  21381. begin
  21382. Result:='userRoles';
  21383. end;
  21384. Class Function TUserRolesResource.DefaultAPI : TGoogleAPIClass;
  21385. begin
  21386. Result:=TdfareportingAPI;
  21387. end;
  21388. Procedure TUserRolesResource.Delete(id: string; profileId: string);
  21389. Const
  21390. _HTTPMethod = 'DELETE';
  21391. _Path = 'userprofiles/{profileId}/userRoles/{id}';
  21392. _Methodid = 'dfareporting.userRoles.delete';
  21393. Var
  21394. _P : String;
  21395. begin
  21396. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId]);
  21397. ServiceCall(_HTTPMethod,_P,'',Nil,Nil);
  21398. end;
  21399. Function TUserRolesResource.Get(id: string; profileId: string) : TUserRole;
  21400. Const
  21401. _HTTPMethod = 'GET';
  21402. _Path = 'userprofiles/{profileId}/userRoles/{id}';
  21403. _Methodid = 'dfareporting.userRoles.get';
  21404. Var
  21405. _P : String;
  21406. begin
  21407. _P:=SubstitutePath(_Path,['id',id,'profileId',profileId]);
  21408. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TUserRole) as TUserRole;
  21409. end;
  21410. Function TUserRolesResource.Insert(profileId: string; aUserRole : TUserRole) : TUserRole;
  21411. Const
  21412. _HTTPMethod = 'POST';
  21413. _Path = 'userprofiles/{profileId}/userRoles';
  21414. _Methodid = 'dfareporting.userRoles.insert';
  21415. Var
  21416. _P : String;
  21417. begin
  21418. _P:=SubstitutePath(_Path,['profileId',profileId]);
  21419. Result:=ServiceCall(_HTTPMethod,_P,'',aUserRole,TUserRole) as TUserRole;
  21420. end;
  21421. Function TUserRolesResource.List(profileId: string; AQuery : string = '') : TUserRolesListResponse;
  21422. Const
  21423. _HTTPMethod = 'GET';
  21424. _Path = 'userprofiles/{profileId}/userRoles';
  21425. _Methodid = 'dfareporting.userRoles.list';
  21426. Var
  21427. _P : String;
  21428. begin
  21429. _P:=SubstitutePath(_Path,['profileId',profileId]);
  21430. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TUserRolesListResponse) as TUserRolesListResponse;
  21431. end;
  21432. Function TUserRolesResource.List(profileId: string; AQuery : TUserRoleslistOptions) : TUserRolesListResponse;
  21433. Var
  21434. _Q : String;
  21435. begin
  21436. _Q:='';
  21437. AddToQuery(_Q,'accountUserRoleOnly',AQuery.accountUserRoleOnly);
  21438. AddToQuery(_Q,'ids',AQuery.ids);
  21439. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  21440. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  21441. AddToQuery(_Q,'searchString',AQuery.searchString);
  21442. AddToQuery(_Q,'sortField',AQuery.sortField);
  21443. AddToQuery(_Q,'sortOrder',AQuery.sortOrder);
  21444. AddToQuery(_Q,'subaccountId',AQuery.subaccountId);
  21445. Result:=List(profileId,_Q);
  21446. end;
  21447. Function TUserRolesResource.Patch(profileId: string; aUserRole : TUserRole; AQuery : string = '') : TUserRole;
  21448. Const
  21449. _HTTPMethod = 'PATCH';
  21450. _Path = 'userprofiles/{profileId}/userRoles';
  21451. _Methodid = 'dfareporting.userRoles.patch';
  21452. Var
  21453. _P : String;
  21454. begin
  21455. _P:=SubstitutePath(_Path,['profileId',profileId]);
  21456. Result:=ServiceCall(_HTTPMethod,_P,AQuery,aUserRole,TUserRole) as TUserRole;
  21457. end;
  21458. Function TUserRolesResource.Patch(profileId: string; aUserRole : TUserRole; AQuery : TUserRolespatchOptions) : TUserRole;
  21459. Var
  21460. _Q : String;
  21461. begin
  21462. _Q:='';
  21463. AddToQuery(_Q,'id',AQuery.id);
  21464. Result:=Patch(profileId,aUserRole,_Q);
  21465. end;
  21466. Function TUserRolesResource.Update(profileId: string; aUserRole : TUserRole) : TUserRole;
  21467. Const
  21468. _HTTPMethod = 'PUT';
  21469. _Path = 'userprofiles/{profileId}/userRoles';
  21470. _Methodid = 'dfareporting.userRoles.update';
  21471. Var
  21472. _P : String;
  21473. begin
  21474. _P:=SubstitutePath(_Path,['profileId',profileId]);
  21475. Result:=ServiceCall(_HTTPMethod,_P,'',aUserRole,TUserRole) as TUserRole;
  21476. end;
  21477. { --------------------------------------------------------------------
  21478. TDfareportingAPI
  21479. --------------------------------------------------------------------}
  21480. Class Function TDfareportingAPI.APIName : String;
  21481. begin
  21482. Result:='dfareporting';
  21483. end;
  21484. Class Function TDfareportingAPI.APIVersion : String;
  21485. begin
  21486. Result:='v2.5';
  21487. end;
  21488. Class Function TDfareportingAPI.APIRevision : String;
  21489. begin
  21490. Result:='20160509';
  21491. end;
  21492. Class Function TDfareportingAPI.APIID : String;
  21493. begin
  21494. Result:='dfareporting:v2.5';
  21495. end;
  21496. Class Function TDfareportingAPI.APITitle : String;
  21497. begin
  21498. Result:='DCM/DFA Reporting And Trafficking API';
  21499. end;
  21500. Class Function TDfareportingAPI.APIDescription : String;
  21501. begin
  21502. Result:='Manages your DoubleClick Campaign Manager ad campaigns and reports.';
  21503. end;
  21504. Class Function TDfareportingAPI.APIOwnerDomain : String;
  21505. begin
  21506. Result:='google.com';
  21507. end;
  21508. Class Function TDfareportingAPI.APIOwnerName : String;
  21509. begin
  21510. Result:='Google';
  21511. end;
  21512. Class Function TDfareportingAPI.APIIcon16 : String;
  21513. begin
  21514. Result:='https://www.google.com/images/icons/product/doubleclick-16.gif';
  21515. end;
  21516. Class Function TDfareportingAPI.APIIcon32 : String;
  21517. begin
  21518. Result:='https://www.google.com/images/icons/product/doubleclick-32.gif';
  21519. end;
  21520. Class Function TDfareportingAPI.APIdocumentationLink : String;
  21521. begin
  21522. Result:='https://developers.google.com/doubleclick-advertisers/reporting/';
  21523. end;
  21524. Class Function TDfareportingAPI.APIrootUrl : string;
  21525. begin
  21526. Result:='https://www.googleapis.com/';
  21527. end;
  21528. Class Function TDfareportingAPI.APIbasePath : string;
  21529. begin
  21530. Result:='/dfareporting/v2.5/';
  21531. end;
  21532. Class Function TDfareportingAPI.APIbaseURL : String;
  21533. begin
  21534. Result:='https://www.googleapis.com/dfareporting/v2.5/';
  21535. end;
  21536. Class Function TDfareportingAPI.APIProtocol : string;
  21537. begin
  21538. Result:='rest';
  21539. end;
  21540. Class Function TDfareportingAPI.APIservicePath : string;
  21541. begin
  21542. Result:='dfareporting/v2.5/';
  21543. end;
  21544. Class Function TDfareportingAPI.APIbatchPath : String;
  21545. begin
  21546. Result:='batch';
  21547. end;
  21548. Class Function TDfareportingAPI.APIAuthScopes : TScopeInfoArray;
  21549. begin
  21550. SetLength(Result,3);
  21551. Result[0].Name:='https://www.googleapis.com/auth/ddmconversions';
  21552. Result[0].Description:='Manage DoubleClick Digital Marketing conversions';
  21553. Result[1].Name:='https://www.googleapis.com/auth/dfareporting';
  21554. Result[1].Description:='View and manage DoubleClick for Advertisers reports';
  21555. Result[2].Name:='https://www.googleapis.com/auth/dfatrafficking';
  21556. Result[2].Description:='View and manage your DoubleClick Campaign Manager''s (DCM) display ad campaigns';
  21557. end;
  21558. Class Function TDfareportingAPI.APINeedsAuth : Boolean;
  21559. begin
  21560. Result:=True;
  21561. end;
  21562. Class Procedure TDfareportingAPI.RegisterAPIResources;
  21563. begin
  21564. TAccount.RegisterObject;
  21565. TAccountActiveAdSummary.RegisterObject;
  21566. TAccountPermission.RegisterObject;
  21567. TAccountPermissionGroup.RegisterObject;
  21568. TAccountPermissionGroupsListResponse.RegisterObject;
  21569. TAccountPermissionsListResponse.RegisterObject;
  21570. TAccountUserProfile.RegisterObject;
  21571. TAccountUserProfilesListResponse.RegisterObject;
  21572. TAccountsListResponse.RegisterObject;
  21573. TActivities.RegisterObject;
  21574. TAd.RegisterObject;
  21575. TAdSlot.RegisterObject;
  21576. TAdsListResponse.RegisterObject;
  21577. TAdvertiser.RegisterObject;
  21578. TAdvertiserGroup.RegisterObject;
  21579. TAdvertiserGroupsListResponse.RegisterObject;
  21580. TAdvertisersListResponse.RegisterObject;
  21581. TAudienceSegment.RegisterObject;
  21582. TAudienceSegmentGroup.RegisterObject;
  21583. TBrowser.RegisterObject;
  21584. TBrowsersListResponse.RegisterObject;
  21585. TCampaign.RegisterObject;
  21586. TCampaignCreativeAssociation.RegisterObject;
  21587. TCampaignCreativeAssociationsListResponse.RegisterObject;
  21588. TCampaignsListResponse.RegisterObject;
  21589. TChangeLog.RegisterObject;
  21590. TChangeLogsListResponse.RegisterObject;
  21591. TCitiesListResponse.RegisterObject;
  21592. TCity.RegisterObject;
  21593. TClickTag.RegisterObject;
  21594. TClickThroughUrl.RegisterObject;
  21595. TClickThroughUrlSuffixProperties.RegisterObject;
  21596. TCompanionClickThroughOverride.RegisterObject;
  21597. TCompatibleFields.RegisterObject;
  21598. TConnectionType.RegisterObject;
  21599. TConnectionTypesListResponse.RegisterObject;
  21600. TContentCategoriesListResponse.RegisterObject;
  21601. TContentCategory.RegisterObject;
  21602. TConversion.RegisterObject;
  21603. TConversionError.RegisterObject;
  21604. TConversionStatus.RegisterObject;
  21605. TConversionsBatchInsertRequest.RegisterObject;
  21606. TConversionsBatchInsertResponse.RegisterObject;
  21607. TCountriesListResponse.RegisterObject;
  21608. TCountry.RegisterObject;
  21609. TCreative.RegisterObject;
  21610. TCreativeAsset.RegisterObject;
  21611. TCreativeAssetId.RegisterObject;
  21612. TCreativeAssetMetadata.RegisterObject;
  21613. TCreativeAssignment.RegisterObject;
  21614. TCreativeCustomEvent.RegisterObject;
  21615. TCreativeField.RegisterObject;
  21616. TCreativeFieldAssignment.RegisterObject;
  21617. TCreativeFieldValue.RegisterObject;
  21618. TCreativeFieldValuesListResponse.RegisterObject;
  21619. TCreativeFieldsListResponse.RegisterObject;
  21620. TCreativeGroup.RegisterObject;
  21621. TCreativeGroupAssignment.RegisterObject;
  21622. TCreativeGroupsListResponse.RegisterObject;
  21623. TCreativeOptimizationConfiguration.RegisterObject;
  21624. TCreativeRotation.RegisterObject;
  21625. TCreativeSettings.RegisterObject;
  21626. TCreativesListResponse.RegisterObject;
  21627. TCrossDimensionReachReportCompatibleFields.RegisterObject;
  21628. TCustomFloodlightVariable.RegisterObject;
  21629. TCustomRichMediaEvents.RegisterObject;
  21630. TDateRange.RegisterObject;
  21631. TDayPartTargeting.RegisterObject;
  21632. TDefaultClickThroughEventTagProperties.RegisterObject;
  21633. TDeliverySchedule.RegisterObject;
  21634. TDfpSettings.RegisterObject;
  21635. TDimension.RegisterObject;
  21636. TDimensionFilter.RegisterObject;
  21637. TDimensionValue.RegisterObject;
  21638. TDimensionValueList.RegisterObject;
  21639. TDimensionValueRequest.RegisterObject;
  21640. TDirectorySite.RegisterObject;
  21641. TDirectorySiteContact.RegisterObject;
  21642. TDirectorySiteContactAssignment.RegisterObject;
  21643. TDirectorySiteContactsListResponse.RegisterObject;
  21644. TDirectorySiteSettings.RegisterObject;
  21645. TDirectorySitesListResponse.RegisterObject;
  21646. TDynamicTargetingKey.RegisterObject;
  21647. TDynamicTargetingKeysListResponse.RegisterObject;
  21648. TEncryptionInfo.RegisterObject;
  21649. TEventTag.RegisterObject;
  21650. TEventTagOverride.RegisterObject;
  21651. TEventTagsListResponse.RegisterObject;
  21652. TFileTypeurls.RegisterObject;
  21653. TFile.RegisterObject;
  21654. TFileList.RegisterObject;
  21655. TFlight.RegisterObject;
  21656. TFloodlightActivitiesGenerateTagResponse.RegisterObject;
  21657. TFloodlightActivitiesListResponse.RegisterObject;
  21658. TFloodlightActivity.RegisterObject;
  21659. TFloodlightActivityDynamicTag.RegisterObject;
  21660. TFloodlightActivityGroup.RegisterObject;
  21661. TFloodlightActivityGroupsListResponse.RegisterObject;
  21662. TFloodlightActivityPublisherDynamicTag.RegisterObject;
  21663. TFloodlightConfiguration.RegisterObject;
  21664. TFloodlightConfigurationsListResponse.RegisterObject;
  21665. TFloodlightReportCompatibleFields.RegisterObject;
  21666. TFrequencyCap.RegisterObject;
  21667. TFsCommand.RegisterObject;
  21668. TGeoTargeting.RegisterObject;
  21669. TInventoryItem.RegisterObject;
  21670. TInventoryItemsListResponse.RegisterObject;
  21671. TKeyValueTargetingExpression.RegisterObject;
  21672. TLandingPage.RegisterObject;
  21673. TLandingPagesListResponse.RegisterObject;
  21674. TLastModifiedInfo.RegisterObject;
  21675. TListPopulationClause.RegisterObject;
  21676. TListPopulationRule.RegisterObject;
  21677. TListPopulationTerm.RegisterObject;
  21678. TListTargetingExpression.RegisterObject;
  21679. TLookbackConfiguration.RegisterObject;
  21680. TMetric.RegisterObject;
  21681. TMetro.RegisterObject;
  21682. TMetrosListResponse.RegisterObject;
  21683. TMobileCarrier.RegisterObject;
  21684. TMobileCarriersListResponse.RegisterObject;
  21685. TObjectFilter.RegisterObject;
  21686. TOffsetPosition.RegisterObject;
  21687. TOmnitureSettings.RegisterObject;
  21688. TOperatingSystem.RegisterObject;
  21689. TOperatingSystemVersion.RegisterObject;
  21690. TOperatingSystemVersionsListResponse.RegisterObject;
  21691. TOperatingSystemsListResponse.RegisterObject;
  21692. TOptimizationActivity.RegisterObject;
  21693. TOrder.RegisterObject;
  21694. TOrderContact.RegisterObject;
  21695. TOrderDocument.RegisterObject;
  21696. TOrderDocumentsListResponse.RegisterObject;
  21697. TOrdersListResponse.RegisterObject;
  21698. TPathToConversionReportCompatibleFields.RegisterObject;
  21699. TPlacement.RegisterObject;
  21700. TPlacementAssignment.RegisterObject;
  21701. TPlacementGroup.RegisterObject;
  21702. TPlacementGroupsListResponse.RegisterObject;
  21703. TPlacementStrategiesListResponse.RegisterObject;
  21704. TPlacementStrategy.RegisterObject;
  21705. TPlacementTag.RegisterObject;
  21706. TPlacementsGenerateTagsResponse.RegisterObject;
  21707. TPlacementsListResponse.RegisterObject;
  21708. TPlatformType.RegisterObject;
  21709. TPlatformTypesListResponse.RegisterObject;
  21710. TPopupWindowProperties.RegisterObject;
  21711. TPostalCode.RegisterObject;
  21712. TPostalCodesListResponse.RegisterObject;
  21713. TPricing.RegisterObject;
  21714. TPricingSchedule.RegisterObject;
  21715. TPricingSchedulePricingPeriod.RegisterObject;
  21716. TProject.RegisterObject;
  21717. TProjectsListResponse.RegisterObject;
  21718. TReachReportCompatibleFields.RegisterObject;
  21719. TRecipient.RegisterObject;
  21720. TRegion.RegisterObject;
  21721. TRegionsListResponse.RegisterObject;
  21722. TRemarketingList.RegisterObject;
  21723. TRemarketingListShare.RegisterObject;
  21724. TRemarketingListsListResponse.RegisterObject;
  21725. TReportTypecriteria.RegisterObject;
  21726. TReportTypecrossDimensionReachCriteria.RegisterObject;
  21727. TReportTypedelivery.RegisterObject;
  21728. TReportTypefloodlightCriteriaTypereportProperties.RegisterObject;
  21729. TReportTypefloodlightCriteria.RegisterObject;
  21730. TReportTypepathToConversionCriteriaTypereportProperties.RegisterObject;
  21731. TReportTypepathToConversionCriteria.RegisterObject;
  21732. TReportTypereachCriteria.RegisterObject;
  21733. TReportTypeschedule.RegisterObject;
  21734. TReport.RegisterObject;
  21735. TReportCompatibleFields.RegisterObject;
  21736. TReportList.RegisterObject;
  21737. TReportsConfiguration.RegisterObject;
  21738. TRichMediaExitOverride.RegisterObject;
  21739. TSite.RegisterObject;
  21740. TSiteContact.RegisterObject;
  21741. TSiteSettings.RegisterObject;
  21742. TSitesListResponse.RegisterObject;
  21743. TSize.RegisterObject;
  21744. TSizesListResponse.RegisterObject;
  21745. TSortedDimension.RegisterObject;
  21746. TSubaccount.RegisterObject;
  21747. TSubaccountsListResponse.RegisterObject;
  21748. TTagData.RegisterObject;
  21749. TTagSetting.RegisterObject;
  21750. TTagSettings.RegisterObject;
  21751. TTargetWindow.RegisterObject;
  21752. TTargetableRemarketingList.RegisterObject;
  21753. TTargetableRemarketingListsListResponse.RegisterObject;
  21754. TTechnologyTargeting.RegisterObject;
  21755. TThirdPartyAuthenticationToken.RegisterObject;
  21756. TThirdPartyTrackingUrl.RegisterObject;
  21757. TUserDefinedVariableConfiguration.RegisterObject;
  21758. TUserProfile.RegisterObject;
  21759. TUserProfileList.RegisterObject;
  21760. TUserRole.RegisterObject;
  21761. TUserRolePermission.RegisterObject;
  21762. TUserRolePermissionGroup.RegisterObject;
  21763. TUserRolePermissionGroupsListResponse.RegisterObject;
  21764. TUserRolePermissionsListResponse.RegisterObject;
  21765. TUserRolesListResponse.RegisterObject;
  21766. end;
  21767. Function TDfareportingAPI.GetAccountActiveAdSummariesInstance : TAccountActiveAdSummariesResource;
  21768. begin
  21769. if (FAccountActiveAdSummariesInstance=Nil) then
  21770. FAccountActiveAdSummariesInstance:=CreateAccountActiveAdSummariesResource;
  21771. Result:=FAccountActiveAdSummariesInstance;
  21772. end;
  21773. Function TDfareportingAPI.CreateAccountActiveAdSummariesResource : TAccountActiveAdSummariesResource;
  21774. begin
  21775. Result:=CreateAccountActiveAdSummariesResource(Self);
  21776. end;
  21777. Function TDfareportingAPI.CreateAccountActiveAdSummariesResource(AOwner : TComponent) : TAccountActiveAdSummariesResource;
  21778. begin
  21779. Result:=TAccountActiveAdSummariesResource.Create(AOwner);
  21780. Result.API:=Self.API;
  21781. end;
  21782. Function TDfareportingAPI.GetAccountPermissionGroupsInstance : TAccountPermissionGroupsResource;
  21783. begin
  21784. if (FAccountPermissionGroupsInstance=Nil) then
  21785. FAccountPermissionGroupsInstance:=CreateAccountPermissionGroupsResource;
  21786. Result:=FAccountPermissionGroupsInstance;
  21787. end;
  21788. Function TDfareportingAPI.CreateAccountPermissionGroupsResource : TAccountPermissionGroupsResource;
  21789. begin
  21790. Result:=CreateAccountPermissionGroupsResource(Self);
  21791. end;
  21792. Function TDfareportingAPI.CreateAccountPermissionGroupsResource(AOwner : TComponent) : TAccountPermissionGroupsResource;
  21793. begin
  21794. Result:=TAccountPermissionGroupsResource.Create(AOwner);
  21795. Result.API:=Self.API;
  21796. end;
  21797. Function TDfareportingAPI.GetAccountPermissionsInstance : TAccountPermissionsResource;
  21798. begin
  21799. if (FAccountPermissionsInstance=Nil) then
  21800. FAccountPermissionsInstance:=CreateAccountPermissionsResource;
  21801. Result:=FAccountPermissionsInstance;
  21802. end;
  21803. Function TDfareportingAPI.CreateAccountPermissionsResource : TAccountPermissionsResource;
  21804. begin
  21805. Result:=CreateAccountPermissionsResource(Self);
  21806. end;
  21807. Function TDfareportingAPI.CreateAccountPermissionsResource(AOwner : TComponent) : TAccountPermissionsResource;
  21808. begin
  21809. Result:=TAccountPermissionsResource.Create(AOwner);
  21810. Result.API:=Self.API;
  21811. end;
  21812. Function TDfareportingAPI.GetAccountUserProfilesInstance : TAccountUserProfilesResource;
  21813. begin
  21814. if (FAccountUserProfilesInstance=Nil) then
  21815. FAccountUserProfilesInstance:=CreateAccountUserProfilesResource;
  21816. Result:=FAccountUserProfilesInstance;
  21817. end;
  21818. Function TDfareportingAPI.CreateAccountUserProfilesResource : TAccountUserProfilesResource;
  21819. begin
  21820. Result:=CreateAccountUserProfilesResource(Self);
  21821. end;
  21822. Function TDfareportingAPI.CreateAccountUserProfilesResource(AOwner : TComponent) : TAccountUserProfilesResource;
  21823. begin
  21824. Result:=TAccountUserProfilesResource.Create(AOwner);
  21825. Result.API:=Self.API;
  21826. end;
  21827. Function TDfareportingAPI.GetAccountsInstance : TAccountsResource;
  21828. begin
  21829. if (FAccountsInstance=Nil) then
  21830. FAccountsInstance:=CreateAccountsResource;
  21831. Result:=FAccountsInstance;
  21832. end;
  21833. Function TDfareportingAPI.CreateAccountsResource : TAccountsResource;
  21834. begin
  21835. Result:=CreateAccountsResource(Self);
  21836. end;
  21837. Function TDfareportingAPI.CreateAccountsResource(AOwner : TComponent) : TAccountsResource;
  21838. begin
  21839. Result:=TAccountsResource.Create(AOwner);
  21840. Result.API:=Self.API;
  21841. end;
  21842. Function TDfareportingAPI.GetAdsInstance : TAdsResource;
  21843. begin
  21844. if (FAdsInstance=Nil) then
  21845. FAdsInstance:=CreateAdsResource;
  21846. Result:=FAdsInstance;
  21847. end;
  21848. Function TDfareportingAPI.CreateAdsResource : TAdsResource;
  21849. begin
  21850. Result:=CreateAdsResource(Self);
  21851. end;
  21852. Function TDfareportingAPI.CreateAdsResource(AOwner : TComponent) : TAdsResource;
  21853. begin
  21854. Result:=TAdsResource.Create(AOwner);
  21855. Result.API:=Self.API;
  21856. end;
  21857. Function TDfareportingAPI.GetAdvertiserGroupsInstance : TAdvertiserGroupsResource;
  21858. begin
  21859. if (FAdvertiserGroupsInstance=Nil) then
  21860. FAdvertiserGroupsInstance:=CreateAdvertiserGroupsResource;
  21861. Result:=FAdvertiserGroupsInstance;
  21862. end;
  21863. Function TDfareportingAPI.CreateAdvertiserGroupsResource : TAdvertiserGroupsResource;
  21864. begin
  21865. Result:=CreateAdvertiserGroupsResource(Self);
  21866. end;
  21867. Function TDfareportingAPI.CreateAdvertiserGroupsResource(AOwner : TComponent) : TAdvertiserGroupsResource;
  21868. begin
  21869. Result:=TAdvertiserGroupsResource.Create(AOwner);
  21870. Result.API:=Self.API;
  21871. end;
  21872. Function TDfareportingAPI.GetAdvertisersInstance : TAdvertisersResource;
  21873. begin
  21874. if (FAdvertisersInstance=Nil) then
  21875. FAdvertisersInstance:=CreateAdvertisersResource;
  21876. Result:=FAdvertisersInstance;
  21877. end;
  21878. Function TDfareportingAPI.CreateAdvertisersResource : TAdvertisersResource;
  21879. begin
  21880. Result:=CreateAdvertisersResource(Self);
  21881. end;
  21882. Function TDfareportingAPI.CreateAdvertisersResource(AOwner : TComponent) : TAdvertisersResource;
  21883. begin
  21884. Result:=TAdvertisersResource.Create(AOwner);
  21885. Result.API:=Self.API;
  21886. end;
  21887. Function TDfareportingAPI.GetBrowsersInstance : TBrowsersResource;
  21888. begin
  21889. if (FBrowsersInstance=Nil) then
  21890. FBrowsersInstance:=CreateBrowsersResource;
  21891. Result:=FBrowsersInstance;
  21892. end;
  21893. Function TDfareportingAPI.CreateBrowsersResource : TBrowsersResource;
  21894. begin
  21895. Result:=CreateBrowsersResource(Self);
  21896. end;
  21897. Function TDfareportingAPI.CreateBrowsersResource(AOwner : TComponent) : TBrowsersResource;
  21898. begin
  21899. Result:=TBrowsersResource.Create(AOwner);
  21900. Result.API:=Self.API;
  21901. end;
  21902. Function TDfareportingAPI.GetCampaignCreativeAssociationsInstance : TCampaignCreativeAssociationsResource;
  21903. begin
  21904. if (FCampaignCreativeAssociationsInstance=Nil) then
  21905. FCampaignCreativeAssociationsInstance:=CreateCampaignCreativeAssociationsResource;
  21906. Result:=FCampaignCreativeAssociationsInstance;
  21907. end;
  21908. Function TDfareportingAPI.CreateCampaignCreativeAssociationsResource : TCampaignCreativeAssociationsResource;
  21909. begin
  21910. Result:=CreateCampaignCreativeAssociationsResource(Self);
  21911. end;
  21912. Function TDfareportingAPI.CreateCampaignCreativeAssociationsResource(AOwner : TComponent) : TCampaignCreativeAssociationsResource;
  21913. begin
  21914. Result:=TCampaignCreativeAssociationsResource.Create(AOwner);
  21915. Result.API:=Self.API;
  21916. end;
  21917. Function TDfareportingAPI.GetCampaignsInstance : TCampaignsResource;
  21918. begin
  21919. if (FCampaignsInstance=Nil) then
  21920. FCampaignsInstance:=CreateCampaignsResource;
  21921. Result:=FCampaignsInstance;
  21922. end;
  21923. Function TDfareportingAPI.CreateCampaignsResource : TCampaignsResource;
  21924. begin
  21925. Result:=CreateCampaignsResource(Self);
  21926. end;
  21927. Function TDfareportingAPI.CreateCampaignsResource(AOwner : TComponent) : TCampaignsResource;
  21928. begin
  21929. Result:=TCampaignsResource.Create(AOwner);
  21930. Result.API:=Self.API;
  21931. end;
  21932. Function TDfareportingAPI.GetChangeLogsInstance : TChangeLogsResource;
  21933. begin
  21934. if (FChangeLogsInstance=Nil) then
  21935. FChangeLogsInstance:=CreateChangeLogsResource;
  21936. Result:=FChangeLogsInstance;
  21937. end;
  21938. Function TDfareportingAPI.CreateChangeLogsResource : TChangeLogsResource;
  21939. begin
  21940. Result:=CreateChangeLogsResource(Self);
  21941. end;
  21942. Function TDfareportingAPI.CreateChangeLogsResource(AOwner : TComponent) : TChangeLogsResource;
  21943. begin
  21944. Result:=TChangeLogsResource.Create(AOwner);
  21945. Result.API:=Self.API;
  21946. end;
  21947. Function TDfareportingAPI.GetCitiesInstance : TCitiesResource;
  21948. begin
  21949. if (FCitiesInstance=Nil) then
  21950. FCitiesInstance:=CreateCitiesResource;
  21951. Result:=FCitiesInstance;
  21952. end;
  21953. Function TDfareportingAPI.CreateCitiesResource : TCitiesResource;
  21954. begin
  21955. Result:=CreateCitiesResource(Self);
  21956. end;
  21957. Function TDfareportingAPI.CreateCitiesResource(AOwner : TComponent) : TCitiesResource;
  21958. begin
  21959. Result:=TCitiesResource.Create(AOwner);
  21960. Result.API:=Self.API;
  21961. end;
  21962. Function TDfareportingAPI.GetConnectionTypesInstance : TConnectionTypesResource;
  21963. begin
  21964. if (FConnectionTypesInstance=Nil) then
  21965. FConnectionTypesInstance:=CreateConnectionTypesResource;
  21966. Result:=FConnectionTypesInstance;
  21967. end;
  21968. Function TDfareportingAPI.CreateConnectionTypesResource : TConnectionTypesResource;
  21969. begin
  21970. Result:=CreateConnectionTypesResource(Self);
  21971. end;
  21972. Function TDfareportingAPI.CreateConnectionTypesResource(AOwner : TComponent) : TConnectionTypesResource;
  21973. begin
  21974. Result:=TConnectionTypesResource.Create(AOwner);
  21975. Result.API:=Self.API;
  21976. end;
  21977. Function TDfareportingAPI.GetContentCategoriesInstance : TContentCategoriesResource;
  21978. begin
  21979. if (FContentCategoriesInstance=Nil) then
  21980. FContentCategoriesInstance:=CreateContentCategoriesResource;
  21981. Result:=FContentCategoriesInstance;
  21982. end;
  21983. Function TDfareportingAPI.CreateContentCategoriesResource : TContentCategoriesResource;
  21984. begin
  21985. Result:=CreateContentCategoriesResource(Self);
  21986. end;
  21987. Function TDfareportingAPI.CreateContentCategoriesResource(AOwner : TComponent) : TContentCategoriesResource;
  21988. begin
  21989. Result:=TContentCategoriesResource.Create(AOwner);
  21990. Result.API:=Self.API;
  21991. end;
  21992. Function TDfareportingAPI.GetConversionsInstance : TConversionsResource;
  21993. begin
  21994. if (FConversionsInstance=Nil) then
  21995. FConversionsInstance:=CreateConversionsResource;
  21996. Result:=FConversionsInstance;
  21997. end;
  21998. Function TDfareportingAPI.CreateConversionsResource : TConversionsResource;
  21999. begin
  22000. Result:=CreateConversionsResource(Self);
  22001. end;
  22002. Function TDfareportingAPI.CreateConversionsResource(AOwner : TComponent) : TConversionsResource;
  22003. begin
  22004. Result:=TConversionsResource.Create(AOwner);
  22005. Result.API:=Self.API;
  22006. end;
  22007. Function TDfareportingAPI.GetCountriesInstance : TCountriesResource;
  22008. begin
  22009. if (FCountriesInstance=Nil) then
  22010. FCountriesInstance:=CreateCountriesResource;
  22011. Result:=FCountriesInstance;
  22012. end;
  22013. Function TDfareportingAPI.CreateCountriesResource : TCountriesResource;
  22014. begin
  22015. Result:=CreateCountriesResource(Self);
  22016. end;
  22017. Function TDfareportingAPI.CreateCountriesResource(AOwner : TComponent) : TCountriesResource;
  22018. begin
  22019. Result:=TCountriesResource.Create(AOwner);
  22020. Result.API:=Self.API;
  22021. end;
  22022. Function TDfareportingAPI.GetCreativeAssetsInstance : TCreativeAssetsResource;
  22023. begin
  22024. if (FCreativeAssetsInstance=Nil) then
  22025. FCreativeAssetsInstance:=CreateCreativeAssetsResource;
  22026. Result:=FCreativeAssetsInstance;
  22027. end;
  22028. Function TDfareportingAPI.CreateCreativeAssetsResource : TCreativeAssetsResource;
  22029. begin
  22030. Result:=CreateCreativeAssetsResource(Self);
  22031. end;
  22032. Function TDfareportingAPI.CreateCreativeAssetsResource(AOwner : TComponent) : TCreativeAssetsResource;
  22033. begin
  22034. Result:=TCreativeAssetsResource.Create(AOwner);
  22035. Result.API:=Self.API;
  22036. end;
  22037. Function TDfareportingAPI.GetCreativeFieldValuesInstance : TCreativeFieldValuesResource;
  22038. begin
  22039. if (FCreativeFieldValuesInstance=Nil) then
  22040. FCreativeFieldValuesInstance:=CreateCreativeFieldValuesResource;
  22041. Result:=FCreativeFieldValuesInstance;
  22042. end;
  22043. Function TDfareportingAPI.CreateCreativeFieldValuesResource : TCreativeFieldValuesResource;
  22044. begin
  22045. Result:=CreateCreativeFieldValuesResource(Self);
  22046. end;
  22047. Function TDfareportingAPI.CreateCreativeFieldValuesResource(AOwner : TComponent) : TCreativeFieldValuesResource;
  22048. begin
  22049. Result:=TCreativeFieldValuesResource.Create(AOwner);
  22050. Result.API:=Self.API;
  22051. end;
  22052. Function TDfareportingAPI.GetCreativeFieldsInstance : TCreativeFieldsResource;
  22053. begin
  22054. if (FCreativeFieldsInstance=Nil) then
  22055. FCreativeFieldsInstance:=CreateCreativeFieldsResource;
  22056. Result:=FCreativeFieldsInstance;
  22057. end;
  22058. Function TDfareportingAPI.CreateCreativeFieldsResource : TCreativeFieldsResource;
  22059. begin
  22060. Result:=CreateCreativeFieldsResource(Self);
  22061. end;
  22062. Function TDfareportingAPI.CreateCreativeFieldsResource(AOwner : TComponent) : TCreativeFieldsResource;
  22063. begin
  22064. Result:=TCreativeFieldsResource.Create(AOwner);
  22065. Result.API:=Self.API;
  22066. end;
  22067. Function TDfareportingAPI.GetCreativeGroupsInstance : TCreativeGroupsResource;
  22068. begin
  22069. if (FCreativeGroupsInstance=Nil) then
  22070. FCreativeGroupsInstance:=CreateCreativeGroupsResource;
  22071. Result:=FCreativeGroupsInstance;
  22072. end;
  22073. Function TDfareportingAPI.CreateCreativeGroupsResource : TCreativeGroupsResource;
  22074. begin
  22075. Result:=CreateCreativeGroupsResource(Self);
  22076. end;
  22077. Function TDfareportingAPI.CreateCreativeGroupsResource(AOwner : TComponent) : TCreativeGroupsResource;
  22078. begin
  22079. Result:=TCreativeGroupsResource.Create(AOwner);
  22080. Result.API:=Self.API;
  22081. end;
  22082. Function TDfareportingAPI.GetCreativesInstance : TCreativesResource;
  22083. begin
  22084. if (FCreativesInstance=Nil) then
  22085. FCreativesInstance:=CreateCreativesResource;
  22086. Result:=FCreativesInstance;
  22087. end;
  22088. Function TDfareportingAPI.CreateCreativesResource : TCreativesResource;
  22089. begin
  22090. Result:=CreateCreativesResource(Self);
  22091. end;
  22092. Function TDfareportingAPI.CreateCreativesResource(AOwner : TComponent) : TCreativesResource;
  22093. begin
  22094. Result:=TCreativesResource.Create(AOwner);
  22095. Result.API:=Self.API;
  22096. end;
  22097. Function TDfareportingAPI.GetDimensionValuesInstance : TDimensionValuesResource;
  22098. begin
  22099. if (FDimensionValuesInstance=Nil) then
  22100. FDimensionValuesInstance:=CreateDimensionValuesResource;
  22101. Result:=FDimensionValuesInstance;
  22102. end;
  22103. Function TDfareportingAPI.CreateDimensionValuesResource : TDimensionValuesResource;
  22104. begin
  22105. Result:=CreateDimensionValuesResource(Self);
  22106. end;
  22107. Function TDfareportingAPI.CreateDimensionValuesResource(AOwner : TComponent) : TDimensionValuesResource;
  22108. begin
  22109. Result:=TDimensionValuesResource.Create(AOwner);
  22110. Result.API:=Self.API;
  22111. end;
  22112. Function TDfareportingAPI.GetDirectorySiteContactsInstance : TDirectorySiteContactsResource;
  22113. begin
  22114. if (FDirectorySiteContactsInstance=Nil) then
  22115. FDirectorySiteContactsInstance:=CreateDirectorySiteContactsResource;
  22116. Result:=FDirectorySiteContactsInstance;
  22117. end;
  22118. Function TDfareportingAPI.CreateDirectorySiteContactsResource : TDirectorySiteContactsResource;
  22119. begin
  22120. Result:=CreateDirectorySiteContactsResource(Self);
  22121. end;
  22122. Function TDfareportingAPI.CreateDirectorySiteContactsResource(AOwner : TComponent) : TDirectorySiteContactsResource;
  22123. begin
  22124. Result:=TDirectorySiteContactsResource.Create(AOwner);
  22125. Result.API:=Self.API;
  22126. end;
  22127. Function TDfareportingAPI.GetDirectorySitesInstance : TDirectorySitesResource;
  22128. begin
  22129. if (FDirectorySitesInstance=Nil) then
  22130. FDirectorySitesInstance:=CreateDirectorySitesResource;
  22131. Result:=FDirectorySitesInstance;
  22132. end;
  22133. Function TDfareportingAPI.CreateDirectorySitesResource : TDirectorySitesResource;
  22134. begin
  22135. Result:=CreateDirectorySitesResource(Self);
  22136. end;
  22137. Function TDfareportingAPI.CreateDirectorySitesResource(AOwner : TComponent) : TDirectorySitesResource;
  22138. begin
  22139. Result:=TDirectorySitesResource.Create(AOwner);
  22140. Result.API:=Self.API;
  22141. end;
  22142. Function TDfareportingAPI.GetDynamicTargetingKeysInstance : TDynamicTargetingKeysResource;
  22143. begin
  22144. if (FDynamicTargetingKeysInstance=Nil) then
  22145. FDynamicTargetingKeysInstance:=CreateDynamicTargetingKeysResource;
  22146. Result:=FDynamicTargetingKeysInstance;
  22147. end;
  22148. Function TDfareportingAPI.CreateDynamicTargetingKeysResource : TDynamicTargetingKeysResource;
  22149. begin
  22150. Result:=CreateDynamicTargetingKeysResource(Self);
  22151. end;
  22152. Function TDfareportingAPI.CreateDynamicTargetingKeysResource(AOwner : TComponent) : TDynamicTargetingKeysResource;
  22153. begin
  22154. Result:=TDynamicTargetingKeysResource.Create(AOwner);
  22155. Result.API:=Self.API;
  22156. end;
  22157. Function TDfareportingAPI.GetEventTagsInstance : TEventTagsResource;
  22158. begin
  22159. if (FEventTagsInstance=Nil) then
  22160. FEventTagsInstance:=CreateEventTagsResource;
  22161. Result:=FEventTagsInstance;
  22162. end;
  22163. Function TDfareportingAPI.CreateEventTagsResource : TEventTagsResource;
  22164. begin
  22165. Result:=CreateEventTagsResource(Self);
  22166. end;
  22167. Function TDfareportingAPI.CreateEventTagsResource(AOwner : TComponent) : TEventTagsResource;
  22168. begin
  22169. Result:=TEventTagsResource.Create(AOwner);
  22170. Result.API:=Self.API;
  22171. end;
  22172. Function TDfareportingAPI.GetFilesInstance : TFilesResource;
  22173. begin
  22174. if (FFilesInstance=Nil) then
  22175. FFilesInstance:=CreateFilesResource;
  22176. Result:=FFilesInstance;
  22177. end;
  22178. Function TDfareportingAPI.CreateFilesResource : TFilesResource;
  22179. begin
  22180. Result:=CreateFilesResource(Self);
  22181. end;
  22182. Function TDfareportingAPI.CreateFilesResource(AOwner : TComponent) : TFilesResource;
  22183. begin
  22184. Result:=TFilesResource.Create(AOwner);
  22185. Result.API:=Self.API;
  22186. end;
  22187. Function TDfareportingAPI.GetFloodlightActivitiesInstance : TFloodlightActivitiesResource;
  22188. begin
  22189. if (FFloodlightActivitiesInstance=Nil) then
  22190. FFloodlightActivitiesInstance:=CreateFloodlightActivitiesResource;
  22191. Result:=FFloodlightActivitiesInstance;
  22192. end;
  22193. Function TDfareportingAPI.CreateFloodlightActivitiesResource : TFloodlightActivitiesResource;
  22194. begin
  22195. Result:=CreateFloodlightActivitiesResource(Self);
  22196. end;
  22197. Function TDfareportingAPI.CreateFloodlightActivitiesResource(AOwner : TComponent) : TFloodlightActivitiesResource;
  22198. begin
  22199. Result:=TFloodlightActivitiesResource.Create(AOwner);
  22200. Result.API:=Self.API;
  22201. end;
  22202. Function TDfareportingAPI.GetFloodlightActivityGroupsInstance : TFloodlightActivityGroupsResource;
  22203. begin
  22204. if (FFloodlightActivityGroupsInstance=Nil) then
  22205. FFloodlightActivityGroupsInstance:=CreateFloodlightActivityGroupsResource;
  22206. Result:=FFloodlightActivityGroupsInstance;
  22207. end;
  22208. Function TDfareportingAPI.CreateFloodlightActivityGroupsResource : TFloodlightActivityGroupsResource;
  22209. begin
  22210. Result:=CreateFloodlightActivityGroupsResource(Self);
  22211. end;
  22212. Function TDfareportingAPI.CreateFloodlightActivityGroupsResource(AOwner : TComponent) : TFloodlightActivityGroupsResource;
  22213. begin
  22214. Result:=TFloodlightActivityGroupsResource.Create(AOwner);
  22215. Result.API:=Self.API;
  22216. end;
  22217. Function TDfareportingAPI.GetFloodlightConfigurationsInstance : TFloodlightConfigurationsResource;
  22218. begin
  22219. if (FFloodlightConfigurationsInstance=Nil) then
  22220. FFloodlightConfigurationsInstance:=CreateFloodlightConfigurationsResource;
  22221. Result:=FFloodlightConfigurationsInstance;
  22222. end;
  22223. Function TDfareportingAPI.CreateFloodlightConfigurationsResource : TFloodlightConfigurationsResource;
  22224. begin
  22225. Result:=CreateFloodlightConfigurationsResource(Self);
  22226. end;
  22227. Function TDfareportingAPI.CreateFloodlightConfigurationsResource(AOwner : TComponent) : TFloodlightConfigurationsResource;
  22228. begin
  22229. Result:=TFloodlightConfigurationsResource.Create(AOwner);
  22230. Result.API:=Self.API;
  22231. end;
  22232. Function TDfareportingAPI.GetInventoryItemsInstance : TInventoryItemsResource;
  22233. begin
  22234. if (FInventoryItemsInstance=Nil) then
  22235. FInventoryItemsInstance:=CreateInventoryItemsResource;
  22236. Result:=FInventoryItemsInstance;
  22237. end;
  22238. Function TDfareportingAPI.CreateInventoryItemsResource : TInventoryItemsResource;
  22239. begin
  22240. Result:=CreateInventoryItemsResource(Self);
  22241. end;
  22242. Function TDfareportingAPI.CreateInventoryItemsResource(AOwner : TComponent) : TInventoryItemsResource;
  22243. begin
  22244. Result:=TInventoryItemsResource.Create(AOwner);
  22245. Result.API:=Self.API;
  22246. end;
  22247. Function TDfareportingAPI.GetLandingPagesInstance : TLandingPagesResource;
  22248. begin
  22249. if (FLandingPagesInstance=Nil) then
  22250. FLandingPagesInstance:=CreateLandingPagesResource;
  22251. Result:=FLandingPagesInstance;
  22252. end;
  22253. Function TDfareportingAPI.CreateLandingPagesResource : TLandingPagesResource;
  22254. begin
  22255. Result:=CreateLandingPagesResource(Self);
  22256. end;
  22257. Function TDfareportingAPI.CreateLandingPagesResource(AOwner : TComponent) : TLandingPagesResource;
  22258. begin
  22259. Result:=TLandingPagesResource.Create(AOwner);
  22260. Result.API:=Self.API;
  22261. end;
  22262. Function TDfareportingAPI.GetMetrosInstance : TMetrosResource;
  22263. begin
  22264. if (FMetrosInstance=Nil) then
  22265. FMetrosInstance:=CreateMetrosResource;
  22266. Result:=FMetrosInstance;
  22267. end;
  22268. Function TDfareportingAPI.CreateMetrosResource : TMetrosResource;
  22269. begin
  22270. Result:=CreateMetrosResource(Self);
  22271. end;
  22272. Function TDfareportingAPI.CreateMetrosResource(AOwner : TComponent) : TMetrosResource;
  22273. begin
  22274. Result:=TMetrosResource.Create(AOwner);
  22275. Result.API:=Self.API;
  22276. end;
  22277. Function TDfareportingAPI.GetMobileCarriersInstance : TMobileCarriersResource;
  22278. begin
  22279. if (FMobileCarriersInstance=Nil) then
  22280. FMobileCarriersInstance:=CreateMobileCarriersResource;
  22281. Result:=FMobileCarriersInstance;
  22282. end;
  22283. Function TDfareportingAPI.CreateMobileCarriersResource : TMobileCarriersResource;
  22284. begin
  22285. Result:=CreateMobileCarriersResource(Self);
  22286. end;
  22287. Function TDfareportingAPI.CreateMobileCarriersResource(AOwner : TComponent) : TMobileCarriersResource;
  22288. begin
  22289. Result:=TMobileCarriersResource.Create(AOwner);
  22290. Result.API:=Self.API;
  22291. end;
  22292. Function TDfareportingAPI.GetOperatingSystemVersionsInstance : TOperatingSystemVersionsResource;
  22293. begin
  22294. if (FOperatingSystemVersionsInstance=Nil) then
  22295. FOperatingSystemVersionsInstance:=CreateOperatingSystemVersionsResource;
  22296. Result:=FOperatingSystemVersionsInstance;
  22297. end;
  22298. Function TDfareportingAPI.CreateOperatingSystemVersionsResource : TOperatingSystemVersionsResource;
  22299. begin
  22300. Result:=CreateOperatingSystemVersionsResource(Self);
  22301. end;
  22302. Function TDfareportingAPI.CreateOperatingSystemVersionsResource(AOwner : TComponent) : TOperatingSystemVersionsResource;
  22303. begin
  22304. Result:=TOperatingSystemVersionsResource.Create(AOwner);
  22305. Result.API:=Self.API;
  22306. end;
  22307. Function TDfareportingAPI.GetOperatingSystemsInstance : TOperatingSystemsResource;
  22308. begin
  22309. if (FOperatingSystemsInstance=Nil) then
  22310. FOperatingSystemsInstance:=CreateOperatingSystemsResource;
  22311. Result:=FOperatingSystemsInstance;
  22312. end;
  22313. Function TDfareportingAPI.CreateOperatingSystemsResource : TOperatingSystemsResource;
  22314. begin
  22315. Result:=CreateOperatingSystemsResource(Self);
  22316. end;
  22317. Function TDfareportingAPI.CreateOperatingSystemsResource(AOwner : TComponent) : TOperatingSystemsResource;
  22318. begin
  22319. Result:=TOperatingSystemsResource.Create(AOwner);
  22320. Result.API:=Self.API;
  22321. end;
  22322. Function TDfareportingAPI.GetOrderDocumentsInstance : TOrderDocumentsResource;
  22323. begin
  22324. if (FOrderDocumentsInstance=Nil) then
  22325. FOrderDocumentsInstance:=CreateOrderDocumentsResource;
  22326. Result:=FOrderDocumentsInstance;
  22327. end;
  22328. Function TDfareportingAPI.CreateOrderDocumentsResource : TOrderDocumentsResource;
  22329. begin
  22330. Result:=CreateOrderDocumentsResource(Self);
  22331. end;
  22332. Function TDfareportingAPI.CreateOrderDocumentsResource(AOwner : TComponent) : TOrderDocumentsResource;
  22333. begin
  22334. Result:=TOrderDocumentsResource.Create(AOwner);
  22335. Result.API:=Self.API;
  22336. end;
  22337. Function TDfareportingAPI.GetOrdersInstance : TOrdersResource;
  22338. begin
  22339. if (FOrdersInstance=Nil) then
  22340. FOrdersInstance:=CreateOrdersResource;
  22341. Result:=FOrdersInstance;
  22342. end;
  22343. Function TDfareportingAPI.CreateOrdersResource : TOrdersResource;
  22344. begin
  22345. Result:=CreateOrdersResource(Self);
  22346. end;
  22347. Function TDfareportingAPI.CreateOrdersResource(AOwner : TComponent) : TOrdersResource;
  22348. begin
  22349. Result:=TOrdersResource.Create(AOwner);
  22350. Result.API:=Self.API;
  22351. end;
  22352. Function TDfareportingAPI.GetPlacementGroupsInstance : TPlacementGroupsResource;
  22353. begin
  22354. if (FPlacementGroupsInstance=Nil) then
  22355. FPlacementGroupsInstance:=CreatePlacementGroupsResource;
  22356. Result:=FPlacementGroupsInstance;
  22357. end;
  22358. Function TDfareportingAPI.CreatePlacementGroupsResource : TPlacementGroupsResource;
  22359. begin
  22360. Result:=CreatePlacementGroupsResource(Self);
  22361. end;
  22362. Function TDfareportingAPI.CreatePlacementGroupsResource(AOwner : TComponent) : TPlacementGroupsResource;
  22363. begin
  22364. Result:=TPlacementGroupsResource.Create(AOwner);
  22365. Result.API:=Self.API;
  22366. end;
  22367. Function TDfareportingAPI.GetPlacementStrategiesInstance : TPlacementStrategiesResource;
  22368. begin
  22369. if (FPlacementStrategiesInstance=Nil) then
  22370. FPlacementStrategiesInstance:=CreatePlacementStrategiesResource;
  22371. Result:=FPlacementStrategiesInstance;
  22372. end;
  22373. Function TDfareportingAPI.CreatePlacementStrategiesResource : TPlacementStrategiesResource;
  22374. begin
  22375. Result:=CreatePlacementStrategiesResource(Self);
  22376. end;
  22377. Function TDfareportingAPI.CreatePlacementStrategiesResource(AOwner : TComponent) : TPlacementStrategiesResource;
  22378. begin
  22379. Result:=TPlacementStrategiesResource.Create(AOwner);
  22380. Result.API:=Self.API;
  22381. end;
  22382. Function TDfareportingAPI.GetPlacementsInstance : TPlacementsResource;
  22383. begin
  22384. if (FPlacementsInstance=Nil) then
  22385. FPlacementsInstance:=CreatePlacementsResource;
  22386. Result:=FPlacementsInstance;
  22387. end;
  22388. Function TDfareportingAPI.CreatePlacementsResource : TPlacementsResource;
  22389. begin
  22390. Result:=CreatePlacementsResource(Self);
  22391. end;
  22392. Function TDfareportingAPI.CreatePlacementsResource(AOwner : TComponent) : TPlacementsResource;
  22393. begin
  22394. Result:=TPlacementsResource.Create(AOwner);
  22395. Result.API:=Self.API;
  22396. end;
  22397. Function TDfareportingAPI.GetPlatformTypesInstance : TPlatformTypesResource;
  22398. begin
  22399. if (FPlatformTypesInstance=Nil) then
  22400. FPlatformTypesInstance:=CreatePlatformTypesResource;
  22401. Result:=FPlatformTypesInstance;
  22402. end;
  22403. Function TDfareportingAPI.CreatePlatformTypesResource : TPlatformTypesResource;
  22404. begin
  22405. Result:=CreatePlatformTypesResource(Self);
  22406. end;
  22407. Function TDfareportingAPI.CreatePlatformTypesResource(AOwner : TComponent) : TPlatformTypesResource;
  22408. begin
  22409. Result:=TPlatformTypesResource.Create(AOwner);
  22410. Result.API:=Self.API;
  22411. end;
  22412. Function TDfareportingAPI.GetPostalCodesInstance : TPostalCodesResource;
  22413. begin
  22414. if (FPostalCodesInstance=Nil) then
  22415. FPostalCodesInstance:=CreatePostalCodesResource;
  22416. Result:=FPostalCodesInstance;
  22417. end;
  22418. Function TDfareportingAPI.CreatePostalCodesResource : TPostalCodesResource;
  22419. begin
  22420. Result:=CreatePostalCodesResource(Self);
  22421. end;
  22422. Function TDfareportingAPI.CreatePostalCodesResource(AOwner : TComponent) : TPostalCodesResource;
  22423. begin
  22424. Result:=TPostalCodesResource.Create(AOwner);
  22425. Result.API:=Self.API;
  22426. end;
  22427. Function TDfareportingAPI.GetProjectsInstance : TProjectsResource;
  22428. begin
  22429. if (FProjectsInstance=Nil) then
  22430. FProjectsInstance:=CreateProjectsResource;
  22431. Result:=FProjectsInstance;
  22432. end;
  22433. Function TDfareportingAPI.CreateProjectsResource : TProjectsResource;
  22434. begin
  22435. Result:=CreateProjectsResource(Self);
  22436. end;
  22437. Function TDfareportingAPI.CreateProjectsResource(AOwner : TComponent) : TProjectsResource;
  22438. begin
  22439. Result:=TProjectsResource.Create(AOwner);
  22440. Result.API:=Self.API;
  22441. end;
  22442. Function TDfareportingAPI.GetRegionsInstance : TRegionsResource;
  22443. begin
  22444. if (FRegionsInstance=Nil) then
  22445. FRegionsInstance:=CreateRegionsResource;
  22446. Result:=FRegionsInstance;
  22447. end;
  22448. Function TDfareportingAPI.CreateRegionsResource : TRegionsResource;
  22449. begin
  22450. Result:=CreateRegionsResource(Self);
  22451. end;
  22452. Function TDfareportingAPI.CreateRegionsResource(AOwner : TComponent) : TRegionsResource;
  22453. begin
  22454. Result:=TRegionsResource.Create(AOwner);
  22455. Result.API:=Self.API;
  22456. end;
  22457. Function TDfareportingAPI.GetRemarketingListSharesInstance : TRemarketingListSharesResource;
  22458. begin
  22459. if (FRemarketingListSharesInstance=Nil) then
  22460. FRemarketingListSharesInstance:=CreateRemarketingListSharesResource;
  22461. Result:=FRemarketingListSharesInstance;
  22462. end;
  22463. Function TDfareportingAPI.CreateRemarketingListSharesResource : TRemarketingListSharesResource;
  22464. begin
  22465. Result:=CreateRemarketingListSharesResource(Self);
  22466. end;
  22467. Function TDfareportingAPI.CreateRemarketingListSharesResource(AOwner : TComponent) : TRemarketingListSharesResource;
  22468. begin
  22469. Result:=TRemarketingListSharesResource.Create(AOwner);
  22470. Result.API:=Self.API;
  22471. end;
  22472. Function TDfareportingAPI.GetRemarketingListsInstance : TRemarketingListsResource;
  22473. begin
  22474. if (FRemarketingListsInstance=Nil) then
  22475. FRemarketingListsInstance:=CreateRemarketingListsResource;
  22476. Result:=FRemarketingListsInstance;
  22477. end;
  22478. Function TDfareportingAPI.CreateRemarketingListsResource : TRemarketingListsResource;
  22479. begin
  22480. Result:=CreateRemarketingListsResource(Self);
  22481. end;
  22482. Function TDfareportingAPI.CreateRemarketingListsResource(AOwner : TComponent) : TRemarketingListsResource;
  22483. begin
  22484. Result:=TRemarketingListsResource.Create(AOwner);
  22485. Result.API:=Self.API;
  22486. end;
  22487. Function TDfareportingAPI.GetReportsCompatibleFieldsInstance : TReportsCompatibleFieldsResource;
  22488. begin
  22489. if (FReportsCompatibleFieldsInstance=Nil) then
  22490. FReportsCompatibleFieldsInstance:=CreateReportsCompatibleFieldsResource;
  22491. Result:=FReportsCompatibleFieldsInstance;
  22492. end;
  22493. Function TDfareportingAPI.CreateReportsCompatibleFieldsResource : TReportsCompatibleFieldsResource;
  22494. begin
  22495. Result:=CreateReportsCompatibleFieldsResource(Self);
  22496. end;
  22497. Function TDfareportingAPI.CreateReportsCompatibleFieldsResource(AOwner : TComponent) : TReportsCompatibleFieldsResource;
  22498. begin
  22499. Result:=TReportsCompatibleFieldsResource.Create(AOwner);
  22500. Result.API:=Self.API;
  22501. end;
  22502. Function TDfareportingAPI.GetReportsFilesInstance : TReportsFilesResource;
  22503. begin
  22504. if (FReportsFilesInstance=Nil) then
  22505. FReportsFilesInstance:=CreateReportsFilesResource;
  22506. Result:=FReportsFilesInstance;
  22507. end;
  22508. Function TDfareportingAPI.CreateReportsFilesResource : TReportsFilesResource;
  22509. begin
  22510. Result:=CreateReportsFilesResource(Self);
  22511. end;
  22512. Function TDfareportingAPI.CreateReportsFilesResource(AOwner : TComponent) : TReportsFilesResource;
  22513. begin
  22514. Result:=TReportsFilesResource.Create(AOwner);
  22515. Result.API:=Self.API;
  22516. end;
  22517. Function TDfareportingAPI.GetReportsInstance : TReportsResource;
  22518. begin
  22519. if (FReportsInstance=Nil) then
  22520. FReportsInstance:=CreateReportsResource;
  22521. Result:=FReportsInstance;
  22522. end;
  22523. Function TDfareportingAPI.CreateReportsResource : TReportsResource;
  22524. begin
  22525. Result:=CreateReportsResource(Self);
  22526. end;
  22527. Function TDfareportingAPI.CreateReportsResource(AOwner : TComponent) : TReportsResource;
  22528. begin
  22529. Result:=TReportsResource.Create(AOwner);
  22530. Result.API:=Self.API;
  22531. end;
  22532. Function TDfareportingAPI.GetSitesInstance : TSitesResource;
  22533. begin
  22534. if (FSitesInstance=Nil) then
  22535. FSitesInstance:=CreateSitesResource;
  22536. Result:=FSitesInstance;
  22537. end;
  22538. Function TDfareportingAPI.CreateSitesResource : TSitesResource;
  22539. begin
  22540. Result:=CreateSitesResource(Self);
  22541. end;
  22542. Function TDfareportingAPI.CreateSitesResource(AOwner : TComponent) : TSitesResource;
  22543. begin
  22544. Result:=TSitesResource.Create(AOwner);
  22545. Result.API:=Self.API;
  22546. end;
  22547. Function TDfareportingAPI.GetSizesInstance : TSizesResource;
  22548. begin
  22549. if (FSizesInstance=Nil) then
  22550. FSizesInstance:=CreateSizesResource;
  22551. Result:=FSizesInstance;
  22552. end;
  22553. Function TDfareportingAPI.CreateSizesResource : TSizesResource;
  22554. begin
  22555. Result:=CreateSizesResource(Self);
  22556. end;
  22557. Function TDfareportingAPI.CreateSizesResource(AOwner : TComponent) : TSizesResource;
  22558. begin
  22559. Result:=TSizesResource.Create(AOwner);
  22560. Result.API:=Self.API;
  22561. end;
  22562. Function TDfareportingAPI.GetSubaccountsInstance : TSubaccountsResource;
  22563. begin
  22564. if (FSubaccountsInstance=Nil) then
  22565. FSubaccountsInstance:=CreateSubaccountsResource;
  22566. Result:=FSubaccountsInstance;
  22567. end;
  22568. Function TDfareportingAPI.CreateSubaccountsResource : TSubaccountsResource;
  22569. begin
  22570. Result:=CreateSubaccountsResource(Self);
  22571. end;
  22572. Function TDfareportingAPI.CreateSubaccountsResource(AOwner : TComponent) : TSubaccountsResource;
  22573. begin
  22574. Result:=TSubaccountsResource.Create(AOwner);
  22575. Result.API:=Self.API;
  22576. end;
  22577. Function TDfareportingAPI.GetTargetableRemarketingListsInstance : TTargetableRemarketingListsResource;
  22578. begin
  22579. if (FTargetableRemarketingListsInstance=Nil) then
  22580. FTargetableRemarketingListsInstance:=CreateTargetableRemarketingListsResource;
  22581. Result:=FTargetableRemarketingListsInstance;
  22582. end;
  22583. Function TDfareportingAPI.CreateTargetableRemarketingListsResource : TTargetableRemarketingListsResource;
  22584. begin
  22585. Result:=CreateTargetableRemarketingListsResource(Self);
  22586. end;
  22587. Function TDfareportingAPI.CreateTargetableRemarketingListsResource(AOwner : TComponent) : TTargetableRemarketingListsResource;
  22588. begin
  22589. Result:=TTargetableRemarketingListsResource.Create(AOwner);
  22590. Result.API:=Self.API;
  22591. end;
  22592. Function TDfareportingAPI.GetUserProfilesInstance : TUserProfilesResource;
  22593. begin
  22594. if (FUserProfilesInstance=Nil) then
  22595. FUserProfilesInstance:=CreateUserProfilesResource;
  22596. Result:=FUserProfilesInstance;
  22597. end;
  22598. Function TDfareportingAPI.CreateUserProfilesResource : TUserProfilesResource;
  22599. begin
  22600. Result:=CreateUserProfilesResource(Self);
  22601. end;
  22602. Function TDfareportingAPI.CreateUserProfilesResource(AOwner : TComponent) : TUserProfilesResource;
  22603. begin
  22604. Result:=TUserProfilesResource.Create(AOwner);
  22605. Result.API:=Self.API;
  22606. end;
  22607. Function TDfareportingAPI.GetUserRolePermissionGroupsInstance : TUserRolePermissionGroupsResource;
  22608. begin
  22609. if (FUserRolePermissionGroupsInstance=Nil) then
  22610. FUserRolePermissionGroupsInstance:=CreateUserRolePermissionGroupsResource;
  22611. Result:=FUserRolePermissionGroupsInstance;
  22612. end;
  22613. Function TDfareportingAPI.CreateUserRolePermissionGroupsResource : TUserRolePermissionGroupsResource;
  22614. begin
  22615. Result:=CreateUserRolePermissionGroupsResource(Self);
  22616. end;
  22617. Function TDfareportingAPI.CreateUserRolePermissionGroupsResource(AOwner : TComponent) : TUserRolePermissionGroupsResource;
  22618. begin
  22619. Result:=TUserRolePermissionGroupsResource.Create(AOwner);
  22620. Result.API:=Self.API;
  22621. end;
  22622. Function TDfareportingAPI.GetUserRolePermissionsInstance : TUserRolePermissionsResource;
  22623. begin
  22624. if (FUserRolePermissionsInstance=Nil) then
  22625. FUserRolePermissionsInstance:=CreateUserRolePermissionsResource;
  22626. Result:=FUserRolePermissionsInstance;
  22627. end;
  22628. Function TDfareportingAPI.CreateUserRolePermissionsResource : TUserRolePermissionsResource;
  22629. begin
  22630. Result:=CreateUserRolePermissionsResource(Self);
  22631. end;
  22632. Function TDfareportingAPI.CreateUserRolePermissionsResource(AOwner : TComponent) : TUserRolePermissionsResource;
  22633. begin
  22634. Result:=TUserRolePermissionsResource.Create(AOwner);
  22635. Result.API:=Self.API;
  22636. end;
  22637. Function TDfareportingAPI.GetUserRolesInstance : TUserRolesResource;
  22638. begin
  22639. if (FUserRolesInstance=Nil) then
  22640. FUserRolesInstance:=CreateUserRolesResource;
  22641. Result:=FUserRolesInstance;
  22642. end;
  22643. Function TDfareportingAPI.CreateUserRolesResource : TUserRolesResource;
  22644. begin
  22645. Result:=CreateUserRolesResource(Self);
  22646. end;
  22647. Function TDfareportingAPI.CreateUserRolesResource(AOwner : TComponent) : TUserRolesResource;
  22648. begin
  22649. Result:=TUserRolesResource.Create(AOwner);
  22650. Result.API:=Self.API;
  22651. end;
  22652. initialization
  22653. TDfareportingAPI.RegisterAPI;
  22654. end.