placement_id = absint( $placement_id ); $this->placement_type = sanitize_key( (string) $placement_type ); $this->ad_id = absint( $ad_id ); $this->context = RenderContext::normalize( $context ); } }