function __construct($api_key = NULL)
 {
     parent::__construct($api_key);
     $this->keys = array("name:required" => "string:3,255", "address_1" => "string:255", "address_2" => "string:255", "address_3" => "string:255", "city" => "string:255", "state_region_name" => "string", "postal_code" => "string:255", "country_name" => "string", "email" => "string:255", "phone" => "string:255", "fax" => "string:255", "url" => "string:255", "notes" => "string:4096", "billing_term" => "string:4096", "meta_data" => "string:4096", "parent_advertiser_id" => "integer", "internal_id" => "string:255");
     if (!class_exists("FreeWheel_Agency", FALSE)) {
         $this->keys['agency_id'] = "integer";
     }
 }
 function __construct($api_key = NULL)
 {
     parent::__construct($api_key);
     $this->keys = array("partner_network_id:required" => "integer");
 }
 function __construct($api_key = NULL)
 {
     parent::__construct($api_key);
 }
 function __construct($api_key = NULL)
 {
     parent::__construct($api_key);
     $this->keys = array("name" => "string:3,255", "description" => "string:4096", "metadata" => "string:4096", "partner_category_type:required" => "enum:CONTENT_OWNER,DISTRIBUTOR");
 }
 function __construct($api_key = NULL)
 {
     parent::__construct($api_key);
     $this->keys = array("name:required" => "string:3,255", "description" => "string:4096", "placement_type" => "enum:NORMAL,MAKE_GOOD,PROMO", "instruction" => "string:4096", "start" => "datetime", "end" => "datetime", "timezone" => "string:255", "priority" => "enum:PREEMPTIBLE,GUARANTEED", "pace" => "enum:EVEN,AS_FAST_AS_POSSIBLE", "cutoff_type" => "enum:HARD,SOFT", "frequency_cap" => "integer", "frequency_period" => "enum:TEN_MIN,HOUR,DAY,WEEK,CAMPAIGN", "budget_model" => "enum:ACTUAL_ECPM,PERCENTILE_ECPM,EXEMPT,FLAT_FEE_SPONSORSHIP,STANDARD_SPONSORSHIP", "currency" => "decimal:16,2", "impression" => "integer", "relative_priority" => "enum:0,10,20,30,40,50,60,70,80,90,100", "wholesale_ecpm" => "decimal:16,2", "internal_id" => "string:255");
 }
 function __construct($api_key = NULL)
 {
     parent::__construct($api_key);
     $this->keys = array("name" => "string:255", "partner_network_id" => "integer", "address_1" => "string:255", "address_2" => "string:255", "address_3" => "string:255", "city" => "string:255", "state_region_name" => "string", "postal_code" => "string:255", "country_name" => "string", "email" => "string:255", "phone" => "string:255", "fax" => "string:255", "url" => "string:255", "notes" => "string:4096", "billing_term" => "string:4096", "meta_data" => "string:4096");
 }
 function __construct($api_key = NULL)
 {
     parent::__construct($api_key);
     $this->keys = array("name:required" => "string:3,255", "advertiser_id" => "integer", "description" => "string:4096", "campaign_type" => "enum:TEMPLATE,PROPOSAL,CAMPAIGN", "internal_id" => "string:255");
 }
 function __construct($api_key = NULL)
 {
     parent::__construct($api_key);
     $this->keys = array("name:required" => "string:255", "description" => "string:4096", "client_po" => "string:255", "internal_id" => "string:255", "campaign_id:required" => "integer");
 }
 function __construct($api_key = NULL)
 {
     parent::__construct($api_key);
     $this->keys = array("price_model:required" => "enum:CPM", "price" => "decimal:16,2", "ad_unit_id:required" => "integer", "placement_id" => "integer");
 }