/* ******************************************************************************************************************** * Encapsulation all Yahoo paramters (required and optional) needed for a Yahoo call * * * **********************************************************************************************************************/ function YahooAdsObject(slotsValue, pubidValue, sitenameValue, topicsValue, categoriesValue, contenttypeValue, containertypeValue, addelivermodeValue, adformatlistValue, admarkerValue, contentlanguageValue, countryValue, customsectionValue, disablecontentsendValue, requesttypeValue){ this.slots = slotsValue; /* slots could be inventoryIDs TBD */ this.pubid= pubidValue; /* yld_mgr.pub_id : required */ this.sitename = sitenameValue; /* yld_mgr.site_name : required */ this.topics = topicsValue; /* yld_mgr.content_topic_id_list : recommended */ this.categories = categoriesValue; /* yld_mgr.custom_content_cat_list : optional */ this.contenttype = contenttypeValue; /* yld_mgr.content_type_list : recommended */ this.containertype= containertypeValue; /* yld_mgr.container_type : recommended */ this.requesttype = requesttypeValue; /* yld_mgr.request_type : required */ this.addeliverymode = addelivermodeValue; /* yld_mgr.ad_delivery_mode : conditional */ this.adformatlist = adformatlistValue; /* yld_mgr.ad_format_list : conditional */ this.admarker = admarkerValue; /* yld_mgr.ad_marker : optional */ this.contentlanguage = contentlanguageValue; /* yld_mgr.content_lang : optional */ this.country = countryValue; /* yld_mgr.user_country : optional */ this.customsection = customsectionValue; /* yld_mgr.cstm_sctn_list : optional */ this.disablecontentsend = disablecontentsendValue; /* yld_mgr.disable_content_send : optional */ this.getSlots = function(){ return this.slots; }; this.setSlots = function(slotsValue){ this.slots =slotsValue; }; this.getPubId = function(){ return this.pubid; }; this.setPubId = function(pubidValue){ this.pubid =pubidValue; }; this.getSiteName = function(){ return this.sitename; }; this.setSiteName = function(sitenameValue){ this.sitename =sitenameValue; }; this.getTopics = function(){ return this.topics; }; this.setTopics = function(topicsValue){ this.topics =topicsValue; }; this.getCategories = function(){ return this.categories; }; this.setCategories = function(categoriesValue){ this.categories =categoriesValue; }; this.getContentType = function(){ return this.contenttype; }; this.setContentType = function(contenttypeValue){ this.contnettype =contenttypeValue; }; this.getContainerType = function(){ return this.containertype; }; this.setContainerType = function(containertypeValue){ this.containertype =containertypeValue; }; this.getAdFormatList = function(){ return this.adformatlist; }; this.setAdFormatList = function(adformatlistValue){ this.adformatlist =adformatlistValue; }; this.getAdMarker = function(){ return this.admarker; }; this.setAdMarker = function(admarkerValue){ this.admarker =admarkerValue; }; this.getContentLanguage = function(){ return this.contentlanguage; }; this.setContentLanguage = function(contentlanguageValue){ this.contentlanguage =contentlanguageValue; }; this.getCountry = function(){ return this.country; }; this.setCountry = function(countryValue){ this.country =countryValue; }; this.getCustomSection = function(){ return this.customsection; }; this.setCustomSection = function(customsectionValue){ this.customsection =customsectionValue; }; this.getDisableContentSend = function(){ return this.disablecontentsend; }; this.setDisableContentSend = function(disablecontentsendValue){ this.disablecontentsend =disablecontentsendValue; }; this.getRequestType = function(){ return this.requestType; }; this.setRequestType = function(requesttypeValue){ this.requestType =requesttypeValue; }; this.getAdDeliveryMode = function(){ return this.addeliverymode; }; this.setAdDeliveryMode = function(addeliverymodeValue){ this.addeliverymode =addeliverymodeValue; }; }